Tool · video_gen
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.
- 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 descriptionDescribe the scene and the motion; choose the length, shape and resolution.
- Bring an image to lifeUse a picture as the first frame, or as a reference for a character or scene.
- Edit an existing clipChange a 4 to 30 second source video while keeping its length and shape.
Three ways to call it
The same tool and the same price, whichever way you call it.
In your assistant (MCP). Connect once, then ask in plain words
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)
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)
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. Default "reference". |
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 | — Default 4. |
aspect | 16:9 | 9:16 | 1:1 | adaptive | no | — Default "16:9". |
resolution | 480p | 720p | no | — Default "720p". |
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. Default "first_frame". |
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. Default false. |
audio | false | no | Silent output only in this release. Default false. |
Every tool with more than one provider also takes cost, depth, speed and provider to steer the choice: see the tools reference.
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.
Questions
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.
Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.