Generare un video da un video
Usa CometAPI Runway POST /runwayml/v1/video_to_video per avviare attività di generazione video-to-video, impostare X-Runway-Version e trasformare clip di origine.
Usa questo endpoint per trasformare una clip di origine esistente con il workflow video-to-video di Runway. Avvia un’attività asincrona invece di restituire immediatamente l’output finale.Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Prima di chiamarlo
- Prepara un video di origine che soddisfi 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
Flusso dell’attività
Invia la clip di origine e il prompt
Controlla i dettagli dell'attività
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).
Aspect ratio of the output video, e.g. 1280:720.
Risposta
success
The ID of the task that was created. Use this to retrieve the task later.