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

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

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

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

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

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

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

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

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/developers/models/kling-image/o1.md. All models and guides: https://doitong.com/developers/llms.txt