مواد پر جائیں

Nano Banana 2 Edit

انٹیگریٹ کریں

ماڈل id nano-banana-2/edit
# 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/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Turn this photo into a 1:7 scale collectible figurine of the dog on a round clear acrylic base, standing on a tidy wooden desk with soft studio light; keep the dog'\''s pose, fur colors and expression.",
    "images": [
      "https://content.doitong.com/dev-api/2026/10/21/req_3yckkmcr3dayonfhigdeaiia/0-pz7p4ydjvjJmL__s7lK6p_L0WSl1GK.png"
    ],
    "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"

یہ درخواست: ⁨$0.08⁩ 80 API کریڈٹس اس صفحے پر چلائیں

API کلید حاصل کریں
Google تصویر میں ترمیم 4K آؤٹ پٹ4K تک #editing#fast#multimodal

تیز ہدایات پر مبنی تدوین، جو ویڈیو، آڈیو کلپ یا PDF کو سیاق کے طور پر بھی پڑھ سکتی ہے۔

مثالیں

ان پٹ
آؤٹ پٹ · ~21 s
Turn this photo into a 1:7 scale collectible figurine of the dog on a round clear acrylic base, standing on a tidy wo...

پرامپٹTurn this photo into a 1:7 scale collectible figurine of the dog on a round clear acrylic base, standing on a tidy wooden desk with soft studio light; keep the dog's pose, fur colors and expression.

1K⁨$0.08⁩ · 80 API کریڈٹس

درخواست بنائیں

کنٹرولز ماڈل اسکیما سے تیار ہوتے ہیں۔ آپ کے بدلنے کے ساتھ کوڈ اور قیمت اپ ڈیٹ ہوتے ہیں۔

•لازمی 198 / 50000

تصویر میں editing کے لیے متنی ہدایات۔

image_urls
فائل ڈراپ کریں، یا

تصویر میں ترمیم یا تصویر سے تصویر کی تخلیق کے لیے اصل تصاویر URL کے ذریعے فراہم کریں، الا یہ کہ آپ کم از کم ایک متبادل ان پٹ فراہم کریں: `video_url`، `audio_url`، یا `pdf_url`۔

resolution

آؤٹ پٹ تصویر کا ریزولوشن۔

thinking_level

ماڈل کی thinking کو اس سطح پر فعال کرنے اور اس کے خیالات تخلیق میں شامل کرنے کے لیے 'minimal' یا 'high' منتخب کریں؛ سطح مقرر نہ کرنے پر thinking غیر فعال رہتی ہے۔

ڈیفالٹ auto

آؤٹ پٹ تصویر کا aspect ratio، بشمول extreme options 4:1، 1:4، 8:1، 1:8۔

num_images ڈیفالٹ 1

تخلیق کے لیے مطلوبہ تصاویر کی تعداد۔

ایڈوانسڈ system_prompt · video · audio · output_format · safety_tolerance · pdf_url · seed · limit_generations
0 / 50000

اختیاری request-wide persona اور output-style guidance، جو Gemini کو system instruction یا OpenAI-compatible providers کو system message کے طور پر بھیجی جاتی ہے۔ قدر خالی ہونے پر اس instruction کے لیے کچھ نہیں بھیجا جاتا۔

video_url
فائل ڈراپ کریں، یا

اختیاری ویڈیو سیاق، جو YouTube URL یا ویڈیو فائل کے http(s)/data URL کے طور پر فراہم کیا جاتا ہے۔ YouTube لنکس ڈاؤن لوڈ کیے بغیر براہ راست ماڈل تک پہنچتے ہیں؛ ویڈیو فائلیں ڈاؤن لوڈ کر کے اِن لائن بھیجی جاتی ہیں اور ان کا زیادہ سے زیادہ حجم 15 MB ہو سکتا ہے۔

audio_url
فائل ڈراپ کریں، یا

اختیاری آڈیو سیاق، کسی ایسی فائل کے http(s) یا data URL کے ذریعے فراہم کریں جس کا حجم 15 MB سے زیادہ نہ ہو۔ فائل ڈاؤن لوڈ کرنے کے بعد اِن لائن بھیجی جاتی ہے۔

output_format ڈیفالٹ png

نتیجہ خیز تصویر کا فائل فارمیٹ۔

safety_tolerance ڈیفالٹ 4

content-moderation tolerance کو کم ترین پابندی والی سطح 6 اور سخت ترین سطح 1 کے درمیان مقرر کریں؛ 1 زیادہ تر مواد کو روکتی ہے۔

اختیاری PDF context، 15 MB سے بڑی نہ ہونے والی دستاویز کے http(s) یا data URL کے ذریعے دیں۔ دستاویز download کے بعد inline بھیجی جاتی ہے۔

