# AI video generation for agents > morigraph's video generation tool lets Claude, ChatGPT, Cursor, Codex or your own code create a silent video clip from a prompt, reference images or a source video, using Seedance from BytePlus. It needs no BytePlus account or API key. A recent short clip cost about 30 credits, around $3; up to 300 credits are held while it runs and the unused part is released. - **Tool name**: `video_gen` - **Price**: About 30 credits (about $3) for a short clip. Up to 300 credits are held while it runs - **Providers**: BytePlus - **Call it from**: MCP, command line and HTTP API - **Needs**: one morigraph connection; no vendor account or API key ## What it is for - **A clip from a description**: Describe the scene and the motion; choose the length, shape and resolution. - **Bring an image to life**: Use a picture as the first frame, or as a reference for a character or scene. - **Edit an existing clip**: Change a 4 to 30 second source video while keeping its length and shape. ## How to call it In your assistant (MCP). Connect once, then ask in plain words: ```sh claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp Generate a 5 second vertical video of steam rising from a cup of coffee on a windowsill, morning light. ``` From a terminal or script (CLI): ```sh npx @morigraph/cli@latest login morigraph call video_gen --json-args '{"prompt":"Steam rising from a cup of coffee on a windowsill, morning light","duration_seconds":5,"aspect":"9:16","resolution":"720p"}' ``` From your own code (HTTP API): ```sh curl https://api.morigraph.com/v1/tools/video_gen \ -H "Authorization: Bearer $MORIGRAPH_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt":"Steam rising from a cup of coffee on a windowsill, morning light","duration_seconds":5,"aspect":"9:16","resolution":"720p"}' ``` What comes back: A job. When it finishes, the MP4 is saved to your workspace and the response carries a download link. ## Arguments | Argument | Type | Required | What it is | |---|---|---|---| | `task_mode` | reference \| edit | no | reference creates a new video; edit (Seedance 2.5) modifies source_video and retains its duration/aspect. For edit, omit duration_seconds and aspect; use a 4–30 second source video. | | `prompt` | string | no | Describe the video and motion. Required for a new generation. | | `model` | dreamina-seedance-2-0-260128 \| dreamina-seedance-2-5-260628 | no | Pin an exact Seedance model. | | `duration_seconds` | integer | no | | | `aspect` | 16:9 \| 9:16 \| 1:1 \| adaptive | no | | | `resolution` | 480p \| 720p | no | | | `source_image` | string | no | Original https provider image URL, asset:// provider asset ID, or workspace Files id/filename. Portrait acceptance is provider-controlled; same-account untouched Seedream originals may qualify. | | `source_images` | array of string | no | Ordered image references: 1–30 for Seedance 2.5, 1–9 for 2.0. Each accepts an https URL, asset:// ID or workspace Files id/filename. Always reference_image mode; cannot combine with source_image. Can combine with source_video. Refer to Image 1, Image 2 etc. in the prompt; portrait eligibility remains provider-controlle | | `image_role` | first_frame \| reference_image | no | Applies to singular source_image only. first_frame locks the opening image. reference_image supplies character/scene identity while the prompt defines a new outfit, pose or angle; use original eligible assets. | | `source_video` | string | no | Https reference video URL, asset:// provider asset ID, or workspace Files id/filename, for identity, scene or motion reference. | | `return_last_frame` | boolean | no | Save the provider-returned final frame as an untouched image in Files, for eligible future references. This is not a locally extracted screenshot. | | `audio` | false | no | Silent output only in this release. | ## Good to know - Output is silent in this release. Add sound in an editor afterwards. - Checking a job is free. Never submit the same request twice because the first looked slow: both would be charged. - A failed job releases the credits it held. ## When to choose something else Choose Runway, or a model host such as fal, when you want a particular video model, sound in the output, or a timeline to edit on. This tool is for an assistant that needs a clip as one step of a larger job. ## How much does a generated video cost? It depends on length and resolution. One recent short clip cost about 30 credits, around $3. Up to 300 credits are reserved while the job runs, and whatever is not used is released when it finishes. ## Which video model is behind it? Seedance, through BytePlus. You can pin Seedance 2.0 or 2.5, or let morigraph choose. ## Does the video have sound? No. Output is silent in this release. ## How long does it take? Minutes, not seconds. The call returns a job at once, and you check it until it is done. Checking is free. ## Related tools - [Video editing](https://morigraph.com/tools/video-editing.md): free - [Image generation](https://morigraph.com/tools/image-generation.md): 0.6 to 1.8 credits a call - [Transcription](https://morigraph.com/tools/transcription.md): about 0.1 credits a minute - [All tools](https://morigraph.com/tools.md) --- Canonical page: https://morigraph.com/tools/video-generation/ Prices read from the production service on 2026-11-27. Connect: https://morigraph.com/connect.md · API docs: https://morigraph.com/docs.md · Site overview: https://morigraph.com/llms.txt