Skip to main content

Overview

Antigravity Manager supports Imagen 3 image generation through multiple API formats, providing flexibility for different use cases and client applications.

Supported Formats

Use the standard OpenAI images endpoint:

Chat API with Parameters

Generate images through the chat completions endpoint:

Model Suffix Method

Embed parameters in the model name:

Size Parameters

Standard Sizes

Supported aspect ratios and resolutions:

Custom Dimensions

Any WIDTHxHEIGHT format is supported and automatically mapped to standard ratios:
The system calculates the aspect ratio and maps to the nearest standard format.

Quality Settings

Quality Levels

Advanced: imageSize Parameter

Direct resolution control using Gemini’s native parameter:
imageSize has the highest priority and overrides quality if both are specified.

Parameter Priority

Model Suffix Combinations

Embed all parameters in the model name:

Response Formats

Base64 JSON (Default)

Data URI

Batch Generation

Generate multiple images in one request:
Generating multiple images consumes quota proportionally (4 images = 4x quota usage).

Client Integration

Cherry Studio

Configure image generation in Cherry Studio:
1

Open Model Settings

Navigate to SettingsModels and select gemini-3-pro-image.
2

Configure Parameters

Set the following in model settings:
  • Size: Enter any WIDTHxHEIGHT format (e.g., 1920x1080)
  • Quality: Choose standard, hd, or medium
  • Number: Set generation count (1-10)
3

Generate Images

Simply send your image description in the chat.

Using Model Config UI

Some clients support model-level configuration:

Quota Tracking

Image generation quota is tracked separately:

Real-time Quota Updates

Quota is refreshed immediately after generation:

Advanced Options

Aspect Ratio Mapping

The system automatically maps custom sizes to standard ratios:

Size Validation

Error Handling

Common Errors

Best Practices

  1. Use Standard Sizes: Stick to common resolutions for best results
  2. Monitor Quota: Track image generation quota separately from text
  3. Quality vs. Quota: Balance quality settings with quota consumption
  4. Batch Wisely: Generate multiple variations when needed
  5. Cache Results: Store generated images to avoid regeneration