Generate image or video
generateStarts Brennglas image or video render jobs from a chosen workflow and source images, then waits for the result and returns a preview or job ID for later retrieval.
Instructions
Starts a job in Brennglas (it appears live in the user's gallery). Pick the workflow from list_models. images: gallery ids or absolute file paths; the first is the main/start image, further ones are references (for first+last frame video, the second is the last frame). Waits up to wait_seconds, then returns the result with a preview image, or the id to pass to wait. Videos take 30 s to several minutes. Camera moves in image to video (LTX): large moves (arc, orbit, crane, drone, bullet time) only show from about 5 s; with 3 s the model falls back to a gentle push-in. For those use duration >= 5 and either pe=true or a detailed prompt that also describes the camera path.
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": {
"workflow": "<workflow>"
},
"name": "generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aspect | No | Scene format with figures, e.g. "16:9" (default), "9:16", "4:5" | |
| images | No | Gallery ids, "upload:…" refs from last_frame, or absolute paths of local image files | |
| params | No | Field values by key, see list_models | |
| prompt | No | Prompt text; English works best | |
| figures | No | Figure names or ids (see figures): new scene with these characters/products on an empty canvas; needs an edit workflow, prompt = the scene only, images become further references | |
| workflow | Yes | Workflow name, e.g. "zimage-t2i", "ltx25-i2v", "wan22cam-i2v" | |
| wait_seconds | No |