Edit With AI
Overview
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 removeBackground=false \
--form referenceBox=originalImage \
--form editWithAI.mode=ai.auto \
--form editWithAI.prompt='Change the shoes color to red' \
--output result.pngWhich resolutions are supported?









Examples of Use Cases
Product Staging
Other Angle
Using Additional Reference Images
What are the Limits?
Additional Parameters
editWithAI.seed
editWithAI.seedLast updated
Was this helpful?

























