কনটেন্টে যান

GPT-Image 1.5 · Edit

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

মডেল id gpt-image-1.5/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/gpt-image-1.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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 কী পান
OpenAI ছবি সম্পাদনা #openai#gpt-image

টার্গেটেড পরিবর্তনের জন্য ঐচ্ছিক মাস্ক এবং উচ্চ ইনপুট ফিডেলিটির ডিফল্টসহ সংস্করণ 1.5 ছবি সম্পাদনা

Doitong-এ তৈরি

Doitong কমিউনিটির GPT-Image 1.5 দিয়ে তৈরি পাবলিক কাজ। এক ক্লিকে একটি প্রম্পট পুনরায় ব্যবহার করুন।

দেখানো পাবলিক কাজ: 16
A polished studio concept art board — a single composite page that reads as a high-end pre-produc...

A polished studio concept art board — a single composite page that reads as a high-end pre-production pitch deck for an animated short. NOT a vintage pencil sketch, NOT a finished movie frame, but a polished concept page in the visual treatment described below. Layout: TOP HEADER (left): bold...

Создай не меняя черты лица. Фотореалистичный винтажный cinematic portrait. В кадре большое наполь...

Создай не меняя черты лица. Фотореалистичный винтажный cinematic portrait. В кадре большое напольное зеркало в тонкой арочной раме. Спиной к камере у зеркала стоит взрослая девушка-, корпус развёрнут к своему отражению, голова слегка повёрнута в профиль, взгляд направлен в зеркало на свою...

Создай не меняя черты лица. Фотореалистичный винтажный cinematic portrait. В кадре большое наполь...

Создай не меняя черты лица. Фотореалистичный винтажный cinematic portrait. В кадре большое напольное зеркало в тонкой арочной раме. Спиной к камере у зеркала стоит взрослая девушка-, корпус развёрнут к своему отражению, голова слегка повёрнута в профиль, взгляд направлен в зеркало на свою...

Create image: ultra realistic image: man 35 years old sitting in super luxury house (ref4). Luxur...

Create image: ultra realistic image: man 35 years old sitting in super luxury house (ref4). Luxury furniture, marble floor with east carpet. The most luxurious way. Middle shot One cake in front of him on the marble table, with thin golden lit candles. A man sits relaxed on a luxurious sofa. The...

Create image: ultra realistic image: man 35 years old sitting in super luxury house. Luxury furni...

Create image: ultra realistic image: man 35 years old sitting in super luxury house. Luxury furniture, marble floor with east carpet. The most luxurious way. Middle shot One cake in front of him on the marble table, with thin golden lit candles. A man sits relaxed on a luxurious sofa. The man is...

Сделай этикетку на продукцию оформленную красиво и стильно в соответствии с составом. Можешь орие...

Сделай этикетку на продукцию оформленную красиво и стильно в соответствии с составом. Можешь ориентироваться по стилю на фото 1. Текст на этикетке: производитель ИП Стрини Ю.Л. «соломка горбуши», состав: рыба горбуша, соль, сахар, специи. Срок хранения при t не от 0 до -3 60 суток. Вес: 500гр

Create image: ultra realistic image: man 35 years old (attached reference ) sitting in super luxu...

Create image: ultra realistic image: man 35 years old (attached reference ) sitting in super luxury house. Luxury furniture, marble floor with east carpet. The most luxurious way. Middle shot One cake in front of him on the marble table, with thin golden lit candles. A man sits relaxed on a...

Create image: ultra realistic image: man 35 years old sitting in super luxury house. Luxury furni...

Create image: ultra realistic image: man 35 years old sitting in super luxury house. Luxury furniture, marble floor with east carpet. The most luxurious way. Middle shot One cake in front of him on the marble table, with thin golden lit candles. A man sits relaxed on a luxurious sofa. The man is...

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

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

•আবশ্যক 88 / 32000

ছবি জেনারেট করতে ব্যবহৃত প্রম্পট।

