YeeHooDevelopers
Developer Docs
Supported Models and ParametersImage Models

Model Overview

Review shared image-model fields, differences, and entry pages for each image model.

Current public image models all use POST /v1/generations. The main differences are enum ranges, defaults, and recommended use cases.

Read this family page first, then open the individual model page only after choosing a model.

Shared Image Fields

FieldTypeRequiredDescription
modelstringYesTarget image model ID
promptstringYesImage prompt
reference_imagesstring[]NoReference image URL list
aspect_ratiostringNoOutput aspect ratio
resolutionstringNoOutput resolution
nintegerNoImage count

Image Model Differences

ModelRegionBest Forqualityaspect_ratioresolutionDefaultsDetails
gpt-image-2Global / CNBest default general image modelNot supportedauto 1:1 5:4 9:16 21:9 16:9 3:2 4:3 4:5 3:4 2:31K 2K 4Kaspect_ratio=auto resolution=1K n=1View
gpt-image-2-officialGlobalOfficial GPT Image 2low medium highModel-schema driven1K 2K 4Kquality=medium resolution=1K n=1View
gemini-3.1-flash-image-previewGlobal / CNFast image generation and editingNot supportedModel-schema driven0.5K 1K 2K 4Kresolution=1K n=1View
gemini-3-pro-image-previewGlobal / CNHigh-quality image generation and editingNot supportedModel-schema driven1K 2K 4Kresolution=1K n=1View
nano-banana-2Global / CNSpeed-firstNot supportedauto 21:9 16:9 3:2 4:3 1:1 3:4 2:3 9:162K 4Kaspect_ratio=auto resolution=2K n=1View
nano-banana-proGlobal / CNQuality-first, polished creativeNot supportedauto 21:9 16:9 3:2 4:3 1:1 3:4 2:3 9:162K 4Kaspect_ratio=auto resolution=2K n=1View

How to Choose an Image Model

  • If you are unsure, start with gpt-image-2.
  • If speed matters more, try nano-banana-2 first.
  • If quality and editing matter more, try nano-banana-pro first.
  • Official GPT Image 2 exposes quality independently; do not send it to regular gpt-image-2.
  • Official quality tiers are low (speed/cost-first), medium (default balance), and high (quality-first, higher cost).
  • Use each Gemini image model's schema for resolution values; Flash supports 0.5K.

Smallest Working Image Example

{
  "model": "gpt-image-2",
  "prompt": "A premium skincare poster on warm marble, soft daylight, luxury editorial style"
}

Read Next