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

Kling O1 Image

التكامل

معرّف النموذج kling-image/o1
# 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/kling-image/o1?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.028 $⁩ 28 رصيد API تشغيله في هذه الصفحة

الحصول على مفتاح API
Kling تحرير الصور مدخلات مرجعيةحتى 2K #edit#realism#typography

تحرير صور موجّه بالمراجع مع ما يصل إلى 10 صور وعلامات @Image وعناصر ودقة 1K أو 2K وما يصل إلى 9 مخرجات

أُنشئت على Doitong

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

الأعمال العامة المعروضة: 16
**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... فيديو

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... فيديو

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... فيديو

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... فيديو

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... فيديو

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... فيديو

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

Create a realistic 30-second vertical 9:16 video showing two construction workers installing larg... فيديو

Create a realistic 30-second vertical 9:16 video showing two construction workers installing large white patio tiles in a modern backyard. Show the entire construction process in a smooth timelapse. Gradually transform the unfinished backyard into a luxurious outdoor living space with an L-shaped...

Create a warm, emotional 8–10 second cinematic video showing the difference between a young child... فيديو

Create a warm, emotional 8–10 second cinematic video showing the difference between a young child playing alone and playing with their mother. Scene 1: A toddler sits on the floor playing with toys independently. The child is calm and focused, exploring and learning through independent play. The...

إنشاء طلب

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

•مطلوب 88 / 2500

موجّه توليد الصورة بحد أقصى 2500 حرف. أشر إلى الصور باستخدام @Image1 و@Image2 وما إلى ذلك، أو @Image لصورة واحدة.

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

قائمة الصور المرجعية، بحد أقصى 10 صور؛ اذكرها في الموجّه بصيغة @Image1 و@Image2 وما إلى ذلك، مع بدء الترقيم من 1. يجب ألا يتجاوز حجم كل ملف 10.0 MB، وأن يكون العرض والارتفاع 300px على الأقل، ونسبة العرض إلى الارتفاع بين 0.40 و2.50.

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

دقة صورة المخرج: 1K للدقة القياسية أو 2K للدقة العالية.

aspect_ratio الافتراضي auto

نسبة عرض الصورة المولدة إلى ارتفاعها، ويُختار تلقائيًا من محتوى المدخل عند ضبطها على 'auto'.

num_images الافتراضي 1

عدد صور المخرج، من 1 إلى 9.

متقدم output_format · enable_safety_checker · elements
output_format الافتراضي png

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

الشخصيات أو الكائنات المضمنة كعناصر، مع حد مشترك قدره 10 مع الصور المرجعية. تستخدم مراجع الموجّه @Element1 و@Element2 وما إلى ذلك.

POST /run/kling-image/o1?wait=20 عرض السعر → ⁨‏0.028 $⁩
# 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/kling-image/o1?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

حول Kling O1 Image

يحرر الصور أو يعيد دمجها انطلاقًا من `prompt` يصل إلى 2500 حرف. أشر إلى المدخلات باستخدام @Image1 و@Image2 وما إلى ذلك، مع استخدام ما يصل إلى 10 صور في `image_urls`؛ وتضيف `elements` شخصيات أو كائنات، بحد أقصى إجمالي قدره 10. تكون `resolution` هي 1K أو 2K، و`num_images` من 1 إلى 9، وتشمل `aspect_ratio` القيم auto و21:9 و3:2. يكون الخرج بصيغة png أو jpeg أو webp.

المعاملات

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

الاسمالنوع الافتراضيمسموح الوصف
promptمطلوب
النوعstring
≤ 2,500 حرف
موجّه توليد الصورة بحد أقصى 2500 حرف. أشر إلى الصور باستخدام @Image1 و@Image2 وما إلى ذلك، أو @Image لصورة واحدة.
image_urlsمطلوب images
النوعurl[] · image
قائمة الصور المرجعية، بحد أقصى 10 صور؛ اذكرها في الموجّه بصيغة @Image1 و@Image2 وما إلى ذلك، مع بدء الترقيم من 1. يجب ألا يتجاوز حجم كل ملف 10.0 MB، وأن يكون العرض والارتفاع 300px على الأقل، ونسبة العرض إلى الارتفاع بين 0.40 و2.50.
elementsاختياري
النوعobject[]
الشخصيات أو الكائنات المضمنة كعناصر، مع حد مشترك قدره 10 مع الصور المرجعية. تستخدم مراجع الموجّه @Element1 و@Element2 وما إلى ذلك.
elements[].frontal_image_urlاختياري
النوعurl · image
صورة اختيارية أمامية توفر المنظر الرئيسي للعنصر. يجب ألا يتجاوز حجم الملف 10.0 MB، وأن يكون العرض والارتفاع 300px على الأقل، ونسبة العرض إلى الارتفاع بين 0.40 و2.50.
elements[].reference_image_urlsاختياري
النوعurl[] · image
مجموعة اختيارية من 0–3 صور إضافية تعرض زوايا أخرى. يجب ألا يتجاوز حجم كل ملف 10.0 MB، وأن يكون العرض والارتفاع 300px على الأقل، ونسبة العرض إلى الارتفاع بين 0.40 و2.50.
resolutionاختياري
النوعenum
الافتراضي1K
1K2K
دقة صورة المخرج: 1K للدقة القياسية أو 2K للدقة العالية.
num_imagesاختياري num_outputs
النوعinteger
الافتراضي1
1 – 9
عدد صور المخرج، من 1 إلى 9.
aspect_ratioاختياري
النوعenum
الافتراضيauto
auto16:99:161:14:33:43:22:321:9
نسبة عرض الصورة المولدة إلى ارتفاعها، ويُختار تلقائيًا من محتوى المدخل عند ضبطها على 'auto'.
output_formatاختياري
النوعenum
الافتراضيpng
jpegpngwebp
تنسيق ملف الصورة الناتجة.
enable_safety_checkerاختياري
النوعboolean
الافتراضيtrue
يمكن تخفيف الفحص بضبط القيمة على false، شريطة أن يكون المستدعي مخولًا بذلك.
مطلوب الاسم الأساسي، مقبول أيضًا

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

المخرجات

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-image/o1",
  "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": 28,
    "usd": "0.028",
    "charged": 28,
    "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 هو نسخة على تخزيننا: تُحفظ إلى الأبد (مع الدفع لكل غيغابايت-شهر) أو لمدة 7 أيام مجانًا، وفق إعداد حسابك أو ?storage=.
البنية نفسها في كل نموذجtype وurl وcontent_type وwidth وheight وduration للصور والفيديو والصوت على حد سواء. output هو كائن النتائج الخاص بالنموذج.
حقول المخرجات
images
array of object {url, content_type, file_name, file_size, width, height}الصور التي أنتجها النموذج.

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