Venice Image Edit
venice_image_editEdits an image from a URL using a text prompt and returns a base64 PNG, with optional model, aspect ratio, resolution, and output format controls.
Instructions
Edit an image with a prompt. Returns base64 PNG. Supports x402 wallet auth (no Venice account needed) and API key.
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": {
"image_url": "<image_url>",
"prompt": "<prompt>"
},
"name": "venice_image_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Edit model id; defaults to firered-image-edit. | |
| prompt | Yes | ||
| image_url | Yes | URL of the image to edit (will be passed through to the edit endpoint). | |
| safe_mode | No | ||
| resolution | No | Model-specific output resolution tier; the API validates supported values. | |
| aspect_ratio | No | Output aspect ratio, e.g. "1:1", "16:9", "9:16", "4:5". Supported values vary by model; the API validates. | |
| output_format | No | ||
| enhance_prompt | No | Rewrite the edit prompt with awareness of the input image. May add time and cost. |