Picnie
picniePicnie automates template-based image and PDF generation, image processing, metadata operations, asset uploads, and OCR through its REST API.
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ónWrite 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.
PICNIE_ADD_IMAGE_METADATAAcciónWrite 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
metadataobjectObligatorioEXIF-style key/value object. Documented keys include ImageDescription, Artist, Software, UserComment, Copyright, Make, Model, and DateTimeOriginal; Picnie may reject other keys.
image_urlstringObligatoriouriPublicly accessible JPEG image URL.
project_idstringObligatorioProject ID that owns the operation output.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add Image WatermarkPICNIE_ADD_IMAGE_WATERMARKAcciónOverlay 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.
PICNIE_ADD_IMAGE_WATERMARKAcciónOverlay 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
positionstringObligatorioenumPlacement of the watermark on the background image.
top_lefttop_centertop_rightmiddle_leftmiddle_centermiddle_rightbottom_leftbottom_centerbottom_rightmax_widthintegerObligatorioMaximum output width in pixels.
max_heightintegerObligatorioMaximum output height in pixels.
project_idstringObligatorioProject ID that owns the operation output.
watermark_image_urlstringObligatoriouriPublicly accessible logo or watermark image URL.
background_image_urlstringObligatoriouriPublicly accessible background image URL.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add Text WatermarkPICNIE_ADD_TEXT_WATERMARKAcciónOverlay styled text on a public image URL. This image-processing operation may consume Picnie credits; supported Picnie font filenames are not fully documented.
PICNIE_ADD_TEXT_WATERMARKAcciónOverlay 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
textstringObligatorioWatermark text to overlay on the image.
opacitynumberText opacity from 0.0 (transparent) through 1.0 (opaque).
paddingintegerPadding around the watermark text in pixels.
positionstringObligatorioenumPlacement of the watermark text.
top-lefttop-centertop-rightmiddle-leftmiddle-centermiddle-rightbottom-leftbottom-centerbottom-rightrotationintegerClockwise text rotation in degrees.
font_sizeintegerObligatorioFont size in pixels.
image_urlstringObligatoriouriPublicly accessible source image URL.
font_colorstringObligatorioText color as a six-digit hex value including the leading #.
project_idstringObligatorioProject ID that owns the operation output.
font_filenamestringObligatorioPicnie-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_colorstringText-background color as a six-digit hex value including the leading #.
background_opacitynumberText-background opacity from 0.0 (transparent) through 1.0 (opaque).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Apply Image FilterPICNIE_APPLY_IMAGE_FILTERAcciónApply one supported Picnie visual filter to a public image URL. This operation may consume Picnie credits.
PICNIE_APPLY_IMAGE_FILTERAcciónApply one supported Picnie visual filter to a public image URL. This operation may consume Picnie credits.
Parámetros de entrada
filterstringObligatorioenumVisual filter to apply.
negategrayscaleedge_detectembossgaussian_blurselective_blurmean_removalimage_urlstringObligatoriouriPublicly accessible source image URL.
project_idstringObligatorioProject ID that owns the operation output.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Compress ImagePICNIE_COMPRESS_IMAGEAcciónCompress a public image URL at a selected Picnie quality and optionally change its format. This operation may consume Picnie credits.
PICNIE_COMPRESS_IMAGEAcciónCompress a public image URL at a selected Picnie quality and optionally change its format. This operation may consume Picnie credits.
Parámetros de entrada
qualityintegerObligatorioPicnie compression quality from 55 (smallest and lowest quality) through 70 (largest and highest quality).
image_urlstringObligatoriouriPublicly accessible source image URL.
project_idstringObligatorioProject ID that owns the operation output.
output_formatstringenumOutput format, or original to preserve the source format.
originaljpgpngwebp
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert ImagePICNIE_CONVERT_IMAGEAcciónConvert a public image URL to WebP, JPEG, or PNG without asking the agent to choose a compression quality. This operation may consume Picnie credits.
PICNIE_CONVERT_IMAGEAcciónConvert 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_urlstringObligatoriouriPublicly accessible source image URL.
project_idstringObligatorioProject ID that owns the operation output.
output_formatstringObligatorioenumTarget image format.
webpjpgpng
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ImagePICNIE_CREATE_IMAGEAcciónGenerate one image from a stored Picnie template and dynamic field replacements. This operation may consume Picnie credits.
PICNIE_CREATE_IMAGEAcciónGenerate one image from a stored Picnie template and dynamic field replacements. This operation may consume Picnie credits.
Parámetros de entrada
project_idstringObligatorioDestination project ID from List Projects.
template_idintegerObligatorioImage template ID from List Templates.
replacementsobject[]ObligatorioDynamic template replacements. Every item needs a field name and exactly one of text or image_url.
template_namestringObligatorioExact template name associated with template_id.
output_image_formatstringenumRendered image format.
jpgpnggifwebpoutput_image_qualitystringenumRendered image quality.
MaximumHighMediumLow
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Image CollectionPICNIE_CREATE_IMAGE_COLLECTIONAcciónGenerate multiple images from a Picnie template group and shared replacements. This can consume multiple Picnie credits in one call.
PICNIE_CREATE_IMAGE_COLLECTIONAcciónGenerate multiple images from a Picnie template group and shared replacements. This can consume multiple Picnie credits in one call.
Parámetros de entrada
project_idstringObligatorioDestination project ID from List Projects.
replacementsobject[]ObligatorioShared dynamic replacements. Each item requires a field name and exactly one of text or image_url.
template_group_idintegerObligatorioTemplate group ID to render.
output_image_formatstringenumRendered image format.
jpgpnggifwebpoutput_image_qualitystringenumRendered image quality.
MaximumHighMediumLow
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create PDFPICNIE_CREATE_PDFAcciónGenerate a PDF from a stored Picnie template and dynamic field replacements. This operation may consume Picnie credits.
PICNIE_CREATE_PDFAcciónGenerate a PDF from a stored Picnie template and dynamic field replacements. This operation may consume Picnie credits.
Parámetros de entrada
project_idstringObligatorioDestination project ID from List Projects.
template_idintegerObligatorioPDF template ID from List Templates.
replacementsobject[]ObligatorioDynamic template replacements. Every item needs a field name and exactly one of text or image_url.
template_namestringObligatorioExact template name associated with template_id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ProjectPICNIE_CREATE_PROJECTAcciónCreate 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.
PICNIE_CREATE_PROJECTAcciónCreate 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
namestringObligatorioName for the new project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Crop ImagePICNIE_CROP_IMAGEAcciónCrop a public image URL to fixed dimensions using horizontal and vertical origin alignment. This operation may consume Picnie credits.
PICNIE_CROP_IMAGEAcciónCrop a public image URL to fixed dimensions using horizontal and vertical origin alignment. This operation may consume Picnie credits.
Parámetros de entrada
widthintegerObligatorioCrop width in pixels.
heightintegerObligatorioCrop height in pixels.
image_urlstringObligatoriouriPublicly accessible source image URL.
project_idstringObligatorioProject ID that owns the operation output.
vertical_originstringenumVertical region to retain.
topcenterbottomhorizontal_originstringenumHorizontal region to retain.
leftcenterright
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Image MetadataPICNIE_GET_IMAGE_METADATAAcciónRead 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.
PICNIE_GET_IMAGE_METADATAAcciónRead 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_urlstringObligatoriouriPublicly accessible JPEG image URL.
project_idstringObligatorioProject ID used to authorize the metadata operation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get TemplatePICNIE_GET_TEMPLATEAcciónGet a Picnie template's complete layout and simplified dynamic fields for constructing generation replacements.
PICNIE_GET_TEMPLATEAcciónGet a Picnie template's complete layout and simplified dynamic fields for constructing generation replacements.
Parámetros de entrada
template_idstringObligatorioTemplate ID from List Templates. Numeric-looking IDs are accepted as strings and resolved by Picnie.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ProjectsPICNIE_LIST_PROJECTSAcciónList all projects belonging to the connected Picnie account, including IDs needed by generation and processing tools.
PICNIE_LIST_PROJECTSAcciónList 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TemplatesPICNIE_LIST_TEMPLATESAcciónList templates available to the connected Picnie account so an agent can select inputs for image or PDF generation.
PICNIE_LIST_TEMPLATESAcciónList 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove Image BackgroundPICNIE_REMOVE_IMAGE_BACKGROUNDAcciónUse Picnie AI to remove the background from a public image URL. This operation may consume Picnie credits.
PICNIE_REMOVE_IMAGE_BACKGROUNDAcciónUse Picnie AI to remove the background from a public image URL. This operation may consume Picnie credits.
Parámetros de entrada
image_urlstringObligatoriouriPublicly accessible source image URL.
project_idstringObligatorioProject ID that owns the operation output.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Resize ImagePICNIE_RESIZE_IMAGEAcciónResize a public image URL either to explicit pixel dimensions or by percentage. This operation may consume Picnie credits.
PICNIE_RESIZE_IMAGEAcciónResize a public image URL either to explicit pixel dimensions or by percentage. This operation may consume Picnie credits.
Parámetros de entrada
widthintegerTarget width in pixels; required when resize_type is dimensions and forbidden for percentage.
heightintegerTarget height in pixels; required when resize_type is dimensions and forbidden for percentage.
image_urlstringObligatoriouriPublicly accessible source image URL.
project_idstringObligatorioProject ID that owns the operation output.
resize_typestringObligatorioenumUse dimensions for explicit width and height, or percentage for proportional scaling.
dimensionspercentageresize_percentagenumberScale percentage; required when resize_type is percentage and forbidden for dimensions.
prevent_enlargementbooleanDo not enlarge an image that is already smaller than the requested size.
maintain_aspect_ratiobooleanMaintain the original aspect ratio when resizing.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Transcribe ImagePICNIE_TRANSCRIBE_IMAGEAcciónExtract text from a public image URL with Picnie OCR. This operation may consume Picnie credits; Picnie currently documents only Original for method and language.
PICNIE_TRANSCRIBE_IMAGEAcciónExtract 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
methodstringPicnie OCR method. Original is the only documented value; pass another value only when it is known to be supported by the connected account.
languagestringPicnie OCR language selector. Original is the only documented value; pass another value only when it is known to be supported.
image_urlstringObligatoriouriPublicly accessible image URL to transcribe.
project_idstringObligatorioProject ID used for the OCR operation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload AssetPICNIE_UPLOAD_ASSETAcciónUpload 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.
PICNIE_UPLOAD_ASSETAcciónUpload 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
imageobjectObligatorioImage file to upload. Picnie does not document accepted formats or maximum size.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not