Vogoo.ai logoVogoo.ai
    • 圖片工具
    • 文生圖
    • 圖生圖
    • 圖片特效
    • SeaArt AI
    • AI 黏土定格風生成器
    • 影片工具
    • 文生影片
    • Animate Pictures
    • 參考圖生影片
    • 影片轉影片
    • 影片特效
    • 音訊工具
    • 文字生音樂
    • AI 音樂影片
    • 橫幅與設計
    • 黑五海報生成器
    • 圖片特效
    • AI 萬聖節照片生成器
    • 影片模型
    • Kling 3
    • Kling 2.6 Motion Control
    • Kling 3.0 Pro
    • Kling 3.0 Turbo
    • Kling 3.0 Motion Control
    • MiniMax H3
    • MiniMax H3 Max
  • API
  • 部落格
  • 價格
Vogoo.ai logoVogoo.ai
Vogoo.ai

免費的 AI 圖片生成器,可依精確像素尺寸匯出——從提示詞範本開始,不必裁切就能直接發布。

X (Twitter)

向 AI 瞭解 Vogoo

產品
  • 文生影片
  • Animate Pictures
  • 文生圖
  • 圖生圖
  • 文字生音樂
  • 黑五海報生成器
  • AI 黏土定格風生成器
  • AI 萬聖節照片生成器
  • 價格
AI 模型
  • Kling 3
  • Kling 2.6 Motion Control
  • Kling 3.0 Motion Control
  • Kling 3.0 Pro
  • Kling 3.0 Turbo
  • MiniMax H3
  • MiniMax H3 Max
  • SeaArt AI
公司
  • 關於
  • 聯絡我們
法律
  • Cookie 政策
  • 隱私政策
  • 服務條款
  • 退款政策
© 2026 Vogoo.ai. 版權所有。
Vogoo.ai/Vogoo API/Nano Banana 2 Lite
Google

Nano Banana 2 Lite API

Low-cost Gemini image generation for fast 1K results.

imageText to ImageImage to Image
Create API KeyGeneral API Docs
  • Model Ids
  • Create a Generation
  • Parameters
  • Get the Result
  • Errors

Model Ids

Pass one of these ids as model. Each id covers the tasks listed next to it; credit costs match the studio.

Model IdTasksCreditsOutputEst. Time
nano-banana-2-liteText to Image, Image to Image—1K4-20s

Create a Generation

POST/api/v1/generationsAPI key required

Submit a text to image job with nano-banana-2-lite. The API answers 202 with a generation in queued state.

1curl https://vogoo.ai/api/v1/generations \
2 -H "Authorization: Bearer $VOGOO_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "nano-banana-2-lite",
6 "scene": "text-to-image",
7 "prompt": "Studio product shot of a matte black sneaker, soft light",
8 "options": {
9 "aspect_ratio": "1:1"
10 }
11 }'

Parameters

FieldTypeDescription
modelstring, requiredA model id from the models market or GET /api/v1/models.
promptstringWhat to generate. Required unless options carries the full input.
scenestringOne of the model's tasks, such as text-to-video or image-to-video. Defaults to the first one.
optionsobjectModel settings such as aspect_ratio, duration, image_input (image models) or image_urls (video models). Unsupported keys are ignored.
enhance_promptbooleanLet Vogoo rewrite the prompt before it reaches the model. Default false.

Valid scene values for Nano Banana 2 Lite: text-to-image, image-to-image.

Get the Result

GET/api/v1/generations/{id}API key required

Poll every few seconds until status is completed or failed.

curl https://vogoo.ai/api/v1/generations/$GENERATION_ID \
  -H "Authorization: Bearer $VOGOO_API_KEY"
{
  "id": "…",
  "object": "generation",
  "status": "completed",
  "model": "nano-banana-2-lite",
  "model_name": "Nano Banana 2 Lite",
  "type": "image",
  "scene": "text-to-image",
  "outputs": [
    { "type": "image", "url": "https://…" }
  ],
  "error": null
}

Errors

Errors use one shape for every model. See the full list in the general API docs.

{ "error": { "code": "INSUFFICIENT_CREDITS", "message": "…" } }

More Google APIs

Nano BananaNano Banana ProNano Banana 2Gemini Omni FlashVeo 3.1Gemini Omni Flash 1.2Gemini Omni Flash 1.2 EditLyria 3All models →