Media
Image Generation
Create images from text descriptions using AI models
POST
The Image Generation endpoint allows you to create images from text descriptions using various AI models.
Authentication Required
Learn how to get your API key to use this endpoint
Models
Available models:
dall-e-3
dall-e-2
stable-diffusion-xl
Parameters
Text description of the desired image
Number of images to generate
Size of the generated images. Options: 1024x1024
, 1024x1792
, 1792x1024
Image quality. Options: standard
, hd
Image style. Options: natural
, vivid
Example Request
Example Response
Authorizations
Enter your API key prefixed with 'Bearer '
Body
application/json
Text description of the desired image
Number of images to generate
Available options:
1024x1024
, 1024x1792
, 1792x1024
Available options:
dall-e-3
Available options:
standard
, hd
Available options:
natural
, vivid
Was this page helpful?