Workflow at a glance
The video demonstrates a compact five-stage flow. Claude reads the request, locates the local files, obtains upload URLs, sends the assets to Medux, starts the outfit-swap task, monitors processing, and saves the returned image.
Step-by-step tutorial
Prepare the source and clothing-reference images
Place the image of the person and the reference image of the desired outfit in the same project folder. In the example, the source file is girl.JPEG and the clothing reference is clothes.PNG.
Give Claude one clear instruction
Describe the target result, identify both files, and tell Claude to use Medux through MCP. The tutorial also asks Claude to upload the files with a curl command.
Using Medux, change the girl's outfit in girl.JPEG to match the clothing shown in clothes.PNG. Upload the files using a curl command.
Let Claude prepare and upload both assets
Claude checks that the files exist, requests upload locations, and uploads the two images. In the recorded workflow, it creates a small helper when direct sandbox uploads are restricted, then completes the uploads through the browser or terminal.
# Generic upload pattern used by the workflow
curl -X PUT "<MEDUX_PRESIGNED_UPLOAD_URL>" \
-H "Content-Type: image/jpeg" \
--data-binary "@./girl.JPEG"
curl -X PUT "<MEDUX_PRESIGNED_UPLOAD_URL>" \
-H "Content-Type: image/png" \
--data-binary "@./clothes.PNG"

Run the Medux outfit-swap tool
After both uploads succeed, Claude calls the Medux outfit-change tool through MCP. It passes the uploaded source image and clothing reference, starts the task, and waits for Medux to finish the AI rendering.

Download and review the generated image
When processing is complete, Claude receives the output URL, downloads the generated image into the project folder, and reports the saved file path. Open the result and verify that the clothing changed while the person, pose, and overall scene remain consistent.

Example result
Source, reference, and generated result
Below is a complete visual example for this tutorial: src is the original source image, tgt is the outfit reference image, and rst is the final Medux output.

Original person image used as the source.

Reference outfit image used to guide the clothing change.

Final outfit-change result generated by Medux.
Result
The final output keeps the original subject and composition while replacing the outfit with the clothing shown in the reference image. The full workflow stays inside Claude: one instruction, one MCP connection, and a downloadable Medux result.
Recommended prompt template
Reuse this structure for other outfit-change tasks.
Using Medux through MCP, change the outfit of the person in <SOURCE_IMAGE> to match the clothing in <REFERENCE_IMAGE>.
Preserve the person's identity, pose, body proportions, lighting, and background. Upload both files, run the outfit-swap task, monitor the result, and save the final image locally.Explore related workflows
Continue with a nearby Medux workflow or compare how the same task works across Claude MCP and Codex MCP.