Léim chuig an ábhar

Kling O3 Reference to Video [Pro]

Comhtháthú

Aitheantas na samhla kling-video/o3/pro/reference-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/o3/pro/reference-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"
  }'

# 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

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

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

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

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

Моя первая глобальная цель — 10.000 подписчиков. Я хочу расти вместе с вами, делать сериалы ещё к... Físeán

Моя первая глобальная цель — 10.000 подписчиков. Я хочу расти вместе с вами, делать сериалы ещё круче, масштабнее и в итоге превратить это в полноценный проект, чтобы в дальнейшем монетизировать свой блог. Путь к первой десятке объявляю открытым. Идём со мной? Мне нужно такое видео в трёх кадрах...

Оживи старую чёрно-белую свадебную фотографию. Молодожёны стоят рядом друг с другом. Жених нежно ... Físeán

Оживи старую чёрно-белую свадебную фотографию. Молодожёны стоят рядом друг с другом. Жених нежно и с любовью смотрит на невесту, слегка улыбается и бережно касается её руки. Невеста мягко улыбается, немного поворачивает голову к жениху и смотрит на него с теплотой. Их движения естественные,...

The woman in the reference photo smiles naturally at the camera. Golden magical sparks begin swir... Físeán

The woman in the reference photo smiles naturally at the camera. Golden magical sparks begin swirling around her body. Her eyes briefly glow with warm golden light. A beautiful black witch hat appears on her head, and her clothes magically transform into an elegant black-and-gold witch costume...

Кролик открывает дверь девушке, девушка дает чаевые кролику и говорит « спасибо, мой ушастый друг... Físeán

Кролик открывает дверь девушке, девушка дает чаевые кролику и говорит « спасибо, мой ушастый друг», он закрывает за ней дверь и говорит «Пожалуйста, красотка» после того как она села в машину за руль, кролик немного отходит, девушка в дрифте уезжает, все в одной сцене. Съемка кинематографичная....

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.

88 / 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, idir 3 agus 15 soicind.

aspect_ratio réamhshocrú 16:9

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

Ardleibhéal image · end_image · images · shot_type · enable_safety_checker · multi_prompt · elements
start_image_url
Scaoil comhad, nó

Íomhá a úsáidtear do fhráma tosaigh an fhíseáin. 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.

end_image_url
Scaoil comhad, nó

Íomhá a sholáthraíonn fráma deiridh an fhíseáin, teoranta do 50 MB. Caithfidh an leithead agus an airde a bheith 300 px ar a laghad, le cóimheas gné idir 0.40 agus 2.50.

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.

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.

Liosta leideanna a úsáidtear chun físeán le seatanna iomadúla 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/reference-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/o3/pro/reference-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"
  }'

# 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 to Video [Pro]

Tógann sé radhairc físeáin ó `image_urls` tagartha a luaitear mar @Image1 agus araile, mar aon le `elements` do charachtair nó réada. Socraíonn `start_image_url` agus `end_image_url` roghnacha na chéad agus na frámaí deiridh. Maireann sé 3 go 15 soicind, is é an cóimheas gné 16:9, 9:16 nó 1:1. Tacaíonn sé le seatanna `multi_prompt` agus fuaim roghnach.

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ú.
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.
multi_promptroghnach
Cineálobject[]
Liosta leideanna a úsáidtear chun físeán le seatanna iomadúla a ghiniúint.
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í.
start_image_urlroghnach image
Cineálurl · image
Íomhá a úsáidtear do fhráma tosaigh an fhíseáin. 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.
end_image_urlroghnach end_image
Cineálurl · image
Íomhá a sholáthraíonn fráma deiridh an fhíseáin, teoranta do 50 MB. Caithfidh an leithead agus an airde a bheith 300 px ar a laghad, le cóimheas gné idir 0.40 agus 2.50.
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.
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.
elements[].video_urlroghnach
Cineálurl · video
URL a dhíríonn ar fhíseán eiliminte; ní fhéadfaidh ach eilimint amháin in aghaidh an iarratais físeán a chur san áireamh. Caithfidh an comhad a bheith 200 MB ar a mhéad, le leithead agus airde idir 720px agus 2160px. Caithfidh an fad a bheith idir 3 soicind agus 10.05 soicind, agus FPS idir 24.0 agus 60.0.
elements[].voice_idroghnach
Cineálstring | null
Voice ID sannta don eilimint. Úsáideann tagairtí don eilimint sin an guth sannta di.
generate_audioroghnach
Cineálboolean
Réamhshocrúfalse
Rialaíonn sé an ngintear fuaim dhúchasach in éineacht leis an bhfíseán.
durationroghnach
Cineálenum
Réamhshocrú5
3456789101112131415
Fad an fhíseáin, idir 3 agus 15 soicind.
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 ginte.
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/reference-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": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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: Tagairt 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/reference-to-video.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt