# create_video

Canonical URL: https://developers.iagenify.com/sdk/agent/tools/create-video/
Language: en

`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.

Status: category: write · 13–150 credits per second · minutes, not seconds

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `prompt` | string | required | What to create. |
| `image` | string |  | A workspace image to animate: the clip starts from it. |
| `model` | string |  | The video model. Only one of them makes sound. |
| `duration` | number | 4 | Seconds: 4, 6 or 8. **The price is per second.** |
| `resolution` | string | 720p | `720p` · `1080p` · `4K`. |
| `audio` | boolean | false | Sound. Only one model makes it, and it doubles the price. |
| `aspect` | string | 16:9 | `16:9` or `9:16`. |
| `path` | string |  | Where to save it. |

## The cost, concretely {#cost}

| Asked for | Credits |
| --- | --- |
| 4 s, lite, 720p | 52 |
| 8 s, top model, 1080p, with sound | 800 |

> **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 {#time}

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 {#from-image}

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

- [create_image](/sdk/agent/tools/create-image): The still.
- [Budget](/sdk/agent/budget): The ceiling this tool needs.
- [Agent tools](/sdk/agent/tools): The 35, by family.
