Volver al catálogo

Picnie

picnie

Picnie automates template-based image and PDF generation, image processing, metadata operations, asset uploads, and OCR through its REST API.

Acciones
19
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (19)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Add Image MetadataPICNIE_ADD_IMAGE_METADATAAcción

Write EXIF-style metadata into a public JPEG image URL. This creates a processed output and may consume Picnie credits; Picnie's metadata-key allowlist is not fully documented.

Parámetros de entrada

  • metadataobjectObligatorio

    EXIF-style key/value object. Documented keys include ImageDescription, Artist, Software, UserComment, Copyright, Make, Model, and DateTimeOriginal; Picnie may reject other keys.

  • image_urlstringObligatoriouri

    Publicly accessible JPEG image URL.

  • project_idstringObligatorio

    Project ID that owns the operation output.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add Image WatermarkPICNIE_ADD_IMAGE_WATERMARKAcción

Overlay a public logo or image URL on a public background image while constraining the output to the required maximum width and height. This image-processing operation may consume Picnie credits.

Parámetros de entrada

  • positionstringObligatorioenum

    Placement of the watermark on the background image.

    top_lefttop_centertop_rightmiddle_leftmiddle_centermiddle_rightbottom_leftbottom_centerbottom_right
  • max_widthintegerObligatorio

    Maximum output width in pixels.

  • max_heightintegerObligatorio

    Maximum output height in pixels.

  • project_idstringObligatorio

    Project ID that owns the operation output.

  • watermark_image_urlstringObligatoriouri

    Publicly accessible logo or watermark image URL.

  • background_image_urlstringObligatoriouri

    Publicly accessible background image URL.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add Text WatermarkPICNIE_ADD_TEXT_WATERMARKAcción

Overlay styled text on a public image URL. This image-processing operation may consume Picnie credits; supported Picnie font filenames are not fully documented.

Parámetros de entrada

  • textstringObligatorio

    Watermark text to overlay on the image.

  • opacitynumber

    Text opacity from 0.0 (transparent) through 1.0 (opaque).

  • paddinginteger

    Padding around the watermark text in pixels.

  • positionstringObligatorioenum

    Placement of the watermark text.

    top-lefttop-centertop-rightmiddle-leftmiddle-centermiddle-rightbottom-leftbottom-centerbottom-right
  • rotationinteger

    Clockwise text rotation in degrees.

  • font_sizeintegerObligatorio

    Font size in pixels.

  • image_urlstringObligatoriouri

    Publicly accessible source image URL.

  • font_colorstringObligatorio

    Text color as a six-digit hex value including the leading #.

  • project_idstringObligatorio

    Project ID that owns the operation output.

  • font_filenamestringObligatorio

    Picnie-supported font filename from your template or account configuration, not a filesystem path or URL. Picnie does not provide an API for discovering valid filenames, so do not guess this value.

  • background_colorstring

    Text-background color as a six-digit hex value including the leading #.

  • background_opacitynumber

    Text-background opacity from 0.0 (transparent) through 1.0 (opaque).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Apply Image FilterPICNIE_APPLY_IMAGE_FILTERAcción

Apply one supported Picnie visual filter to a public image URL. This operation may consume Picnie credits.

Parámetros de entrada

  • filterstringObligatorioenum

    Visual filter to apply.

    negategrayscaleedge_detectembossgaussian_blurselective_blurmean_removal
  • image_urlstringObligatoriouri

    Publicly accessible source image URL.

  • project_idstringObligatorio

    Project ID that owns the operation output.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Compress ImagePICNIE_COMPRESS_IMAGEAcción

Compress a public image URL at a selected Picnie quality and optionally change its format. This operation may consume Picnie credits.

Parámetros de entrada

  • qualityintegerObligatorio

    Picnie compression quality from 55 (smallest and lowest quality) through 70 (largest and highest quality).

  • image_urlstringObligatoriouri

    Publicly accessible source image URL.

  • project_idstringObligatorio

    Project ID that owns the operation output.

  • output_formatstringenum

    Output format, or original to preserve the source format.

    originaljpgpngwebp

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Convert ImagePICNIE_CONVERT_IMAGEAcción

Convert a public image URL to WebP, JPEG, or PNG without asking the agent to choose a compression quality. This operation may consume Picnie credits.

Parámetros de entrada

  • image_urlstringObligatoriouri

    Publicly accessible source image URL.

  • project_idstringObligatorio

    Project ID that owns the operation output.

  • output_formatstringObligatorioenum

    Target image format.

    webpjpgpng

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ImagePICNIE_CREATE_IMAGEAcción

Generate one image from a stored Picnie template and dynamic field replacements. This operation may consume Picnie credits.

Parámetros de entrada

  • project_idstringObligatorio

    Destination project ID from List Projects.

  • template_idintegerObligatorio

    Image template ID from List Templates.

  • replacementsobject[]Obligatorio

    Dynamic template replacements. Every item needs a field name and exactly one of text or image_url.

  • template_namestringObligatorio

    Exact template name associated with template_id.

  • output_image_formatstringenum

    Rendered image format.

    jpgpnggifwebp
  • output_image_qualitystringenum

    Rendered image quality.

    MaximumHighMediumLow

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Image CollectionPICNIE_CREATE_IMAGE_COLLECTIONAcción

