Redo generation
redo_generationGenerate another take of an existing image or video node, reusing its original inputs and settings (use generate_image/generate_video for a new prompt from scratch). Optionally override the prompt, modelKey or image quality. Spends credits. Returns immediately with a new nodeId and status; poll get_generation_status until it is COMPLETED or FAILED.
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": {
"threadId": "<threadId>",
"nodeId": "<nodeId>"
},
"name": "redo_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The node to redo. | |
| prompt | No | Optional replacement prompt. Defaults to the original prompt. | |
| quality | No | Optional image quality. Defaults to the original quality. | |
| modelKey | No | Optional model key from list_models. Defaults to the original model. | |
| threadId | Yes | Thread containing the node. |