কনটেন্টে যান

Nano Banana 2

ইন্টিগ্রেট করুন

মডেল id nano-banana-2
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/nano-banana-2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through cinematic macro photography. A small rectangular foundation area partially prepared on natural brown sand and compact soil, realistic miniature construction materials scattered naturally around the site, tiny red bricks, miniature cement bags, wooden beams, gravel, sand piles, metal rods, tiny buckets, miniature trowel, measuring tape, spirit level and other authentic construction tools. Giant human fingers and realistic human hands carefully interacting with the miniature materials, positioning the first construction pieces. The future farmhouse footprint clearly visible but construction has only just begun, with no completed walls or roof. Subtle markings and foundation trenches visible in the soil. A small empty area beside the foundation reserved for a future swimming pool. Extremely realistic material scale, authentic construction imperfections, tiny dust particles, cement residue, fingerprints, rough brick texture and granular soil detail. Professional miniature craftsmanship, photorealistic 8K detail, cinematic studio lighting, realistic soft shadows, shallow depth of field, strong foreground-to-background scale contrast, sharp focus on construction area, premium macro lens photography, realistic bokeh, natural color reproduction, high dynamic range, tactile textures, physically accurate lighting, believable human-to-miniature scale, no cartoon appearance, no CGI look, no text, no watermark.",
    "resolution": "1K"
  }'

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

এই অনুরোধ: ০.০৮$ ৮০ API ক্রেডিট · ≈ ৮.৬১₽ এই পেজে চালান

API কী পান
Google টেক্সট থেকে ছবি 4K আউটপুট4K পর্যন্ত #typography#fast#wide-formats

Google-এর দ্রুত Gemini ছবি মডেল, দ্রুত 0.5K ড্রাফট থেকে 4K পর্যন্ত, চরম অ্যাসপেক্ট রেশিও ও ওয়েব গ্রাউন্ডিংসহ।

উদাহরণ

আউটপুট · ~19 s
Hyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through ...

প্রম্পটHyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through cinematic macro photography. A small rectangular foundation area partially prepared on natural brown sand and compact soil, realistic miniature construction materials scattered naturally around the site, tiny red bricks, miniature cement bags, wooden beams, gravel, sand piles, metal rods, tiny buckets, miniature trowel, measuring tape, spirit level and other authentic construction tools. Giant human fingers and realistic human hands carefully interacting with the miniature materials, positioning the first construction pieces. The future farmhouse footprint clearly visible but construction has only just begun, with no completed walls or roof. Subtle markings and foundation trenches visible in the soil. A small empty area beside the foundation reserved for a future swimming pool. Extremely realistic material scale, authentic construction imperfections, tiny dust particles, cement residue, fingerprints, rough brick texture and granular soil detail. Professional miniature craftsmanship, photorealistic 8K detail, cinematic studio lighting, realistic soft shadows, shallow depth of field, strong foreground-to-background scale contrast, sharp focus on construction area, premium macro lens photography, realistic bokeh, natural color reproduction, high dynamic range, tactile textures, physically accurate lighting, believable human-to-miniature scale, no cartoon appearance, no CGI look, no text, no watermark.

1K০.০৮$ · ৮০ API ক্রেডিট

X-এ @Strength04_X-এর প্রম্পট

একটি অনুরোধ তৈরি করুন

মডেল স্কিমা থেকে কন্ট্রোল তৈরি করা হয়। এগুলো পরিবর্তন করলে কোড ও মূল্য আপডেট হয়।

•আবশ্যক 1538 / 50000

ছবি জেনারেট করতে ব্যবহৃত টেক্সট নির্দেশনা।

resolution

আউটপুট ছবির রেজোলিউশন।

thinking_level

মডেলের চিন্তন ওই স্তরে সক্রিয় করতে 'minimal' অথবা 'high' নির্বাচন করুন এবং সেই চিন্তন জেনারেশনে অন্তর্ভুক্ত করুন; স্তর নির্ধারণ না করলে চিন্তন নিষ্ক্রিয় থাকে।

ডিফল্ট auto