سیڈ کی قدر جو بے ترتیب اعداد کی تخلیق شروع کرتی ہے۔

POST /run/nano-banana-2/edit?wait=20 قیمت → ⁨$0.08⁩
# 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/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Turn this photo into a 1:7 scale collectible figurine of the dog on a round clear acrylic base, standing on a tidy wooden desk with soft studio light; keep the dog'\''s pose, fur colors and expression.",
    "images": [
      "https://content.doitong.com/dev-api/2026/10/21/req_3yckkmcr3dayonfhigdeaiia/0-pz7p4ydjvjJmL__s7lK6p_L0WSl1GK.png"
    ],
    "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 کو بھیجی جاتی ہے اور صرف اس صورت میں localStorage میں محفوظ ہوتی ہے جب آپ Remember منتخب کریں۔ API کلید حاصل کریں

Doitong پر بنایا گیا

Doitong کمیونٹی کے Nano Banana 2 سے بنائے گئے عوامی کام۔ ایک کلک میں پرامپٹ دوبارہ استعمال کریں۔

دکھائے گئے عوامی کام: 16
Art style: Cinematic Realistic. Крупный план Джулса, который с философским видом накалывает кусок...

Art style: Cinematic Realistic. Крупный план Джулса, который с философским видом накалывает кусок блина на вилку. Он смотрит на Винни с легким снисхождением. Винни на заднем плане выглядит взбешенным, его лицо искажено от злости. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT...

Art style: 3D Pixar. Мальчик раскрывает упаковку и находит внутри красивую книгу с историями о пр...

Art style: 3D Pixar. Мальчик раскрывает упаковку и находит внутри красивую книгу с историями о приключениях. Мама сидит рядом и улыбается. Мягкий свет, радость и уют. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative rendering directive — it overrides any...

Art style: 3D Pixar. Стойка ресепшн в дорогом отеле. Соня в униформе натянуто улыбается раздражен...

Art style: 3D Pixar. Стойка ресепшн в дорогом отеле. Соня в униформе натянуто улыбается раздраженному гостю. Рядом стоит ее коллега с сочувствующим видом. Стиль Pixar, обстановка строгая и деловая, освещение холодное. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the...

Art style: 3D Pixar. Взрослый персонаж опускается на одно колено перед ребенком в центре загромож...

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

Art style: 3D stylized animation. Девушка со светлыми волосами в черном платье стоит у красной ко...

Art style: 3D stylized animation. Девушка со светлыми волосами в черном платье стоит у красной ковровой дорожки. Ее глаза широко раскрыты от удивления, рот слегка приоткрыт. Теплое освещение падает на ее лицо. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the...

Art style: 3D Pixar, cinematic lighting, glossy materials. Оникс и Жемчужина с маленькой белой со...

Art style: 3D Pixar, cinematic lighting, glossy materials. Оникс и Жемчужина с маленькой белой собачкой на поводке стоят на улице перед очень богатым, современным особняком с большими окнами. Вечернее освещение, теплый свет из окон дома. 3D Pixar стиль, высокая детализация....

Art style: 3D Pixar. A cinematic close-up of a 3-year-old boy named Maxim looking guilty and clut...

Art style: 3D Pixar. A cinematic close-up of a 3-year-old boy named Maxim looking guilty and clutching his stomach, large expressive eyes filled with regret, soft warm indoor lighting with a shallow depth of field. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the...

Art style: 3D Pixar cinematic. In the same chocolate hallway, Kai, the mango boy from the poster,...

Art style: 3D Pixar cinematic. In the same chocolate hallway, Kai, the mango boy from the poster, walks past Luna. He suddenly stops in his tracks and looks at her, completely amazed. Soft cinematic lighting, 3D Pixar style. Он с ее не сводит глаз. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL...

Nano Banana 2 Edit کے بارے میں

Nano Banana 2 کا تدوینی موڈ: تصاویر بھیج کر تبدیلی بیان کریں، یا تصاویر چھوڑ کر ویڈیو، آڈیو فائل یا PDF (ہر ایک زیادہ سے زیادہ 15 MB) کو وضاحت کے سیاق کے طور پر دیں۔ آؤٹ پٹ 0.5K سے 4K تک، نسبتِ ابعاد 1:8 سے 8:1 تک، اختیاری ویب سرچ اور اعلیٰ غور کے ساتھ، ہر درخواست میں زیادہ سے زیادہ چار نتائج۔

پیرامیٹرز

معیاری نام یا مقامی نام میں سے صرف ایک بھیجیں، دونوں نہیں۔ معیاری نام

