modelApiDoc_getStartedBeforeModelhappyhorse/happyhorse-1.0/video-editmodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/happyhorse/happyhorse-1.0/video-edit \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"video_url": "https://playgrounds-storage-public.runcomfy.net/tools/7346/media-files/input.mp4",
"prompt": "Dress the horse-headed character in the video with the striped sweater shown in the reference image, keep the original background and motion."
}'modelApiDoc_authP1 YOUR_API_TOKEN modelApiDoc_authP2 modelApiDoc_profilemodelApiDoc_authP3 Authorization modelApiDoc_authP4 Authorization: Bearer $YOUR_API_TOKENmodelApiDoc_authP5
modelApiDoc_submitBody
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/happyhorse/happyhorse-1.0/video-edit \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"video_url": "https://playgrounds-storage-public.runcomfy.net/tools/7346/media-files/input.mp4",
"prompt": "Dress the horse-headed character in the video with the striped sweater shown in the reference image, keep the original background and motion."
}'modelApiDoc_monitorBody
curl --request GET \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/status \
--header "Authorization: Bearer <token>"modelApiDoc_retrieveBody
curl --request GET \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/result \
--header "Authorization: Bearer <token>"modelApiDoc_cancelBody
curl --request POST \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/cancel \
--header "Authorization: Bearer <token>"modelApiDoc_hostedFileBody
{
"type": "object",
"title": "modelApiDoc_navInputSchema",
"required": [
"video_url",
"prompt"
],
"properties": {
"video_url": {
"title": "Vidéo",
"description": "Vidéo source que HappyHorse 1.0 Video Edit éditera. Format : MP4 ou MOV (H.264 recommandé). Durée 3 à 60 s, côté long ≤ 2 160 px, côté court ≥ 320 px, format d'image 1 : 2,5 à 2,5 : 1, taille du fichier ≤ 100 Mo, fréquence d'images > 8 ips.",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7346/media-files/input.mp4"
},
"prompt": {
"title": "Prompt",
"description": "Instruction textuelle décrivant la modification : changement de style, remplacement local, échange de tenue ou autre modification que vous souhaitez que HappyHorse 1.0 Video Edit applique. Max 2 500 caractères chinois ou 5 000 caractères non chinois.",
"type": "string",
"default": "Dress the horse-headed character in the video with the striped sweater shown in the reference image, keep the original background and motion.",
"maxLength": 5000
},
"reference_image_url_1": {
"title": "Image de référence 1",
"description": "Image de référence facultative pour guider le montage vidéo HappyHorse 1.0 (par exemple une tenue, un motif ou un style). JPEG, JPG, PNG ou WEBP. Min 300 px de chaque côté, format d'image 1 : 2,5–2,5 : 1, taille du fichier ≤ 10 Mo.",
"type": "string"
},
"reference_image_url_2": {
"title": "Image de référence 2",
"description": "Deuxième image de référence facultative pour HappyHorse 1.0 Video Edit. Laissez vide si vous n'en avez pas besoin.",
"type": "string"
},
"reference_image_url_3": {
"title": "Image de référence 3",
"description": "Troisième image de référence facultative pour HappyHorse 1.0 Video Edit. Laissez vide si vous n'en avez pas besoin.",
"type": "string"
},
"reference_image_url_4": {
"title": "Image de référence 4",
"description": "Quatrième image de référence facultative pour HappyHorse 1.0 Video Edit. Laissez vide si vous n'en avez pas besoin.",
"type": "string"
},
"reference_image_url_5": {
"title": "Image de référence 5",
"description": "Cinquième image de référence facultative pour HappyHorse 1.0 Video Edit. Laissez vide si vous n'en avez pas besoin.",
"type": "string"
},
"resolution": {
"title": "Résolution",
"description": "Niveau de résolution de sortie pour HappyHorse 1.0 Video Edit. Choisissez 720P ou 1080P.",
"type": "string",
"enum": [
"720P",
"1080P"
],
"default": "1080P"
},
"audio_setting": {
"title": "Paramètres audio",
"description": "Gestion audio pour HappyHorse 1.0 Video Edit. `auto` laisse le modèle décider ; `origin` conserve la piste audio originale de la vidéo d'entrée.",
"type": "string",
"enum": [
"auto",
"origin"
],
"default": "auto"
},
"seed": {
"title": "Graine",
"description": "Semence facultative pour des générations reproductibles. Utilisez 0 pour laisser le fournisseur randomiser.",
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"default": 0
},
"watermark": {
"title": "Filigrane",
"description": "S'il faut conserver le filigrane du fournisseur \"Happy Horse\" sur la vidéo générée.",
"type": "boolean",
"default": false
}
}
}{
"output": {
"type": "object",
"properties": {
"image": {
"type": "string",
"format": "uri",
"description": "modelApiDoc_outDescImage"
},
"video": {
"type": "string",
"format": "uri",
"description": "modelApiDoc_outDescVideo"
},
"images": {
"type": "array",
"description": "modelApiDoc_outDescImages",
"items": {
"type": "string",
"format": "uri"
}
},
"videos": {
"type": "array",
"description": "modelApiDoc_outDescVideos",
"items": {
"type": "string",
"format": "uri"
}
}
}
}
}RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.