Peke ki ngā ihirangi

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

Whakauru

id tauira kling-video/v2.5-turbo/pro/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/pro/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.35 350 whiwhinga API Whakahaerehia ki tēnei whārangi

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

Ataata-ki-te-ataata v2.5 Turbo Pro me te atahanga whakamutunga kōwhiringa me te whakahaere CFG, 5, 10 s rānei

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.

duration 5 s

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

Arā atu negative_prompt · end_image · cfg_scale · enable_safety_checker
0 / 2500
tail_image_url
Whakataka he kōnae,

Tukuna te atahanga o te anga whakamutunga mā te URL hei tautuhi i te mutunga o te ataata.

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/pro/image-to-video?wait=20 utu → $ 0.35
# 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/pro/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 · Pro · Image to Video

Ka huri i tētahi atahanga kotahi (`image_url`) me tētahi tohutohu tae atu ki te 2500 pūāhua hei ataata 5, 10 hēkona rānei. Mā `tail_image_url` kōwhiringa e whakarite te anga whakamutunga. Ko te awhe o `cfg_scale` he 0 ki te 1, ā, e tautokona ana `negative_prompt`. Koinei te taumata Pro o v2.5 Turbo.

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
Mā te whakamanatanga pūkete anake e āhei ai te whakaweto i ngā arowhai haumaru; ka arowhaitia tonutia ngā tono kāore he whakamanatanga.
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.
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ū.
tail_image_urlkōwhiringa end_image
Momourl · image
Tukuna te atahanga o te anga whakamutunga mā te URL hei tautuhi i te mutunga o te ataata.
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/pro/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": 350,
    "usd": "0.35",
    "charged": 350,
    "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/pro/image-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt