返回模型列表

Nano Banana 2.1

全球最低价(50% 长期折扣:1K $0.03、2K $0.04、4K $0.09)并支持 15 种宽高比的 Google Nano Banana 2.1 模型家族。

文本生成图像起$0.03图像编辑起$0.03
定价起价 $0.03/次请求
延迟平均约 60 秒
分辨率1K/2K/4K
最适合google, nano-banana-2.1, text-to-image

参数

预估费用

此模型可为您节省 50%
每 request 基础成本$0.06
折扣-50%
您的总计$0.03
每次请求可节省 $0.03

登录以运行模型

Output Preview

Ready

No output yet

Run the model to see generated results.

示例输出

API 示例— 当前参数

generate.py
import requests

result = requests.post(
    'https://api.e2x.ai/v1/jobs/submit',
    headers={
        'Authorization': f'Bearer {API_KEY}',
        'Content-Type': 'application/json'
    },
    json={
  'model': 'google/nano-banana-2.1/text-to-image',
  'input': {}
}
)

获取任务— 轮询获取结果

get_job.py
import time

job_id = result.json()['jobId']

while True:
    response = requests.get(
        f'https://api.e2x.ai/v1/jobs/{'{job_id}'}',
        headers={'Authorization': f'Bearer {'{API_KEY}'}'}
    )
    data = response.json()['data']

    if data['status'] == 'completed':
        print('Done!', data['outputs'][0]['url'])
        break
    elif data['status'] == 'failed':
        raise Exception(f"Job failed: {'{'}data['error']['message']{'}'}")

    time.sleep(2)
探索替代方案

相关模型

探索适用于 文本生成图像 的其他 AI 模型

查看所有模型

E2X 上的 Nano Banana 2.1 Text-to-Image API —— 全球最低价

Nano Banana 2.1 是 Google 全新升级的图像生成模型。在 E2X 上,我们以全球最低价提供 google/nano-banana-2.1/text-to-image 接口。享受 50% 全球折扣后,1K 仅需 $0.03、2K $0.04、原生 4K 仅需 $0.09,性价比领先全行业。

Nano Banana 2.1 图生图编辑

Global Price Comparison

Provider1K Price2K Price4K PriceE2X Advantage
E2X (50% Permanent Discount)$0.030$0.040$0.090Lowest Globally
fal.ai$0.150$0.150$0.30070%–80% lower
Replicate$0.150$0.150$0.30070%–80% lower
Google Gemini API$0.134$0.134$0.24062.5%–77.6% lower

Technical Specifications

ParameterValue
Model Sluggoogle/nano-banana-2.1/text-to-image
Resolutions1K ($0.03), 2K ($0.04), 4K ($0.09)
Aspect Ratios15 formats (auto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 21:9, 1:4, 4:1, 1:8, 8:1)
Max Prompt32,000 characters
Average Latency~30–60 seconds
WatermarkSynthID (Google imperceptible provenance)

API Request Example

curl -X POST https://api.e2x.ai/v1/jobs/submit \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/nano-banana-2.1/text-to-image",
    "input": {
      "prompt": "Commercial product shot of a luxury watch, brushed titanium, studio lighting, macro lens",
      "aspect_ratio": "4:3",
      "resolution": "4K"
    }
  }'

Model Family Comparison

ModelPrice (1K / 2K / 4K)Max ResolutionAspect Ratios
Nano Banana 2.1$0.03 / $0.04 / $0.094K15 ratios
Nano Banana Pro$0.075 / $0.075 / $0.1504K10 ratios
Nano Banana 2$0.040 / $0.030 / $0.0404K10 ratios
Nano Banana 2 Lite$0.02381K only15 ratios

50% 折扣是长期定价,不是限时活动。只要 Google 不调整价格,我们就会保留这项折扣。1K / 2K / 4K 原价为 $0.06 / $0.08 / $0.18,实付 $0.03 / $0.04 / $0.09。生成与编辑价格相同。