Léim chuig an ábhar

Kling 3.0 Pro Text to Video

Comhtháthú

Aitheantas na samhla 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://api.doitong.com/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://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

An t-iarratas seo: $0.56 560 gcreidmheas API Rith ar an leathanach seo

Faigh eochair API
Kling Téacs go Físeán Fuaim dhúchasach3–15 s #audio#cinematic#multi-shot

Gearrthóga cineamatacha 3 go 15 soicind ó leid, le fuaim dhúchasach agus scéalaíocht ilseatanna.

Samplaí

Aschur · ~141 s

LeidA 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 gcreidmheas API

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

289 / 2500

Treoracha téacs a úsáidtear chun an físeán a ghiniúint. Soláthair `prompt` nó `multi_prompt` amháin.

duration 5 s

Fad an fhíseáin aschuir, tomhaiste ina soicindí.

aspect_ratio

Cóimheas leithead-airde na bhfrámaí san fhíseán aschuir.

Ardleibhéal negative_prompt · shot_type · cfg_scale · multi_prompt
0 / 2500
shot_type réamhshocrú customize

Roghnaigh conas a phleanálann giniúint ilseatanna a seatanna; agus 'intelligent' á roghnú, tarmligtear struchtúr an tseat chuig an tsamhail.

réamhshocrú 0.5

Socraigh cé chomh dlúth agus a leanann an giniúint do leid ag úsáid CFG, giorrúchán ar Classifier Free Guidance.

Leideanna agus faid in aghaidh an tseat a thagann, nuair a sholáthraítear iad, in áit na leide aonair chun físeán roinnte ina seatanna iomadúla a chruthú.

POST /run/kling-video/v3/pro/text-to-video?wait=20 luachan → $0.56
# 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-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://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Déanta ar Doitong

Saothair phoiblí déanta leis an Kling v3 ag pobal Doitong. Athúsáid leid le clic amháin.

Saothair phoiblí ar taispeáint: 16
**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Físeán

**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... Físeán

**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... Físeán

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

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

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

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Físeán

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

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

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

A five-second orbital camera move circling completely around a red-haired woman in a yellow rainc... Físeán

A five-second orbital camera move circling completely around a red-haired woman in a yellow raincoat standing in an autumn forest holding a vintage lantern, she remains stationary facing forward while the camera circles 180 degrees from her left side to her right side at eye level, golden fallen...

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a w... Físeán

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a wooden cutting board in a bright kitchen, camera suddenly swings in a rapid blur motion panning right at high speed creating motion blur, ending sharply focused on a barista pouring latte art in a...

Maidir le Kling 3.0 Pro Text to Video

Rindreálann samhail téacs-go-físeán shuaitheanta Kling gluaiseacht mhín, inchreidte go fisiciúil agus soilsiú cosúil le scannán, agus cruthaíonn sí fuaim agus caint mheaitseáilte de réir réamhshocraithe. Roinn gearrthóg amháin ina roinnt seatanna le leideanna do gach seat, nó lig don tsamhail na ciorruithe a phleanáil í féin. 16:9, 9:16 nó 1:1, aon fhad ó 3 go 15 soicind, le leid dhiúltach agus scála treorach.

Paraiméadair

AinmCineál RéamhshocrúCeadaithe Cur síos
promptroghnach
Cineálstring | null
≤ 2,500 gcarachtar
Treoracha téacs a úsáidtear chun an físeán a ghiniúint. Soláthair `prompt` nó `multi_prompt` amháin.
durationroghnach
Cineálenum
Réamhshocrú5
3456789101112131415
Fad an fhíseáin aschuir, tomhaiste ina soicindí.
multi_promptroghnach
Cineálobject[]
Leideanna agus faid in aghaidh an tseat a thagann, nuair a sholáthraítear iad, in áit na leide aonair chun físeán roinnte ina seatanna iomadúla a chruthú.
multi_prompt[].promptriachtanach
Cineálstring
Treoracha téacs don seat reatha.
multi_prompt[].durationroghnach
Cineálenum
Réamhshocrú5
123456789101112131415
Fad an tseat reatha, tomhaiste ina soicindí.
generate_audioroghnach
Cineálboolean
Réamhshocrútrue
Lascthrealamh giniúna fuaime dúchasaí físeáin, a thacaíonn le guthanna i Sínis nó i mBéarla agus a aistríonn aon teanga eile go Béarla go huathoibríoch. Maidir le hurlabhra Béarla, scríobh acrainmneacha agus ainmfhocail chearta i gceannlitreacha agus gach rud eile i litreacha beaga.
shot_typeroghnach
Cineálenum
Réamhshocrúcustomize
customizeintelligent
Roghnaigh conas a phleanálann giniúint ilseatanna a seatanna; agus 'intelligent' á roghnú, tarmligtear struchtúr an tseat chuig an tsamhail.
aspect_ratioroghnach
Cineálenum
Réamhshocrú16:9
16:99:161:1
Cóimheas leithead-airde na bhfrámaí san fhíseán aschuir.
negative_promptroghnach
Cineálstring
Réamhshocrúblur, distort, and low quality
≤ 2,500 gcarachtar
cfg_scaleroghnach
Cineálnumber
Réamhshocrú0.5
0 – 1
Socraigh cé chomh dlúth agus a leanann an giniúint do leid ag úsáid CFG, giorrúchán ar Classifier Free Guidance.
riachtanach

Aschur

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://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
video
object {url, content_type, file_name, file_size}Físeán arna tháirgeadh ag an tsamhail.

Tuilleadh samhlacha: Téacs go Físeán

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/kling-video/v3/pro/text-to-video.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt