কনটেন্টে যান

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.com/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.com/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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Doitong-এ তৈরি

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

দেখানো পাবলিক কাজ: 16
Strong rule: style --- 3D Pixar ---. Высокий скалистый берег, омываемый бурными волнами глубокого...

Strong rule: style --- 3D Pixar ---. Высокий скалистый берег, омываемый бурными волнами глубокого темно-синего цвета. На вершине скалы стоит Певец, его фигура занимает центральную часть кадра. Камера снимает со среднего плана, чуть снизу вверх, чтобы подчеркнуть значимость момента. Солнце...

Strong rule: style --- 3D Pixar ---. Молодая девушка около 22 лет с яркими, выразительными карими...

Strong rule: style --- 3D Pixar ---. Молодая девушка около 22 лет с яркими, выразительными карими глазами и копной каштановых вьющихся волос, собранных в небрежный пучок. На ней стильные очки в тонкой золотистой оправе и уютный оверсайз-худи пастельно-фиолетового цвета. Лицо отражает...

Strong rule: style --- 3D Pixar ---. Силуэт Певца на фоне огромного заходящего солнца. Он стоит в...

Strong rule: style --- 3D Pixar ---. Силуэт Певца на фоне огромного заходящего солнца. Он стоит в профиль, голова гордо поднята. Камера на дальнем плане. Небо окрашено в невероятные оттенки огненно-рыжего, пурпурного и глубокого синего. Солнце выглядит как огромный светящийся шар. Атмосфера...

Strong rule: style --- 3D Pixar ---. На горизонте появляется старинный парусник с ярко-алыми пару...

Strong rule: style --- 3D Pixar ---. На горизонте появляется старинный парусник с ярко-алыми парусами, освещенный ярким солнцем. Он скользит по синей глади воды, оставляя за собой белый след. Камера снимает с уровня воды, глядя в сторону корабля. Цвета невероятно насыщенные: глубокая синева моря...

Strong rule: style --- 3D Pixar ---. Подводный мир в лазурных тонах. Лучи солнца пронзают толщу в...

Strong rule: style --- 3D Pixar ---. Подводный мир в лазурных тонах. Лучи солнца пронзают толщу воды, создавая танцующие световые столбы (каустику) на песчаном дне. Камера находится под водой, снимая снизу вверх. Видны косяки мелких серебристых рыб и медленно колышущиеся водоросли. Атмосфера...

Strong rule: style --- 3D Pixar ---. Стилизованный молодой мужчина около 30 лет с округлым лицом ...

Strong rule: style --- 3D Pixar ---. Стилизованный молодой мужчина около 30 лет с округлым лицом и светлой кожей. У него светло-каштановые волосы средней длины, разделенные на прямой пробор, и выразительные большие голубые глаза за очками в широкой черной оправе. На лице аккуратная бородка и...

Strong rule: style --- 3D Pixar ---. Стилизованный молодой мужчина около 30 лет с округлым лицом ...

Strong rule: style --- 3D Pixar ---. Стилизованный молодой мужчина около 30 лет с округлым лицом и светлой кожей. У него светло-каштановые волосы средней длины, разделенные на прямой пробор, и выразительные большие голубые глаза за очками в широкой черной оправе. На лице аккуратная бородка и...

Strong rule: style --- 3D Pixar ---. Сюрреалистичный и нежный образ: огромные волны, напоминающие...

Strong rule: 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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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