Runway REST API
AI-powered video generation and editing API
Runway provides a REST API for AI-powered video generation, editing, and creative tools. Developers use it to integrate text-to-video, image-to-video, video editing, and advanced AI models into their applications for creating, transforming, and enhancing video content programmatically.
https://api.runwayml.com/v1
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /generations/text-to-video | Generate video from text prompts using Gen-2 model |
| POST | /generations/image-to-video | Generate video from a source image with motion prompts |
| GET | /generations/{id} | Retrieve status and result of a video generation task |
| POST | /edits/inpainting | Remove or replace objects in video frames using AI inpainting |
| POST | /edits/motion-brush | Apply directional motion to specific areas of a video |
| POST | /edits/green-screen | Remove backgrounds from video using AI-powered keying |
| POST | /edits/super-resolution | Upscale video resolution using AI enhancement |
| POST | /models/train | Train a custom model on your dataset for personalized generation |
| GET | /models | List all available models and custom trained models |
| GET | /models/{id} | Get details and training status of a specific model |
| POST | /renders/export | Export generated video in specified format and resolution |
| GET | /credits/balance | Get current credit balance and usage statistics |
| GET | /generations | List all generation tasks with filtering options |
| DELETE | /generations/{id} | Cancel an in-progress generation task |
Sponsor this page
AvailableReach developers actively building with Runway. See live pageview data and self-serve checkout — your slot goes live in minutes.
View inventory & pricing →Code Examples
curl -X POST https://api.runwayml.com/v1/generations/text-to-video \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A serene lake at sunset with mountains in the background",
"duration": 4,
"resolution": "1280x768",
"model": "gen2"
}'
Use Runway from Claude / Cursor / ChatGPT
Get a hosted MCP endpoint for Runway. Paste your Runway API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Runway directly with your credentials — no local install, works on mobile.
generate_video_from_text
Generate AI video content from text descriptions with customizable duration and resolution
animate_image
Convert static images into animated videos with AI-powered motion
edit_video_inpainting
Remove or replace objects in videos using AI inpainting technology
upscale_video_resolution
Enhance video quality by upscaling resolution using AI super-resolution
train_custom_model
Train personalized AI models on custom datasets for specific video generation styles
Connect in 60 seconds
Paste your Runway key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.
Connect Runway to your AI →