Langsung ke konten
Runstage

Google DeepMind

Nano Banana 2

Model pembuat gambar dari teks berbasis Gemini 3.1 Flash Image dari Google. Model ini menghasilkan teks yang mudah dibaca, mengikuti prompt panjang yang terdiri dari beberapa bagian, dan bisa membuat berbagai gambar dari potret fotorealistis hingga diagram berlabel, dengan ukuran hingga 4096 x 4096 dalam sekali proses.

Harga API yang dipublikasikan
~$0.0845 / 1K (1024px)
Lihat semua tingkatan
1K (1024px)~$0.0845
2K (2048px)~$0.1372
4K (4096px)~$0.2229
ID model API
Antarmuka API Gambarnano-banana-2
Endpoint
POST /api/v2/run
Masukan
Text prompt
Keluaran
Image (PNG / WebP)
Tarif
~$0.0845 / 1K (1024px)
Contoh prompt

“An overhead flat-lay photograph of a weekend breakfast spread on a scratched zinc table, shot from directly above with a slight wide-angle. A cast iron skillet holds a golden dutch baby pancake dusted with icing sugar an…”

Cocok untuk

Referensi API

ID model API
nano-banana-2
Pengembang model
Google DeepMind
Modalitas
Pembuatan dan penyuntingan gambar
Masukan
Text prompt
Keluaran
Image (PNG / WebP)
Endpoint
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media
Infrastruktur
Kapasitas cloud mitra

Parameter permintaan

  • modelstring · wajib

    Exact Runstage model slug (nano-banana-2).

  • promptstring · wajib

    Visual description of subject, composition, lighting, and medium.

  • width / heightinteger · opsional

    Output pixel dimensions (e.g. 1024×1024 or 1536×1024).

Parameter tambahan

  • quality
  • seed
  • enhance_prompt

Mulai cepat

Salin permintaan siap pakai dengan ID model nano-banana-2. Periksa estimasi gratis terlebih dahulu (biaya akhir ditetapkan setelah selesai), lalu jalankan dengan kunci API Runstage Anda.

Buka Studio
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"nano-banana-2","width":1024,"height":1024}'

# 2. Submit metered job
curl -X POST 'https://runstage.dev/api/v2/run' \
  -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{   "model": "nano-banana-2",   "prompt": "An overhead flat-lay photograph of a weekend breakfast spread on a scratched zinc table, shot from directly above with a slight wide-angle. A cast iron skillet holds a golden dutch baby pancake dusted with icing sugar and torn figs, beside a chipped enamel jug of cream, a linen napkin in ochre, two speckled ceramic plates and a scattering of blueberries. Hard morning sun enters from the right, casting crisp geometric window shadows across the surface and lighting steam rising from a small espresso cup. Rich saturated colour, tactile textures, editorial food photography.",   "width": 1024,   "height": 1024,   "seed": 42 }'

# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  'https://runstage.dev/api/v2/jobs/<request_id>'

Harga

Satuan tagihan dan opsiTarif (USD)
1K · 1024×1024Standard square or portrait output (estimated)~$0.0845
2K · 2048×2048High-resolution editorial artwork (estimated)~$0.1372
4K · 4096×4096Ultra-high-resolution print master (estimated)~$0.2229

Catatan penagihan

  • Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.
  • Dapatkan estimasi biaya gratis melalui POST /api/v2/quote sebelum menggunakan kredit prabayar.
  • Saat tugas selesai atau gagal, dana yang dicadangkan otomatis disesuaikan dengan biaya eksekusi akhir dan kredit yang tidak terpakai dikembalikan.
  • Model menggunakan kapasitas eksternal mitra. Biaya akhir disesuaikan berdasarkan metrik eksekusi yang dilaporkan.

Tarif katalog terkini di Runstage. Kredit prabayar USD dengan batas belanja per kunci.

Bandingkan di katalog lengkap