Léim chuig an ábhar

Kling O3 Reference Video to Video [Pro]

Comhtháthú

Aitheantas na samhla kling-video/o3/pro/video-to-video/reference
# 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/o3/pro/video-to-video/reference?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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: $2.52 2,520 gcreidmheas API Rith ar an leathanach seo

Faigh eochair API

Déanta ar Doitong

Saothair phoiblí déanta leis an Kling O3 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...

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.

•riachtanach 88 / 2500

Treoracha téacs chun an físeán a ghiniúint. Úsáid @Video1 chun tagairt a dhéanamh don fhíseán tagartha.

•riachtanach video_url
Scaoil comhad, nó

URL a dhíríonn ar fhíseán tagartha i bhformáid .mp4 nó .mov, nach bhfuil níos mó ná 200MB. Caithfidh an dá thoise a bheith idir 720px agus 3840px, le ráta fráma 23.0–60.0 FPS agus fad 3–15 soicind (15.05 soicind ar a mhéad).

duration

Fad an fhíseáin, tomhaiste ina soicindí; is é 3–15s raon an fhíseáin tagartha.

aspect_ratio réamhshocrú auto

Cóimheas an leitheid agus na hairde.

Ardleibhéal images · shot_type · enable_safety_checker · keep_audio · elements
image_urls
Scaoil comhad, nó

Íomhánna a threoraíonn stíl nó cuma, agus a ndéantar tagairt dóibh sa leid le @Image1, @Image2, agus mar sin de. Le hionchur físeáin, ní féidir le heilimintí agus íomhánna tagartha le chéile dul thar 4 iontráil. Tá gach comhad teoranta do 50 MB, agus caithfidh an leithead agus an airde a bheith 300 px ar a laghad, le cóimheas gné idir 0.40 agus 2.50.

réamhshocrú customize

Mód a úsáidtear chun físeáin ilseatanna a ghiniúint.

Carachtair nó réada le cur san áireamh, agus a ndéantar tagairt dóibh sa leid le @Element1 agus @Element2.

POST /run/kling-video/o3/pro/video-to-video/reference?wait=20 luachan → $2.52
# 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/o3/pro/video-to-video/reference?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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

Maidir le Kling O3 Reference Video to Video [Pro]

Glacann sé físeán tagartha (`video_url`, .mp4/.mov, 3-15 s, 720-3840px, uasmhéid 200MB) agus leid, agus gineann sé gearrthóg nua faoi threoir na tagartha. Is féidir `duration` an aschuir a bheith 3 go 15 soicind agus is é `aspect_ratio` auto, 16:9, 9:16 nó 1:1. Is féidir íomhánna tagartha agus `elements` a chur leis, suas le 4 le chéile, agus rialaíonn `keep_audio` an fhuaim bhunaidh.

Paraiméadair

Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha

AinmCineál RéamhshocrúCeadaithe Cur síos
enable_safety_checkerroghnach
Cineálboolean
Réamhshocrútrue
Ní féidir seiceálacha sábháilteachta a dhíchumasú ach le húdarú cuntais; déantar seiceáil i gcónaí ar iarratais gan údarú.
promptriachtanach
Cineálstring
≤ 2,500 gcarachtar
Treoracha téacs chun an físeán a ghiniúint. Úsáid @Video1 chun tagairt a dhéanamh don fhíseán tagartha.
video_urlriachtanach video
Cineálurl · video
URL a dhíríonn ar fhíseán tagartha i bhformáid .mp4 nó .mov, nach bhfuil níos mó ná 200MB. Caithfidh an dá thoise a bheith idir 720px agus 3840px, le ráta fráma 23.0–60.0 FPS agus fad 3–15 soicind (15.05 soicind ar a mhéad).
image_urlsroghnach images
Cineálurl[] · image
Íomhánna a threoraíonn stíl nó cuma, agus a ndéantar tagairt dóibh sa leid le @Image1, @Image2, agus mar sin de. Le hionchur físeáin, ní féidir le heilimintí agus íomhánna tagartha le chéile dul thar 4 iontráil. Tá gach comhad teoranta do 50 MB, agus caithfidh an leithead agus an airde a bheith 300 px ar a laghad, le cóimheas gné idir 0.40 agus 2.50.
keep_audioroghnach
Cineálboolean
Réamhshocrútrue
Rialaíonn sé coinneáil fuaim bhunaidh an fhíseáin tagartha.
elementsroghnach
Cineálobject[]
Carachtair nó réada le cur san áireamh, agus a ndéantar tagairt dóibh sa leid le @Element1 agus @Element2.
elements[].frontal_image_urlroghnach
Cineálurl · image
Íomhá aghaidh chun tosaigh a thaispeánann príomhamharc na heiliminte. Ní féidir le méid an chomhaid dul thar 50 MB; caithfidh an leithead agus an airde a bheith 300px ar a laghad, le cóimheas gné idir 0.40 agus 2.50.
elements[].reference_image_urlsroghnach
Cineálurl[] · image
Soláthair 1–3 íomhá tagartha bhreise ó uillinneacha éagsúla. Caithfidh cóimheas gné idir 0.40 agus 2.50 a bheith ag gach íomhá, 300px ar a laghad sa dá thoise, agus gan a bheith níos mó ná 50.0MB.
shot_typeroghnach
Cineálstring
Réamhshocrúcustomize
Mód a úsáidtear chun físeáin ilseatanna a ghiniúint.
aspect_ratioroghnach
Cineálenum
Réamhshocrúauto
auto16:99:161:1
Cóimheas an leitheid agus na hairde.
durationroghnach
Cineálenum
3456789101112131415
Fad an fhíseáin, tomhaiste ina soicindí; is é 3–15s raon an fhíseáin tagartha.
riachtanach Ainm canónach, glactar leis freisin

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o3/pro/video-to-video/reference",
  "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": 2520,
    "usd": "2.52",
    "charged": 2520,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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}An físeán a tháirg an tsamhail.

Tuilleadh samhlacha: Físeán go Físeán

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