How to make videos with Claude Code using an API
To make videos with Claude Code, connect it to a video API's MCP server and ask in plain words. With rendermate it's one command: Claude Code then generates clips with Seedance, starting from a prompt or your own image, transcribes them with word timings, and saves every file as an asset in your workspace, ready to download.
1. Connect Claude Code to rendermate
claude mcp add --transport http rendermate https://api.rendermate.com/mcp
Then run /mcp in Claude Code and choose rendermate. Your browser opens: sign in and pick the workspace Claude Code works in. No API key to paste.
2. Ask for a draft first
Describe the shot. Ask for a draft: Seedance makes a cheap 480p version you can check before paying for the full one.
Make a 5-second 16:9 draft with Seedance 2.5 of a paper airplane gliding over a city at sunrise. Save it as launch/hero.mp4.
Claude Code calls create_generation, which runs in the background, then get_generation until its status is succeeded. The call it makes:
{
"model": "bytedance/seedance-2.5",
"prompt": "A paper airplane gliding over a city at sunrise",
"params": {"draft": true, "duration": 5, "ratio": "16:9"},
"output": "launch/hero.mp4"
}3. Make the final video from the draft
When the draft looks right, ask for the full version. The model makes the same shot in full from the draft's generation (from_draft), at the resolution you ask for:
Looks good. Make the final version of that draft in 1080p.
Seedance 2.5 makes up to 30 seconds with sound: voice, effects and music in sync with the picture, unless you turn generate_audio off. Seedance 2.0 goes up to 4K; Fast and Mini are quicker and cheaper, up to 720p.
4. Start from your own image
Put your images in the workspace. The rendermate CLI keeps a folder in sync, uploading only new and changed files:
curl -fsSL https://rendermate.com/install.sh | sh rendermate login rendermate sync ./launch
Then ask Claude Code to use one as the first frame. It passes the asset with its role: first_frame, last_frame, reference_image (up to 30), reference_video or reference_audio.
Animate launch/product.png: the camera slowly circles the product. 5 seconds, 9:16.
5. Transcribe a video with word timings
Transcription models take audio or a video's sound and return a JSON transcript: the language, the text, and every word with start_ms and end_ms, plus the speaker when you ask.
Transcribe launch/interview.mp4 with AssemblyAI, with speakers.
{
"model": "assemblyai/universal-2",
"inputs": [{"role": "audio", "asset": "launch/interview.mp4"}],
"params": {"speakers": true}
}elevenlabs/scribe-v2 works the same way. Both detect the language when you don't name it.
6. Download what it made
Every file a generation makes is an asset at the path you gave, or under generations/<id>/. Ask Claude Code for a link: get_asset returns a download URL that expires. rendermate sync and the dashboard's asset explorer show them too.
The same calls without Claude Code
Every MCP tool is a REST endpoint with the same arguments, so a script makes the same video with an API key:
curl https://api.rendermate.com/v1/generations \
-H "Authorization: Bearer $RENDERMATE_API_KEY" \
--json '{"model": "bytedance/seedance-2.5",
"prompt": "A paper airplane gliding over a city at sunrise",
"params": {"duration": 5, "ratio": "16:9"},
"output": "launch/hero.mp4"}'Poll GET /v1/generations/{id} until it's done, or get a webhook when generations finish. GET /v1/models lists every model with its inputs and params, and needs no key.
■ questions
Can Claude Code make videos?
Yes. Connected to a video API's MCP server such as rendermate's, Claude Code generates video clips from a prompt or an image, transcribes recordings and saves the files to your workspace, all from plain-language requests.
Do I need to write code to make videos with Claude Code?
No. After claude mcp add, you describe the video and Claude Code calls rendermate's tools for you. The same tools are REST endpoints when you do want a script.
Which AI video models can Claude Code use through rendermate?
Seedance 2.5 (up to 30 seconds), Seedance 2.0 (up to 4K), Seedance 2.0 Fast and Seedance 2.0 Mini for video, and AssemblyAI Universal-2 and ElevenLabs Scribe v2 for transcription. GET /v1/models lists them, with their inputs and params.
How do I get word-level timestamps for a video?
Run a transcription model on it: rendermate's assemblyai/universal-2 and elevenlabs/scribe-v2 return every word with start_ms and end_ms, and the speaker when you set speakers.
How much does it cost to generate a video with rendermate?
A generation is billed for what it used, from prepaid credits. Seedance video and AssemblyAI or ElevenLabs transcription cost their provider's list price with no markup: tokens for Seedance, audio time for transcription. The rates are on rendermate.com/pricing. A Seedance draft at 480p costs less than the final video, so check the shot with a draft first.
Does this work in Cursor, ChatGPT or Codex too?
Yes. rendermate's MCP server is a URL, https://api.rendermate.com/mcp, that Claude, ChatGPT, Cursor, VS Code, Codex and Amp connect to; the docs show each one's setup.