نامقسم ڈیفالٹمجاز تفصیل
promptلازمی
قسمstring
≤ 50,000 کریکٹرز≥ 3 کریکٹرز
تصویر میں editing کے لیے متنی ہدایات۔
num_imagesاختیاری num_outputs
قسمinteger
ڈیفالٹ1
1 – 4
تخلیق کے لیے مطلوبہ تصاویر کی تعداد۔
seedاختیاری
قسمinteger | null
سیڈ کی قدر جو بے ترتیب اعداد کی تخلیق شروع کرتی ہے۔
aspect_ratioاختیاری
قسمenum
ڈیفالٹauto
auto21:916:93:24:35:41:14:53:42:39:164:11:48:11:8
آؤٹ پٹ تصویر کا aspect ratio، بشمول extreme options 4:1، 1:4، 8:1، 1:8۔
output_formatاختیاری
قسمenum
ڈیفالٹpng
jpegpngwebp
نتیجہ خیز تصویر کا فائل فارمیٹ۔
safety_toleranceاختیاری
قسمenum
ڈیفالٹ4
123456
content-moderation tolerance کو کم ترین پابندی والی سطح 6 اور سخت ترین سطح 1 کے درمیان مقرر کریں؛ 1 زیادہ تر مواد کو روکتی ہے۔
image_urlsاختیاری images
قسمurl[] · image
تصویر میں ترمیم یا تصویر سے تصویر کی تخلیق کے لیے اصل تصاویر URL کے ذریعے فراہم کریں، الا یہ کہ آپ کم از کم ایک متبادل ان پٹ فراہم کریں: `video_url`، `audio_url`، یا `pdf_url`۔
system_promptاختیاری
قسمstring
ڈیفالٹ
≤ 50,000 کریکٹرز
اختیاری request-wide persona اور output-style guidance، جو Gemini کو system instruction یا OpenAI-compatible providers کو system message کے طور پر بھیجی جاتی ہے۔ قدر خالی ہونے پر اس instruction کے لیے کچھ نہیں بھیجا جاتا۔
resolutionاختیاری
قسمenum
ڈیفالٹ1K
0.5K1K2K4K
آؤٹ پٹ تصویر کا ریزولوشن۔
video_urlاختیاری video
قسمurl · video
اختیاری ویڈیو سیاق، جو YouTube URL یا ویڈیو فائل کے http(s)/data URL کے طور پر فراہم کیا جاتا ہے۔ YouTube لنکس ڈاؤن لوڈ کیے بغیر براہ راست ماڈل تک پہنچتے ہیں؛ ویڈیو فائلیں ڈاؤن لوڈ کر کے اِن لائن بھیجی جاتی ہیں اور ان کا زیادہ سے زیادہ حجم 15 MB ہو سکتا ہے۔
audio_urlاختیاری audio
قسمurl · audio
اختیاری آڈیو سیاق، کسی ایسی فائل کے http(s) یا data URL کے ذریعے فراہم کریں جس کا حجم 15 MB سے زیادہ نہ ہو۔ فائل ڈاؤن لوڈ کرنے کے بعد اِن لائن بھیجی جاتی ہے۔
pdf_urlاختیاری
قسمstring | null
اختیاری PDF context، 15 MB سے بڑی نہ ہونے والی دستاویز کے http(s) یا data URL کے ذریعے دیں۔ دستاویز download کے بعد inline بھیجی جاتی ہے۔
limit_generationsاختیاری
قسمboolean
ڈیفالٹtrue
تخلیق کی تجرباتی حد جسے فعال کرنے سے معیار متاثر ہو سکتا ہے۔ `True` کے ساتھ، پرامپٹ کے ہر دور میں تخلیق کی تعداد 1 تک محدود رہتی ہے، پرامپٹ میں تصاویر کی تعداد سے متعلق ہدایات اور ماڈل کی بنائی ہوئی درمیانی تصاویر نظر انداز کر دی جاتی ہیں۔
thinking_levelاختیاری
قسمenum
minimalhigh
ماڈل کی thinking کو اس سطح پر فعال کرنے اور اس کے خیالات تخلیق میں شامل کرنے کے لیے 'minimal' یا 'high' منتخب کریں؛ سطح مقرر نہ کرنے پر thinking غیر فعال رہتی ہے۔
لازمی معیاری نام، یہ بھی قبول ہے

فائل پیرامیٹرز عوامی https:// URL، 10 MB تک کی data: URI، یا اپ لوڈ کے file_url کو قبول کرتے ہیں۔ فائلیں

آؤٹ پٹ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "nano-banana-2/edit",
  "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": "Turn this night street scene into a sunny morning, keep the sneaker and the puddle reflections",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_sneaker_ad.jpg"
    ],
    "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-ماہ ادائیگی) یا مفت میں 7 دن تک، آپ کی اکاؤنٹ سیٹنگ یا ?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/ur/developers/models/nano-banana-2/edit.md. تمام ماڈلز اور گائیڈز: https://doitong.com/developers/llms.txt