API Documentation | Runway Dev Skip to content

API Documentation

Runway Dev lets you bring video, image and audio models from Runway and other labs, including Kling, Seedance and GPT Image, directly into your apps, products, platforms and websites through one API. Get started today.

New: Kling 4.0 generates and edits video from text, frames, and image or video references, at 720p or 1080p for up to 30 seconds. 20% off through November 30, 2026.

Get started with Kling 4.0 →
Kling 4.0
Seedance 2.5
Aleph 2.0
GPT Image 2

View available models and details here.

Get started by following our API guide or jump right into the example of using the Gen-4.5 model below:

import RunwayML, { TaskFailedError } from '@runwayml/sdk';
const client = new RunwayML();
try {
// Create a new text-to-video task using the "gen4.5" model
const task = await client.imageToVideo
.create({
model: 'gen4.5',
promptText: 'A serene mountain landscape at sunrise with mist rolling through the valleys',
ratio: '1280:720',
duration: 5,
})
.waitForTaskOutput();
console.log('Task complete:', task);
console.log('Video URL:', task.output[0]);
} catch (error) {
if (error instanceof TaskFailedError) {
console.error('The video failed to generate.');
console.error(error.taskDetails);
} else {
console.error(error);
}
}

Runway Dev has been used by the world’s largest consumer technology companies to reliably generate millions of videos for their users.

To request higher usage than the self-serve tiers, you can submit an exception request on the usage page of your developer portal.

In addition to higher rate limits, enterprise customers receive:

  • Faster support via Slack (or email) channels
  • Earliest access to new features
  • Direct access to provide product feedback and request features
  • Implementation and usage tips
  • Custom payment terms