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": "Vídeo",
"description": "Vídeo de origem que o HappyHorse 1.0 Video Edit irá editar. Formato: MP4 ou MOV (recomendado H.264). Duração 3–60s, lado longo ≤2160px, lado curto ≥320px, proporção de aspecto 1:2,5–2,5:1, tamanho do arquivo ≤100MB, taxa de quadros >8fps.",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7346/media-files/input.mp4"
},
"prompt": {
"title": "Prompt",
"description": "Instruções de texto que descrevem a edição - mudança de estilo, substituição local, troca de roupa ou outra modificação que você deseja que o HappyHorse 1.0 Video Edit aplique. Máximo de 2.500 caracteres chineses ou 5.000 caracteres não chineses.",
"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": "Imagem de referência 1",
"description": "Imagem de referência opcional para orientar a edição de vídeo do HappyHorse 1.0 (por exemplo, uma roupa, padrão ou estilo). JPEG, JPG, PNG ou WEBP. Mínimo de 300px de cada lado, proporção de 1:2,5–2,5:1, tamanho do arquivo ≤10MB.",
"type": "string"
},
"reference_image_url_2": {
"title": "Imagem de referência 2",
"description": "Segunda imagem de referência opcional para edição de vídeo HappyHorse 1.0. Deixe em branco se não for necessário.",
"type": "string"
},
"reference_image_url_3": {
"title": "Imagem de referência 3",
"description": "Terceira imagem de referência opcional para edição de vídeo HappyHorse 1.0. Deixe em branco se não for necessário.",
"type": "string"
},
"reference_image_url_4": {
"title": "Imagem de referência 4",
"description": "Quarta imagem de referência opcional para edição de vídeo HappyHorse 1.0. Deixe em branco se não for necessário.",
"type": "string"
},
"reference_image_url_5": {
"title": "Imagem de referência 5",
"description": "Quinta imagem de referência opcional para HappyHorse 1.0 Video Edit. Deixe em branco se não for necessário.",
"type": "string"
},
"resolution": {
"title": "Resolução",
"description": "Camada de resolução de saída para edição de vídeo HappyHorse 1.0. Escolha 720P ou 1080P.",
"type": "string",
"enum": [
"720P",
"1080P"
],
"default": "1080P"
},
"audio_setting": {
"title": "Configuração de áudio",
"description": "Manipulação de áudio para edição de vídeo HappyHorse 1.0. `auto` permite que o modelo decida; `origin` mantém a trilha de áudio original do vídeo de entrada.",
"type": "string",
"enum": [
"auto",
"origin"
],
"default": "auto"
},
"seed": {
"title": "Semente",
"description": "Semente opcional para gerações reproduzíveis. Use 0 para permitir que o provedor seja aleatório.",
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"default": 0
},
"watermark": {
"title": "Marca d’água",
"description": "Se a marca d'água \"Happy Horse\" do provedor deve ser mantida no vídeo gerado.",
"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.