Peke ki ngā ihirangi

Kling 3.0 Pro Text to Video

Whakauru

id tauira kling-video/v3/pro/text-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/v3/pro/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A paper boat drifts down a rain-filled street gutter at dusk. The camera follows at water level as raindrops ripple around it and neon reflections shimmer on the wet asphalt, then the boat tips over a small cascade into a puddle. Realistic water physics, shallow depth of field, cinematic.",
    "duration": 5,
    "generate_audio": false,
    "aspect_ratio": "16:9"
  }'

# 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.56 560 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Kling Kuputuhi ki te Ataata Ororongo taketake3–15 s #audio#cinematic#multi-shot

Ngā topenga kiriata 3 ki te 15 hēkona mai i tētahi tono, me te oro taketake me te kōrero whakaahua maha.

Ngā tauira

Putanga · ~141 s

TohutohuA paper boat drifts down a rain-filled street gutter at dusk. The camera follows at water level as raindrops ripple around it and neon reflections shimmer on the wet asphalt, then the boat tips over a small cascade into a puddle. Realistic water physics, shallow depth of field, cinematic.

5 sgenerate_audio: false16:9$ 0.56 · 560 whiwhinga API

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.

289 / 2500

Ngā tohutohu kuputuhi hei whakaputa i te ataata. Tukuna kia kotahi anake o tohutohu, multi_prompt rānei.

duration 5 s

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

aspect_ratio

Ōwehenga whānui-ki-teitei mō ngā anga o te ataata putanga.

Arā atu negative_prompt · shot_type · cfg_scale · multi_prompt
0 / 2500
shot_type taunoa customize

Kōwhiria te whakamaheretanga o ngā hopunga mō te whakaputanga hopunga-maha; mā te tīpako i 'intelligent' e tuku te hanganga hopunga mā te tauira e whakarite.

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

Ngā tohutohu me ngā roanga mō ia hopunga, ka whakakapi i te tohutohu kotahi ina tukuna, hei hanga ataata kua wehea ki ngā hopunga maha.

POST /run/kling-video/v3/pro/text-to-video?wait=20 utu → $ 0.56
# 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/v3/pro/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A paper boat drifts down a rain-filled street gutter at dusk. The camera follows at water level as raindrops ripple around it and neon reflections shimmer on the wet asphalt, then the boat tips over a small cascade into a puddle. Realistic water physics, shallow depth of field, cinematic.",
    "duration": 5,
    "generate_audio": false,
    "aspect_ratio": "16:9"
  }'

# 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 3.0 Pro Text to Video

Ko te tauira text-to-video tino matatau a Kling ka whakaputa i ngā nekehanga māeneene, whai-tinana, me te rama rite ki te kiriata, ā, ka waihanga taunoa i te oro me te kōrero e hāngai ana. Wehea tētahi topenga kia maha ngā whakaahua mā ngā tono mō ia whakaahua, waiho rānei mā te tauira ngā tapahi e whakamahere. 16:9, 9:16, 1:1 rānei, me te roa mai i te 3 ki te 15 hēkona, me te tono tōraro me te tauine arataki.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
promptkōwhiringa
Momostring | null
≤ 2,500 pūāhua
Ngā tohutohu kuputuhi hei whakaputa i te ataata. Tukuna kia kotahi anake o tohutohu, multi_prompt rānei.
durationkōwhiringa
Momoenum
Taunoa5
3456789101112131415
Te roa o te ataata putanga, ka inea ki te hēkona.
multi_promptkōwhiringa
Momoobject[]
Ngā tohutohu me ngā roanga mō ia hopunga, ka whakakapi i te tohutohu kotahi ina tukuna, hei hanga ataata kua wehea ki ngā hopunga maha.
multi_prompt[].prompte hiahiatia ana
Momostring
Ngā tohutohu kuputuhi mō te hopunga onāianei.
multi_prompt[].durationkōwhiringa
Momoenum
Taunoa5
123456789101112131415
Te roa o te hopunga onāianei, ka inea ki te hēkona.
generate_audiokōwhiringa
Momoboolean
Taunoatrue
Pātene whakakā/weto mō te whakaputanga ororongo taketake o te ataata, e tautoko ana i ngā reo Hainamana, Ingarihi hoki, ā, ka whakamāori aunoa i ētahi atu reo ki te reo Ingarihi. Mō te kōrero Ingarihi, tuhia ngā kupu whakarāpopoto me ngā ingoa ake ki ngā pūmatua, me ērā atu katoa ki ngā pūriki.
shot_typekōwhiringa
Momoenum
Taunoacustomize
customizeintelligent
Kōwhiria te whakamaheretanga o ngā hopunga mō te whakaputanga hopunga-maha; mā te tīpako i 'intelligent' e tuku te hanganga hopunga mā te tauira e whakarite.
aspect_ratiokōwhiringa
Momoenum
Taunoa16:9
16:99:161:1
Ōwehenga whānui-ki-teitei mō ngā anga o te ataata putanga.
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

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v3/pro/text-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": 560,
    "usd": "0.56",
    "charged": 560,
    "refunded": 0
  },
  "input": {
    "prompt": "Close-up of fireflies dancing in a dark forest at twilight, soft glowing particles, slow dolly forward",
    "duration": 5,
    "aspect_ratio": "16:9"
  },
  "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: Kuputuhi 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/v3/pro/text-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt