Enhance Video Prompt
beatra.videos.enhance_promptEnhance a creative video prompt from optional image, video, or audio context. This creates an asynchronous text-only task and does not generate video. The model compatibility field is ignored. This asynchronous task consumes Beatra credits; successful completion is charged afterward from actual input and output tokens; failed or canceled tasks are not charged. Submit exactly once, then poll with beatra.tasks.get. Reuse 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>",
"duration": "<duration>",
"aspect_ratio": "<aspect_ratio>",
"client_request_id": "<client_request_id>"
},
"name": "beatra.videos.enhance_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Compatibility input only. Its value and type are ignored in the first release; Beatra resolves the available prompt-enhancement model internally. | auto |
| prompt | Yes | Required creative intent to expand into a production-ready video prompt. | |
| duration | Yes | Target video duration in integer seconds. | |
| last_frame | No | Optional strict last-frame context image. | |
| references | No | Optional ordered image, video, or audio context. Reference mode and strict-frame mode are mutually exclusive. | |
| first_frame | No | Optional strict first-frame context image. | |
| aspect_ratio | Yes | Target video aspect ratio. Text-only requests cannot use adaptive. | |
| client_request_id | Yes | Stable retry identity for this billable operation. Reuse only for the exact same generation arguments. |
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 |