Lumaktaw sa nilalaman

Kling O1 Image

I-integrate

ID ng modelo 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"

Kahilingang ito: $0.028 28 kredito ng API Patakbuhin ito sa page na ito

Kumuha ng API key
Kling Pag-edit ng Larawan Mga reference inputhanggang 2K #edit#realism#typography

Reference-driven na pag-edit ng larawan na may hanggang 10 larawan, @Image tag at element, 1K o 2K, at hanggang 9 output

Ginawa sa Doitong

Mga pampublikong gawang ginawa gamit ang Kling O1 Image ng komunidad ng Doitong. Gamitin muli ang prompt sa isang click.

Mga ipinapakitang pampublikong gawa: 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...

Bumuo ng kahilingan

Ang mga control ay binubuo mula sa schema ng modelo. Nagbabago ang code at presyo habang ina-adjust mo ang mga ito.

•kinakailangan 88 / 2500

Prompt para sa pagbuo ng larawan na hanggang 2500 character. Tumukoy sa mga larawan gamit ang @Image1, @Image2, at iba pa, o @Image para sa iisang larawan.

•kinakailangan image_urls
Mag-drop ng file, o

Listahan ng mga reference na larawan, hanggang 10 larawan; banggitin ang mga ito sa prompt bilang @Image1, @Image2, at iba pa, na nagsisimula ang numbering sa 1. Hindi dapat lumampas sa 10.0 MB ang bawat file, at dapat hindi bababa sa 300px ang lapad at taas nito, na may aspect ratio mula 0.40 hanggang 2.50.

resolution default na 1K

Resolution ng output na larawan: 1K para sa standard resolution o 2K para sa high resolution.

aspect_ratio default na auto

Aspect ratio ng nabuong larawan, awtomatikong pinipili mula sa input content kapag nakatakda sa 'auto'.

num_images default na 1

Bilang ng output na larawan, mula 1 hanggang 9.

advanced output_format · enable_safety_checker · elements
output_format default na png

File format ng resultang larawan.

Mga character o object na kasama bilang element, na may pinagsamang allowance na 10 kasama ng reference larawan. Gumagamit ang mga reference sa prompt ng @Element1, @Element2, at iba pa.

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

Patakbuhin ang kahilingang ito

Nananatili ang iyong key sa browser na ito: ipinapadala lamang ito sa Doitong API at sine-save (localStorage) lamang kung pipiliin mo ang Tandaan. Kumuha ng API key

Tungkol sa Kling O1 Image

Nag-e-edit o nagre-recombine ng mga larawan mula sa `prompt` na hanggang 2500 character. Tinutukoy ang mga input gamit ang @Image1, @Image2 at iba pa, na gumagamit ng hanggang 10 sa `image_urls`; nagdaragdag ang `elements` ng mga character o object, na may pinagsamang maximum na 10. Ang `resolution` ay 1K o 2K, ang `num_images` ay 1 hanggang 9, at kabilang sa `aspect_ratio` ang auto, 21:9 at 3:2. png, jpeg o webp ang output.

Mga parameter

Ipadala ang canonical na pangalan o ang native na pangalan, hindi pareho. Mga canonical na pangalan

PangalanUri defaultPinapayagan Paglalarawan
promptkinakailangan
Uristring
≤ 2,500 character
Prompt para sa pagbuo ng larawan na hanggang 2500 character. Tumukoy sa mga larawan gamit ang @Image1, @Image2, at iba pa, o @Image para sa iisang larawan.
image_urlskinakailangan images
Uriurl[] · image
Listahan ng mga reference na larawan, hanggang 10 larawan; banggitin ang mga ito sa prompt bilang @Image1, @Image2, at iba pa, na nagsisimula ang numbering sa 1. Hindi dapat lumampas sa 10.0 MB ang bawat file, at dapat hindi bababa sa 300px ang lapad at taas nito, na may aspect ratio mula 0.40 hanggang 2.50.
elementsopsyonal
Uriobject[]
Mga character o object na kasama bilang element, na may pinagsamang allowance na 10 kasama ng reference larawan. Gumagamit ang mga reference sa prompt ng @Element1, @Element2, at iba pa.
elements[].frontal_image_urlopsyonal
Uriurl · image
Opsyonal na larawan na nakaharap sa harap na nagbibigay ng pangunahing view ng element. Hindi maaaring lumampas sa 10.0 MB ang file; dapat hindi bababa sa 300px ang lapad at taas nito, na may aspect ratio mula 0.40 hanggang 2.50.
elements[].reference_image_urlsopsyonal
Uriurl[] · image
Opsyonal na set ng 0–3 karagdagang larawan na nagpapakita ng ibang anggulo. Hindi dapat lumampas sa 10.0 MB ang bawat file, at dapat hindi bababa sa 300px ang lapad at taas nito, na may aspect ratio mula 0.40 hanggang 2.50.
resolutionopsyonal
Urienum
default1K
1K2K
Resolution ng output na larawan: 1K para sa standard resolution o 2K para sa high resolution.
num_imagesopsyonal num_outputs
Uriinteger
default1
1 – 9
Bilang ng output na larawan, mula 1 hanggang 9.
aspect_ratioopsyonal
Urienum
defaultauto
auto16:99:161:14:33:43:22:321:9
Aspect ratio ng nabuong larawan, awtomatikong pinipili mula sa input content kapag nakatakda sa 'auto'.
output_formatopsyonal
Urienum
defaultpng
jpegpngwebp
File format ng resultang larawan.
enable_safety_checkeropsyonal
Uriboolean
defaulttrue
Maaaring luwagan ang screening sa pamamagitan ng pagtatakda ng false, kung awtorisado ang tumatawag.
kinakailangan Canonical na pangalan, tinatanggap din

Tumatanggap ang mga parameter ng file ng pampublikong https:// URL, data: URI na hanggang 10 MB, o file_url ng isang upload. Mga file

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"
  }
}
Ikaw ang pumipili para sa iyong mga fileAng bawat outputs[].url ay kopya sa aming storage: pinananatili nang walang hanggan (sinisingil bawat GB-month) o 7 araw nang libre, ayon sa setting ng iyong account o ?storage=.
Parehong shape sa bawat modelotype, url, content_type, width, height at duration, para sa mga larawan, video at audio. Ang output ay sariling result object ng modelo.
Mga field ng output
images
array of object {url, content_type, file_name, file_size, width, height}Mga larawang ginawa ng modelo.

Para sa mga AI agent: nasa Markdown ang pahinang ito sa https://doitong.com/fil/developers/models/kling-image/o1.md. Lahat ng modelo at gabay: https://doitong.com/developers/llms.txt