رفتن به محتوا

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"

این درخواست: ⁨‎$۰٫۰۲۸⁩ ۲۸ اعتبار 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 قیمت → ⁨‎$۰٫۰۲۸⁩
# 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
≤ ۲٬۵۰۰ نویسه
پرامپت تولید تصویر، محدود به 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.
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 کپی‌ای در فضای ذخیره‌سازی ماست: برای همیشه (با هزینه به‌ازای هر GB-ماه) یا به‌مدت ۷ روز رایگان، بر اساس تنظیم حساب شما یا ?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/fa/developers/models/kling-image/o1.md. همه مدل‌ها و راهنماها: https://doitong.com/developers/llms.txt