logo
RunComfy
  • ComfyUI
  • TrainerNew
  • Models
  • API
  • Pricing
discord logo
MODELS
Explore
All Models
LIBRARY
Generations
MODEL APIS
API Docs
API Keys
ACCOUNT
Usage

Wan 2.6 Text to Image: Reference-Aware Prompt-to-Image Generation | RunComfy

wan-ai/wan-2-6/text-to-image

Generate high-quality, reference-aware images from text prompts with precise style and identity control, ideal for brand visuals, ad creatives, and e-commerce product imagery.

modelApiDoc_tableOfContents

modelApiDoc_nav1GetStartedmodelApiDoc_nav2AuthenticationmodelApiDoc_nav3ApiReferencemodelApiDoc_navSubmitRequestmodelApiDoc_navMonitorStatusmodelApiDoc_navRetrieveResultsmodelApiDoc_navCancelRequestmodelApiDoc_nav4FileInputsmodelApiDoc_navHostedFilemodelApiDoc_nav5SchemamodelApiDoc_navInputSchemamodelApiDoc_navOutputSchema

modelApiDoc_h2GetStarted

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_h2Authentication

modelApiDoc_authP1 YOUR_API_TOKEN modelApiDoc_authP2 modelApiDoc_profilemodelApiDoc_authP3 Authorization modelApiDoc_authP4 Authorization: Bearer $YOUR_API_TOKENmodelApiDoc_authP5

modelApiDoc_h3ApiReference

modelApiDoc_h3SubmitRequest

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_h3MonitorStatus

modelApiDoc_monitorBody

curl --request GET \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/status \
  --header "Authorization: Bearer <token>"

modelApiDoc_h3RetrieveResults

modelApiDoc_retrieveBody

curl --request GET \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/result \
  --header "Authorization: Bearer <token>"

modelApiDoc_h3CancelRequest

modelApiDoc_cancelBody

curl --request POST \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/cancel \
  --header "Authorization: Bearer <token>"

modelApiDoc_h2FileInputs

modelApiDoc_h3HostedFile

modelApiDoc_hostedFileBody

modelApiDoc_h2Schema

modelApiDoc_h3InputSchema

{
  "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
    }
  }
}

modelApiDoc_h3OutputSchema

{
  "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"
        }
      }
    }
  }
}
Follow us
  • LinkedIn
  • Facebook
  • Instagram
  • Twitter
Support
  • Discord
  • Email
  • System Status
  • Affiliate
Video Models
  • Wan 2.6
  • Wan 2.6 Flash
  • Seedance 1.0
  • Seedance 1.0 Pro Fast
  • Hailuo 2.3 Fast Standard
  • Seedance 1.5 Pro
  • View All Models →
Image Models
  • Wan 2.6 Image to Image
  • Nano Banana Pro
  • Nano Banana 2 Edit
  • ImagineArt 1.5
  • seedream 4.0
  • Flux 2 Dev
  • View All Models →
Legal
  • Terms of Service
  • Privacy Policy
  • Cookie Policy
RunComfy
Copyright 2026 RunComfy. All Rights Reserved.

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.