Generate multiple images from a Picnie template group and shared replacements. This can consume multiple Picnie credits in one call.

Parámetros de entrada

  • project_idstringObligatorio

    Destination project ID from List Projects.

  • replacementsobject[]Obligatorio

    Shared dynamic replacements. Each item requires a field name and exactly one of text or image_url.

  • template_group_idintegerObligatorio

    Template group ID to render.

  • output_image_formatstringenum

    Rendered image format.

    jpgpnggifwebp
  • output_image_qualitystringenum

    Rendered image quality.

    MaximumHighMediumLow

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PDFPICNIE_CREATE_PDFAcción

Generate a PDF from a stored Picnie template and dynamic field replacements. This operation may consume Picnie credits.

Parámetros de entrada

  • project_idstringObligatorio

    Destination project ID from List Projects.

  • template_idintegerObligatorio

    PDF template ID from List Templates.

  • replacementsobject[]Obligatorio

    Dynamic template replacements. Every item needs a field name and exactly one of text or image_url.

  • template_namestringObligatorio

    Exact template name associated with template_id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ProjectPICNIE_CREATE_PROJECTAcción

Create a persistent Picnie project for organizing generated and processed media. Picnie exposes no project deletion endpoint, so use this only when a new project is actually needed.

Parámetros de entrada

  • namestringObligatorio

    Name for the new project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Crop ImagePICNIE_CROP_IMAGEAcción

Crop a public image URL to fixed dimensions using horizontal and vertical origin alignment. This operation may consume Picnie credits.

Parámetros de entrada

  • widthintegerObligatorio

    Crop width in pixels.

  • heightintegerObligatorio

    Crop height in pixels.

  • image_urlstringObligatoriouri

    Publicly accessible source image URL.

  • project_idstringObligatorio

    Project ID that owns the operation output.

  • vertical_originstringenum

    Vertical region to retain.

    topcenterbottom
  • horizontal_originstringenum

    Horizontal region to retain.

    leftcenterright

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Image MetadataPICNIE_GET_IMAGE_METADATAAcción

Read dimensions, file properties, and EXIF metadata from a public JPEG image URL. Picnie processing may consume credits even though this tool is read-only from the agent's perspective.

Parámetros de entrada

  • image_urlstringObligatoriouri

    Publicly accessible JPEG image URL.

  • project_idstringObligatorio

    Project ID used to authorize the metadata operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get TemplatePICNIE_GET_TEMPLATEAcción

Get a Picnie template's complete layout and simplified dynamic fields for constructing generation replacements.

Parámetros de entrada

  • template_idstringObligatorio

    Template ID from List Templates. Numeric-looking IDs are accepted as strings and resolved by Picnie.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ProjectsPICNIE_LIST_PROJECTSAcción

List all projects belonging to the connected Picnie account, including IDs needed by generation and processing tools.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List TemplatesPICNIE_LIST_TEMPLATESAcción

List templates available to the connected Picnie account so an agent can select inputs for image or PDF generation.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove Image BackgroundPICNIE_REMOVE_IMAGE_BACKGROUNDAcción

Use Picnie AI to remove the background from a public image URL. This operation may consume Picnie credits.

Parámetros de entrada

  • image_urlstringObligatoriouri

    Publicly accessible source image URL.

  • project_idstringObligatorio

    Project ID that owns the operation output.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Resize ImagePICNIE_RESIZE_IMAGEAcción

Resize a public image URL either to explicit pixel dimensions or by percentage. This operation may consume Picnie credits.

Parámetros de entrada

  • widthinteger

    Target width in pixels; required when resize_type is dimensions and forbidden for percentage.

  • heightinteger

    Target height in pixels; required when resize_type is dimensions and forbidden for percentage.

  • image_urlstringObligatoriouri

    Publicly accessible source image URL.

  • project_idstringObligatorio

    Project ID that owns the operation output.

  • resize_typestringObligatorioenum

    Use dimensions for explicit width and height, or percentage for proportional scaling.

    dimensionspercentage
  • resize_percentagenumber

    Scale percentage; required when resize_type is percentage and forbidden for dimensions.

  • prevent_enlargementboolean

    Do not enlarge an image that is already smaller than the requested size.

  • maintain_aspect_ratioboolean

    Maintain the original aspect ratio when resizing.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Transcribe ImagePICNIE_TRANSCRIBE_IMAGEAcción

Extract text from a public image URL with Picnie OCR. This operation may consume Picnie credits; Picnie currently documents only Original for method and language.

Parámetros de entrada

  • methodstring

    Picnie OCR method. Original is the only documented value; pass another value only when it is known to be supported by the connected account.

  • languagestring

    Picnie OCR language selector. Original is the only documented value; pass another value only when it is known to be supported.

  • image_urlstringObligatoriouri

    Publicly accessible image URL to transcribe.

  • project_idstringObligatorio

    Project ID used for the OCR operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload AssetPICNIE_UPLOAD_ASSETAcción

Upload an image file to the connected Picnie account's persistent media library and return its public URL. Supported formats, size limits, and deletion behavior are not documented.

Parámetros de entrada

  • imageobjectObligatorio

    Image file to upload. Picnie does not document accepted formats or maximum size.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not