জেনারেট করা ছবির aspect ratio স্পষ্টভাবে নির্বাচন করুন; এর মধ্যে 4:1, 1:4, 8:1, 1:8-এর মতো চরম বিকল্প রয়েছে, অথবা মডেলের প্রম্পট-ভিত্তিক নির্বাচনের জন্য "auto" বেছে নিন।

num_images ডিফল্ট 1

জেনারেশনের জন্য অনুরোধ করা ছবির সংখ্যা।

অ্যাডভান্সড system_prompt · output_format · safety_tolerance · seed · limit_generations
0 / 50000

ঐচ্ছিক রিকোয়েস্ট-ব্যাপী পারসোনা এবং আউটপুট-স্টাইল নির্দেশনা, যা Gemini-কে সিস্টেম নির্দেশনা হিসেবে বা OpenAI-compatible provider-কে সিস্টেম মেসেজ হিসেবে পাঠানো হয়। এই মানটি ফাঁকা থাকলে এই নির্দেশনার জন্য কিছুই পাঠানো হয় না।

output_format ডিফল্ট png

ফলাফল ছবির ফাইল ফরম্যাট।

safety_tolerance ডিফল্ট 4

বিষয়বস্তু মডারেশনের সহনশীলতা সর্বনিম্ন কঠোর স্তর 6 থেকে সর্বাধিক কঠোর স্তর 1-এর মধ্যে নির্ধারণ করুন; 1 অধিকাংশ বিষয়বস্তু ব্লক করে।

এলোমেলো সংখ্যা জেনারেশন শুরু করা সিড মান।

POST /run/nano-banana-2?wait=20 মূল্য → ০.০৮$
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/nano-banana-2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hyper-realistic miniature luxury farmhouse construction site at the very first stage of construction, viewed through cinematic macro photography. A small rectangular foundation area partially prepared on natural brown sand and compact soil, realistic miniature construction materials scattered naturally around the site, tiny red bricks, miniature cement bags, wooden beams, gravel, sand piles, metal rods, tiny buckets, miniature trowel, measuring tape, spirit level and other authentic construction tools. Giant human fingers and realistic human hands carefully interacting with the miniature materials, positioning the first construction pieces. The future farmhouse footprint clearly visible but construction has only just begun, with no completed walls or roof. Subtle markings and foundation trenches visible in the soil. A small empty area beside the foundation reserved for a future swimming pool. Extremely realistic material scale, authentic construction imperfections, tiny dust particles, cement residue, fingerprints, rough brick texture and granular soil detail. Professional miniature craftsmanship, photorealistic 8K detail, cinematic studio lighting, realistic soft shadows, shallow depth of field, strong foreground-to-background scale contrast, sharp focus on construction area, premium macro lens photography, realistic bokeh, natural color reproduction, high dynamic range, tactile textures, physically accurate lighting, believable human-to-miniature scale, no cartoon appearance, no CGI look, no text, no watermark.",
    "resolution": "1K"
  }'

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

এই অনুরোধ চালান

আপনার key এই ব্রাউজারেই থাকে: এটি শুধু Doitong API-তে পাঠানো হয় এবং Remember টিক দিলে কেবল localStorage-এ সংরক্ষিত হয়। একটি API কী পান

Doitong-এ তৈরি

Doitong কমিউনিটির Nano Banana 2 দিয়ে তৈরি পাবলিক কাজ। এক ক্লিকে একটি প্রম্পট পুনরায় ব্যবহার করুন।

দেখানো পাবলিক কাজ: 16
Art style: Glamour 3D. A clearly recognizable likeness of Семен — keep their real face shape, ski...

Art style: Glamour 3D. A clearly recognizable likeness of Семен — keep their real face shape, skin tone, hairstyle, build and any signature look (hair, kit, number). 25лет статный 180 русые волосы зелёные глаза немного есть борода. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT...

Art style: Cinematic Realistic. Tight medium shot. Daniel reaches out and gently places a solid r...

Art style: Cinematic Realistic. Tight medium shot. Daniel reaches out and gently places a solid reassuring hand on Mark's shoulder, giving it an affectionate squeeze. Mark looks down at the hand, then raises his eyes to meet Daniel's gaze, lingering eye contact, warm cinematic key light, soft...

Art style: 3D Pixar. Pixar 3D style, vibrant karaoke club lounge Billionaire, neon lights, glowin...

