Generate an image

Generate an image with the provided prompt

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

The image generation request object

string
enum
Defaults to image
Allowed:
string
enum
required
Defaults to photon-1

The model used for the generation

Allowed:
string

The prompt of the generation

string
enum
Defaults to 16:9

The aspect ratio of the generation

Allowed:
string
enum
Defaults to jpg

The format of the image

Allowed:
uri

The callback URL for the generation

image_ref
array of objects
image_ref
style_ref
array of objects
style_ref
character_ref
object
modify_image_ref
object

The modify image reference object

boolean
Defaults to false

Create image in synchronous mode and return complated image

number
Defaults to 60

The timeout for the synchronous image generation

Responses

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