modelApiDoc_getStartedBeforeModelwan-ai/wan-2-6/text-to-imagemodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-6/text-to-image \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Font design showcasing charming 3D plush yellow text 'Wan 2.6' crafted with ultra-soft, fluffy fur, featuring intricate, high-definition details and realistic texture. Each letter appears tactile, plump, and velvety. Set against a sleek dark gradient background with subtle lighting to enhance depth and contrast, rendered in stunning 16K resolution. Emphasizes ultimate cuteness, warmth, and the inviting softness of the fur."
}'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/text-to-image \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Font design showcasing charming 3D plush yellow text 'Wan 2.6' crafted with ultra-soft, fluffy fur, featuring intricate, high-definition details and realistic texture. Each letter appears tactile, plump, and velvety. Set against a sleek dark gradient background with subtle lighting to enhance depth and contrast, rendered in stunning 16K resolution. Emphasizes ultimate cuteness, warmth, and the inviting softness of the fur."
}'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"
],
"properties": {
"prompt": {
"title": "Prompt",
"description": "The prompt should be less than 2000 characters.",
"type": "string",
"default": "Font design showcasing charming 3D plush yellow text 'Wan 2.6' crafted with ultra-soft, fluffy fur, featuring intricate, high-definition details and realistic texture. Each letter appears tactile, plump, and velvety. Set against a sleek dark gradient background with subtle lighting to enhance depth and contrast, rendered in stunning 16K resolution. Emphasizes ultimate cuteness, warmth, and the inviting softness of the fur."
},
"image_url": {
"title": "Image",
"description": "Optional reference image. Supported formats: JPEG, JPG, PNG (no alpha), BMP, WEBP. Resolution per side: 384~5000 px. Max size: 10 MB.",
"type": "string",
"validations": [
{
"validation_rule": "file_size_mb<=",
"validation_value": 10,
"validation_error": "File size must be less than or equal to 10 MB."
},
{
"validation_rule": "width_pixels>=",
"validation_value": 384,
"validation_error": "The uploaded image width and height must be at least 384 pixels."
},
{
"validation_rule": "height_pixels>=",
"validation_value": 384,
"validation_error": "The uploaded image width and height must be at least 384 pixels."
},
{
"validation_rule": "width_pixels<=",
"validation_value": 5000,
"validation_error": "The uploaded image width and height must not exceed 5000 pixels."
},
{
"validation_rule": "height_pixels<=",
"validation_value": 5000,
"validation_error": "The uploaded image width and height must not exceed 5000 pixels."
}
]
},
"negative_prompt": {
"title": "Negative Prompt",
"description": "Content to avoid in the generated image.",
"type": "string",
"maxLength": 500
},
"image_size": {
"title": "Aspect Ratio (W:H)",
"description": "",
"type": "string",
"enum": [
"1024*1024 (1:1)",
"800*1200 (2:3)",
"1200*800 (3:2)",
"960*1280 (3:4)",
"1280*960 (4:3)",
"720*1280 (9:16)",
"1280*720 (16:9)",
"1344*576 (21:9)"
],
"default": "1024*1024 (1:1)"
},
"max_images": {
"title": "Max Images",
"description": "The maximum number of images to generate. The actual number of generated images is determined by model inference and may be less than the set value. For example, if set to 5, the model might generate only 3 images based on the content.",
"type": "integer",
"default": 1,
"minimum": 1,
"maximum": 5
},
"seed": {
"title": "Seed",
"description": "",
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 2147483647
}
}
}{
"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.