MixMediaAPI · Docs
Open as Markdown

Nano Banana Pro

Gemini 3 Pro Image: top quality, complex compositions and infographics.

Nano Banana Pro (Gemini 3 Pro Image) is Google's flagship image model for complex scenes, infographics, posters and photorealism. Accepts up to 8 reference images.

ModeIDPrice
Image to Imagenano-banana-pro$0.02
Text to Imagenano-banana-pro$0.02

Both modes are one model, nano-banana-pro: pass photos and it edits them or uses them as references.

Image to Image

Upload a photo and describe what to change. ID: nano-banana-pro · $0.02 per image · ~2.5 min

Parameters (field input)

ParameterRequiredDescriptionValues (default in bold)
promptyesWhat to draw or what to changetext, up to 10000 chars
image_inputyesLinks to your photos (https), up to 8["https://…"]
aspect_rationoImage shape1:1 2:3 3:2 3:4 4:3 4:5 5:4 9:16 16:9 21:9 auto
resolutionnoQuality: 1K is faster, 2K has more detail1K 2K 4K
output_formatnoFile formatpng jpg

Example

curl -X POST https://ai.aimixmedia.site/api/v1/jobs/createTask \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"nano-banana-pro","input":{"prompt":"Make the background a neon city at night","image_input":["https://ai.aimixmedia.site/static/img/previews/gpt-t2i.jpg"],"aspect_ratio":"1:1","resolution":"1K"}}'
import os, requests

r = requests.post(
    "https://ai.aimixmedia.site/api/v1/jobs/createTask",
    headers={"Authorization": f"Bearer {os.environ['API_KEY']}"},
    json={
      "model": "nano-banana-pro",
      "input": {
        "prompt": "Make the background a neon city at night",
        "image_input": [
          "https://ai.aimixmedia.site/static/img/previews/gpt-t2i.jpg"
        ],
        "aspect_ratio": "1:1",
        "resolution": "1K"
      }
    },
)
print(r.json())  # {"code": 200, "data": {"taskId": "..."}}
const r = await fetch("https://ai.aimixmedia.site/api/v1/jobs/createTask", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.API_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({
    "model": "nano-banana-pro",
    "input": {
      "prompt": "Make the background a neon city at night",
      "image_input": [
        "https://ai.aimixmedia.site/static/img/previews/gpt-t2i.jpg"
      ],
      "aspect_ratio": "1:1",
      "resolution": "1K"
    }
  }),
});
console.log(await r.json()); // { code: 200, data: { taskId: "..." } }

Text to Image

Describe the picture and the model creates it from scratch. ID: nano-banana-pro · $0.02 per image · ~2.5 min

Parameters (field input)

ParameterRequiredDescriptionValues (default in bold)
promptyesWhat to draw or what to changetext, up to 10000 chars
aspect_rationoImage shape1:1 2:3 3:2 3:4 4:3 4:5 5:4 9:16 16:9 21:9 auto
resolutionnoQuality: 1K is faster, 2K has more detail1K 2K 4K
output_formatnoFile formatpng jpg

Example

curl -X POST https://ai.aimixmedia.site/api/v1/jobs/createTask \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"nano-banana-pro","input":{"prompt":"A cat astronaut in a neon city, cinematic light","aspect_ratio":"1:1","resolution":"1K"}}'
import os, requests

r = requests.post(
    "https://ai.aimixmedia.site/api/v1/jobs/createTask",
    headers={"Authorization": f"Bearer {os.environ['API_KEY']}"},
    json={
      "model": "nano-banana-pro",
      "input": {
        "prompt": "A cat astronaut in a neon city, cinematic light",
        "aspect_ratio": "1:1",
        "resolution": "1K"
      }
    },
)
print(r.json())  # {"code": 200, "data": {"taskId": "..."}}
const r = await fetch("https://ai.aimixmedia.site/api/v1/jobs/createTask", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.API_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({
    "model": "nano-banana-pro",
    "input": {
      "prompt": "A cat astronaut in a neon city, cinematic light",
      "aspect_ratio": "1:1",
      "resolution": "1K"
    }
  }),
});
console.log(await r.json()); // { code: 200, data: { taskId: "..." } }

Result

Same as any task: call recordInfo or receive a callback. Image links are in resultJson (kept for 30 days).

Upload your photos via files/upload or pass any public https links.