image_to_image
Transform a reference image using optional text guidance to generate new images. Returns image URLs.
Instructions
Transform a reference image guided by an optional prompt. Returns image URLs.
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": {
"model": "<model>",
"image_url": "<image_url>"
},
"name": "image_to_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| seed | No | ||
| model | Yes | Image generation model id | |
| prompt | No | ||
| strength | No | ||
| image_url | Yes | Reference image URL or base64 | |
| aspect_ratio | No | ||
| callback_url | No | ||
| guidance_scale | No |