Compatibiliteitsindeling
Video style transfer
Gebruik CometAPI’s Runway Video to Video Style Redraw-endpoint om video’s opnieuw te stylen via POST /runway/pro/video2video met ondersteuning voor X-Runway-Version.
POST
Video to Video Style Redraw
Gebruik dit endpoint om een bestaande video opnieuw te stylen.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
- Verstuur de vereiste
X-Runway-Version-header, bijvoorbeeld2024-11-06 - Geef een stabiele bron-
video-URL op - Gebruik
model: gen4 - Neem
options.secondsop met de duur van de output - Begin met een bescheiden waarde voor
structure_transformationvoordat je de style transfer sterker toepast
Taakverloop
Dien de restyle-taak in
Verstuur de bronvideo, prompt en opties, en sla daarna het geretourneerde taak-id op.
Poll taakstatus
Ga door met Feed Get Task totdat de taak een eindstatus bereikt.
Autorisaties
Bearer token authentication. Use your CometAPI key.
Headers
Optional Runway version header, for example 2024-11-06.
Body
application/json
Webhook URL that receives a POST request with the result when the task completes.
video
string
standaard:https://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4
vereist
URL of the source video to restyle.
Model version to use, e.g. gen4.
Text prompt describing the target style for the redraw.
Additional processing options.