Kling O1 Reference Image to Video [Pro]
Comhtháthú
kling-video/o1/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.ru/v1/run/kling-video/o1/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.ru/v1/requests/REQUEST_ID?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY"
const API = "https://api.doitong.ru/v1";
const headers = {
"Authorization": "Bearer " + process.env.DOITONG_API_KEY,
"Content-Type": "application/json",
};
// Run the model; wait up to 20 s for the finished result in the same call
let res = await fetch(API + "/run/kling-video/o1/reference-to-video?wait=20", {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
}),
});
let request = await res.json();
if (!res.ok) throw new Error(request.error.code + ": " + request.error.message);
// Not finished yet: long-poll until it is
while (request.status === "queued" || request.status === "running") {
res = await fetch(API + "/requests/" + request.id + "?wait=20", { headers });
request = await res.json();
}
if (request.status !== "succeeded") throw new Error(JSON.stringify(request.error));
console.log(request.outputs.map((o) => o.url), request.cost.credits + " API credits ($" + request.cost.usd + ")");
import os
import requests
API = "https://api.doitong.ru/v1"
headers = {"Authorization": "Bearer " + os.environ["DOITONG_API_KEY"]}
payload = {
"prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
}
# Run the model; wait up to 20 s for the finished result in the same call
r = requests.post(API + "/run/kling-video/o1/reference-to-video", params={"wait": 20}, json=payload, headers=headers)
request = r.json()
if not r.ok:
raise RuntimeError(request["error"]["code"] + ": " + request["error"]["message"])
# Not finished yet: long-poll until it is
while request["status"] in ("queued", "running"):
request = requests.get(API + "/requests/" + request["id"], params={"wait": 20}, headers=headers).json()
if request["status"] != "succeeded":
raise RuntimeError(request["error"])
print([o["url"] for o in request["outputs"]], request["cost"]["credits"], "API credits", "$" + request["cost"]["usd"])
# 1. Connect once (Claude Code; Cursor, VS Code, Claude Desktop: https://doitong.com/ga/developers/docs/mcp)
claude mcp add --transport http doitong-models https://api.doitong.ru/v1/mcp \
--header "Authorization: Bearer $DOITONG_API_KEY"
# 2. Your agent calls the "run" tool with:
{
"model_id": "kling-video/o1/reference-to-video",
"input": {
"prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
}
}
Glaoigh ar an tsamhail Kling O1 Reference Image to Video [Pro] (kling-video/o1/reference-to-video) tríd an Doitong API. Doiciméid do ghníomhairí: https://doitong.com/ga/developers/models/kling-video/o1/reference-to-video.md
POST https://api.doitong.ru/v1/run/kling-video/o1/reference-to-video?wait=20
Authorization: Bearer $DOITONG_API_KEY
Content-Type: application/json
{
"prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
}
Má tá stádas an fhreagra "queued" nó "running", seiceáil GET https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20 arís go dtí go mbeidh sé "succeeded"; tá na comhaid in outputs[].url. Seolann POST https://api.doitong.ru/v1/quote/kling-video/o1/reference-to-video leis an gcorp céanna an praghas beacht roimh an rith.
An t-iarratas seo: $0.56 560 gcreidmheas API · ≈ ₽59.06 Rith ar an leathanach seo
D’eochair API nua. Taispeántar anois é amháin agus tá sé sa chód agus i réimse eochair API thíos cheana féin. Coinnigh faoi rún é: ná cuir i gcód é a ritheann i mbrabhsálaí.
Déanta ar Doitong
Saothair phoiblí déanta leis an Kling O1 ag pobal Doitong. Athúsáid leid le clic amháin.
Físeán
A charismatic male singer is standing on stage during the instrumental intro of a romantic song. He gently dances to the rhythm, smoothly sways his shoulders and body, makes small natural dance steps, smiles confidently and enjoys the music. He slightly nods his head to the beat and prepares to...
Físeán
Оживи исходное изображение, полностью сохрани внешность девушки и дизайн розового персонажа, их лица, цвета, интерьер, композицию и существующий русский текст. Розовый персонаж оживает, смотрит на зрителя, радостно улыбается, моргает, слегка подпрыгивает и машет рукой. Он произносит по-русски:...
Físeán
Оживи исходное изображение, полностью сохрани внешность девушки и дизайн розового персонажа, их лица, цвета, интерьер, композицию и существующий русский текст. Розовый персонаж оживает, смотрит на зрителя, радостно улыбается, моргает, слегка подпрыгивает и машет рукой. Он произносит по-русски:...
Físeán
Оживи исходное изображение, полностью сохрани внешность девушки и дизайн розового персонажа, их лица, цвета, интерьер, композицию и существующий русский текст. Розовый персонаж оживает, смотрит на зрителя, радостно улыбается, моргает, слегка подпрыгивает и машет рукой. Он произносит по-русски:...
Físeán
Оживи исходное изображение как сцену качественного доброго 3D-мультфильма. Полностью сохрани внешность девушки и розового персонажа: лица, глаза, пропорции, одежду, цвета и интерьер. Розовый персонаж смотрит прямо на зрителя, радостно улыбается, естественно моргает и дружелюбно машет рукой. Затем...
Físeán
Оживи исходную фотографию максимально реалистично и естественно. Полностью сохрани внешность человека, черты лица, возраст, прическу, одежду, пропорции тела, освещение, фон и исходную композицию кадра. Человек смотрит в камеру, мягко и тепло улыбается, затем естественно поднимает одну руку и...
Físeán
Оживи исходное изображение, сохранив внешность женщины без изменений. Ольга Викторовна смотрит прямо в камеру и спокойно рассказывает, естественно моргает, слегка улыбается. Делает один мягкий объясняющий жест открытой рукой. Очень лёгкое естественное движение волос и дыхания. Камера медленно и...
Físeán
Используй предоставленную фотографию Ольги Викторовны как строгий референс внешности. Создай максимально похожую на неё женщину: сохранить черты и пропорции лица, возраст, форму глаз, носа и губ, цвет кожи, светлые длинные волосы и естественную мимику. Не омолаживать и не менять внешность. Ольга...
Físeán
Как я вижу Ваш мультфильм Сцена 1 — «Когда я появилась» Маленькая Вы — совсем малышкой. В комнате тёплый свет, рядом Ваша молодая сестра смотрит на Вас с любовью и заботой. Озвучка: «Когда я только родилась, я ещё ничего не понимала. Я не знала, сколько любви и заботы будет рядом со мной…» Сцена...
Físeán
Создай динамичный детский 3D-мультфильм длительностью ровно 10 секунд для YouTube Shorts. Формат: вертикальный 9:16, яркая красочная 3D-анимация, кинематографичный стиль, плавное движение камеры. Главный герой: маленький супергерой Вспыш — добрый, смелый, очень быстрый, красно-синий костюм,...
Físeán
Use the uploaded image as the exact character reference. Keep the woman’s face, hairstyle, brown hair, dress, body shape and appearance IDENTICAL to the reference image. Create a hyper-realistic 10-second video inside a busy Kazakhstan clothing bazaar. The woman is a strict female clothing...
Físeán
5-second continuous shot. The hand holding the pink pencil slowly touches the small pink heart already visible on the paper. It doesn’t draw anything new. The pencil then lifts slightly above the page and pauses. The other hand remains resting on the paper. Fixed camera, no zoom, no cuts, no head...
Físeán
Ты эксперт в медиа продвижении в социальных сетях --- Название рилс: "Ошибка №1 После Развода: Почему ты тормозишь себя?" Хук (Первые 3-5 секунд): * Визуал: Крупный план вашего лица, выражающего легкое недоумение или задумчивость. Затем резкий переход к черно-белой картинке или затемнению. *...
Físeán
Сделай мультик в виде них , раздели эту пару и вот смотри сюжет мультика Он идет по универу и видит ее , сделай на ней обувь ванс , акцент что он запомнил это и сделай так будто он подумал ой какая красивая и хорошая девочка будто влюбился с первого взгляда и она обратила на него внимание! В...
Físeán
| Блок | Время | Сцена и действие | Визуальный стиль / Атмосфера | |---|---|---|---| | Часть 1: Рутина и стресс | 0:00–0:04 | Метро: Та же блондинка с усталым, грустным выражением лица сидит у окна вагона поезда метро. | Холодный синеватый свет, кинематографичные тени, смазанные огни за окном. |...
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.
/run/kling-video/o1/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.ru/v1/run/kling-video/o1/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.ru/v1/requests/REQUEST_ID?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY"
const API = "https://api.doitong.ru/v1";
const headers = {
"Authorization": "Bearer " + process.env.DOITONG_API_KEY,
"Content-Type": "application/json",
};
// Run the model; wait up to 20 s for the finished result in the same call
let res = await fetch(API + "/run/kling-video/o1/reference-to-video?wait=20", {
method: "POST",
headers,
body: JSON.stringify({
"prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
}),
});
let request = await res.json();
if (!res.ok) throw new Error(request.error.code + ": " + request.error.message);
// Not finished yet: long-poll until it is
while (request.status === "queued" || request.status === "running") {
res = await fetch(API + "/requests/" + request.id + "?wait=20", { headers });
request = await res.json();
}
if (request.status !== "succeeded") throw new Error(JSON.stringify(request.error));
console.log(request.outputs.map((o) => o.url), request.cost.credits + " API credits ($" + request.cost.usd + ")");
import os
import requests
API = "https://api.doitong.ru/v1"
headers = {"Authorization": "Bearer " + os.environ["DOITONG_API_KEY"]}
payload = {
"prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
}
# Run the model; wait up to 20 s for the finished result in the same call
r = requests.post(API + "/run/kling-video/o1/reference-to-video", params={"wait": 20}, json=payload, headers=headers)
request = r.json()
if not r.ok:
raise RuntimeError(request["error"]["code"] + ": " + request["error"]["message"])
# Not finished yet: long-poll until it is
while request["status"] in ("queued", "running"):
request = requests.get(API + "/requests/" + request["id"], params={"wait": 20}, headers=headers).json()
if request["status"] != "succeeded":
raise RuntimeError(request["error"])
print([o["url"] for o in request["outputs"]], request["cost"]["credits"], "API credits", "$" + request["cost"]["usd"])
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "run",
"arguments": {
"model_id": "kling-video/o1/reference-to-video",
"input": {
"prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
},
"wait_seconds": 20
}
}
}
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 O1 Reference Image to Video [Pro]
Gineann sé gearrthóg ó `prompt` riachtanach suas le 2500 carachtar. Déan tagairt do `elements` soláthraithe mar @Element1 agus do `image_urls` mar @Image1; is féidir 7 n-eilimint agus íomhá thagartha ar a mhéad a chomhcheangal. Maireann sé 3 go 10 soicind (réamhshocrú 5), agus is é an cóimheas gné 16:9, 9:16 nó 1:1.
Paraiméadair
Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha
enable_safety_checkerroghnach
promptriachtanach
image_urlsroghnach
images
elementsroghnach
elements[].frontal_image_urlriachtanach
elements[].reference_image_urlsroghnach
durationroghnach
aspect_ratioroghnach
Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid
Aschur
{
"id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
"object": "request",
"model": "kling-video/o1/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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
"cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
}
}
Réimsí aschuir
- video
- object {url, content_type, file_name, file_size}An físeán a tháirg an tsamhail.
Leaganacha eile de Kling O1
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/o1/reference-to-video.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt