Peke ki ngā ihirangi

Kling O1 Image

Whakauru

id tauira 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"

Tēnei tono: $ 0.028 28 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Kling Whakatika Atahanga Ngā tāuru tohutorotae atu ki 2K #edit#realism#typography

Te whakatika atahanga mā ngā tohutoro, tae atu ki te 10 atahanga, ngā tūtohu @Image me ngā elements, 1K, 2K rānei, tae atu ki te 9 putanga

I hangaia ki Doitong

Ngā mahi tūmatanui i hangaia ki Kling O1 Image e te hapori Doitong. Whakamahia anō he tono mā te pāwhiri kotahi.

Ngā mahi tūmatanui kua whakaaturia: 16
**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Ataata

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

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

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

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

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

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

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

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

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

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

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

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

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana 88 / 2500

Tohutohu whakaputa atahanga kua herea ki te 2500 pūāhua. Tohua ngā atahanga mā @Image1, @Image2, me ērā atu, mā @Image mō te atahanga kotahi.

•e hiahiatia ana image_urls
Whakataka he kōnae,

Rārangi atahanga tohutoro, kua herea ki te 10 atahanga; tuhia ki te tohutohu hei @Image1, @Image2, me ērā atu, ka tīmata te tatau i te 1. Kaua e nui ake ia kōnae i te 10.0 MB, ā, me 300px te iti rawa o te whānui me te teitei, me te ōwehenga āhuatanga mai i te 0.40 ki te 2.50.

resolution taunoa 1K

Taumira atahanga putanga: 1K mō te taumira paerewa, 2K mō te taumira teitei.

aspect_ratio taunoa auto

Ōwehenga āhuatanga o te atahanga i whakaputaina, ka kōwhiria aunoatia mai i ngā ihirangi tāuru ina tautuhia ki 'auto'.

num_images taunoa 1

Tatau atahanga putanga, mai i te 1 ki te 9.

Arā atu output_format · enable_safety_checker · elements
output_format taunoa png

Te hōputu kōnae mō te atahanga ka puta.

Ngā pūāhua, taonga rānei ka whakaurua hei huānga, ka tohaina he here 10 ki ngā atahanga tohutoro. Ka whakamahi ngā tohutoro tohutohu i @Element1, @Element2, me ērā atu.

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

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Kling O1 Image

Ka whakatika, ka whakakotahi anō rānei i ngā atahanga mai i tētahi `prompt` tae atu ki te 2500 pūāhua. Tohua ngā tāuru mā @Image1, @Image2 me ērā atu, tae atu ki te 10 i `image_urls`; mā `elements` e tāpiri ngā kiripuaki, ngā mea rānei, me te mōrahi whakakotahi 10. Ko `resolution` he 1K, 2K rānei, ko `num_images` he 1 ki te 9, ā, kei `aspect_ratio` te auto, 21:9 me 3:2. Ko te putanga png, jpeg, webp rānei.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
≤ 2,500 pūāhua
Tohutohu whakaputa atahanga kua herea ki te 2500 pūāhua. Tohua ngā atahanga mā @Image1, @Image2, me ērā atu, mā @Image mō te atahanga kotahi.
image_urlse hiahiatia ana images
Momourl[] · image
Rārangi atahanga tohutoro, kua herea ki te 10 atahanga; tuhia ki te tohutohu hei @Image1, @Image2, me ērā atu, ka tīmata te tatau i te 1. Kaua e nui ake ia kōnae i te 10.0 MB, ā, me 300px te iti rawa o te whānui me te teitei, me te ōwehenga āhuatanga mai i te 0.40 ki te 2.50.
elementskōwhiringa
Momoobject[]
Ngā pūāhua, taonga rānei ka whakaurua hei huānga, ka tohaina he here 10 ki ngā atahanga tohutoro. Ka whakamahi ngā tohutoro tohutohu i @Element1, @Element2, me ērā atu.
elements[].frontal_image_urlkōwhiringa
Momourl · image
Atahanga anga-mua, he kōwhiringa, hei whakaatu i te tirohanga matua o te huānga. Kaua e nui ake te kōnae i te 10.0 MB; me 300px te iti rawa o te whānui me te teitei, me te ōwehenga āhuatanga mai i te 0.40 ki te 2.50.
elements[].reference_image_urlskōwhiringa
Momourl[] · image
Huinga kōwhiringa o ngā atahanga tāpiri 0–3 e whakaatu ana i ētahi atu koki. Kaua e nui ake ia kōnae i te 10.0 MB, ā, me 300px te iti rawa o te whānui me te teitei, me te ōwehenga āhuatanga mai i te 0.40 ki te 2.50.
resolutionkōwhiringa
Momoenum
Taunoa1K
1K2K
Taumira atahanga putanga: 1K mō te taumira paerewa, 2K mō te taumira teitei.
num_imageskōwhiringa num_outputs
Momointeger
Taunoa1
1 – 9
Tatau atahanga putanga, mai i te 1 ki te 9.
aspect_ratiokōwhiringa
Momoenum
Taunoaauto
auto16:99:161:14:33:43:22:321:9
Ōwehenga āhuatanga o te atahanga i whakaputaina, ka kōwhiria aunoatia mai i ngā ihirangi tāuru ina tautuhia ki 'auto'.
output_formatkōwhiringa
Momoenum
Taunoapng
jpegpngwebp
Te hōputu kōnae mō te atahanga ka puta.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Ka taea te whakangāwari i te tātari mā te tautuhi false, mēnā he mana tō te kaiwhakatuwhera.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
images
array of object {url, content_type, file_name, file_size, width, height}Ngā atahanga i whakaputaina e te tauira.

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/kling-image/o1.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt