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": "Video",
"description": "Video sorgente che HappyHorse 1.0 Video Edit modificherà. Formato: MP4 o MOV (consigliato H.264). Durata 3–60 s, lato lungo ≤2160px, lato corto ≥320px, proporzioni 1:2,5–2,5:1, dimensione file ≤100MB, frequenza fotogrammi >8fps.",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7346/media-files/input.mp4"
},
"prompt": {
"title": "Prompt",
"description": "Istruzioni di testo che descrivono la modifica: cambio di stile, sostituzione locale, scambio di outfit o altra modifica che desideri che HappyHorse 1.0 Video Edit applichi. Massimo 2500 caratteri cinesi o 5000 caratteri non cinesi.",
"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": "Immagine di riferimento 1",
"description": "Immagine di riferimento opzionale per guidare l'editing video di HappyHorse 1.0 (ad esempio un vestito, un modello o uno stile). JPEG, JPG, PNG o WEBP. Minimo 300 px su ciascun lato, proporzioni 1:2,5–2,5:1, dimensione file ≤10 MB.",
"type": "string"
},
"reference_image_url_2": {
"title": "Immagine di riferimento 2",
"description": "Seconda immagine di riferimento opzionale per HappyHorse 1.0 Video Edit. Lascia vuoto se non necessario.",
"type": "string"
},
"reference_image_url_3": {
"title": "Immagine di riferimento 3",
"description": "Terza immagine di riferimento opzionale per HappyHorse 1.0 Video Edit. Lascia vuoto se non necessario.",
"type": "string"
},
"reference_image_url_4": {
"title": "Immagine di riferimento 4",
"description": "Quarta immagine di riferimento opzionale per HappyHorse 1.0 Video Edit. Lascia vuoto se non necessario.",
"type": "string"
},
"reference_image_url_5": {
"title": "Immagine di riferimento 5",
"description": "Quinta immagine di riferimento opzionale per HappyHorse 1.0 Video Edit. Lascia vuoto se non necessario.",
"type": "string"
},
"resolution": {
"title": "Risoluzione",
"description": "Livello di risoluzione di output per HappyHorse 1.0 Video Edit. Scegli 720P o 1080P.",
"type": "string",
"enum": [
"720P",
"1080P"
],
"default": "1080P"
},
"audio_setting": {
"title": "Impostazione dell'audio",
"description": "Gestione audio per HappyHorse 1.0 Video Edit. \"auto\" lascia decidere il modello; \"origin\" mantiene la traccia audio originale del video in ingresso.",
"type": "string",
"enum": [
"auto",
"origin"
],
"default": "auto"
},
"seed": {
"title": "Seme",
"description": "Seme opzionale per generazioni riproducibili. Utilizzare 0 per consentire al provider di randomizzare.",
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"default": 0
},
"watermark": {
"title": "Filigrana",
"description": "Se mantenere la filigrana \"Happy Horse\" del provider sul video generato.",
"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.