Edit an image using a prompt

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
required

Exactly one source image. Multiple images are rejected.


Remote image URL

string

Optional output size. Accepts auto, 1:1, 3:4, 4:3, 16:9, 9:16, or custom WIDTHxHEIGHT. Custom dimensions map to the nearest supported aspect ratio; omitted, blank, or invalid values use auto.

string
enum
Defaults to url

Return the edited image as a URL or base64-encoded data.

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json