Generate
generateStart OfflineCreator Studio jobs from prompts: queue text-to-image or text-to-video, and for image-to-video upload input after reserving; set wait to poll until completed or failed.
Instructions
Start a Studio generation. Text-to-image and text-to-video queue immediately. For image-to-video, call upload_input after reserve. Set wait:true to poll until completed/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": {
"modelId": "<modelId>",
"prompt": "<prompt>"
},
"name": "generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | If true, poll until completed/failed (up to 120s) | |
| prompt | Yes | Creative prompt | |
| modelId | Yes | Model id from list_models, e.g. flux-schnell | |
| aspectRatio | No | Frame ratio; defaults to 16:9 |