Art style: 3D Pixar. Pixar 3D style, vibrant karaoke club lounge Billionaire, neon lights, glowing atmosphere. Beautiful cute animated Kazakh girl sitting with friends at a table, looking with sparkling starry eyes at a handsome charming guy sitting nearby, magical colorful ambience...

Art style: Children's Book. Full-length view, the entire figure visible from head to feet, standi...

Art style: Children's Book. Full-length view, the entire figure visible from head to feet, standing upright and centered — a small, very fluffy kitten with soft downy fur in warm grey-and-cream tabby tones, faint stripes along the back and tail. It has an oversized round head, huge expressive...

Art style: Реалистичный кинематографичный. Крупный план лица женщины-эксперта, завершающей свою м...

Art style: Реалистичный кинематографичный. Крупный план лица женщины-эксперта, завершающей свою мысль. Она смотрит прямо в объектив, ее взгляд выражает поддержку. Волосы обрамляют лицо, создавая мягкую рамку. Детали макияжа и текстура губной помады видны отчетливо. На заднем плане огни торгового...

Art style: 3D Pixar. Артём открывает входную дверь из дома и выходит на яркую, оживленную и красо...

Art style: 3D Pixar. Артём открывает входную дверь из дома и выходит на яркую, оживленную и красочную городскую улицу, наполненную энергией и солнечным светом. Артем одет в дорогой классический черный костюм. Стиль Pixar, оптимистичное настроение, широкоугольный объектив....

Art style: 3D Pixar. Тесная ночная комната на верхнем этаже старого дома, окно приоткрыто, за сте...

Art style: 3D Pixar. Тесная ночная комната на верхнем этаже старого дома, окно приоткрыто, за стеклом мерцают далёкие городские огни и влажные крыши после дождя, стол завален радиодеталями, проводами, блокнотами и старым приёмником. Средний план с лёгкого верхнего угла, камера смотрит на Леру у...

Школьный коридор после уроков, на заднем плане видны уходящие ученики. Рома стоит у стены, его ру...

Школьный коридор после уроков, на заднем плане видны уходящие ученики. Рома стоит у стены, его рубашка надорвана, под глазом начинает проступать синяк. Он сжимает кулаки, глядя в пол. Освещение — резкий свет из окна, подчеркивающий его гнев и обиду. Композиция на уровне глаз ребенка, передающая...

Nano Banana 2 সম্পর্কে

Nano Banana Pro-এর দ্রুততর, সাশ্রয়ী সংস্করণ, যা ছবির টেক্সট ও একাধিক অবজেক্টের দৃশ্যও ভালোভাবে পরিচালনা করে। আউটপুট 0.5K প্রিভিউ থেকে 4K পর্যন্ত, আর ব্যানার ও উল্লম্ব স্টোরির জন্য অ্যাসপেক্ট রেশিও 1:8 থেকে 8:1 পর্যন্ত। ঐচ্ছিক ওয়েব সার্চ ছবিটিকে বর্তমান তথ্যের সঙ্গে সংযুক্ত করে, আর ঐচ্ছিক উচ্চ থিংকিং স্তর জটিল লেআউট আঁকার আগে পরিকল্পনা করে। প্রতি রিকোয়েস্টে সর্বোচ্চ চারটি ছবি।

প্যারামিটার

