Lompat ke konten

Nano Banana Pro

Integrasikan

ID model nano-banana-pro
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/nano-banana-pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Cinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazing softly off to the side with a gentle smile. She wears a deep crimson red flowy dress with puffed sleeves and a textured, crinkled fabric. Small floral pearl-and-crystal stud earrings. Dramatic low-key lighting: a single warm window light casting geometric window-shadow patterns on a dark wall, soft glow on her face, deep black background. Rosy cheeks, soft natural makeup, dreamy and romantic mood. Shallow depth of field, 85mm lens, ultra-detailed skin texture, rich contrast, moody studio photography, vertical 9:16",
    "aspect_ratio": "9:16",
    "resolution": "1K"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Permintaan ini: $0,15 150 kredit API Jalankan di halaman ini

Dapatkan kunci API
Google Teks ke Gambar Output 4Khingga 4K #typography#realism

Model gambar terkuat Google, dengan tulisan yang andal, tata letak kompleks dan output hingga 4K.

Contoh

Output · ~44 dtk
Cinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazin...

PromptCinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazing softly off to the side with a gentle smile. She wears a deep crimson red flowy dress with puffed sleeves and a textured, crinkled fabric. Small floral pearl-and-crystal stud earrings. Dramatic low-key lighting: a single warm window light casting geometric window-shadow patterns on a dark wall, soft glow on her face, deep black background. Rosy cheeks, soft natural makeup, dreamy and romantic mood. Shallow depth of field, 85mm lens, ultra-detailed skin texture, rich contrast, moody studio photography, vertical 9:16

1K9:16$0,15 · 150 kredit API

Prompt dari @LettyVesper di X

Buat permintaan

Kontrol dibuat dari skema model. Kode dan harga diperbarui saat Anda mengubahnya.

•wajib 638 / 50000

Instruksi teks yang digunakan untuk membuat gambar.

aspect_ratio

Rasio aspek gambar hasil.

resolution

Resolusi gambar output.

num_images bawaan 1

Jumlah gambar yang diminta untuk dibuat.

Lanjutan system_prompt · output_format · safety_tolerance · seed · limit_generations
0 / 50000

Panduan persona dan gaya output opsional untuk seluruh permintaan, dikirim ke Gemini sebagai instruksi sistem atau ke penyedia yang kompatibel dengan OpenAI sebagai pesan sistem. Tidak ada yang dikirim untuk instruksi ini jika nilainya kosong.

output_format bawaan png

Format file untuk gambar hasil.

safety_tolerance bawaan 4

Atur toleransi moderasi konten antara tingkat paling tidak ketat, 6, dan tingkat paling ketat, 1, yang memblokir sebagian besar konten.

Nilai seed yang menginisialisasi pembuatan angka acak.

POST /run/nano-banana-pro?wait=20 estimasi harga → $0,15
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/nano-banana-pro?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Cinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazing softly off to the side with a gentle smile. She wears a deep crimson red flowy dress with puffed sleeves and a textured, crinkled fabric. Small floral pearl-and-crystal stud earrings. Dramatic low-key lighting: a single warm window light casting geometric window-shadow patterns on a dark wall, soft glow on her face, deep black background. Rosy cheeks, soft natural makeup, dreamy and romantic mood. Shallow depth of field, 85mm lens, ultra-detailed skin texture, rich contrast, moody studio photography, vertical 9:16",
    "aspect_ratio": "9:16",
    "resolution": "1K"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Jalankan permintaan ini

Key Anda tetap berada di browser ini: key hanya dikirim ke Doitong API dan disimpan (localStorage) hanya jika Anda mencentang Ingat. Dapatkan kunci API

Dibuat di Doitong

Karya publik yang dibuat dengan Nano Banana Pro oleh komunitas Doitong. Gunakan kembali prompt dengan satu klik.

Karya publik yang ditampilkan: 16
Full-body character reference of the character shown in the reference film frame: exactly the sam...

Full-body character reference of the character shown in the reference film frame: exactly the same design, shape, proportions, colors, materials, wear and markings. Standing, front three-quarter view, the whole figure in frame, neutral dark studio background, soft even light, photorealistic,...

Нужен кадр вот к этой секунде 00:04 без текста Используй референс только при необходимости, если ...

Нужен кадр вот к этой секунде 00:04 без текста Используй референс только при необходимости, если он есть в кадре по этому сценарию Вот подробный сценарий вирального ролика (Reels/TikTok/Shorts), созданный по всем вашим вводным. **Общая концепция:** Эстетика «old money» и современной роскоши...

Full-body character reference of the character shown in the reference film frame: exactly the sam...

Full-body character reference of the character shown in the reference film frame: exactly the same design, shape, proportions, colors, materials, wear and markings. Standing, front three-quarter view, the whole figure in frame, neutral dark studio background, soft even light, photorealistic,...

