Peke ki ngā ihirangi

Kling Video · v2.5 Turbo · Standard · Image to Video

Whakauru

id tauira kling-video/v2.5-turbo/standard/image-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/kling-video/v2.5-turbo/standard/image-to-video?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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: $ 0.21 210 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Kling Atahanga ki te Ataata Tere5–10 s #stylized#transform

Ataata-atahanga v2.5 Turbo Standard mai i te atahanga kotahi me te tohutohu, kāore he tāuru anga mutunga

Kling · Ataata

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

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
•e hiahiatia ana image_url
Whakataka he kōnae,

URL e tohu ana ki te atahanga e whakamahia ana mō te whakaputanga ataata. Kaua te rahi kōnae e nui ake i te 10 MB; me 300px neke atu te whānui me te teitei, ā, me noho te ōwehenga āhua ki waenga i te 0.40 me te 2.50.

duration 5 s

Te roa o te ataata putanga, ka inea ki te hēkona.

Arā atu negative_prompt · cfg_scale · enable_safety_checker
0 / 2500
taunoa 0.5

Tautuhia te kaha o te whai a te whakaputanga i tō tohutohu mā te CFG, he whakapoto mō te ārahitanga kore whakarōpū.

POST /run/kling-video/v2.5-turbo/standard/image-to-video?wait=20 utu → $ 0.21
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/kling-video/v2.5-turbo/standard/image-to-video?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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/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 Video · v2.5 Turbo · Standard · Image to Video

Ka whakakorikori i tētahi atahanga (`image_url`) i runga i tētahi tohutohu tae atu ki te 2500 pūāhua, ka whakaputa ataata 5, 10 hēkona rānei. Ko te awhe o `cfg_scale` he 0 ki te 1, ā, ka whakaaetia `negative_prompt`. He rerekē ki te putanga Pro, kāore he tāuru atahanga mutunga. Koinei te taumata Standard.

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
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.
prompte hiahiatia ana
Momostring
≤ 2,500 pūāhua
image_urle hiahiatia ana image
Momourl · image
URL e tohu ana ki te atahanga e whakamahia ana mō te whakaputanga ataata. Kaua te rahi kōnae e nui ake i te 10 MB; me 300px neke atu te whānui me te teitei, ā, me noho te ōwehenga āhua ki waenga i te 0.40 me te 2.50.
durationkōwhiringa
Momoenum
Taunoa5
510
Te roa o te ataata putanga, ka inea ki te hēkona.
negative_promptkōwhiringa
Momostring
Taunoablur, distort, and low quality
≤ 2,500 pūāhua
cfg_scalekōwhiringa
Momonumber
Taunoa0.5
0 – 1
Tautuhia te kaha o te whai a te whakaputanga i tō tohutohu mā te CFG, he whakapoto mō te ārahitanga kore whakarōpū.
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-video/v2.5-turbo/standard/image-to-video",
  "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": 210,
    "usd": "0.21",
    "charged": 210,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/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
video
object {url, content_type, file_name, file_size}Te ataata i hangaia e te tauira.

Ētahi atu tauira: Atahanga ki te Ataata

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