Léim chuig an ábhar

Kling Image · O3 · Text to Image

Comhtháthú

Aitheantas na samhla kling-image/o3/text-to-image
# 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-image/o3/text-to-image?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"

An t-iarratas seo: $0.028 28 gcreidmheas API · ≈ ₽3.01 Rith ar an leathanach seo

Faigh eochair API
Kling Téacs go hÍomhá Aschur 4KIonchuir tagarthasuas le 4K #text-to-image

O3 téacs-go-íomhá ag 1K, 2K nó 4K, le rialú aghaidhe bunaithe ar eilimintí agus aschur sraithe

Déanta ar Doitong

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

Saothair phoiblí ar taispeáint: 16
Оживи исходное изображение. Полностью сохрани внешность девушки, лицо, причёску, одежду, интерьер... Físeán

Оживи исходное изображение. Полностью сохрани внешность девушки, лицо, причёску, одежду, интерьер, цвета, композицию и русский текст. Девушка смотрит прямо на зрителя, естественно улыбается, моргает, слегка наклоняется вперёд и показывает пальцем на зрителя. Она естественно произносит по-русски:...

Оживи исходное изображение, полностью сохрани внешность девушки и дизайн розового персонажа, их л... Físeán

Оживи исходное изображение, полностью сохрани внешность девушки и дизайн розового персонажа, их лица, цвета, интерьер, композицию и существующий русский текст. Розовый персонаж оживает, смотрит на зрителя, радостно улыбается, моргает, слегка подпрыгивает и машет рукой. Он произносит по-русски:...

Make A warm, emotional 25 second video cinematic scene of a 4 years of boy with dark brown hair a... Físeán

Make A warm, emotional 25 second video cinematic scene of a 4 years of boy with dark brown hair and big eyes having a difficult moment—crying, reaching toward their mother, and showing frustration. The mother initially looks concerned,she listens him then gently kneels down, makes eye contact,...

Ты эксперт в медиа продвижении в социальных сетях --- Название рилс: "Ошибка №1 После Развода: По... Físeán

Ты эксперт в медиа продвижении в социальных сетях --- Название рилс: "Ошибка №1 После Развода: Почему ты тормозишь себя?" Хук (Первые 3-5 секунд): * Визуал: Крупный план вашего лица, выражающего легкое недоумение или задумчивость. Затем резкий переход к черно-белой картинке или затемнению. *...

🎬 Фильм «Мамы больше нет» Общий стиль для всех сцен: Фотореалистичный современный российский худо... Físeán

🎬 Фильм «Мамы больше нет» Общий стиль для всех сцен: Фотореалистичный современный российский художественный фильм. Настоящие люди, реальные человеческие лица, натуральная кожа, естественная мимика и движения. Реальная квартира, естественный дневной и вечерний свет, кинематографическая камера,...

Use the uploaded image as the exact identity and appearance reference. Create a short hyperrealis... Físeán

Use the uploaded image as the exact identity and appearance reference. Create a short hyperrealistic video where the woman keeps exactly the same face, identity, facial features, proportions, skin tone, hairstyle, bouquet, white shirt, pink balloons, candles “24”, and background. The motion must...

Медленное плавное приближение камеры к гигантскому флакону духов в миниатюрном ночном городе. Две... Físeán

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

Девушка всилит дома смотрит интернете ищет салон красоты ,находит салон,приходит в салон наш с ку... Físeán

Девушка всилит дома смотрит интернете ищет салон красоты ,находит салон,приходит в салон наш с кудрявыми волосами ,другой мастер кератиновое выпрямление волос ,и она смотрит на свои волосы в зеркало и очень счастлива и благодарит мастера Анастасию Render entirely in "Claymation" style — match its...

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

Leid giniúna íomhá le teorainn 2500 carachtar.

resolution réamhshocrú 1K

Taifeach íomhá aschuir: 1K don chaighdeán, 2K don ardtaifeach, nó 4K don taifeach an-ard.

aspect_ratio réamhshocrú 16:9

Cóimheas leithead-airde do na híomhánna ginte.

num_images réamhshocrú 1

Líon na n-íomhánna aschuir, ó 1 go 9; ní bhaineann sé seo ach le `result_type` atá `single`.

Ardleibhéal result_type · output_format · series_amount · enable_safety_checker · elements
result_type réamhshocrú single

Cineál aschuir: cruthaíonn `single` íomhá amháin, agus cruthaíonn `series` íomhánna iomadúla gaolmhara.

output_format réamhshocrú png

Formáid comhaid na híomhá deiridh.

Líon na n-íomhánna sa tsraith, ó 2 go 9; ní bhaineann sé seo ach le `result_type` atá `series`.

Eilimintí roghnacha rialaithe aghaidhe a léiríonn carachtair nó réada, a dtugtar aghaidh orthu sa leid le @Element1, @Element2, etc.

POST /run/kling-image/o3/text-to-image?wait=20 luachan → $0.028
# 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-image/o3/text-to-image?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"

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 Image · O3 · Text to Image

Cruthaíonn sé íomhánna ó leid suas le 2500 carachtar. Is é `resolution` 1K, 2K nó 4K, agus tacaíonn `aspect_ratio` le 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3 agus 21:9. Gineann sé 1-9 n-íomhá, nó sraith de 2-9 n-íomhá gaolmhara le `result_type`. Soláthraíonn `elements` rialú aghaidhe do charachtair agus do réada.

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
promptriachtanach
Cineálstring
≤ 2,500 gcarachtar
Leid giniúna íomhá le teorainn 2500 carachtar.
elementsroghnach
Cineálobject[]
Eilimintí roghnacha rialaithe aghaidhe a léiríonn carachtair nó réada, a dtugtar aghaidh orthu sa leid le @Element1, @Element2, etc.
elements[].frontal_image_urlroghnach
Cineálurl · image
Íomhá roghnach chun tosaigh a sholáthraíonn príomhamharc na heiliminte. Ní fhéadfaidh méid an chomhaid dul thar 10.0 MB; caithfidh an leithead agus an airde a bheith 300px ar a laghad, le cóimheas gné ó 0.40 go 2.50.
elements[].reference_image_urlsroghnach
Cineálurl[] · image
Sraith roghnach de 0–3 íomhá bhreise a thaispeánann uillinneacha eile. Ní fhéadfaidh aon chomhad a bheith níos mó ná 10.0 MB, agus caithfidh an leithead agus an airde a bheith 300px ar a laghad, le cóimheas gné ó 0.40 go 2.50.
resolutionroghnach
Cineálenum
Réamhshocrú1K
1K2K4K
Taifeach íomhá aschuir: 1K don chaighdeán, 2K don ardtaifeach, nó 4K don taifeach an-ard.
result_typeroghnach
Cineálenum
Réamhshocrúsingle
singleseries
Cineál aschuir: cruthaíonn `single` íomhá amháin, agus cruthaíonn `series` íomhánna iomadúla gaolmhara.
num_imagesroghnach num_outputs
Cineálinteger
Réamhshocrú1
1 – 9
Líon na n-íomhánna aschuir, ó 1 go 9; ní bhaineann sé seo ach le `result_type` atá `single`.
series_amountroghnach
Cineálinteger | null
2 – 9
Líon na n-íomhánna sa tsraith, ó 2 go 9; ní bhaineann sé seo ach le `result_type` atá `series`.
aspect_ratioroghnach
Cineálenum
Réamhshocrú16:9
16:99:161:14:33:43:22:321:9
Cóimheas leithead-airde do na híomhánna ginte.
output_formatroghnach
Cineálenum
Réamhshocrúpng
jpegpngwebp
Formáid comhaid na híomhá deiridh.
enable_safety_checkerroghnach
Cineálboolean
Réamhshocrútrue
Is féidir an scagadh a mhaolú trí false a shocrú, ar choinníoll go bhfuil údarú ag an nglaoiteoir.
riachtanach Ainm canónach, glactar leis freisin

Aschur

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-image/o3/text-to-image",
  "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": 28,
    "usd": "0.028",
    "charged": 28,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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"
  }
}
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
images
array of object {url, content_type, file_name, file_size, width, height}Íomhánna a tháirgeann an tsamhail.

Tuilleadh samhlacha: Téacs go hÍomhá

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