image-outfit-swap
AI outfit swap: preserves the person's face and body shape while changing only the clothing. Simple color changes (e.g., turning a dress red) are also supported by this tool.
meitu image-outfit-swap
Usage Examples
# Scenario 1: Text-described outfit swap (required parameters only)
meitu image-outfit-swap \
--image_url ./person.jpg \
--prompt "Black suit" \
--json
# Scenario 2: Reference-image outfit swap
meitu image-outfit-swap \
--image_url ./person.jpg \
--clothes_image_url ./outfit_ref.jpg \
--prompt "Swap to the outfit shown in the reference image" \
--json
# Scenario 3: Full parameters + download results
meitu image-outfit-swap \
--image_url ./person.jpg \
--clothes_image_url ./outfit_ref.jpg \
--prompt "Swap to the outfit shown in the reference image" \
--json \
--download-dir ./outputParameter Reference
| Parameter | Required | Description |
|---|---|---|
--image_url | Yes | Aliases: --image |
--clothes_image_url | No | Type: string |
--prompt | Yes | Type: string |
--download-dir | No | Type: string |
--output | No | Type: string[] |
--json | No | Output results in JSON format for easy script or agent parsing |