redraw_image
Generates a new version of a local image from a prompt while preserving its composition and size. Use it for whole-image img2img when character changes but geometry must stay fixed.
Instructions
REDRAW an existing local image from a new prompt, keeping its composition and size (whole-image img2img). The character of the picture changes but the geometry stays. Use edit_image instead when only part of the picture should change.
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": {
"init_image": "<init_image>",
"prompt": "<prompt>"
},
"name": "redraw_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | -1 for random. | |
| model | No | Model override. | |
| steps | No | Sampling steps. | |
| prompt | Yes | Describe the WHOLE picture you want, keeping the composition of the source. | |
| verify | No | ||
| channel | No | ||
| dry_run | No | Validate inputs only, call nothing. | |
| sampler | No | Sampler name. | |
| strength | No | Denoising strength 0..1 (default 0.6). Under ~0.35 the engine barely changes anything. | |
| cfg_scale | No | CFG / guidance scale. | |
| timeout_s | No | Job timeout in seconds. | |
| init_image | Yes | Absolute path of the source image. | |
| output_dir | No | Absolute output directory. | |
| filename_prefix | No | Filename prefix. | |
| negative_prompt | No | What to avoid. |