{
 "route": "alibaba/qwen-image-3/edit",
 "route_schema": {
  "required": [
   "prompt",
   "image_urls"
  ],
  "properties": {
   "seed": {
    "type": "integer",
    "maximum": 2147483647,
    "minimum": 0,
    "description": "Optional random seed for similar, reproducible results."
   },
   "prompt": {
    "type": "string",
    "minLength": 1,
    "description": "Positive prompt or editing instruction in Chinese or English. Alibaba recommends at most 4,500 tokens."
   },
   "image_urls": {
    "type": "array",
    "items": {
     "type": "string",
     "format": "uri"
    },
    "maxItems": 3,
    "minItems": 1,
    "description": "One to three ordered public image URLs used as editing references."
   },
   "resolution": {
    "enum": [
     "1k",
     "2k"
    ],
    "type": "string",
    "default": "1k",
    "description": "Output resolution tier. Both tiers produce PNG images."
   },
   "aspect_ratio": {
    "enum": [
     "1:1",
     "2:3",
     "3:2",
     "3:4",
     "4:3",
     "7:9",
     "9:7",
     "9:16",
     "16:9",
     "21:9"
    ],
    "type": "string",
    "default": "1:1",
    "description": "Output aspect ratio. Exact provider-recommended dimensions are selected automatically."
   },
   "prompt_extend": {
    "type": "boolean",
    "default": true,
    "description": "Improve the prompt before generation. Required when thinking mode is enabled."
   },
   "enable_thinking": {
    "type": "boolean",
    "default": true,
    "description": "Use model reasoning to improve image quality. Requires prompt enhancement."
   },
   "negative_prompt": {
    "type": "string",
    "description": "Content, styles, or artifacts to avoid in the output."
   },
   "prompt_extend_mode": {
    "enum": [
     "direct"
    ],
    "type": "string",
    "default": "direct",
    "description": "Direct enhancement is available for every request; agent enhancement is text-to-image only."
   }
  },
  "defs": {},
  "meta": {
   "image_field": "image_urls",
   "image_list": true,
   "max_images": 3,
   "image_min": 1,
   "priced": true,
   "label": "Qwen Image 3 edit"
  }
 },
 "vp_hf_image_inputs": {
  "required": {},
  "hidden": {
   "comfy_prompt": "PROMPT",
   "comfy_extra": "EXTRA_PNGINFO",
   "comfy_node": "UNIQUE_ID"
  },
  "optional": {
   "route": [
    [
     "xai/grok-imagine-image-2.0",
     "higgsfield-ai/soul/standard",
     "higgsfield-ai/soul/v2/standard",
     "higgsfield-ai/soul/cinema",
     "higgsfield-ai/soul/v2/image-to-image",
     "marketing-studio/image",
     "marketing-studio/image/flare",
     "marketing-studio/image/sunburst",
     "higgsfield/ads-studio/v1.0",
     "alibaba/qwen-image-3/text-to-image",
     "alibaba/qwen-image-3/edit",
     "ideogram/v4.0",
     "recraft/v4.1/text-to-image",
     "recraft/v4.1/pro/text-to-image",
     "recraft/v4.1/utility/text-to-image",
     "recraft/v4.1/utility/pro/text-to-image",
     "z-image/turbo",
     "higgsfield/ai-influencer"
    ],
    {
     "default": "xai/grok-imagine-image-2.0"
    }
   ],
   "prompt": [
    "STRING",
    {
     "multiline": true,
     "default": ""
    }
   ],
   "max_usd": [
    "FLOAT",
    {
     "default": 1.0,
     "min": 0.0,
     "max": 50.0,
     "step": 0.05
    }
   ],
   "aspect_ratio": [
    [
     "default",
     "auto",
     "1:1",
     "1:2",
     "2:1",
     "3:2",
     "2:3",
     "4:3",
     "3:4",
     "16:9",
     "9:16",
     "21:9",
     "4:5",
     "5:4",
     "7:9",
     "9:7",
     "5:8",
     "8:5",
     "9:22",
     "22:9",
     "9:23",
     "23:9",
     "3:8",
     "8:3",
     "5:12",
     "12:5",
     "1:3",
     "3:1",
     "6:10",
     "14:10",
     "10:14"
    ]
   ],
   "resolution": [
    [
     "lowest",
     "default",
     "1k",
     "2k",
     "720p",
     "1080p",
     "4k"
    ]
   ],
   "quality": [
    [
     "lowest",
     "default",
     "low",
     "medium",
     "high",
     "xhigh",
     "max"
    ]
   ],
   "batch_size": [
    "INT",
    {
     "default": 0,
     "min": 0,
     "max": 8,
     "step": 1
    }
   ],
   "count": [
    "INT",
    {
     "default": 1,
     "min": 1,
     "max": 8,
     "step": 1
    }
   ],
   "seed": [
    "INT",
    {
     "default": -1,
     "min": -1,
     "max": 2147483647,
     "step": 1,
     "control_after_generate": true
    }
   ],
   "variation": [
    "INT",
    {
     "default": 0,
     "min": 0,
     "max": 1000000,
     "step": 1
    }
   ],
   "enhance_prompt": [
    [
     "default",
     "true",
     "false"
    ]
   ],
   "prompt_extend": [
    [
     "default",
     "true",
     "false"
    ]
   ],
   "prompt_extend_mode": [
    [
     "default",
     "direct",
     "agent"
    ]
   ],
   "enable_thinking": [
    [
     "default",
     "true",
     "false"
    ]
   ],
   "negative_prompt": [
    "STRING",
    {
     "multiline": true,
     "default": ""
    }
   ],
   "soul_style": [
    [
     "default",
     "v1/Creatures",
     "v1/Giant People",
     "v1/Grunge",
     "v1/2049",
     "v1/Red balloon",
     "v1/Subway",
     "v1/Library",
     "v1/Nicotine glow",
     "v1/Sitting on the Street",
     "v1/DigitalCam",
     "v1/Glitch",
     "v1/FashionShow",
     "v1/Angel Wings",
     "v1/Duplicate",
     "v1/Elevator Mirror",
     "v1/Mt. Fuji",
     "v1/90s Grain",
     "v1/Overexposed",
     "v1/Sunbathing",
     "v1/Geominimal",
     "v1/Paper Face",
     "v1/90\u2019s Editorial",
     "v1/RingSelfie",
     "v1/0.5 Outfit",
     "v1/Bimbocore",
     "v1/0.5 Selfie",
     "v1/Amalfi Summer",
     "v1/Through The Glass",
     "v1/Babydoll MakeUp",
     "v1/Eating Food",
     "v1/Office beach",
     "v1/Swords Hill",
     "v1/Help It's Too Big",
     "v1/Gallery",
     "v1/Tumblr",
     "v1/Indie sleaze",
     "v1/Fairycore",
     "v1/iPhone",
     "v1/HairClips",
     "v1/Avant-garde",
     "v1/Fisheye",
     "v1/Giant Accessory",
     "v1/Object Makeup",
     "v1/Y2K Posters",
     "v1/360 cam",
     "v1/Night Beach",
     "v1/Fish-eye twin",
     "v1/Movie",
     "v1/2000s Fashion",
     "v1/Sunburnt",
     "v1/Selfcare",
     "v1/7\\",
     "v1/Coquette core",
     "v1/Nail Check",
     "v1/505room",
     "v1/Flight mode",
     "v1/Rainy Day",
     "v1/Escalator",
     "v1/Y2K",
     "v1/Rhyme & blues",
     "v1/Sea breeze",
     "v1/Invertethereal",
     "v1/Japandi",
     "v1/Glazed doll skin makeup",
     "v1/chrome exit",
     "v1/mount view",
     "v1/Artwork",
     "v1/dmv",
     "v1/Night rider",
     "v1/brick shade",
     "v1/blackout fit",
     "v1/Shoe Check",
     "v1/static glow",
     "v1/It\u2019s french",
     "v1/Long legs",
     "v1/cocktail",
     "v1/Realistic",
     "v1/2000s Cam",
     "v1/Foggy Morning",
     "v1/CCTV",
     "v1/Street view",
     "v1/Double take",
     "v1/Sunset beach",
     "v1/Grillz Selfie",
     "v1/Mixed Media",
     "v1/Fireproof",
     "v1/Crossing the street",
     "v1/hallway noir",
     "v1/PixeletedFace",
     "v1/General",
     "v1/Sand",
     "v1/Medieval",
     "v1/Quiet luxury",
     "v1/Graffiti",
     "v1/Bleached Brows",
     "v1/Clouded Dream",
     "v1/Tokyo Streetstyle",
     "v1/Vintage PhotoBooth",
     "v1/afterparty cam",
     "v1/tokyo drift",
     "v1/green editorial",
     "v1/burgundy suit",
     "v1/Gorpcore",
     "v1/birthday mess",
     "v1/Spotlight",
     "v1/Bike mafia",
     "v2/Y2K studio",
     "v2/Street photography",
     "v2/Editorial street style",
     "v2/Warm ambient",
     "v2/Drain",
     "v2/Neutral pastel film",
     "v2/Digital camera",
     "v2/Old smartphone",
     "v2/General",
     "v2/Asian nostalgia",
     "v2/Flash editorial",
     "v2/Frutiger aero",
     "v2/Muted cool film",
     "v2/Double exposure",
     "v2/Disposable camera",
     "v2/Surreal solarization",
     "v2/Underwater",
     "v2/Siren",
     "v2/Candy pop",
     "v2/Mystique city",
     "v2/Subtle flash",
     "v2/80s horror",
     "v2/New Indie",
     "v2/Extraterrestrial",
     "v2/Theatrical light",
     "v2/Y2K street",
     "v2/Warm contrast film",
     "v2/Retro BW",
     "v2/Swag era",
     "v2/Nature light",
     "v2/2000s band",
     "v2/Warm vivid film",
     "v2/BW film"
    ]
   ],
   "style_strength": [
    "FLOAT",
    {
     "default": -1.0,
     "min": -1.0,
     "max": 1.0,
     "step": 0.05
    }
   ],
   "ms_preset": [
    [
     "none",
     "Compare & Switch/Orange Tape Diptych",
     "Compare & Switch/Open Palm Ring",
     "Compare & Switch/Fuel Gauge",
     "Compare & Switch/Clay Cloud Trade-Up",
     "Compare & Switch/Dueling Timers",
     "Compare & Switch/Old Way New Way",
     "Compare & Switch/Comparison",
     "Hero Spotlight/Masthead Float",
     "Hero Spotlight/Fruit Orbit",
     "Hero Spotlight/Ticket Stack",
     "Hero Spotlight/Sand Dune Plinth",
     "Hero Spotlight/Prism Streaks",
     "Hero Spotlight/Blue Scatter",
     "Hero Spotlight/Green Sash",
     "Hero Spotlight/Push-Up Pedestal",
     "Hero Spotlight/Giant Pack Stage",
     "Hero Spotlight/Pink Flat Lay",
     "Hero Spotlight/Scribble Sunburst",
     "Hero Spotlight/Headline Wedge",
     "Hero Spotlight/Ghost Word",
     "Hero Spotlight/Blue Wedge",
     "Hero Spotlight/Mascot Lean",
     "Hero Spotlight/Green Grid Menu",
     "Hero Spotlight/Carton Cascade",
     "Hero Spotlight/Doodle Rocket",
     "Hero Spotlight/Ingredient Halo",
     "Hero Spotlight/Circle Punch",
     "Hero Spotlight/Concentric Rings",
     "Hero Spotlight/Stacked Shout",
     "Hero Spotlight/Balloon Headline Trio",
     "Hero Spotlight/Word Wallpaper",
     "Hero Spotlight/Crimson Curve",
     "Hero Spotlight/Emerald Cascade",
     "Hero Spotlight/Torn Kraft Window",
     "Hero Spotlight/Skybound",
     "Hero Spotlight/Clay Dreamscape",
     "Hero Spotlight/White Archway",
     "Hero Spotlight/Purple Pedestal",
     "Hero Spotlight/Plush Paw",
     "Problem Solved/Pickup Screen",
     "Problem Solved/Accept or Decline",
     "Problem Solved/Post Breakout",
     "Problem Solved/Orange Lasso",
     "Problem Solved/Frosted Toggles",
     "Problem Solved/In-Hand Detail",
     "Problem Solved/Toggle On",
     "Problem Solved/Search Bar Answer",
     "Problem Solved/Slide to Answer",
     "Problem Solved/Lilac Question",
     "Problem Solved/Problem \u2192 Solution",
     "Proof & Specs/Weightless Spec Grid",
     "Proof & Specs/Brush Notes",
     "Proof & Specs/Pill Callouts",
     "Proof & Specs/Zigzag Split",
     "Proof & Specs/Gel Drift",
     "Proof & Specs/Benefit Ladder",
     "Proof & Specs/Capsule Ring",
     "Proof & Specs/Proof Portrait",
     "Proof & Specs/Mid-Air Pour",
     "Proof & Specs/Sunlit Pill Orbit",
     "Proof & Specs/Beauty Markup",
     "Proof & Specs/Pictogram Spill",
     "Proof & Specs/Exploded Slices",
     "Proof & Specs/Tonal Spill",
     "Proof & Specs/Lime Percent",
     "Proof & Specs/Ingredient Compass",
     "Proof & Specs/Quiet Numbers",
     "Proof & Specs/Callout Fan",
     "Proof & Specs/Annotated Tilt",
     "Social Proof/Bracketed Review",
     "Social Proof/Trust Stack",
     "Social Proof/Reminder Toggles",
     "Social Proof/Five-Star Handoff",
     "Social Proof/Cyan Chat Halo",
     "Social Proof/Social proof"
    ]
   ],
   "moderation": [
    [
     "default",
     "auto",
     "low"
    ]
   ],
   "soul_id": [
    "STRING",
    {
     "default": "none"
    }
   ],
   "soul_id_strength": [
    "FLOAT",
    {
     "default": -1.0,
     "min": -1.0,
     "max": 1.0,
     "step": 0.05
    }
   ],
   "image_weight": [
    "INT",
    {
     "default": 0,
     "min": 0,
     "max": 100,
     "step": 1
    }
   ],
   "rendering_speed": [
    [
     "default",
     "TURBO",
     "DEFAULT",
     "QUALITY"
    ]
   ],
   "colors": [
    "STRING",
    {
     "default": ""
    }
   ],
   "background_color": [
    "STRING",
    {
     "default": ""
    }
   ],
   "output_format": [
    [
     "default",
     "jpg",
     "png",
     "webp"
    ]
   ],
   "niche": [
    "STRING",
    {
     "default": ""
    }
   ],
   "language": [
    "STRING",
    {
     "default": ""
    }
   ],
   "target_audience": [
    "STRING",
    {
     "default": ""
    }
   ],
   "extra_json": [
    "STRING",
    {
     "multiline": true,
     "default": ""
    }
   ],
   "strict": [
    "BOOLEAN",
    {
     "default": true
    }
   ],
   "allow_unpriced": [
    "BOOLEAN",
    {
     "default": false
    }
   ],
   "retention_s": [
    "INT",
    {
     "default": 3600,
     "min": 3600,
     "max": 604800,
     "step": 3600
    }
   ],
   "delete_remote": [
    "BOOLEAN",
    {
     "default": true
    }
   ],
   "images_1": [
    "IMAGE"
   ],
   "images_2": [
    "IMAGE"
   ],
   "images_3": [
    "IMAGE"
   ],
   "images_4": [
    "IMAGE"
   ],
   "image_urls": [
    "STRING",
    {
     "multiline": true,
     "default": ""
    }
   ]
  }
 },
 "routes_snapshot": "2026-10-28",
 "code_sha": "f3b46be",
 "body_sent": {
  "resolution": "1k",
  "prompt": "Same man, same face, same identity, same hair, beard, expression, pose, open-palm hand gesture, framing and camera angle. Keep the plain pure white background exactly. Change ONLY his clothing: a sleek futuristic fitted suit in matte black carbon fiber weave with subtle panel seams, and a classy modern gold dollar sign ($) emblem badge on the center of the chest, polished metallic gold inlaid in carbon. Premium, high-end, photorealistic, natural skin, soft even studio light, no text, no extra people.",
  "image_urls": "<inputs>"
 },
 "cache_keys": [
  "a5a9dac5ee1208e07040abb04fb754cb96b654d0f13f07933a5545b1affeb0a5"
 ],
 "idempotency_keys": [
  "0de153fb-0895-5042-8f9c-b700849c311c"
 ]
}