Ghost Mannequin lets you show your clothing at its best with clean, mannequin-free visuals that clearly capture fit and drape.
To use Ghost Mannequin, set the parameter ghostMannequin.mode to ai.auto:
If you want to give it a try, here's the code to reproduce the first example above:
curl --request POST \
--url https://image-api.photoroom.com/v2/edit \
--header 'x-api-key: YOUR_API_KEY_HERE' \
--form imageFile=@/path/to/image.png \
--form ghostMannequin.mode=ai.auto \
--output result.png
Try it now!
Which resolutions are supported?
By default, Ghost Mannequin will produce outputs at a resolution of 1K (1024x1024).
Output resolutions of 2K and 4K are available for Enterprise plans:
If you're interested to use 2K or 4K resolution, please contact our sales team.
Contact Sales
Additional Parameters
ghostMannequin.prompt
Optional text prompt to guide the generation style.
Example: ghost mannequin
ghostMannequin.size
The output size and aspect ratio of the generated image.
Default: SQUARE_HD
Possible values: PORTRAIT_HD_16_9, PORTRAIT_HD_4_3, PORTRAIT_HD_3_2, SQUARE_HD, LANDSCAPE_HD_3_2, LANDSCAPE_HD_4_3, LANDSCAPE_HD_16_9