Crea un'attività video-to-video di Runway
Usa CometAPI Runway POST /runwayml/v1/video_to_video per avviare attività di generazione video-to-video, impostare X-Runway-Version e trasformare clip sorgente.
Prima di chiamarlo
- Prepara un video sorgente che rispetti i requisiti di input del provider
- Includi l’header
X-Runway-Versionrichiesto per il set di funzionalità che desideri - Inizia con un prompt breve che descriva la modifica, non uno storyboard completo
Rapporto di output
ratio separati da due punti. Usa 1280:720 per output 1280x720 e 720:1280 per 720x1280; 1280x720 non è accettato in ogni route video-to-video di Runway.
Flusso dell’attività
Invia la clip sorgente e il prompt
Interroga i dettagli dell'attività
Archivia il risultato trasformato
Autorizzazioni
Bearer token authentication. Use your CometAPI key.
Intestazioni
Runway API version header, for example 2024-11-06.
Corpo
HTTPS URL of the source video, or a base64 data URI containing the video.
Text prompt describing the desired output. Maximum 1000 characters.
Random seed for reproducible results. Range: 0–4294967295.
Model variant to use.
Optional reference images to guide generation. Each item must include type (e.g. image) and uri (HTTPS URL).
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.
Risposta
success
The ID of the task that was created. Use this to retrieve the task later.