Uploads

Create an ephemeral upload

Creates a presigned URL for uploading media files (image, video, or audio) that can be used in other API generation requests. The uploaded files are ephemeral and will be automatically deleted after use.

post/v1/uploads

Headers

X-Runway-Version'2024-11-06' required

The version of the RunwayML API being used. You can read more about versioning here.

Request body

filenamestring required

The filename of the file to upload. Must have a valid extension for image, video, or audio files.

type'ephemeral' required

The type of upload to create.

Response

The upload URL and Runway URI have been successfully created.

uploadUrlstring uri required

The URL to upload the file to.

fieldsobject required

The fields to include in the presigned POST request as form data.

runwayUristring required

The Runway upload URI to use in other API generation requests.

Changes