কনটেন্টে যান

Nano Banana Pro

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

মডেল id nano-banana-pro
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Google-এর সবচেয়ে শক্তিশালী ছবি মডেল, নির্ভরযোগ্য লেটারিং, জটিল লেআউট এবং সর্বোচ্চ 4K আউটপুটসহ।

উদাহরণ

আউটপুট · ~44 s
Cinematic portrait of a young woman with long, silky dark brown hair, sitting and resting her chin on her hand, gazin...

প্রম্পট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

1K9:16০.১৫$ · ১৫০ API ক্রেডিট

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

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

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

•আবশ্যক 638 / 50000

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

aspect_ratio

ফলস্বরূপ ছবির অ্যাসপেক্ট রেশিও।

resolution

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

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-pro?wait=20 মূল্য → ০.১৫$
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Nano Banana Pro সম্পর্কে

একটি Gemini-ভিত্তিক ছবি মডেল, যা আঁকার আগে প্রম্পট নিয়ে বিশ্লেষণ করে। তাই পোস্টার, ইনফোগ্রাফিক, মেনু এবং পাঠযোগ্য টেক্সটসহ প্রোডাক্ট শট diffusion-only মডেলের তুলনায় অনেক বেশি নির্ভরযোগ্যভাবে সঠিক হয়। 1K, 2K বা 4K আউটপুট এবং যেকোনো প্রচলিত অ্যাসপেক্ট রেশিও বেছে নিন; ছবিকে বর্তমান তথ্যের সঙ্গে সংযুক্ত করতে ঐচ্ছিকভাবে ওয়েবে তথ্য খোঁজার অনুমতি দিতে পারেন। প্রতি রিকোয়েস্টে সর্বোচ্চ চারটি ছবি।

প্যারামিটার

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

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

আউটপুট

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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/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-pro.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt