Skip to main content

AI Model Values

Describes the available AI models in the Aether API and the characteristics of each model.

AiModelType Enumeration

List of AI models available for image generation requests.

Model ValueDescription
GPT Image 1.5OpenAI GPT Image 1.5 model
Grok ImaginexAI Grok Imagine model
Grok Imagine ProxAI Grok Imagine Pro model
Nano BananaNano Banana model
Nano Banana 2Nano Banana 2 model
Nano Banana ProNano Banana Pro model

Reference Image Limits

Each model has a different maximum number of images allowed in the ref_images parameter.

ModelMaximum Reference Images
GPT Image 1.510
Grok Imagine5
Grok Imagine Pro1
Nano Banana10
Nano Banana 210
Nano Banana Pro10

Request Examples

Basic Generation

curl -X POST "https://api.aetherforgeai.com/public/v1/generate" \
-H "Authorization: Bearer your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A beautiful sunset over mountains",
"ai_model": "GPT Image 1.5"
}'

With Reference Images (Grok Imagine Pro)

curl -X POST "https://api.aetherforgeai.com/public/v1/generate" \
-H "Authorization: Bearer your_api_key_here" \
-F "prompt=A cat in the style of the reference image" \
-F "ai_model=Grok Imagine Pro" \
-F "[email protected]"

With Reference Images (GPT Image 1.5 - up to 10)

curl -X POST "https://api.aetherforgeai.com/public/v1/generate" \
-H "Authorization: Bearer your_api_key_here" \
-F "prompt=A landscape combining these styles" \
-F "ai_model=GPT Image 1.5" \
-F "[email protected]" \
-F "[email protected]" \
-F "[email protected]"

Error Responses

400 Bad Request - Reference Image Limit Exceeded

Returned when the maximum number of reference images for a model is exceeded.

Grok Imagine Pro Example:

{
"detail": "The Grok Imagine Pro model supports up to 1 ref_images."
}

General Limit Example:

{
"detail": "ref_images supports up to 10 images only"
}

Model Selection Guide

Use CaseRecommended Model
High-quality general image generationGPT Image 1.5
When style references are neededGrok Imagine (up to 5)
High-quality results with single reference imageGrok Imagine Pro
When multiple reference images are neededNano Banana series (up to 10)