Dža ko lil

Kling Image · v3 · Text to Image

Integriruj

Modelosko id 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://vit.doitong.com/api/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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Kava mangipen: $0.028 28 API krediti Phir les kate

Lel API klidin
Kling Teksto ko Kip Referencaki inputuradži 2K #text-to-image

v3 text-to-image negative prompt-osa thaj element face control-osa 1K vaj 2K-eha

Kling · Kip

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul 88 / 2500

Kipenge-keripasko prompto, limitosar 2500 karakterura.

resolution standardno 1K

Rezolucija e rezultatoske kipeski: 1K vaś standardno vaj 2K vaś učo rezolucija.

aspect_ratio standardno 16:9

Kerade kipenge phiravipen e largura thaj e učiestar.

num_images standardno 1

Rezultatoske kipesko ginadi, 1 tar 9 dži.

Lučhe negative_prompt · output_format · enable_safety_checker · elements
0 / 2500

Sikav na-manglo kontento kadale negativno promptosa; rekomendime si te phenes e ekskluzii negativne sentencencar andre pozitivne promptura.

output_format standardno png

Fajlo-formato e rezultato kipoqo.

Opcionalno kolekcia e muj-kontrolake, frontalno kiposa thaj opcionalne referencakre kiposa svakone zapisoste. E zapisi sikaven karakterura vaj objektoja save trubun te aven andre kipo.

POST /run/kling-image/v3/text-to-image?wait=20 hesab → $0.028
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Kling Image · v3 · Text to Image

Kerel 1-9 kipura promptostar dži 2500 karakterura, opcionalno dural kerdine na-mangavde kontentosar le `negative_prompt`-esa. `resolution` si 1K vaj 2K thaj `aspect_ratio` del oxto ratio, maškar lende 21:9. `elements` anen frontalno kipo thaj opcionalne referenca konstantne mujenge. Rezultato si jpeg, png vaj webp.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
≤ 2,500 simbolura
Kipenge-keripasko prompto, limitosar 2500 karakterura.
negative_promptopcionalno
Tipstring | null
≤ 2,500 simbolura
Sikav na-manglo kontento kadale negativno promptosa; rekomendime si te phenes e ekskluzii negativne sentencencar andre pozitivne promptura.
elementsopcionalno
Tipobject[]
Opcionalno kolekcia e muj-kontrolake, frontalno kiposa thaj opcionalne referencakre kiposa svakone zapisoste. E zapisi sikaven karakterura vaj objektoja save trubun te aven andre kipo.
elements[].frontal_image_urlopcionalno
Tipurl · image
Optionalno front-facing kipo savo del e elementoski main view. Fajloski size na tromal te nakhel 10.0 MB; width thaj height sako jekh najman 300px, aspect ratio tar 0.40 dži 2.50.
elements[].reference_image_urlsopcionalno
Tipurl[] · image
Optionalno set 0–3 additional kipesko save sikaven aver angles. Sako fajlo na tromal te avel bareder 10.0 MB, width thaj height najman 300px, aspect ratio tar 0.40 dži 2.50.
resolutionopcionalno
Tipenum
standardno1K
1K2K
Rezolucija e rezultatoske kipeski: 1K vaś standardno vaj 2K vaś učo rezolucija.
num_imagesopcionalno num_outputs
Tipinteger
standardno1
1 – 9
Rezultatoske kipesko ginadi, 1 tar 9 dži.
aspect_ratioopcionalno
Tipenum
standardno16:9
16:99:161:14:33:43:22:321:9
Kerade kipenge phiravipen e largura thaj e učiestar.
output_formatopcionalno
Tipenum
standardnopng
jpegpngwebp
Fajlo-formato e rezultato kipoqo.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening šaj te avel relaksirime te postavil pes false, numa kana o manglo si autorizuime.
trubul Kanonikano nav, vi akceptime

Rezultato

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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
images
array of object {url, content_type, file_name, file_size, width, height}Kipora kerde modelostar.

Bute modeli: Teksto ko Kip

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/kling-image/v3/text-to-image.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt