Render an edit
render_editAssemble delivered video clips into a captioned 9:16 MP4, adding voice, music, holds, and sound where specified, then poll the film run for success or failure.
Instructions
Input: the same fields as quote_edit, plus attempt. Paid once per delivered cut, after quote_edit. Cuts windows of your own delivered generate_video clips (run_id) or video assets (asset_id) back to back, holds the last frame for hold seconds, lays the make_voice take (whole at voice.at, or its sentences as voice.pieces on the seconds their pictures start), plays a clip's own sound where it has sound: true (a clip made with audio: true, never under the voice's words), lays music if asked and burns in captions: one vertical 9:16 720p MP4 at 25 fps, up to 60 s. music is a library track (free) or one made for the cut (charged only when the delivered cut carries it); it plays from music.at to the end, lower under the voice. A clip up to 3% off 9:16 is cropped to fill it; one further off is shown whole with bars; warnings name each. An edit that fails costs nothing. Returns at once; call get_film_run until it is succeeded (video_url) or failed. Read each take you made on take_frames (free) before you cut it; check_take is optional, worth it on a product shot or when the user asks, and a verdict on a clip's file is said in warnings. With ad_id every clip names its slot. Mistakes to avoid: rendering without the quote's go-ahead; cutting a take you have not looked at; changing the arguments between quote and render; expecting a zoom (it has none); music under a voice-led ad at volume above -6; a music-only cut without music; a caption over the product, its print, the hands or the face. The same arguments and attempt return the run already started, whatever its state; to repeat a failed run, pass attempt + 1 (attempt 2 after the first), which starts a new run, charged as its quote says.
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": {
"clips": "<clips>"
},
"name": "render_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hold | No | ||
| ad_id | No | ||
| clips | Yes | ||
| music | No | ||
| voice | No | ||
| attempt | No | ||
| ambience | No | ||
| captions | No | ||
| max_credits | No |