•আবশ্যক image_urls
একটি ফাইল ড্রপ করুন, অথবা

জেনারেশনের জন্য রেফারেন্স ছবির দিকে নির্দেশ করা URL।

image_size ডিফল্ট auto

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

quality ডিফল্ট high

ফলাফল ছবির গুণমান।

input_fidelity ডিফল্ট high

ইনপুট অনুসরণ করার ক্ষেত্রে ফলাফল ছবির মাত্রা।

num_images ডিফল্ট 1

তৈরি করার ছবির সংখ্যা।

অ্যাডভান্সড mask_image_url · background · output_format
একটি ফাইল ড্রপ করুন, অথবা

জেনারেশনের সময় সম্পাদনা করতে হবে এমন অঞ্চল শনাক্তকারী মাস্ক ছবির URL।

background ডিফল্ট auto

ফলাফল ছবির ব্যাকগ্রাউন্ড।

output_format ডিফল্ট png

আউটপুট ছবির ফাইল ফরম্যাট।

POST /run/gpt-image-1.5/edit?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/gpt-image-1.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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 কী পান

GPT-Image 1.5 · Edit সম্পর্কে

সর্বোচ্চ 32000 অক্ষরের প্রম্পট ব্যবহার করে `image_urls`-এর রেফারেন্স ছবি এডিট করে। কোন অঞ্চল পরিবর্তন হবে তা `mask_image_url` দিয়ে ঐচ্ছিকভাবে নির্ধারণ করা যায়। `input_fidelity` low অথবা high (ডিফল্ট high), গুণমান low, medium অথবা high হতে পারে, এবং আকার auto অথবা তিনটি fixed size-এর যেকোনো একটি হতে পারে। png, jpeg অথবা webp-এ সর্বোচ্চ 4টি ছবি।

প্যারামিটার

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

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptআবশ্যক
ধরনstring
≤ ৩২,০০০টি অক্ষর≥ ২টি অক্ষর
ছবি জেনারেট করতে ব্যবহৃত প্রম্পট।
image_urlsআবশ্যক images
ধরনurl[] · image
জেনারেশনের জন্য রেফারেন্স ছবির দিকে নির্দেশ করা URL।
image_sizeঐচ্ছিক
ধরনenum
ডিফল্টauto
auto1024x10241536x10241024x1536
ফলাফল ছবির অ্যাসপেক্ট রেশিও।
backgroundঐচ্ছিক
ধরনenum
ডিফল্টauto
autotransparentopaque
ফলাফল ছবির ব্যাকগ্রাউন্ড।
qualityঐচ্ছিক
ধরনenum
ডিফল্টhigh
lowmediumhigh
ফলাফল ছবির গুণমান।
input_fidelityঐচ্ছিক
ধরনenum
ডিফল্টhigh
lowhigh
ইনপুট অনুসরণ করার ক্ষেত্রে ফলাফল ছবির মাত্রা।
num_imagesঐচ্ছিক num_outputs
ধরনinteger
ডিফল্ট1
১ – ৪
তৈরি করার ছবির সংখ্যা।
output_formatঐচ্ছিক
ধরনenum
ডিফল্টpng
jpegpngwebp
আউটপুট ছবির ফাইল ফরম্যাট।
mask_image_urlঐচ্ছিক
ধরনurl · image
জেনারেশনের সময় সম্পাদনা করতে হবে এমন অঞ্চল শনাক্তকারী মাস্ক ছবির URL।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

ফাইল প্যারামিটার হিসেবে একটি পাবলিক https:// URL, 10 MB পর্যন্ত একটি data: URI, অথবা আপলোডের file_url গ্রহণ করা হয়। ফাইল

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "gpt-image-1.5/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": 225,
    "usd": "0.225",
    "charged": 225,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "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
      }
    ]
  },
  "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}মডেল দ্বারা তৈরি ছবি।

আরও মডেল: ছবি সম্পাদনা

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