Nano Banana 2 Lite
Генерация изображений по референсу в Nano Banana 2 Lite. Создаёт изображения из текстовых промптов и референсных картинок. Облегчённая и более дешёвая версия с расширенным набором соотношений сторон.
- nano-banana-2-lite
- edit-image
Семейство Google Nano Banana 2.1 по самой низкой цене в мире ($0.03 за 1K, $0.04 за 2K, $0.09 за 4K со скидкой 50%) с 15 форматами.
Войдите, чтобы запускать модели
No output yet
Run the model to see generated results.
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/edit-image',
'input': {}
}
)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)Узнайте о других моделях ИИ для Редактирование изображений
Endpoint редактирования Nano Banana 2.1 (google/nano-banana-2.1/edit-image) со скидкой 50% стоит всего $0.03 (1K), $0.04 (2K) и $0.09 (4K), являясь самым выгодным предложением в мире.
| Provider | 1K Price | 2K Price | 4K Price | E2X Advantage |
|---|---|---|---|---|
| E2X (50% Permanent Discount) | $0.030 | $0.040 | $0.090 | Lowest Globally |
| fal.ai | $0.150 | $0.150 | $0.300 | 70%–80% lower |
| Replicate | $0.150 | $0.150 | $0.300 | 70%–80% lower |
| Google Gemini API | $0.134 | $0.134 | $0.240 | 62.5%–77.6% lower |
| Parameter | Value |
|---|---|
| Model Slug | google/nano-banana-2.1/edit-image |
| Required Inputs | prompt (string), image_urls (array of public URLs) |
| Resolutions | 1K ($0.03), 2K ($0.04), 4K ($0.09) |
| Aspect Ratios | 15 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) |
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/edit-image",
"input": {
"prompt": "Change the background to a sunset beach while keeping the subject identical",
"image_urls": ["https://example.com/source.jpg"],
"aspect_ratio": "4:3",
"resolution": "4K"
}
}'
Скидка 50% постоянная: мы сохраним её, пока Google не изменит цены. Это не временная акция. Обычные цены 1K / 2K / 4K: $0.06 / $0.08 / $0.18; к оплате $0.03 / $0.04 / $0.09. Генерация и редактирование стоят одинаково.