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 Image-to-Image:高精度视觉编辑与风格迁移 | RunComfy

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

使用Wan 2.6 Image-to-Image通过精确的指令式编辑转换图像,同时保留风格和结构,实现无缝的视觉品牌重塑、产品重新设计和角色场景编辑,具备可扩展的浏览器AI性能。

modelApiDoc_tableOfContents

modelApiDoc_nav1GetStartedmodelApiDoc_nav2AuthenticationmodelApiDoc_nav3ApiReferencemodelApiDoc_navSubmitRequestmodelApiDoc_navMonitorStatusmodelApiDoc_navRetrieveResultsmodelApiDoc_navCancelRequestmodelApiDoc_nav4FileInputsmodelApiDoc_navHostedFilemodelApiDoc_nav5SchemamodelApiDoc_navInputSchemamodelApiDoc_navOutputSchema

modelApiDoc_h2GetStarted

modelApiDoc_getStartedBeforeModelwan-ai/wan-2-6/image-to-imagemodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-6/image-to-image \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "On the left sits a monster, and on the right sits another monster. The two of them are like radio hosts, wearing headphones and sitting in a recording studio, discussing a topic.",
    "image_urls": [
      "https://playgrounds-storage-public.runcomfy.net/tools/7305/media-files/input-1-1.png",
      "https://playgrounds-storage-public.runcomfy.net/tools/7305/media-files/input-1-2.png"
    ]
  }'

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/image-to-image \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "On the left sits a monster, and on the right sits another monster. The two of them are like radio hosts, wearing headphones and sitting in a recording studio, discussing a topic.",
    "image_urls": [
      "https://playgrounds-storage-public.runcomfy.net/tools/7305/media-files/input-1-1.png",
      "https://playgrounds-storage-public.runcomfy.net/tools/7305/media-files/input-1-2.png"
    ]
  }'

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",
    "image_urls"
  ],
  "properties": {
    "prompt": {
      "title": "提示词",
      "description": "描述所需图像的文本提示词。应少于2000个字符。",
      "type": "string",
      "default": "On the left sits a monster, and on the right sits another monster. The two of them are like radio hosts, wearing headphones and sitting in a recording studio, discussing a topic."
    },
    "image_urls": {
      "title": "参考图像",
      "description": "用于编辑的参考图像。顺序很重要:在提示词中按\"图像1\"、\"图像2\"、\"图像3\"引用。",
      "type": "array",
      "items": {
        "type": "string",
        "format": "image_uri"
      },
      "minItems": 1,
      "maxItems": 3,
      "default": [
        "https://playgrounds-storage-public.runcomfy.net/tools/7305/media-files/input-1-1.png",
        "https://playgrounds-storage-public.runcomfy.net/tools/7305/media-files/input-1-2.png"
      ],
      "validations": [
        {
          "validation_rule": "file_size_mb<",
          "validation_value": 10,
          "validation_error": "文件大小必须小于10 MB。"
        },
        {
          "validation_rule": "width_pixels>",
          "validation_value": 384,
          "validation_error": "每个图像边至少需要384像素。"
        },
        {
          "validation_rule": "height_pixels>",
          "validation_value": 384,
          "validation_error": "每个图像边至少需要384像素。"
        },
        {
          "validation_rule": "width_pixels<",
          "validation_value": 5000,
          "validation_error": "每个图像边最多5000像素。"
        },
        {
          "validation_rule": "height_pixels<",
          "validation_value": 5000,
          "validation_error": "每个图像边最多5000像素。"
        }
      ]
    },
    "negative_prompt": {
      "title": "负面提示词",
      "description": "生成图像中需要避免的内容。",
      "type": "string",
      "default": "low resolution, error, worst quality, low quality, deformed, extra fingers",
      "maxLength": 500
    },
    "image_size": {
      "title": "宽高比(宽:高)",
      "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)"
    },
    "seed": {
      "title": "种子",
      "description": "用于可复现性的随机种子。相同的种子产生更一致的结果。",
      "type": "integer",
      "minimum": 0,
      "maximum": 2147483647,
      "default": 0
    },
    "prompt_extend": {
      "title": "魔法提示词",
      "description": "是否扩展提示词。如果启用,提示词将通过魔法提示词扩展。",
      "type": "boolean",
      "default": true
    }
  }
}

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.