post
https://api.photoeditapi.com/v1/generate/image
Generate a new AI image using a preset and model from a preset collection. Inputs are transformed by the selected preset — for example, the ecommerce preset places your product in a professional studio setting.
Idempotency: Duplicate requests with identical inputs for the same end-user return the existing generation instead of creating a new one.
Asynchronous: The response returns immediately with status: pending. Poll GET /outputs/{generation_uuid} until status changes to completed or failed. Generation typically completes within 10–30 seconds.
Credit cost depends on the model selected — use GET /presets/{collectionId} to see current pricing before submitting.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…