Skip to main content
POST
cURL
이 엔드포인트를 사용하면 Runway의 비디오-투-비디오 워크플로로 기존 소스 클립을 변환할 수 있습니다. 최종 출력을 즉시 반환하는 대신 비동기 작업을 시작합니다.

호출하기 전에

  • 제공업체의 입력 요구사항에 맞는 소스 비디오를 준비하세요
  • 원하는 기능 세트에 필요한 X-Runway-Version 헤더를 포함하세요
  • 전체 스토리보드가 아니라 변경 사항을 설명하는 짧은 프롬프트 하나로 시작하세요

출력 비율

이 엔드포인트는 콜론으로 구분된 ratio 값을 기대합니다. 1280x720 출력에는 1280:720을, 720x1280에는 720:1280을 사용하세요. 1280x720은 모든 Runway 비디오-투-비디오 라우트에서 허용되지는 않습니다.

작업 흐름

1

소스 클립과 프롬프트 제출

이 엔드포인트에서 작업을 시작하고 반환된 작업 id를 저장하세요.
2

작업 세부정보 폴링

작업이 종료 상태에 도달할 때까지 Runway 작업 가져오기를 사용하세요.
3

변환된 결과 저장

일반적인 미디어 파이프라인을 통해 완료된 에셋을 다운로드하거나 저장하세요.

인증

Authorization
string
header
필수

Bearer token authentication. Use your CometAPI key.

헤더

X-Runway-Version
string
필수

Runway API version header, for example 2024-11-06.

본문

application/json
videoUri
string
기본값:https://your-video-host/source.mp4
필수

HTTPS URL of the source video, or a base64 data URI containing the video.

promptText
string
기본값:A cat yawning in slow motion.
필수

Text prompt describing the desired output. Maximum 1000 characters.

seed
integer
기본값:1
필수

Random seed for reproducible results. Range: 0–4294967295.

model
string
기본값:gen4_aleph
필수

Model variant to use.

references
object[]
필수

Optional reference images to guide generation. Each item must include type (e.g. image) and uri (HTTPS URL).

ratio
string
기본값:1280:720
필수

Requested output frame shape. Use colon-separated values such as 1280:720 or 720:1280; read them as 1280x720 and 720x1280 targets. Do not assume every Runway video-to-video route accepts 1280x720 with an x separator.

contentModeration
object
필수

응답

200 - application/json

success

id
string
필수

The ID of the task that was created. Use this to retrieve the task later.