Text-to-Video API
Generate video from text prompts through one API — leading video models from multiple providers behind a single key, priced per second of output video so you can compare real costs before you commit.
9 text-to-video models available right now — every one runnable in a free playground, through the REST API and JavaScript SDK, or from an AI assistant via MCP.
Text-to-Video models & pricing
| Model | Endpoint | Price |
|---|---|---|
| Kling 2.1 Master Text-to-Video | kuaishou/kling-video/v2.1-master/text-to-video | $0.28 per second of video |
| PixVerse V5 Text-to-Video | pixverse/v5/text-to-video | $0.2 per video |
| Kling 2.6 Pro Text-to-Video | kuaishou/kling-video/v2.6/text-to-video | $0.14 per second of video |
| MiniMax Hailuo-02 Standard Text-to-Video | minimax/hailuo-02/standard/text-to-video | $0.045 per second of video |
| Wan 2.7 Text to Video | wan-video/wan/v2.7/text-to-video | $0.15 per second of video |
| Kling 2.5 Turbo Pro Text-to-Video | kuaishou/kling-video/v2.5-turbo/text-to-video | $0.07 per second of video |
| Seedance V1.5 Text to Video | bytedance/seedance-v1.5/text-to-video | $0.05184 per second of video |
| LongCat-Video t2v | meituan-longcat/longcat-video-t2v-480p | $0.02 per second of video |
| Veo 3.1 Text to Image | google/veo-3.1/text-to-video | $0.4 per second of video |
Full catalog on the models page; live per-configuration costs on the pricing page.
Call a text-to-video model in one request
Every model shares the same request lifecycle: submit to the queue, poll the status URL, fetch the result. Swap the endpoint to switch models — nothing else changes.
cURL
curl -X POST https://queue.modelrunner.run/kuaishou/kling-video/v2.1-master/text-to-video \
-H "Authorization: Key $MRUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "input": { "prompt": "..." } }'
# → { "request_id": "...", "status_url": "...", "response_url": "..." }Use text-to-video models from Claude & Cursor
Connect the ModelRunner MCP server once and your AI assistant can run every text-to-video model in this table as a tool — authorized via OAuth, results returned as hosted URLs in the conversation.
Claude Code
claude mcp add --transport http modelrunner https://mcp.modelrunner.run/mcpFrequently asked questions
How much does a text-to-video API cost?
Text-to-video models are typically priced per second of generated video (some by resolution tier), and the exact per-model rates are listed in the table above. A short clip costs its duration times the per-second rate — there are no minimum fees or subscriptions.
How do I call a text-to-video model via the API?
Every model shares the same request shape: POST https://queue.modelrunner.run/<owner>/<alias> with an Authorization: Key header and an {"input": {...}} body, then poll the returned status_url and fetch the result from response_url. The JavaScript SDK (@modelrunner/client) wraps this in a single subscribe() call. Each model page shows copy-paste cURL, JavaScript, and Python examples with that model's real inputs.
Can I run text-to-video models from Claude or Cursor?
Yes. Connect the ModelRunner MCP server (https://mcp.modelrunner.run/mcp) once and every text-to-video model in the catalog becomes a tool your AI assistant can call with the run_model tool — authorized via OAuth, no API key pasted into config.
