Kraken.io
kraken_ioKraken.io is an image optimization and compression platform that helps reduce image file sizes without compromising quality.
Acciones disponibles (4)
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.
Check Kraken.io User StatusKRAKEN_IO_CHECK_USER_STATUSAcciónTool to retrieve current kraken.io account status and quota usage. use when you need to verify plan limits and remaining quota before processing images.
KRAKEN_IO_CHECK_USER_STATUSAcciónTool to retrieve current kraken.io account status and quota usage. use when you need to verify plan limits and remaining quota before processing images.
Parámetros de entrada
api_keystringObligatorioYour Kraken.io API Key.
api_secretstringObligatorioYour Kraken.io API Secret.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Optimize Image by URLKRAKEN_IO_OPTIMIZE_IMAGE_URLAcciónTool to optimize an image from a public url. use when you need to compress, resize, or convert an externally hosted image. returns result immediately if 'wait' is true.
KRAKEN_IO_OPTIMIZE_IMAGE_URLAcciónTool to optimize an image from a public url. use when you need to compress, resize, or convert an externally hosted image. returns result immediately if 'wait' is true.
Parámetros de entrada
devbooleanDevelopment mode (no real optimization)
urlstringObligatorioPublicly accessible URL of the image to optimize
authobjectObligatorioAuthentication credentials for Kraken API
avifbooleanReturn image also in AVIF format
waitbooleanReturn optimization result synchronously if true
webpbooleanReturn image also in WebP format
lossybooleanUse lossy optimization mode
resizeobjectResize options sub-object
convertstringenumConvert image to specified format
jpegpnggifwebpavifqualityintegerCompression quality (0-100) for lossy mode
losslessbooleanUse lossless optimization mode
s3_storeobjectS3 storage options sub-object
preserve_metadatabooleanPreserve image metadata (EXIF, IPTC) in output
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Preserve Image MetadataKRAKEN_IO_PRESERVE_METADATAAcciónTool to preserve exif and other metadata during kraken.io image optimization. use when you need to maintain metadata while compressing images.
KRAKEN_IO_PRESERVE_METADATAAcciónTool to preserve exif and other metadata during kraken.io image optimization. use when you need to maintain metadata while compressing images.
Parámetros de entrada
devbooleanUse developer mode (no real optimization)
urlstringuriRemote image URL to optimize, required if `file` is not provided
authobjectObligatorioAuthentication credentials for Kraken.io API
filestringbinaryBinary content of the image to upload, required if `url` is not provided
waitbooleanReturn result synchronously when true
lossybooleanUse lossy optimization mode
qualityintegerImage quality for lossy mode (0-100)
s3_storeobjectS3 storage parameters for optimized image.
file_namestringFilename for the uploaded file when using `file`
preserve_metadatabooleanPreserve all EXIF and other metadata when true
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Sandbox Image UploadKRAKEN_IO_SANDBOX_UPLOADAcciónTool to upload and optimize images in sandbox mode. use when you want to test the kraken.io api without consuming credits.
KRAKEN_IO_SANDBOX_UPLOADAcciónTool to upload and optimize images in sandbox mode. use when you want to test the kraken.io api without consuming credits.
Parámetros de entrada
devbooleanMust be true to enable sandbox mode (no credits used; output is watermarked)
urlstringuriURL of the image to optimize. Required if `file` is not provided.
authobjectObligatorioAuthentication credentials for Kraken.io API
filestringbinaryBinary image data to upload. Required if `url` is not provided.
waitbooleanIf true, wait for optimization to finish and return immediately
lossybooleanIf true, perform intelligent lossy optimization
resizeobjectResize options sub-object
qualityintegerDesired quality for lossy optimization (0-100)
losslessbooleanIf true, perform lossless optimization
file_namestringFilename for the uploaded binary `file`. Required if `file` is provided.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not