تخطّي إلى المحتوى

Gemini 3 Pro Image Preview · Edit

التكامل

معرّف النموذج gemini-3-pro-image-preview/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/gemini-3-pro-image-preview/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"

هذا الطلب: ⁨‏0.15 $⁩ 150 رصيد API تشغيله في هذه الصفحة

الحصول على مفتاح API
Google تحرير الصور إخراج بدقة 4Kحتى 4K #realism#typography

تحرير Gemini 3 Pro Image من صور مرجعية، مع إخراج من 1K إلى 4K وخيار البحث على الويب

أُنشئت على Doitong

أعمال عامة أُنشئت باستخدام Gemini 3 Pro Image Preview من مجتمع Doitong. أعد استخدام موجّه بنقرة واحدة.

الأعمال العامة المعروضة: 16
Full-body character reference of the character shown in the reference film frame: exactly the sam...

Full-body character reference of the character shown in the reference film frame: exactly the same design, shape, proportions, colors, materials, wear and markings. Standing, front three-quarter view, the whole figure in frame, neutral dark studio background, soft even light, photorealistic,...

Нужен кадр вот к этой секунде 00:04 без текста Используй референс только при необходимости, если ...

Нужен кадр вот к этой секунде 00:04 без текста Используй референс только при необходимости, если он есть в кадре по этому сценарию Вот подробный сценарий вирального ролика (Reels/TikTok/Shorts), созданный по всем вашим вводным. **Общая концепция:** Эстетика «old money» и современной роскоши...

Full-body character reference of the character shown in the reference film frame: exactly the sam...

Full-body character reference of the character shown in the reference film frame: exactly the same design, shape, proportions, colors, materials, wear and markings. Standing, front three-quarter view, the whole figure in frame, neutral dark studio background, soft even light, photorealistic,...

Art style: 3D Pixar, highly detailed, vibrant colors, expr.... 3D Pixar style. A dark, snowy city...

Art style: 3D Pixar, highly detailed, vibrant colors, expr.... 3D Pixar style. A dark, snowy city street at night. The banana man looks incredibly guilty and sad as he places the two tiny baby grapes into a metal trash can. Heavy snow is falling. Somber atmosphere....

Art style: 3D Pixar. Young man Dmitry looking exhausted, split image: left side dull grayscale pa...

Art style: 3D Pixar. Young man Dmitry looking exhausted, split image: left side dull grayscale park walk, right side vibrant exploding phone screen and glowing overloaded dopamine receptors in brain overlay. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustr...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Очаровательная антропоморфная овечка девочка в полный рост, тело удлиненное и...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustr...

Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Strong rule: style --- Whimsical 3D Illustration ---. Милая женственная антропоморфная овечка в полный рост, высокая стройная фигура, пушистая светлая шерсть, длинная шея без без шерсти,...

Strong rule: style --- Whimsical 3D Illustration ---. Милая антропоморфная овечка в полный рост, ...

Strong rule: style --- Whimsical 3D Illustration ---. Милая антропоморфная овечка в полный рост, длинная длинная стройная фигура, пушистая кремово-белая кудрявая шерсть, длинная тонкая тонкая шея как палочка без шерсти лысая, большие висячие ушки, светло-коричневая мордочка с мягкими округлыми...

إنشاء طلب

تُنشأ عناصر التحكم من مخطط النموذج. يتحدّث الرمز والسعر عند تغييرها.

•مطلوب 88 / 50000

تعليمات نصية لتحرير صورة.

•مطلوب image_urls
أفلت ملفًا، أو

عناوين URL تحدد الصور المصدر للتحرير أو التوليد من صورة إلى صورة.

aspect_ratio الافتراضي auto

نسبة أبعاد الصورة الناتجة.

resolution الافتراضي 1K

دقة صورة المخرج.

num_images الافتراضي 1

عدد الصور المطلوب توليده.

متقدم system_prompt · output_format · safety_tolerance · seed · limit_generations · enable_web_search
0 / 50000

