modelApiDoc_getStartedBeforeModelwan-ai/wan-2-7/image-to-videomodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-7/image-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Slow cinematic camera drift around the subject, natural subtle motion, soft studio lighting, stable identity and background, premium ad style.",
"image_url": "https://playgrounds-storage-public.runcomfy.net/tools/7337/media-files/ref-promo.webp"
}'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/wan-ai/wan-2-7/image-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Slow cinematic camera drift around the subject, natural subtle motion, soft studio lighting, stable identity and background, premium ad style.",
"image_url": "https://playgrounds-storage-public.runcomfy.net/tools/7337/media-files/ref-promo.webp"
}'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": [
"prompt",
"image_url"
],
"properties": {
"prompt": {
"title": "Prompt",
"description": "",
"type": "string",
"maxLength": 5000,
"default": "Slow cinematic camera drift around the subject, natural subtle motion, soft studio lighting, stable identity and background, premium ad style."
},
"image_url": {
"title": "Image",
"description": "Image format must be JPEG, JPG, PNG, BMP, WEBP.",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7337/media-files/ref-promo.webp"
},
"end_image_url": {
"title": "End Image",
"description": "Image format must be JPEG, JPG, PNG, BMP, WEBP.",
"type": "string"
},
"video_url": {
"title": "Video",
"description": "Video format must be MP4, MOV. The duration of this video must be between 2 and 10 seconds.",
"type": "string"
},
"audio_url": {
"title": "Audio",
"description": "Audio format must be WAV, MP3. The duration of this audio must be between 2 and 30 seconds.",
"type": "string"
},
"resolution": {
"title": "Resolution",
"description": "",
"type": "string",
"enum": [
"720p",
"1080p"
],
"default": "1080p"
},
"duration": {
"title": "Duration",
"description": "",
"type": "integer",
"enum": [
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
],
"default": 5
},
"negative_prompt": {
"title": "negative_prompt",
"description": "Content to avoid in the video.",
"type": "string",
"maxLength": 500,
"default": ""
},
"enable_prompt_expansion": {
"title": "enable_prompt_expansion",
"description": "Enable intelligent prompt rewriting.",
"type": "boolean",
"default": true
},
"seed": {
"title": "Seed",
"description": "",
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"default": 0
}
}
}{
"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.