Who it is forA content creator who has a few source photos or graphics and needs one composite or edited image built from them.
The problemCombining elements from several source images normally takes manual compositing work in an editor.
The outcomeOne edited image rendered from the reference inputs, written to the output path.
What you need first
- A Mac with Apple Silicon and 64 GB of unified memory, the setup the README says it is built and tested on
- uv and git installed
- Roughly 30 GB of disk for the image model weights, plus about 18 GB per enhancer if you use --enhance
- Access to the Hugging Face Hub for the weight downloads
Steps
- Set up the environment with
uv syncand have the image model downloaded to a local directory. - Choose up to 10 input images and note their file paths.
- Run
uv run qwen-image-2-1 "put the mug from under the neon sign from " --input mug.jpg,neon-sign.png --enhance, replacing the placeholders with your own prompt and files. (inferred, check the README) - Check output/output.png, or pass --output to write the result somewhere else.
Prompt for your agent
In the qwen-image-2.1-studio repo, run `uv run qwen-image-2-1 "<edit prompt>" --input <image1>,<image2> -m <model-path>`, using <edit prompt>, <image1> and <image2> as the target edit and the input files. Expect an edited PNG at output/output.png. Verify the output shows elements from each input.
Caveat. The README says the prompt must name the input images in the order given, and the rendered output follows the last image's aspect ratio when no ratio is set.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for janishar/qwen-image-2.1-studio and "Combine up to 10 reference images into one edited render"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer