ai-fashion-photos
Generate e-commerce fashion photos with Fashio (fashiolabs.com) through its hosted MCP server — put a garment on an AI model, virtual try-on, full catalog photoshoot packs, jewelry on model, flat lays, background removal, upscaling, reframing and short product videos. Use when someone wants on-model product photos from a clothing or jewelry photo, a consistent catalog look across products, or to batch-produce listing images for a store. Requires a Fashio API key; generations spend the account's credits.
AI fashion product photos with Fashio
The fashio MCP server (https://mcp.fashiolabs.com/mcp) calls Fashio's public v1 API
with the user's own key. Setup:
- Sign up at https://fashiolabs.com and create a key under Profile → API Keys
(shown once; starts with
fio_live_). - Make it available as
FASHIO_API_KEY. The server receives it asAuthorization: Bearer ${FASHIO_API_KEY}.
Full API reference: https://docs.fashiolabs.com · LLM-ready version: https://docs.fashiolabs.com/llms-full.txt
Cost: read this first
Every create_generation and create_catalog_job call deducts diamonds (Fashio
credits) from the key's account, the same as using the app. There is no test mode.
- Call
get_accountfirst and tell the user their balance. - Before each paid call, say which tool runs, how many images it makes and its price
(
list_modelsgivesfallbackPriceDiamonds; a catalog job is billed per shot). Wait for a yes. 400(bad input) and402(balance too low) charge nothing. A failed generation is refunded automatically.delete_template_setdeletes for good; confirm first.
Flow
-
Get the garment online. Prefer a public image URL the user gives you. Otherwise
upload_imagetakes the image as base64 bytes plus itsformat(jpg/png/webp, up to 8 MB) and returns a URL. (The localfashio-mcpnpm package takes a file path instead.) -
Pick the tool.
list_modelslists everytoolIdand the images it needs. Common ones:Goal toolId Needs Garment on an AI model virtual_modelfashion_model,garment_photoSeveral garments, one outfit outfit_photofashion_model,garment_photos[]Jewelry on a model jewelry_on_modeljewelry_image,jewelryTypeSwap the model in a photo model_swapuser_photo,fashion_modelOn-model → flat lay model_to_flat_layuser_photoRemove background / upscale remove_background/photo_enhanceuser_photoChange aspect ratio photo_reframeuser_photo,targetRatioEdit with an instruction photo_edituser_photo,customPromptShort product video ai_videosuser_photo,motionPrompt -
Choose model, venue and pose with
list_fashion_models(gender),list_venuesandlist_poses, or skip them with a saved style (templateSetId). -
Start the job with
create_generation. It returns{id, status: "processing"}. -
Poll
get_generationevery few seconds untilcompleted(results inresultUrls) orfailed. Show the result URLs.
Same look across a whole catalog
- After a result the user likes,
create_template_setsaves its model, venue, pose and ratio. Reuse it on the next product withcreate_generation+templateSetId. - For a ready-made multi-shot photoshoot, browse
list_ready_template_sets, open one withget_ready_template_set, then runcreate_catalog_jobon the product (one image per shot, billed per shot; passshotIdsto run fewer).
Errors
401 bad or revoked key · 402 balance too low (nothing charged) · 429 daily
request cap for the key · 500 failed after charging, refunded automatically.
- Downloads
- Security audit
- Pass
- Last updated
- 1w ago
- Current version
- v1.0.0
- License
- MIT-0
