Request Body
Model to use (e.g.,
dall-e-3).Text description of the image to generate.
Number of images to generate (1-10).
Image size. Options:
256x256, 512x512, 1024x1024, 1792x1024,
1024x1792.Example Request
Response
Working with Base64 Images
The API returns images as base64-encoded strings. To display in HTML:Authorizations
API key authentication
Body
application/json
ID of the model to use
Example:
"dall-e-3"
Text description of the desired image(s)
Maximum length:
4000Number of images to generate
Required range:
1 <= x <= 10Size of the generated images
Available options:
256x256, 512x512, 1024x1024, 1792x1024, 1024x1792 Available options:
b64_json Unique identifier for end-user