Extend an existing video
Continue a source clip beyond its current endpoint.
Primary agent path
Use beatra.videos.extend to continue beyond a clip's current endpoint. Use
edit instead when the existing timeline itself should change.
- Upload the local source video.
- Call
beatra.models.listwithcapability: "video_extend"for current clip limits, final-duration rules, controls, and prices. - Describe only the continuation and any required final composition.
- Submit once with one
client_request_id; poll withbeatra.tasks.get.
AI guide
MCP integration guide for AI
For custom API integrations, copy this guide into Claude, Codex, or another coding assistant.
Tool arguments
direction is required (after continues past the end). duration means the
final output duration, including the source clip—not the number of seconds to
add.
Models, controls, and cost
Common controls are prompt, negative_prompt, resolution,
duration, aspect_ratio, seed, enhance_prompt, and watermark.
Use each only according to the selected model's metadata.
Use beatra.models.list as the current source for selectable models, accepted
source duration, final-duration range, resolution,
derived aspect ratio, defaults, and price inputs. Ensure the final duration is
valid for the source; never silently rewrite it.
Task status and recovery
Keep polling the same task while it is queued or running. Retry a lost create
response only with identical arguments and the same client_request_id. A new
source, instruction, model, or duration requires a new ID.
REST API
Direct protocol integrations use POST /v1/videos/extend. Follow the generated
API operation
for the complete request contract. Skill + MCP is the recommended integration; REST serves custom applications.