ক্যানোনিকাল নাম অথবা নেটিভ নাম—দুটো একসঙ্গে নয়—পাঠান। ক্যানোনিকাল নামগুলো

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptআবশ্যক
ধরনstring
≤ ৫০,০০০টি অক্ষর≥ ৩টি অক্ষর
ছবি জেনারেট করতে ব্যবহৃত টেক্সট নির্দেশনা।
num_imagesঐচ্ছিক num_outputs
ধরনinteger
ডিফল্ট1
১ – ৪
জেনারেশনের জন্য অনুরোধ করা ছবির সংখ্যা।
seedঐচ্ছিক
ধরনinteger | null
এলোমেলো সংখ্যা জেনারেশন শুরু করা সিড মান।
aspect_ratioঐচ্ছিক
ধরনenum
ডিফল্টauto
auto21:916:93:24:35:41:14:53:42:39:164:11:48:11:8
জেনারেট করা ছবির aspect ratio স্পষ্টভাবে নির্বাচন করুন; এর মধ্যে 4:1, 1:4, 8:1, 1:8-এর মতো চরম বিকল্প রয়েছে, অথবা মডেলের প্রম্পট-ভিত্তিক নির্বাচনের জন্য "auto" বেছে নিন।
output_formatঐচ্ছিক
ধরনenum
ডিফল্টpng
jpegpngwebp
ফলাফল ছবির ফাইল ফরম্যাট।
safety_toleranceঐচ্ছিক
ধরনenum
ডিফল্ট4
123456
বিষয়বস্তু মডারেশনের সহনশীলতা সর্বনিম্ন কঠোর স্তর 6 থেকে সর্বাধিক কঠোর স্তর 1-এর মধ্যে নির্ধারণ করুন; 1 অধিকাংশ বিষয়বস্তু ব্লক করে।
system_promptঐচ্ছিক
ধরনstring
ডিফল্ট
≤ ৫০,০০০টি অক্ষর
ঐচ্ছিক রিকোয়েস্ট-ব্যাপী পারসোনা এবং আউটপুট-স্টাইল নির্দেশনা, যা Gemini-কে সিস্টেম নির্দেশনা হিসেবে বা OpenAI-compatible provider-কে সিস্টেম মেসেজ হিসেবে পাঠানো হয়। এই মানটি ফাঁকা থাকলে এই নির্দেশনার জন্য কিছুই পাঠানো হয় না।
resolutionঐচ্ছিক
ধরনenum
ডিফল্ট1K
0.5K1K2K4K
আউটপুট ছবির রেজোলিউশন।
limit_generationsঐচ্ছিক
ধরনboolean
ডিফল্টtrue
পরীক্ষামূলক জেনারেশন সীমা, সক্রিয় থাকলে যা গুণমানকে প্রভাবিত করতে পারে। `True` হলে প্রতিটি প্রম্পটিং রাউন্ডে সর্বোচ্চ 1টি জেনারেশন করা হয়; প্রম্পটের ছবি-সংখ্যা নির্দেশনা অগ্রাহ্য হয় এবং মডেল-জেনারেট করা মধ্যবর্তী ছবি উপেক্ষা করা হয়।
thinking_levelঐচ্ছিক
ধরনenum
minimalhigh
মডেলের চিন্তন ওই স্তরে সক্রিয় করতে 'minimal' অথবা 'high' নির্বাচন করুন এবং সেই চিন্তন জেনারেশনে অন্তর্ভুক্ত করুন; স্তর নির্ধারণ না করলে চিন্তন নিষ্ক্রিয় থাকে।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nano-banana-2",
  "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": 80,
    "usd": "0.08",
    "charged": 80,
    "refunded": 0
  },
  "input": {
    "prompt": "A cozy bookshop window at night with a hand-painted sign reading \"Open Late\", warm light, rain on the glass",
    "aspect_ratio": "4:5",
    "resolution": "1K"
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
আপনার ফাইল, আপনার পছন্দপ্রতিটি outputs[].url আমাদের স্টোরেজে একটি কপি: চিরকাল রাখা হয় (প্রতি GB-মাস অনুযায়ী অর্থপ্রদত্ত) অথবা অ্যাকাউন্ট সেটিংস বা ?storage= অনুযায়ী বিনামূল্যে ৭ দিন পর্যন্ত।
প্রতিটি মডেলে একই গঠনছবি, ভিডিও এবং অডিও—সব ক্ষেত্রেই type, url, content_type, width, height এবং duration। output হলো মডেলের নিজস্ব ফলাফল অবজেক্ট।
আউটপুটের ফিল্ড
images
array of object {url, content_type, file_name, file_size, width, height}মডেল দ্বারা তৈরি ছবি।
description
stringজেনারেট করা ছবিগুলোর সঙ্গে থাকা বিবরণ।

আরও মডেল: টেক্সট থেকে ছবি

AI এজেন্টদের জন্য: এই পৃষ্ঠাটি Markdown হিসেবে এখানে আছে https://doitong.com/bn/developers/models/nano-banana-2.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt