Agent tools

create_video

create_video({ prompt, image?, model?, duration?, resolution?, audio?, aspect?, path? })

Generate a video and save it in the workspace. Priced per second — from 13 to 150 credits a second, which makes it the most expensive thing a run can do.

category: write13–150 credits per secondminutes, not seconds
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

promptstringrequired

What to create.

imagestring

A workspace image to animate: the clip starts from it.

modelstring

The video model. Only one of them makes sound.

durationnumber4

Seconds: 4, 6 or 8. The price is per second.

resolutionstring720p

720p · 1080p · 4K.

audiobooleanfalse

Sound. Only one model makes it, and it doubles the price.

aspectstring16:9

16:9 or 9:16.

pathstring

Where to save it.

The cost, concretely

Asked forCredits
4 s, lite, 720p52
8 s, top model, 1080p, with sound800
In auto mode this is not asked

It is a write, like saving a file. The thing that stops a run from spending eight hundred credits on a misread instruction is the budget — set one on any agent that has this tool.

It takes minutes

Generation is a long operation. A run with this tool needs a step ceiling and a patience to match, and the call carries no client-side timeout — abandoning it would pay for a clip nobody receives.

It picks up where create_image left off

image takes a workspace picture as the first frame — so « draw it, then animate it » is two tools and one file.