modelApiDoc_getStartedBeforeModelwan-ai/wan-2-6/video-to-videomodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-6/video-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Overall Description: This video depicts a nostalgic, cinematic journey through a sun-drenched vintage street during the golden hour. The atmosphere is warm, peaceful, and reminiscent of an old film, focusing on the interplay of light, shadow, and historical architecture. \n Shot 1 [0-4 seconds]: A slow, sweeping tracking shot moves through the vintage street, capturing the golden-hour glow. character1 is walking leisurely along the sidewalk, bathed in warm sunlight. The lens flares dance as the light filters through the gaps between historic buildings, casting long, dramatic shadows around character1. \nShot 2 [4-7 seconds]: The camera continues to track as a classic car glides smoothly across the frame near character1. The car's polished surface reflects the warm hues of the setting sun, creating a contrast with the textured old buildings. \nShot 3 [7-10 seconds]: The focus shifts to the atmospheric details. Dust particles shimmer in the light around character1. The scene evokes a deep sense of nostalgia as character1 moves in the background, completing the cinematic vintage atmosphere.",
"reference_video_url_1": "https://playgrounds-storage-public.runcomfy.net/tools/7278/media-files/reference_video_1.mp4"
}'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-6/video-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Overall Description: This video depicts a nostalgic, cinematic journey through a sun-drenched vintage street during the golden hour. The atmosphere is warm, peaceful, and reminiscent of an old film, focusing on the interplay of light, shadow, and historical architecture. \n Shot 1 [0-4 seconds]: A slow, sweeping tracking shot moves through the vintage street, capturing the golden-hour glow. character1 is walking leisurely along the sidewalk, bathed in warm sunlight. The lens flares dance as the light filters through the gaps between historic buildings, casting long, dramatic shadows around character1. \nShot 2 [4-7 seconds]: The camera continues to track as a classic car glides smoothly across the frame near character1. The car's polished surface reflects the warm hues of the setting sun, creating a contrast with the textured old buildings. \nShot 3 [7-10 seconds]: The focus shifts to the atmospheric details. Dust particles shimmer in the light around character1. The scene evokes a deep sense of nostalgia as character1 moves in the background, completing the cinematic vintage atmosphere.",
"reference_video_url_1": "https://playgrounds-storage-public.runcomfy.net/tools/7278/media-files/reference_video_1.mp4"
}'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",
"img_url",
"reference_video_url_1"
],
"properties": {
"prompt": {
"title": "Prompt",
"description": "Length should be less than 1500 characters. According to the order of the reference videos, refer to the reference videos as characterX. For example, when there are two reference videos, the prompt should be written as character1 singing on the side of the road and character2 dancing next to him. When there is a single reference, you also need to write character1 with 1. ",
"type": "string",
"default": "Overall Description: This video depicts a nostalgic, cinematic journey through a sun-drenched vintage street during the golden hour. The atmosphere is warm, peaceful, and reminiscent of an old film, focusing on the interplay of light, shadow, and historical architecture. \n Shot 1 [0-4 seconds]: A slow, sweeping tracking shot moves through the vintage street, capturing the golden-hour glow. character1 is walking leisurely along the sidewalk, bathed in warm sunlight. The lens flares dance as the light filters through the gaps between historic buildings, casting long, dramatic shadows around character1. \nShot 2 [4-7 seconds]: The camera continues to track as a classic car glides smoothly across the frame near character1. The car's polished surface reflects the warm hues of the setting sun, creating a contrast with the textured old buildings. \nShot 3 [7-10 seconds]: The focus shifts to the atmospheric details. Dust particles shimmer in the light around character1. The scene evokes a deep sense of nostalgia as character1 moves in the background, completing the cinematic vintage atmosphere."
},
"reference_video_url_1": {
"title": "Reference Video 1",
"description": "Video format must be: mp4, mov. The duration of this video must be between 2s and 30s. The file size must be less than 100 MB. When you only use this input, the longest reference is 5s. ",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7278/media-files/reference_video_1.mp4"
},
"reference_video_url_2": {
"title": "Reference Video 2",
"description": "Video format must be: mp4, mov. The duration of this video must be between 2s and 30s. The file size must be less than 100 MB. When you use this input and Reference Video 1, the longest reference is 2.5s each.",
"type": "string"
},
"reference_video_url_3": {
"title": "Reference Video 3",
"description": "Video format must be: mp4, mov. The duration of this video must be between 2s and 30s. The file size must be less than 100 MB. When you use this input and Reference Video 1 and Reference Video 2, the longest reference is 1.66s each.",
"type": "string"
},
"duration": {
"title": "Duration",
"description": "",
"type": "integer",
"enum": [
5,
10
],
"default": 5
},
"size": {
"title": "Resolution",
"description": "",
"type": "string",
"enum": [
"1280*720",
"720*1280",
"960*960",
"1088*832",
"832*1088",
"1920*1080",
"1080*1920",
"1440*1440",
"1632*1248",
"1248*1632"
],
"default": "1280*720"
},
"shot_type": {
"title": "Shot Type",
"description": "Shot Type",
"type": "string",
"enum": [
"multi",
"single"
],
"default": "multi"
},
"negative_prompt": {
"title": "Negative Prompt",
"description": "",
"type": "string"
},
"seed": {
"title": "Seed",
"description": "",
"type": "integer",
"maximum": 2147483647,
"minimum": 0
},
"audio": {
"title": "Generate Audio",
"description": "",
"type": "boolean",
"default": true
}
}
}{
"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.