Model Swap
These APIs can be used to generate catalogs. You can upload images of humans and mannequins wearing garments and can swap them with customized Fashion Models and Backgrounds based on prompts.
Last updated
These APIs can be used to generate catalogs. You can upload images of humans and mannequins wearing garments and can swap them with customized Fashion Models and Backgrounds based on prompts.
Last updated
API to upload Mannequin/Human Image for to replace with Fashion Model and Custom Background.
all image file types are supported
this will be always model
for cataloging
model
male
or female
male
if you want to use this image just for cataloging(and not for virtual try-on) set preprocess false
false
private
or public
private
Successful response
API to start the Mannequin/Model Swap using previously uploaded Image IDs. Provide appropriate prompt to customize Output Image
ID you get after uploading mannequin/human image
xxxxxxxxxx
Prompts for Fashion Model and Background and other tuning factors
{'prompt': 'RAW photo, hyper-realistic image of a female of asian ethnicity, looking at camera, straight hair, 19 years age, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3', 'guidance_scale': 10.0, 'strength': 0.8, 'num_inference_steps': 30, 'seed':-1, 'garment_class': 'upper garment', 'negative_prompt': '(hands:1.15), disfigured, ugly, bad, immature, cartoon, anime, 3d, painting, b&w, (ugly), (pixelated), watermark, glossy, smooth'}
name of AI model to be used, for current use case use model_swap
model_swap
No content
API to get the status of uploaded image, if uploaded, in response preprocessing
key will have the value completed
ID of uploaded image
API to get status of Model Swapping(Takes about 25 Seconds)
ID of Cataloging image
No content
API to Download Images
ID of image to be downloaded
Image Token from Uplaoded
/Model Swapped
Image