Edit Video
beatra.videos.editEdit one source video by instruction, with optional multimodal references; do not use this to extend a clip. Input plus output duration may be billable. 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": {
"source_video": "<source_video>",
"instruction": "<instruction>",
"client_request_id": "<client_request_id>"
},
"name": "beatra.videos.edit"
}
}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 |
| 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. | |
| 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 changes to the source video. | |
| 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. | |
| source_video | Yes | Required video whose existing content will be edited. | |
| audio_setting | No | Optional edit-audio policy: auto lets a compatible model choose, while origin requests preservation of source audio. | |
| 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 |