Image Edit
image_editImage Edit tools for the Draftless AI creative studio. Requires sign-in to run. Actions:
upscale_image: Upscale an image to higher resolution.
remove_background: Remove the background from an image and return a transparent PNG.
outpaint_image: Expand an image's canvas by a percentage on each side, filling the new area with AI-generated content.
reframe_image: Reframe an image to a new aspect ratio by outpainting new content on the sides (never cropping).
apply_relight: Relight an existing image: light direction, intensity, warmth and ambient fill, keeping subject and composition.
edit_image_inpaint: Edit an image inside a masked region: replace, remove, or restyle pixels covered by the mask while keeping the rest untouched.
composite_image: Add an image overlay (logo / badge / watermark), a text caption/label (true-type Inter, not bitmap), and/or a designed 'Powered by '
add_badge: The result is saved to your asset library and returned as a durable URL.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "image_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Arguments for the action (see discover.describe_action once signed in). | |
| action | Yes | Which operation to run. |