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": "Quellvideo, das von HappyHorse 1.0 Video Edit bearbeitet wird. Format: MP4 oder MOV (H.264 empfohlen). Dauer 3–60 Sekunden, lange Seite ≤2160 Pixel, kurze Seite ≥320 Pixel, Seitenverhältnis 1:2,5–2,5:1, Dateigröße ≤100 MB, Bildrate >8 fps.",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7346/media-files/input.mp4"
},
"prompt": {
"title": "Prompt",
"description": "Textanweisung, die die Bearbeitung beschreibt – Stiländerung, lokaler Ersatz, Outfit-Tausch oder andere Änderung, die HappyHorse 1.0 Video Edit anwenden soll. Maximal 2500 chinesische Zeichen oder 5000 nicht-chinesische Zeichen.",
"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": "Referenzbild 1",
"description": "Optionales Referenzbild als Leitfaden für die Videobearbeitung in HappyHorse 1.0 (z. B. ein Outfit, ein Muster oder ein Stil). JPEG, JPG, PNG oder WEBP. Mindestens 300 Pixel auf jeder Seite, Seitenverhältnis 1:2,5–2,5:1, Dateigröße ≤10 MB.",
"type": "string"
},
"reference_image_url_2": {
"title": "Referenzbild 2",
"description": "Optionales zweites Referenzbild für HappyHorse 1.0 Video Edit. Lassen Sie es leer, wenn es nicht benötigt wird.",
"type": "string"
},
"reference_image_url_3": {
"title": "Referenzbild 3",
"description": "Optionales drittes Referenzbild für HappyHorse 1.0 Video Edit. Lassen Sie es leer, wenn es nicht benötigt wird.",
"type": "string"
},
"reference_image_url_4": {
"title": "Referenzbild 4",
"description": "Optionales viertes Referenzbild für HappyHorse 1.0 Video Edit. Lassen Sie es leer, wenn es nicht benötigt wird.",
"type": "string"
},
"reference_image_url_5": {
"title": "Referenzbild 5",
"description": "Optionales fünftes Referenzbild für HappyHorse 1.0 Video Edit. Lassen Sie es leer, wenn es nicht benötigt wird.",
"type": "string"
},
"resolution": {
"title": "Auflösung",
"description": "Ausgabeauflösungsstufe für HappyHorse 1.0 Video Edit. Wählen Sie 720P oder 1080P.",
"type": "string",
"enum": [
"720P",
"1080P"
],
"default": "1080P"
},
"audio_setting": {
"title": "Audioeinstellung",
"description": "Audiobearbeitung für HappyHorse 1.0 Video Edit. „auto“ lässt das Modell entscheiden; „origin“ behält die ursprüngliche Audiospur des Eingabevideos bei.",
"type": "string",
"enum": [
"auto",
"origin"
],
"default": "auto"
},
"seed": {
"title": "Samen",
"description": "Optionales Saatgut für reproduzierbare Generationen. Verwenden Sie 0, um den Anbieter randomisieren zu lassen.",
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"default": 0
},
"watermark": {
"title": "Wasserzeichen",
"description": "Ob das Wasserzeichen „Happy Horse“ des Anbieters im generierten Video beibehalten werden soll.",
"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.