> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tapapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Nano Banana

> 性价比版 · 日常批量文生图

| 属性 | 值                  |
| -- | ------------------ |
| 状态 | ✅ 可用               |
| 定位 | 海外明星               |
| 价格 | \$0.035/张          |
| 速度 | —                  |
| 模态 | text+image → image |
| 适用 | 性价比版 · 日常批量文生图     |

## 适合什么

* 日常文生图
* 批量素材草稿
* 中等成本任务

## 不适合什么

* 强一致角色
* 复杂图片编辑
* 未开放前不要把图片输入写入生产请求

## 推荐调用路径

当前推荐：`/v1/images/generations`。

* 文生图优先使用 [OpenAI 兼容路径](/image-generation/openai-compatible)
* 高级入口只在模型详情明确说明字段时使用
* 图生图、多参考图、webhook 当前不要写入生产请求

## 调用示例

```bash theme={null}
curl https://tapapi.ai/v1/images/generations \
  -H "Authorization: Bearer sk-xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nano-banana",
    "prompt": "a red apple on a wooden table",
    "size": "1024x1024",
    "response_format": "url"
  }'
```

公开文生图字段：`size` · `response_format`

输出格式：`url` / `b64_json`。生产代码需要兼容模型实际返回字段，详见 [输出图片保存](/image-generation/output-images)。

兜底方向：[Z-Image Turbo](/image-generation/models/z-image-turbo)、[FLUX Schnell](/image-generation/models/flux-schnell)（以控制台可用状态为准）。

## 生产注意事项

* 批量任务建议先用 n: 1 单张循环
* 上线前用真实 prompt 验证返回格式和尺寸

更多字段见 [文生图参数说明](/image-generation/parameters)。高级入口边界见 [路径 2 · 高级](/image-generation/advanced)。
