Qwen Image Edit 2511 - Material Replacement - After
Qwen Image Edit 2511 - Material Replacement - Before

The 'Qwen Image Edit 2511 - Material Replacement' workflow is designed to seamlessly replace materials in objects, such as furniture, using advanced image editing techniques. This workflow leverages the Qwen-Image-Edit model, which is specifically tuned for material replacement tasks. By combining reference images with the Qwen-Image-Edit-2511 model, users can achieve realistic and visually appealing material transformations. The workflow utilizes a series of nodes including SaveImage, LoadImage, and MarkdownNote to guide the process from image input to final output.

Technically, this workflow operates by first loading the target image using the LoadImage node. The Qwen-Image-Edit model is then applied to edit the material properties of objects within the image, guided by reference images that define the desired material characteristics. The SaveImage node is used to store the final edited image. This workflow is particularly useful for designers and content creators who need to visualize different material options on existing objects, providing a cost-effective and time-efficient alternative to physical prototyping.

API

Use this workflow from code

Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.

GET https://comfy.org/workflows/download/325247297bf2.json
Fetching workflow JSON…

Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.

# Install (beta)
pip install comfy-sdk        # Python
npm i @comfyorg/sdk          # TypeScript

# Run "Qwen Image Edit 2511 - Material Replacement" (Python)
from comfy_sdk import Comfy

client = Comfy(api_key="comfyui-...")

# This workflow, exported in API format (see note below)
wf = client.workflows.from_file("image_qwen_image_edit_2511_api.json")

asset = client.assets.from_file("input.png")
wf.set_input("41", "image", asset)  # LoadImage

job = client.run(wf)
for output in job.get_outputs("9"):  # SaveImage
    output.to_file(output.name)

The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key

FAQ

Frequently Asked Questions

View all workflows
Character
Cinematic
Image to Video
Lip Sync
Multiple Angles
Portrait
Style Reference
Style Transfer
Text to Video
Video Generation
Video
Showing 30 of 30 templates