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

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
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... فيديو

Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while speaking, with realistic facial expressions and synchronized lip movements, as if she is promoting something to the viewer. She maintains eye contact with the camera, smiles slightly, and uses subtle...

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her ey... فيديو

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her eyes and cheeks, as if the blurry image on the screen is changing. Her eyes move slightly as she studies the screen, and she takes one slow, tense breath. Behind her, shadows of the snowstorm move...

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. I... فيديو

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. Its huge dark leathery wings beat twice with slow, heavy strokes, sending snow swirling off the cliff in big clouds. Then it folds its wings and settles on the rock, the giant elk still held in its...

**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...

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jeng... فيديو

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jenga tower. As the block comes out, the tower naturally loses balance and realistically collapses onto the table. Frustrated, he angrily sweeps all the fallen wooden blocks off the table with both hands....

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold ... فيديو

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold rock, a huge orange-white heat shape hidden inside a rock crevice, two small bright amber spots glowing like eyes, faint noise grain. Cinematic videorealistic, ultra detailed, 16:9, volumetric light,...

**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...

**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...

إنشاء طلب

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

•مطلوب 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