Jump to content

Make a video

A short video with sound from a few words or a photo.

Tell it what should happen in the video. Your agent gets an MP4 file of 3 to 15 seconds, with sound that fits the scene. It can also start from a photo you have, like a product shot that starts to move. You pick a wide or a tall video and how sharp it should be. Your agent also gets a still from the video to use as a cover. Most videos are ready in one to three minutes.

Paste this into your AI agent

Set up Chab for me: fetch https://www.chab.ai/agent-setup.md?v=497c0f and follow it. Then use Chab to make a short video of a paper boat floating down a stream in a sunny park, with the sound of birds and water.

Your agent connects Chab and then runs it. Free credits don't cover this tool. Your agent tells you how to buy credits or pick a monthly plan. How it works in each app

Full reference for developers
Returns
JSON result and a file
REST endpoint
POST /v1/video/generate
Over MCP
Call chab_operation_start with "video.generate"

What it looks like in a chat

Claude.aiReal result

Make a short video of a paper boat floating down a stream in a sunny park. Add the sound of birds and water.

Used Chab · Make a video
A white paper boat on a clear, shallow stream over pebbles, with sunlit trees behind it
A still from the video.

Here is a 4 second video with sound. The white paper boat drifts down a clear stream past a mossy stone, with trees in the sun behind it. I also saved a still from it that you can use as a cover image.

What you get

Example request

{  "prompt": "A paper boat floats down a small stream in a sunny park. The camera follows it slowly. Birds sing and the water splashes softly.",  "duration": 4,  "resolution": "360p"}

Example result

{  "data": {    "result": {      "duration_seconds": 4.03,      "resolution": "360p",      "aspect_ratio": "16:9",      "width": 640,      "height": 360,      "sound": true,      "video": { "filename": "video.mp4", "mime_type": "video/mp4", "byte_size": 1783846 },      "poster": { "filename": "video-poster.jpg", "mime_type": "image/jpeg", "width": 640, "height": 360, "byte_size": 27176 },      "usage": { "seconds": 4 }    },    "artifacts": [      {        "id": "art_...",        "type": "video",        "role": "generated_video",        "mime_type": "video/mp4",        "byte_size": 1783846,        "filename": "video.mp4",        "download_url": "/v1/operations/op_.../artifacts/art_.../download"      },      {        "id": "art_...",        "type": "image",        "role": "video_poster",        "mime_type": "image/jpeg",        "byte_size": 27176,        "filename": "video-poster.jpg",        "download_url": "/v1/operations/op_.../artifacts/art_.../download"      }    ],    "warnings": [],    "result_expires_at": "2026-11-19T21:16:35+00:00"  },  "meta": {    "request_id": "req_123"  }}

You can also run this tool on a schedule as a monitor. Chab then keeps every result and emails you when it changes. Monitors need bought credits or a monthly plan. How monitors work

Inputs

FieldTypeDetails
promptrequiredstringWhat happens in the video: the subject, the setting, how the camera moves, the light and the sounds. With a starting image, say what moves and how.Up to 4000 characters
imageobjectOptional starting image: the video begins with this picture. An uploaded file (file_id), a reusable artifact such as an images.generate image (artifact_id), or a public https URL (url). PNG, JPEG, WebP or HEIC.
image.typerequiredstringOne of file_id, artifact_id, url
image.idstringThe fil_ or art_ id, with type file_id or artifact_id.Up to 64 characters
image.urlstringA public https URL of the image, with type url. Chab downloads it (up to your plan's upload size) and checks it for viruses like an upload.Up to 2048 characters
durationintegerLength of the video in seconds. Each second is charged.Default 5. Min 3 max 15
aspect_ratiostring16:9 (landscape) or 9:16 (portrait). Default: 16:9, or with a starting image the one closer to its shape.One of 16:9, 9:16
resolutionstring360p (640 x 360), 720p (1280 x 720), 1080p (1920 x 1080) or 4k (3840 x 2160), for landscape; portrait swaps width and height. The price per second depends on it.One of 360p, 720p, 1080p, 4k. Default "720p"
soundbooleanSound that fits the scene, such as voices, noises and music the prompt asks for. false makes a silent video (same price).Default true

How to call it

AI apps use it through hosted MCP. Coding agents can also use the CLI, and your own code can call the API. Each call starts a job, and your agent picks up the result when it is ready.

curl -X POST https://www.chab.ai/v1/video/generate \  -H "Authorization: Bearer CHAB_API_KEY" \  -H "Content-Type: application/json" \  -H "Idempotency-Key: video-generate-001" \  -d '{"prompt":"A paper boat floats down a small stream in a sunny park. The camera follows it slowly. Birds sing and the water splashes softly.","duration":4,"resolution":"360p"}'

Make a video result

{  "data": {    "result": {      "duration_seconds": 4.03,      "resolution": "360p",      "aspect_ratio": "16:9",      "width": 640,      "height": 360,      "sound": true,      "video": { "filename": "video.mp4", "mime_type": "video/mp4", "byte_size": 1783846 },      "poster": { "filename": "video-poster.jpg", "mime_type": "image/jpeg", "width": 640, "height": 360, "byte_size": 27176 },      "usage": { "seconds": 4 }    },    "artifacts": [      {        "id": "art_...",        "type": "video",        "role": "generated_video",        "mime_type": "video/mp4",        "byte_size": 1783846,        "filename": "video.mp4",        "download_url": "/v1/operations/op_.../artifacts/art_.../download"      },      {        "id": "art_...",        "type": "image",        "role": "video_poster",        "mime_type": "image/jpeg",        "byte_size": 27176,        "filename": "video-poster.jpg",        "download_url": "/v1/operations/op_.../artifacts/art_.../download"      }    ],    "warnings": [],    "result_expires_at": "2026-11-19T21:16:35+00:00"  },  "meta": {    "request_id": "req_123"  }}

Price: 19 to 168 credits per second of video, by resolution. See all prices

Want to try Chab with your agent?

Copy the prompt and paste it into your AI. Your agent starts with free credits and doesn't need an account.

See plans