Prompts, endpoints, generation brain, user management
Fashn-backed studio routes (training: expanded prompt in JSON responses)
Body: productImage (data URL), options (AdOptions); modelReference?, backgroundReference?
Body: exact: garment + model · vibe: product-to-model + optional refs
Body: image + ProductPhotoOptions; ggf. nur background-remove
Body: image (data URL)
Body: mode: create-face | model-create | face-to-model; faceImage? (FTM); weitere Felder je Modus
Body: modelImage, prompt?, faceReference?, faceReferenceMode?, numImages?
Body: image, aspectRatio, numImages?, seed?
Body: image, duration 5|10, resolution 480p|720p|1080p, prompt?
Option ID → Fashn prompt (prompt-builder.ts)
Fashn edit after generation (1 credit each)
turn the model slightly to the left, same expression, keep clothing and background
turn the model slightly to the right, same expression, keep clothing and background
replace background with clean minimal white studio, soft shadows
replace background with vintage brick wall, urban street style
add vintage round sunglasses on the model, natural placement
add a vintage leather crossbody bag, natural pose
add golden hour lighting, warm sunset glow, keep model and clothing
Required environment variables
Docs: docs.fashn.ai