Перейти к содержимому

Kling O1 Image

Интеграция

ID модели 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-кредитов · ≈ 2,94 ₽ Запустить на этой странице

Получить API-ключ
Kling Редактирование изображений Референсные входные данныедо 2K #edit#realism#typography

Редактирование изображений по референсам с поддержкой до 10 изображений, тегов @Image и элементов, вывода 1K или 2K и до 9 результатов

Создано на Doitong

Публичные работы сообщества Doitong, созданные с помощью Kling O1 Image. Повторно используйте промпт одним нажатием.

Показано публичных работ: 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, если вызывающая сторона авторизована.
обязательно Каноническое имя, также принимается

Параметры файлов принимают общедоступный https:// URL, data: URI размером до 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"
  }
}
Ваши файлы — ваш выборКаждый URL из 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}Изображения, созданные моделью.

Для AI-агентов: эта страница в формате Markdown доступна по адресу https://doitong.com/ru/developers/models/kling-image/o1.md. Все модели и руководства: https://doitong.com/developers/llms.txt