Create Any Image
Overview
curl --request POST \
--url https://image-api.photoroom.com/v2/edit \
--header 'x-api-key: YOUR_API_KEY' \
--form removeBackground=false \
--form 'imageFromPrompt.prompt=three mugs on a table in a rustic coffee shop in a realistic style' \
--form imageFromPrompt.seed=12345 \
--output result.png
Parameters
imageFromPrompt.prompt
imageFromPrompt.promptimageFromPrompt.seed (optional)
imageFromPrompt.seed (optional) imageFromPrompt.size: (optional)
imageFromPrompt.size: (optional) Last updated
Was this helpful?