Setup guide

Provider setup guide

Browse setup steps and troubleshooting by tool.

Provider setup guide/Runway Video API Configuration

Runway Video API Configuration

Runway is a video generation platform. It is usually not the Base URL to fill in Chatbox. Instead, create an API Key on the Runway platform, and then use the official SDK or HTTP request to create video tasks.

What scenarios is it suitable for

Text-to-VideoImage-to-VideoAsynchronous TasksOfficial SDK

First understand the video task workflow

  1. Create an API Key and make sure your account has video API permissions and balance.
  2. Select the task type: text-to-video, image-to-video, or other video tasks currently supported by the official documentation.
  3. You will not get the video file immediately after submitting a task; usually, you will first receive a task object or task ID.
  4. Wait for the task to complete, then read the output address or download the results.
  5. In case of failure, first check the task status and error details, do not just check the Key.

Prepare parameters

Configuration itemFilling Method
API KeyRunway backend creation; the official SDK reads <code>RUNWAYML_API_SECRET</code> by default
Tasktext-to-video / image-to-video
PromptVideo content description
Ratio / SizeLandscape, portrait, or specified size
DurationVideo Duration
StatusPoll the task until completion
SettingDescriptionTips for beginners
API KeyRequest credentials for the Runway APIOnly save in the local machine or server environment variables, using the variable name RUNWAYML_API_SECRET
PromptVideo content descriptionWrite shorter first, then refine after confirming the style
ImageThe starting image of the image-to-videoUpload clear images with a clear subject
DurationVideo secondsFirst test the cost and effect with a shorter duration
StatusTask StatusVideo generation is asynchronous and requires waiting for completion.

SDK Example

Runway environment variable name
RUNWAYML_API_SECRET=YOUR_RUNWAY_API_KEY
The fields of the video platform will be updated with the model version. The page example is used to understand the configuration structure, and the actual fields should be based on the current version of the official documentation.
PhenomenonPriority checkHandle
The video is not returned immediately after submissionIs the task still in the queue or being generated?Video generation is an asynchronous task; wait until the status is complete before retrieving the result.
Mission failedModel name, scale, duration, whether the input image meets the current model requirementsAdjust the parameters according to the returned error details, and do not change too many items at once.
The charges are higher than expectedDuration, resolution, model versionFirst test with short duration and low-cost parameters, then generate in bulk