modelApiDoc_getStartedBeforeModelhappyhorse/happyhorse-1.0/image-to-videomodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/happyhorse/happyhorse-1.0/image-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"image_url": "https://playgrounds-storage-public.runcomfy.net/tools/7345/media-files/ref-promo.webp",
"prompt": "Slow cinematic camera drift around the subject, soft natural motion, identity-stable face and clothing, gentle wind moving hair, premium photoreal look."
}'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/image-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"image_url": "https://playgrounds-storage-public.runcomfy.net/tools/7345/media-files/ref-promo.webp",
"prompt": "Slow cinematic camera drift around the subject, soft natural motion, identity-stable face and clothing, gentle wind moving hair, premium photoreal look."
}'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": [
"image_url",
"prompt"
],
"properties": {
"image_url": {
"title": "第一帧图像",
"description": "要制作动画的源图像(第一帧)。格式:JPEG、JPG、PNG 或 WEBP。每边最小 300 像素;长宽比在1:2.5和2.5:1之间;最大 10MB。",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7345/media-files/ref-promo.webp"
},
"prompt": {
"title": "提示词",
"description": "描述动作、摄像机、灯光和气氛。最多 5000 个非汉字或 2500 个汉字(较长输入将被截断)。",
"type": "string",
"default": "Slow cinematic camera drift around the subject, soft natural motion, identity-stable face and clothing, gentle wind moving hair, premium photoreal look.",
"maxLength": 5000
},
"resolution": {
"title": "分辨率",
"description": "输出视频分辨率。 HappyHorse 1.0 I2V 支持 720P 或 1080P。",
"type": "string",
"enum": [
"720P",
"1080P"
],
"default": "1080P"
},
"duration": {
"title": "时长",
"description": "输出视频持续时间(以秒为单位)。允许值:3–15。",
"type": "integer",
"enum": [
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
],
"default": 5
},
"seed": {
"title": "种子",
"description": "可繁殖世代的可选种子。使用 0 让提供者随机化。",
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"default": 0
},
"watermark": {
"title": "水印",
"description": "是否在生成的视频上保留提供商水印。",
"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.