Een video genereren vanuit een video
Gebruik CometAPI Runway POST /runwayml/v1/video_to_video om video-naar-video-generatietaken te starten, X-Runway-Version in te stellen en bronclips te transformeren.
Gebruik dit endpoint om een bestaande bronclip te transformeren met Runway’s video-naar-video-workflow. Het start een asynchrone taak in plaats van direct de uiteindelijke output terug te geven.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.
Voordat je het aanroept
- Bereid een bronvideo voor die voldoet aan de inputvereisten van de provider
- Voeg de vereiste
X-Runway-Versionheader toe voor de functieset die je wilt - Begin met één korte prompt die de wijziging beschrijft, niet met een volledig storyboard
Taakverloop
Poll taakdetails
Autorisaties
Bearer token authentication. Use your CometAPI key.
Headers
Runway API version header, for example 2024-11-06.
Body
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.
Respons
success
The ID of the task that was created. Use this to retrieve the task later.