Documentation Index
Fetch the complete documentation index at: https://docs.spojit.com/llms.txt
Use this file to discover all available pages before exploring further.
The Image Tools connector provides operations for image processing — resizing, cropping, format conversion, compression, and effects.
No connection required — this utility connector works out of the box.
All image inputs and outputs are base64-encoded strings.
Resize strategy: cover, contain, fill, inside, or outside.
Output format: jpeg, png, webp, or avif.
Example request:{
"image": "iVBORw0KGgoAAAANSUhEUgAABLA...",
"width": 800,
"height": 600,
"fit": "inside",
"format": "webp"
}
Example response:{
"success": true,
"width": 800,
"height": 533,
"format": "webp",
"image": "UklGRuoCAABXRUJQVlA4IN4CAABwEQ..."
}
Example request:{
"image": "iVBORw0KGgoAAAANSUhEUgAABLA...",
"left": 100,
"top": 50,
"width": 400,
"height": 300
}
Example response:{
"success": true,
"width": 400,
"height": 300,
"image": "iVBORw0KGgoAAAANSUhEUgAAAZA..."
}
Rotation angle in degrees (clockwise).
Background colour for exposed areas (hex).
Example request:{
"image": "iVBORw0KGgoAAAANSUhEUgAABLA...",
"angle": 90,
"background": "#ffffff"
}
Example response:{
"success": true,
"width": 600,
"height": 1200,
"image": "iVBORw0KGgoAAAANSUhEUgAAAloA..."
}
compress — Compress image
Example request:{
"image": "iVBORw0KGgoAAAANSUhEUgAABLA...",
"quality": 60
}
Example response:{
"success": true,
"originalSize": 284500,
"compressedSize": 98200,
"reduction": "65%",
"image": "/9j/4AAQSkZJRgABAQEASABIAAD..."
}
get-info — Get image metadata
thumbnail — Generate thumbnail
Maximum dimension in pixels.
Output format: jpeg, png, or webp.
Example request:{
"image": "iVBORw0KGgoAAAANSUhEUgAABLA...",
"size": 200,
"format": "jpeg"
}
Example response:{
"success": true,
"width": 200,
"height": 133,
"format": "jpeg",
"image": "/9j/4AAQSkZJRgABAQEASABIAAD..."
}
grayscale — Convert to grayscale
Example request:{
"image": "iVBORw0KGgoAAAANSUhEUgAABLA..."
}
Example response:{
"success": true,
"image": "iVBORw0KGgoAAAANSUhEUgAABLA..."
}
Flip direction: horizontal, vertical, or both.
Example request:{
"image": "iVBORw0KGgoAAAANSUhEUgAABLA...",
"direction": "horizontal"
}
Example response:{
"success": true,
"image": "iVBORw0KGgoAAAANSUhEUgAABLA..."
}
Example request:{
"image": "iVBORw0KGgoAAAANSUhEUgAABLA...",
"sigma": 5
}
Example response:{
"success": true,
"image": "iVBORw0KGgoAAAANSUhEUgAABLA..."
}