Hình ảnhGoogleMới

Nano Banana

Mô hình ảnh cơ sở được hỗ trợ bởi Gemini

model: "nano-banana"

Tài liệu APITài liệu dành cho agents

Các chế độ

Một ID mô hình, mọi chế độ bên dưới. Các trường bạn gửi chọn chế độ, và giá theo chế độ.

Chế độĐược chọn bằngGiá điển hình
Từ văn bản sang hình ảnhprompt
Yêu cầu ví dụ
{
  "model": "nano-banana",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.040

Đầu vào

Bắt buộc

Prompt

Tùy chọn
1

Count

Tùy chọn

Aspect Ratio

Tùy chọn nâng cao (2)

Cài đặt nhà cung cấp ngoài các điều khiển chính. Để trống để sử dụng các giá trị mặc định của mô hình.

Tùy chọn

File format of the result.

Tùy chọn

Random seed. The same seed and input reproduce the same result.

Kết quả

Nano BananaKết quả mẫu

Kết quả thực từ mô hình này. Chạy để xem kết quả của bạn ở đây.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "nano-banana",
  "input": {
    "prompt": "Illustrated editorial portrait of a New Orleans brass band second-liner mid-strut, trombone slide fully extended at the moment of a low note, loose expressive gouache brushwork blending photorealistic brass instrument sheen with painterly crowd confetti dissolving behind, vertical composition, deep cobalt and warm gold palette, feathered hat casting a dramatic shadow across the musician'\''s face, music and dance fine-art fusion"
  }
}'
Nano Banana 1Nano Banana 2Nano Banana 3Nano Banana 4Nano Banana 5Nano Banana 6