Lancez une tâche d’amélioration vidéo 4x avec Runway via CometAPI en utilisant POST /runwayml/v1/video_upscale, limitée à 4096 px par côté avec gestion de version.
curl --request POST \
--url https://api.cometapi.com/runwayml/v1/video_upscale \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Runway-Version: <x-runway-version>' \
--data '
{
"videoUri": "https://filesystem.site/cdn/20250818/c4gCDVPhiBc6TomRTJ7zNg0KwO1PSJ.mp4",
"model": "upscale_v1"
}
'{
"id": "<string>"
}X-Runway-Version requis, par exemple 2024-11-06model: upscale_v1videoUri HTTPS stableEnregistrer l’identifiant de la tâche
id renvoyé pour les vérifications ultérieures du statut.Interroger jusqu’à la fin
Bearer token authentication. Use your CometAPI key.
Runway version header, for example 2024-11-06.
Task accepted.
curl --request POST \
--url https://api.cometapi.com/runwayml/v1/video_upscale \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Runway-Version: <x-runway-version>' \
--data '
{
"videoUri": "https://filesystem.site/cdn/20250818/c4gCDVPhiBc6TomRTJ7zNg0KwO1PSJ.mp4",
"model": "upscale_v1"
}
'{
"id": "<string>"
}