Dža ko lil

Kandinsky5

Integriruj

Modelosko id kandinsky5/text-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/kandinsky5/text-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"

Kava mangipen: $0.08 80 API krediti · ≈ ₽8.53 Phir les kate

Lel API klidin
Sber AI Teksto ko Video 5–10 s

Standard Kandinsky 5 text-to-video 5s vaj 10s clip-enca, 3:2, 1:1 vaj 2:3-eha thaj regulirime steps-enca

Sber AI · Video

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

Tekstune instrukcije save dromar videoqo generiripe.

duration 5 s

Duration vaś o rezultatosko video: 5s vaj 10s.

aspect_ratio standardno 3:2

Rezultatoske videosko aspect ratio; alosar 3:2, 1:1, vaj 2:3.

standardno 768x512

Videoske dimensions kalkulime katar o aspect ratio sar 768x512, 512x512, vaj 512x768, sikavde ande W:H format.

Lučhe num_inference_steps · enable_safety_checker
standardno 30

Ginipen e korengi vaj inference.

POST /run/kandinsky5/text-to-video?wait=20 hesab → $0.08
# 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/kandinsky5/text-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"

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 Kandinsky5

Kerel video tekstosa `prompt`. `duration` si 5s vaj 10s, thaj `aspect_ratio` si 3:2, 1:1 vaj 2:3, matching resolution-enca 768x512, 512x512 thaj 512x768. `num_inference_steps` džal 1 to 50 (default 30), so distill sibling na del.

Parametra

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Tekstune instrukcije save dromar videoqo generiripe.
resolutionopcionalno
Tipstring
standardno768x512
Videoske dimensions kalkulime katar o aspect ratio sar 768x512, 512x512, vaj 512x768, sikavde ande W:H format.
aspect_ratioopcionalno
Tipenum
standardno3:2
3:21:12:3
Rezultatoske videosko aspect ratio; alosar 3:2, 1:1, vaj 2:3.
durationopcionalno
Tipenum
standardno5s
5s10s
Duration vaś o rezultatosko video: 5s vaj 10s.
num_inference_stepsopcionalno
Tipinteger
standardno30
1 – 50
Ginipen e korengi vaj inference.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening šaj te avel relaksirime te postavil pes false, numa kana o manglo si autorizuime.
trubul

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kandinsky5/text-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": 80,
    "usd": "0.08",
    "charged": 80,
    "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"
  }
}
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
video
object {url, content_type, file_name, file_size} | nullVideo-fajlo kerdino generiripeça.

Bute modeli: Teksto ko Video

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