Art style: 3D Pixar, highly detailed, vibrant colors, expr.... 3D Pixar style. A dark, snowy city...

Art style: 3D Pixar, highly detailed, vibrant colors, expr.... 3D Pixar style. A dark, snowy city street at night. The banana man looks incredibly guilty and sad as he places the two tiny baby grapes into a metal trash can. Heavy snow is falling. Somber atmosphere....

Art style: 3D Pixar. Young man Dmitry looking exhausted, split image: left side dull grayscale pa...

Art style: 3D Pixar. Young man Dmitry looking exhausted, split image: left side dull grayscale park walk, right side vibrant exploding phone screen and glowing overloaded dopamine receptors in brain overlay. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustr...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Очаровательная антропоморфная овечка девочка в полный рост, тело удлиненное и...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustr...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Милая женственная антропоморфная овечка в полный рост, высокая стройная фигура, пушистая светлая шерсть, длинная шея без без шерсти,...

Strong rule: style --- Whimsical 3D Illustration ---. Милая антропоморфная овечка в полный рост, ...

Strong rule: style --- Whimsical 3D Illustration ---. Милая антропоморфная овечка в полный рост, длинная длинная стройная фигура, пушистая кремово-белая кудрявая шерсть, длинная тонкая тонкая шея как палочка без шерсти лысая, большие висячие ушки, светло-коричневая мордочка с мягкими округлыми...

Tentang Nano Banana Pro

Model gambar berbasis Gemini yang menalar tentang prompt sebelum menggambar, sehingga poster, infografik, menu, dan foto produk dengan teks yang dapat dibaca jauh lebih sering berhasil dibandingkan model yang hanya menggunakan difusi. Pilih output 1K, 2K, atau 4K dan rasio aspek umum apa pun, serta secara opsional izinkan model mencari informasi di web untuk mendasarkan gambar pada fakta terkini. Hingga empat gambar per permintaan.

Parameter

Kirim nama kanonis atau nama asli, bukan keduanya. Nama kanonis

NamaTipe BawaanDiizinkan Deskripsi
promptwajib
Tipestring
≤ 50.000 karakter≥ 3 karakter
Instruksi teks yang digunakan untuk membuat gambar.
num_imagesopsional num_outputs
Tipeinteger
Bawaan1
1 – 4
Jumlah gambar yang diminta untuk dibuat.
seedopsional
Tipeinteger | null
Nilai seed yang menginisialisasi pembuatan angka acak.
aspect_ratioopsional
Tipeenum
Bawaan1:1
auto21:916:93:24:35:41:14:53:42:39:16
Rasio aspek gambar hasil.
output_formatopsional
Tipeenum
Bawaanpng
jpegpngwebp
Format file untuk gambar hasil.
safety_toleranceopsional
Tipeenum
Bawaan4
123456
Atur toleransi moderasi konten antara tingkat paling tidak ketat, 6, dan tingkat paling ketat, 1, yang memblokir sebagian besar konten.
system_promptopsional
Tipestring
Bawaan
≤ 50.000 karakter
Panduan persona dan gaya output opsional untuk seluruh permintaan, dikirim ke Gemini sebagai instruksi sistem atau ke penyedia yang kompatibel dengan OpenAI sebagai pesan sistem. Tidak ada yang dikirim untuk instruksi ini jika nilainya kosong.
resolutionopsional
Tipeenum
Bawaan1K
1K2K4K
Resolusi gambar output.
limit_generationsopsional
Tipeboolean
Bawaantrue
Batas pembuatan eksperimental: mengaktifkan `True` mengganti arahan jumlah gambar apa pun dalam prompt dan membatasi setiap putaran prompting menjadi 1 pembuatan.
wajib Nama kanonis, juga diterima

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nano-banana-pro",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 150,
    "usd": "0.15",
    "charged": 150,
    "refunded": 0
  },
  "input": {
    "prompt": "A minimalist poster for a jazz night called \"Blue Hour\", a saxophone silhouette against a deep blue sky, bold sans-serif title",
    "aspect_ratio": "3:4",
    "resolution": "2K"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ],
    "description": "string"
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
File Anda, pilihan AndaSetiap outputs[].url adalah salinan di penyimpanan kami: disimpan selamanya (dikenai biaya per GB-bulan) atau 7 hari gratis, sesuai setelan akun atau ?storage=.
Struktur sama di setiap modeltype, url, content_type, width, height, dan duration, untuk gambar, video, dan audio. output adalah objek hasil milik model.
Field output
images
array of object {url, content_type, file_name, file_size, width, height}Gambar yang dihasilkan oleh model.
description
stringDeskripsi yang menyertai gambar yang dibuat.

Model lainnya: Teks ke Gambar

Untuk agen AI: halaman ini dalam Markdown tersedia di https://doitong.com/id/developers/models/nano-banana-pro.md. Semua model dan panduan: https://doitong.com/developers/llms.txt