Connect to AI
AI & Machine Learning Bearer Token

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.

Base URL https://api.runwayml.com/v1

API Endpoints

MethodEndpointDescription
POST/generations/text-to-videoGenerate video from text prompts using Gen-2 model
POST/generations/image-to-videoGenerate video from a source image with motion prompts
GET/generations/{id}Retrieve status and result of a video generation task
POST/edits/inpaintingRemove or replace objects in video frames using AI inpainting
POST/edits/motion-brushApply directional motion to specific areas of a video
POST/edits/green-screenRemove backgrounds from video using AI-powered keying
POST/edits/super-resolutionUpscale video resolution using AI enhancement
POST/models/trainTrain a custom model on your dataset for personalized generation
GET/modelsList all available models and custom trained models
GET/models/{id}Get details and training status of a specific model
POST/renders/exportExport generated video in specified format and resolution
GET/credits/balanceGet current credit balance and usage statistics
GET/generationsList all generation tasks with filtering options
DELETE/generations/{id}Cancel an in-progress generation task

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 →

Related APIs