Saltar al cuntegna

Kling Image · v3 · Text to Image

Integrar

ID dal model kling-image/v3/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/v3/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"

Questa dumonda: $0,028 28 credits API · ≈ ₽3,01 Lantschar sin questa pagina

Obtegna ina clav API
Kling Text a maletg Inputs da referenzafin a 2K #text-to-image

v3 text-to-image cun prompt negativ e controlla da la fatscha via elements a 1K u 2K

Fatg sin Doitong

Ovras publicas fatgas cun Kling Image da la communitad Doitong. Reutilisescha in prompt cun in clic.

Ovras publicas mussadas: 16
Оживи исходное изображение. Полностью сохрани внешность девушки, лицо, причёску, одежду, интерьер... Video

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

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

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

Make A warm, emotional 25 second video cinematic scene of a 4 years of boy with dark brown hair a... Video

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 После Развода: По... Video

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

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

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

Use the uploaded image as the exact identity and appearance reference. Create a short hyperrealis... Video

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

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

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

Девушка всилит дома смотрит интернете ищет салон красоты ,находит салон,приходит в салон наш с ку... Video

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

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

•obligatori 88 / 2500

Prompt per la generaziun da maletgs cun in limit da 2500 caracters.

resolution standard 1K

Resoluziun da la maletg d'output: 1K per la resoluziun standard u 2K per la resoluziun auta.

aspect_ratio standard 16:9

Proporziun da la ladezza envers l’autezza per maletgs generads.

num_images standard 1

Dumber da maletgs d'output, da 1 fin 9.

Avanzà negative_prompt · output_format · enable_safety_checker · elements
0 / 2500

Definescha il cuntegnì betg giavischà cun quest prompt negativ; il supplement recumandà è d’inditgar exclusiuns sco frasas negativas en ils prompts positivs.

output_format standard png

Format da datoteca dal maletg final.

Collecziun opziunala per il controlla da la fatscha, cun in maletg frontal e maletgs da referenza opziunals per entrada. Las entradas descrivan persunas u objects che duain apparair en il maletg.

POST /run/kling-image/v3/text-to-image?wait=20 calculaziun → $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/v3/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"

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart Kling Image · v3 · Text to Image

Generescha 1-9 maletgs d’in prompt da fin a 2500 caracters, opziunalmain dirigids lontan da cuntegn betg giavischà cun `negative_prompt`. `resolution` è 1K u 2K ed `aspect_ratio` porscha otg rapports, inclus 21:9. `elements` cuntegnan in maletg frontal ed referenzas opziunalas per fatschas consistentas. L’output è jpeg, png u webp.

Parameters

Invia u il num canonic u il num nativ, betg omaduas. Nums canonics

NumTip StandardPermess Descripziun
promptobligatori
Tipstring
≤ 2 500 caracters
Prompt per la generaziun da maletgs cun in limit da 2500 caracters.
negative_promptopziunal
Tipstring | null
≤ 2 500 caracters
Definescha il cuntegnì betg giavischà cun quest prompt negativ; il supplement recumandà è d’inditgar exclusiuns sco frasas negativas en ils prompts positivs.
elementsopziunal
Tipobject[]
Collecziun opziunala per il controlla da la fatscha, cun in maletg frontal e maletgs da referenza opziunals per entrada. Las entradas descrivan persunas u objects che duain apparair en il maletg.
elements[].frontal_image_urlopziunal
Tipurl · image
Maletg frontala opziunala che furnescha la vista principala da l'element. La grondezza da la datoteca na po betg surpassar 10.0 MB; ladezza ed autezza ston mintgamai esser d'almain 300px, cun ina proporziun da 0.40 fin 2.50.
elements[].reference_image_urlsopziunal
Tipurl[] · image
Set opziunal da 0–3 maletgs supplementaras che mussan auters anguls. Mintga datoteca dastga avair maximalmain 10.0 MB, cun ladezza ed autezza d'almain 300px e ina proporziun da 0.40 fin 2.50.
resolutionopziunal
Tipenum
Standard1K
1K2K
Resoluziun da la maletg d'output: 1K per la resoluziun standard u 2K per la resoluziun auta.
num_imagesopziunal num_outputs
Tipinteger
Standard1
1 – 9
Dumber da maletgs d'output, da 1 fin 9.
aspect_ratioopziunal
Tipenum
Standard16:9
16:99:161:14:33:43:22:321:9
Proporziun da la ladezza envers l’autezza per maletgs generads.
output_formatopziunal
Tipenum
Standardpng
jpegpngwebp
Format da datoteca dal maletg final.
enable_safety_checkeropziunal
Tipboolean
Standardtrue
La controlla po vegnir schluccada cun definir false, premess che l'appelant saja autorisà.
obligatori Num canonic, er acceptà

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-image/v3/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"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
images
array of object {url, content_type, file_name, file_size, width, height}Maletgs producids dal model.

Dapli models: Text a maletg

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/kling-image/v3/text-to-image.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt