Introduction
Outfit Changer lets you restyle what someone wears in a photograph using plain text. Upload one photo, describe the target garment, fabric and details, and get back the same person in the same room wearing the new outfit—without managing local weights, GPUs or node graphs.
Key features & highlights
Tuned with the joyfox Cosplay LoRA
Under the hood, Outfit Changer pairs Alibaba's open Qwen-Image-Edit-2509 with the Apache-2.0 joyfox Qwen-Image-Edit-Cosplay LoRA at 0.8 strength. In our side-by-side tests against the unadapted edit model, this pairing preserved natural freckles and film grain while draping velvet, lace and silk realistically instead of smoothing skin or producing synthetic sheen.
Direct prompt control with Cosplay weights
Outfit Changer forwards your prompt directly to Qwen-Image-Edit-2509 with the joyfox Cosplay LoRA without prepending or appending hidden boilerplate. Include both the target garment and explicit preservation notes—such as keeping the original face, natural skin texture, hair, pose, hands, lighting and background—for clean wardrobe swaps.
Single-photo workflow
You do not need a separate flat-lay garment image or manual segmentation mask. Describe the cut, color, texture and accessories directly in prompt.
Request parameters
| Parameter | Required | Description |
|---|---|---|
image_url | Yes | Source photograph for an Outfit Changer wardrobe swap: upload a JPEG, PNG or WebP image up to 10 MB, or pass a public HTTPS URL. at least 1 characters |
prompt | Yes | Required full outfit-change instruction forwarded verbatim to the Cosplay LoRA (up to 5,000 characters). at least 1 characters · at most 5000 characters |
aspect_ratio | No | In Outfit Changer, leaving |
output_format | No | Choose JPEG (default), PNG or WebP for the finished Outfit Changer image returned by this endpoint. |
seed | No | Fix seed alongside your source photo in Outfit Changer to test garment wording tweaks fairly; integers from 0 to 2147483647 are valid, omitting selects randomly, and bit-identic… |
Pricing
$0.05 / image
Each completed wardrobe swap from Outfit Changer is billed at one flat per-image rate regardless of aspect ratio or JPEG, PNG or WebP output; failed requests incur no charge.
Use cases
Cosplay and costume previews
Preview gothic dresses, historical collars, holiday looks or theatrical outfits on an existing portrait before ordering fabrics or booking a studio shoot.
Lookbook and editorial variations
Turn one well-lit portrait into multiple wardrobe concepts—from casual knitwear to evening silk—while keeping location lighting consistent across the set.
Seasonal campaigns and social content
Refresh existing creator or brand photography for festive themes without reshooting the talent or rebuilding the backdrop.
Prompt guide & pro tips
Name fabric and construction details
Specific textiles such as "crushed red velvet with white faux-fur trim" or "matte charcoal wool double-breasted coat" drape far more convincingly than generic labels like "nice dress".
State what stays unchanged
Because Outfit Changer passes your prompt verbatim, close your garment description with a concise lock sentence—for example, keeping the exact same face, natural skin texture, hair, pose, hands, lighting and background unchanged.
Match garment silhouette to camera framing
For waist-up portraits, focus on necklines, collars, sleeves and outerwear; full-length shots give the model room to render skirts, hems and footwear cleanly.
Lock the seed when iterating
Keep seed constant while adjusting fabric color or trim wording so you can evaluate your phrasing change directly.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "spicyapi/outfit-changer-v1/edit",
"input": {
"image_url": "https://example.com/reference.png",
"output_format": "jpeg",
"prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette"
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.








