Skip to content

Kling O1 Image

Integrate

Model 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"

This request: $0.028 28 API credits Run it on this page

Get API key
Kling Image Editing Reference inputsup to 2K #edit#realism#typography

Reference-driven image editing with up to 10 images, @Image tags and elements, 1K or 2K, up to 9 outputs

Made on Doitong

Public works made with Kling O1 Image by the Doitong community. Reuse a prompt in one click.

Public works shown: 16
**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

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

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

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

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

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

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

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

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

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

Create a realistic 30-second vertical 9:16 video showing two construction workers installing larg... Video

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

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

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required 88 / 2500

Image-generation prompt limited to 2500 characters. Refer to images with @Image1, @Image2, and so on, or @Image for a single image.

•required image_urls
Drop a file, or

Reference image list, limited to 10 images; cite them in the prompt as @Image1, @Image2, and so on, with numbering starting at 1. Each file must be no larger than 10.0 MB, with width and height each at least 300px and an aspect ratio from 0.40 to 2.50.

resolution default 1K

Output image resolution: 1K for standard resolution or 2K for high resolution.

aspect_ratio default auto

Generated-image aspect ratio, selected automatically from the input content when set to 'auto'.

num_images default 1

Output image count, from 1 to 9.

Advanced output_format · enable_safety_checker · elements
output_format default png

File format for the resulting image.

Characters or objects included as elements, sharing a combined allowance of 10 with reference images. Prompt references use @Element1, @Element2, etc.

POST /run/kling-image/o1?wait=20 quote → $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"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Kling O1 Image

Edits or recombines images from a `prompt` of up to 2500 characters. Point to inputs with @Image1, @Image2 and so on, using up to 10 in `image_urls`; `elements` add characters or objects, with a combined maximum of 10. `resolution` is 1K or 2K, `num_images` is 1 to 9, and `aspect_ratio` includes auto, 21:9 and 3:2. Output is png, jpeg or webp.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
promptrequired
Typestring
≤ 2,500 characters
Image-generation prompt limited to 2500 characters. Refer to images with @Image1, @Image2, and so on, or @Image for a single image.
image_urlsrequired images
Typeurl[] · image
Reference image list, limited to 10 images; cite them in the prompt as @Image1, @Image2, and so on, with numbering starting at 1. Each file must be no larger than 10.0 MB, with width and height each at least 300px and an aspect ratio from 0.40 to 2.50.
elementsoptional
Typeobject[]
Characters or objects included as elements, sharing a combined allowance of 10 with reference images. Prompt references use @Element1, @Element2, etc.
elements[].frontal_image_urloptional
Typeurl · image
Optional front-facing image providing the element's main view. File size cannot exceed 10.0 MB; width and height must each be at least 300px, with an aspect ratio from 0.40 to 2.50.
elements[].reference_image_urlsoptional
Typeurl[] · image
Optional set of 0–3 additional images showing other angles. Each file must be no larger than 10.0 MB, with width and height each at least 300px and an aspect ratio from 0.40 to 2.50.
resolutionoptional
Typeenum
Default1K
1K2K
Output image resolution: 1K for standard resolution or 2K for high resolution.
num_imagesoptional num_outputs
Typeinteger
Default1
1 – 9
Output image count, from 1 to 9.
aspect_ratiooptional
Typeenum
Defaultauto
auto16:99:161:14:33:43:22:321:9
Generated-image aspect ratio, selected automatically from the input content when set to 'auto'.
output_formatoptional
Typeenum
Defaultpng
jpegpngwebp
File format for the resulting image.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Screening can be relaxed by setting false, provided the caller is authorized.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

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"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
images
array of object {url, content_type, file_name, file_size, width, height}Images produced by the model.

For AI agents: this page as Markdown is at https://doitong.com/en-US/developers/models/kling-image/o1.md. All models and guides: https://doitong.com/developers/llms.txt