Make an image again
regenerate_imageMakes one image of a set again with the same prompt, as 1–5 new versions next to the old ones, to pick the best (pick_image_version). Each version costs the original image’s credits (usually 1). Not for the main image on white (a cut-out of the photo); use edit_image for that. Returns the new generation ids; then call get_image_set.
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": {
"generation_id": "<generation_id>"
},
"name": "regenerate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| versions | No | New versions to make at once (default 1) | |
| generation_id | Yes | Image id from get_image_set |