Langkau ke kandungan

Kandinsky5 · Distill

Integrasikan

ID model kandinsky5/text-to-video/distill
# 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/distill?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"

Permintaan ini: $0.05 50 kredit API · ≈ ₽5.38 Jalankan pada halaman ini

Dapatkan kunci API
Sber AI Teks ke Video 5–10 s

Kandinsky 5 teks-ke-video disuling dengan bilangan langkah tetap, klip 5s atau 10s dalam tiga nisbah aspek

Sber AI · Video

Hasil pertama anda akan muncul di sini

Bina permintaan di bawah dan jalankannya dengan kunci API anda. Output disalin ke storan kami, disimpan selama-lamanya atau 7 hari secara percuma.

Bina permintaan

Kawalan dijana daripada skema model. Kod dan harga dikemas kini apabila anda mengubahnya.

•diperlukan

Arahan teks yang memandu penjanaan video.

duration 5 s

Tempoh video output: 5s atau 10s.

aspect_ratio lalai 3:2

Nisbah aspek video output; pilih 3:2, 1:1 atau 2:3.

lalai 768x512

Dimensi video yang dikira daripada nisbah aspek sebagai 768x512, 512x512 atau 512x768, dinyatakan dalam format W:H.

Lanjutan enable_safety_checker
POST /run/kandinsky5/text-to-video/distill?wait=20 sebut harga → $0.05
# 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/distill?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"

Jalankan permintaan ini

Kunci anda kekal dalam pelayar ini: ia hanya dihantar kepada Doitong API dan disimpan (localStorage) hanya jika anda menanda Ingat. Dapatkan kunci API

Tentang Kandinsky5 · Distill

Versi Kandinsky 5 yang lebih ringan dan disuling untuk teks-ke-video. Menerima `prompt`, `duration` 5s atau 10s serta `aspect_ratio` 3:2, 1:1 atau 2:3. Tiada tetapan `num_inference_steps`, jadi kurang perkara untuk dilaraskan.

Parameter

NamaJenis LalaiDibenarkan Penerangan
promptdiperlukan
Jenisstring
Arahan teks yang memandu penjanaan video.
resolutionpilihan
Jenisstring
Lalai768x512
Dimensi video yang dikira daripada nisbah aspek sebagai 768x512, 512x512 atau 512x768, dinyatakan dalam format W:H.
aspect_ratiopilihan
Jenisenum
Lalai3:2
3:21:12:3
Nisbah aspek video output; pilih 3:2, 1:1 atau 2:3.
durationpilihan
Jenisenum
Lalai5s
5s10s
Tempoh video output: 5s atau 10s.
enable_safety_checkerpilihan
Jenisboolean
Lalaitrue
Pemeriksaan boleh dilonggarkan dengan menetapkannya kepada false, jika pemanggil dibenarkan.
diperlukan

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kandinsky5/text-to-video/distill",
  "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": 50,
    "usd": "0.05",
    "charged": 50,
    "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"
  }
}
Fail anda, pilihan andaSetiap outputs[].url ialah salinan pada storan kami: disimpan selama-lamanya (dibayar setiap GB-bulan) atau 7 hari secara percuma, mengikut tetapan akaun anda atau ?storage=.
Bentuk yang sama pada setiap modeltype, url, content_type, width, height dan duration, untuk imej, video dan audio. output ialah objek hasil model itu sendiri.
Medan output
video
object {url, content_type, file_name, file_size} | nullFail video yang dihasilkan oleh penjanaan.

Lebih banyak model: Teks ke Video

Untuk ejen AI: halaman ini dalam Markdown tersedia di https://doitong.com/ms/developers/models/kandinsky5/text-to-video/distill.md. Semua model dan panduan: https://doitong.com/developers/llms.txt