Generate Video
beatra.videos.generateGenerate from text when there is no source image or video. Supports optional driving audio on compatible models. Omit model unless the user explicitly requests one; call beatra.models.list before model or cost comparisons. This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.
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>",
"client_request_id": "<client_request_id>"
},
"name": "beatra.videos.generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| audio | No | Optional driving audio for models that support audio-conditioned generation. | |
| model | No | Use auto for request-dependent selection from the ordered live candidates. A concrete model is evaluated exactly as requested and is never substituted. | auto |
| prompt | Yes | Required description of the video to generate without source image or video media. | |
| duration | No | Requested output duration as integer seconds, or 'auto' when the selected model may choose its documented duration. Omit to use the selected model default. | |
| watermark | No | Whether generated video should include the model watermark. | |
| resolution | No | Requested model-defined output resolution tier. Omit to use the selected model's declared default; unsupported tiers are rejected rather than coerced. | |
| web_search | No | Whether the selected model may use web search during generation. | |
| aspect_ratio | No | Explicit output ratio when the selected model accepts it. Omit for a declared model default, source-derived ratio, or fixed model behavior. | |
| output_format | No | Optional output container. Omit or use mp4 for the existing default; models that advertise mov can return MOV without transcoding. | |
| enhance_prompt | No | Ask the selected model to rewrite the prompt before generation. Omit or use null to keep the prompt exactly as written. | |
| generate_audio | No | Whether the selected model should generate synchronized audio. | |
| negative_prompt | No | Content or qualities to avoid when supported by the selected model. | |
| client_request_id | Yes | Stable retry identity for this billable operation. Reuse only for the exact same generation arguments. | |
| return_last_frame | No | Whether to return the generated video's last frame as an image artifact. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| error | No | ||
| usage | No | ||
| status | No | ||
| billing | No | ||
| task_id | No | ||
| terminal | No | ||
| artifacts | No | ||
| resolved_model | No |