generate_scenario
Plan a multi-scene video from a brief: an LLM director returns a structured scenario — per-scene English video prompts with durations, plus a soundtrack prompt. Feed each scene prompt to generate_video, then stitch the finished clips with compose_video. Charged in credits like chat (LLM usage).
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": {
"prompt": "<prompt>"
},
"name": "generate_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | LLM model slug (omit to use the default). | |
| style | No | Optional visual style, e.g. 'cinematic', 'documentary', 'product ad', 'anime'. | |
| prompt | Yes | What the final video is about: product, story, mood, audience. Any language. | |
| scene_count | No | Number of scenes. Omit to derive from duration (~5s per scene). | |
| aspect_ratio | No | 9:16 | |
| idempotency_key | No | Stable key for safely retrying the same scenario request without a duplicate model call or charge. Reusing it with different input returns a conflict. | |
| duration_seconds | No | Target total length of the final video. |