Documentation Index Fetch the complete documentation index at: https://docs.gately.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
string
default: "1024x1024"
Size of the generated images. Options: 1024x1024, 1024x1792, 1792x1024
Image quality. Options: standard, hd
Image style. Options: natural, vivid
Example Request
curl --location 'https://api.gately.ai/v1/images/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"prompt": "a white siamese cat",
"n": 1,
"size": "1024x1024",
"model": "dall-e-3",
"quality": "standard",
"style": "natural"
}'
Example Response
{
"created" : 1737411800 ,
"data" : [
{
"revised_prompt" : "Visualize a Siamese cat with a predominantly white coat..." ,
"url" : "https://example.com/image.png"
}
]
}
Enter your API key prefixed with 'Bearer '
Text description of the desired image
Number of images to generate
size
enum<string>
default: 1024x1024
Available options:
1024x1024,
1024x1792,
1792x1024
model
enum<string>
default: dall-e-3
Available options:
dall-e-3
quality
enum<string>
default: standard
Available options:
standard,
hd
style
enum<string>
default: natural
Available options:
natural,
vivid