Image Gemini

Gemini 3 Pro Image

Nano Banana Pro 图片模型,支持 1K/2K/4K 分辨率和多种宽高比。

Capabilities

Reference image generation

Parameters and specs

Aspect ratios
1:1 / 2:3 / 3:2 / 3:4 / 4:3 / 4:5 / 5:4 / 9:16 / 16:9 / 21:9
Resolutions
1K / 2K / 4K
Reference limits
4 images

Model API

Model endpoints route to this capability through the model field or app/action fields in the request body. Include a MediaGo developer API key before calling them.

Method

POST

Endpoint

/api/v1/images

Auth

Authorization: Bearer <mgak_...>

Result

response.data[]

The image endpoint returns generated results in the response data array.

Key fields

model
Required. Use the current model ID.
prompt
Required. The generation prompt.
aspect_ratio
Optional. Output aspect ratio. Defaults to the model setting when omitted.
resolution
Optional. Output resolution. Defaults to the model setting when omitted.
input_references
Optional. Reference image input array.
seed
Optional. Random seed.

Request example

{
  "model": "gemini-3-pro-image",
  "prompt": "Create a 1:1 product image on a white background with soft shadows and detailed material texture.",
  "aspect_ratio": "1:1",
  "resolution": "1K",
  "input_references": [
    {
      "type": "image_url",
      "image_url": {
        "url": "https://example.com/reference.png"
      }
    }
  ]
}

Example uses

Example prompt

Generate a clean SaaS hero image with an analytics dashboard, modern office setting, and teal accents.

Example prompt

Keep the character consistent from the reference image and restyle it as a cinematic neon street portrait at night.

Example prompt

Create a 1:1 ecommerce product image on a white background with soft shadows and detailed material texture.