Extend Video
beatra.videos.extendGenerate footage immediately before or after one source clip. Use edit to alter existing frames. Duration is a required integer final returned-video duration, must exceed the trusted source duration, and does not accept auto. 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": {
"duration": "<duration>",
"video": "<video>",
"direction": "<direction>",
"instruction": "<instruction>",
"client_request_id": "<client_request_id>"
},
"name": "beatra.videos.extend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| 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 |
| video | Yes | The single source video to continue. | |
| duration | Yes | Required final returned-video duration in integer seconds. It must exceed the trusted source-video duration; model-specific admission may narrow the range. | |
| direction | Yes | Generate new content immediately before or after the source video's content. | |
| watermark | No | Whether generated video should include the model watermark. | |
| references | No | Optional ordered image, video, or audio references. The selected model must support every supplied reference kind and count. | |
| 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. | |
| instruction | Yes | Required instruction describing how the source video should continue. | |
| 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 |