For the complete documentation index, see llms.txt. This page is also available as Markdown.

AI Ironing

Overview

The Image Editing API can turn images of wrinkly clothing into freshly pressed clothing.

To iron clothing in an image, set ironing.mode to ai.auto.

(original image)

(edited image)

AI Ironing is meant to be used with images that feature clothing items.

Please note that alterations can be introduced.

If you want to give it a try, here's the code to reproduce the example above:

curl --request POST \
  --url https://image-api.photoroom.com/v2/edit \
  --header 'x-api-key: YOUR_API_KEY' \
  --form imageFile=@/path/to/your/image.jpg \
  --form ironing.mode=ai.auto \
  --form removeBackground=false \
  --output ironed.png

Try it now!

Additional Examples

(original image)

(edited image)

Last updated

Was this helpful?