إرشادات اختيارية للشخصية ونمط المخرج على مستوى الطلب، تُرسل إلى Gemini كتعليمة نظام أو إلى المزوّدين المتوافقين مع OpenAI كرسالة نظام. لا يُرسل شيء لهذه التعليمة عندما تكون القيمة فارغة.

output_format الافتراضي png

تنسيق ملف الصورة الناتجة.

safety_tolerance الافتراضي 4

اضبط تسامح تعديل المحتوى بين المستوى الأقل تقييدًا، 6، والمستوى الأشد تقييدًا، 1، الذي يحظر معظم المحتوى.

قيمة البذرة التي تهيّئ توليد الأرقام العشوائية.

POST /run/gemini-3-pro-image-preview/edit?wait=20 عرض السعر → ⁨‏0.15 $⁩
# 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/gemini-3-pro-image-preview/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"

تشغيل هذا الطلب

يبقى مفتاحك في هذا المتصفح: لا يُرسل إلا إلى Doitong API ويُحفظ في localStorage فقط إذا فعّلت خيار التذكّر. الحصول على مفتاح API

حول Gemini 3 Pro Image Preview · Edit

يحرر أو يعيد دمج الصور من `image_urls` (مطلوب) وفق `prompt`. تكون `aspect_ratio` افتراضيًا auto، ويمكن أن تكون `resolution` بقيمة 1K أو 2K أو 4K، كما يمكن تفعيل `system_prompt` والبحث على الويب. يعيد من 1 إلى 4 صور محررة بصيغة PNG أو JPEG أو WebP.

المعاملات

أرسل الاسم الأساسي أو الاسم الأصلي، وليس كليهما. الأسماء الأساسية

الاسمالنوع الافتراضيمسموح الوصف
promptمطلوب
النوعstring
≤ 50,000 حرف≥ 3 أحرف
تعليمات نصية لتحرير صورة.
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:16
نسبة أبعاد الصورة الناتجة.
output_formatاختياري
النوعenum
الافتراضيpng
jpegpngwebp
تنسيق ملف الصورة الناتجة.
safety_toleranceاختياري
النوعenum
الافتراضي4
123456
اضبط تسامح تعديل المحتوى بين المستوى الأقل تقييدًا، 6، والمستوى الأشد تقييدًا، 1، الذي يحظر معظم المحتوى.
image_urlsمطلوب images
النوعurl[] · image
عناوين URL تحدد الصور المصدر للتحرير أو التوليد من صورة إلى صورة.
system_promptاختياري
النوعstring
الافتراضي
≤ 50,000 حرف
إرشادات اختيارية للشخصية ونمط المخرج على مستوى الطلب، تُرسل إلى Gemini كتعليمة نظام أو إلى المزوّدين المتوافقين مع OpenAI كرسالة نظام. لا يُرسل شيء لهذه التعليمة عندما تكون القيمة فارغة.
resolutionاختياري
النوعenum
الافتراضي1K
1K2K4K
دقة صورة المخرج.
limit_generationsاختياري
النوعboolean
الافتراضيtrue
حد توليد تجريبي: يؤدي تفعيل `True` إلى تجاوز أي تعليمات لعدد الصور في الموجّه، وتقييد كل جولة موجّه إلى توليد واحد.
مطلوب الاسم الأساسي، مقبول أيضًا

تقبل معاملات الملفات عنوان URL عامًا يبدأ بـ https://، أو URI من نوع data: يصل حجمه إلى 10 MB، أو file_url لملف تم تحميله. الملفات

المخرجات

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "gemini-3-pro-image-preview/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": 150,
    "usd": "0.15",
    "charged": 150,
    "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
      }
    ],
    "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 هو نسخة على تخزيننا: تُحفظ إلى الأبد (مع الدفع لكل غيغابايت-شهر) أو لمدة 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وصف مصاحب للصور المولّدة.

مزيد من النماذج: تحرير الصور

لوكلاء الذكاء الاصطناعي: تتوفر هذه الصفحة بصيغة Markdown على https://doitong.com/ar/developers/models/gemini-3-pro-image-preview/edit.md. جميع النماذج والأدلة: https://doitong.com/developers/llms.txt