regenerate
Scope: generate:media. Re-run a past media generation with optional overrides. Use after critique flags an issue: regenerate(id, prompt='same concept but fix the warped hand'). Original row's prompt / model / aspect_ratio / source_media_urls / duration are reused unless you override them. Overrides: prompt (replaces original), seed (force a new seed; 0 = let provider pick), aspect_ratio, negative_prompt, variant_count (1-4 — fans out N parallel calls and returns N generation_ids). Only works on media_generations rows owned by the caller. Music / separation / dialogue regeneration is not supported via this tool — call the original tool again. Cost is identical to a fresh generate_media — confirm with the user before calling, especially for per-duration video models.
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": {
"id": "<id>"
},
"name": "regenerate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| seed | No | ||
| prompt | No | ||
| aspect_ratio | No | ||
| variant_count | No | ||
| negative_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||