Lompat ke konten

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 di halaman ini

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

Kandinsky 5 text-to-video terdistilasi dengan jumlah langkah tetap, klip 5s atau 10s dalam tiga rasio aspek

Sber AI · Video

Hasil pertama Anda akan muncul di sini

Buat permintaan di bawah ini dan jalankan dengan kunci API Anda. Output disalin ke penyimpanan kami, disimpan selamanya atau 7 hari gratis.

Buat permintaan

Kontrol dibuat dari skema model. Kode dan harga diperbarui saat Anda mengubahnya.

•wajib

Instruksi teks yang memandu pembuatan video.

duration 5 s

Durasi video output: 5s atau 10s.

aspect_ratio bawaan 3:2

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

bawaan 768x512

Dimensi video yang dihitung dari rasio aspek sebagai 768x512, 512x512, atau 512x768, dinyatakan dalam format W:H.

Lanjutan enable_safety_checker
POST /run/kandinsky5/text-to-video/distill?wait=20 estimasi 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

Key Anda tetap berada di browser ini: key hanya dikirim ke Doitong API dan disimpan (localStorage) hanya jika Anda mencentang Ingat. Dapatkan kunci API

Tentang Kandinsky5 · Distill

Versi terdistilasi yang lebih ringan dari Kandinsky 5 untuk text-to-video. Menerima `prompt`, `duration` 5s atau 10s, dan `aspect_ratio` 3:2, 1:1, atau 2:3. Tidak memiliki pengaturan `num_inference_steps`, sehingga lebih sedikit yang perlu disesuaikan.

Parameter

NamaTipe BawaanDiizinkan Deskripsi
promptwajib
Tipestring
Instruksi teks yang memandu pembuatan video.
resolutionopsional
Tipestring
Bawaan768x512
Dimensi video yang dihitung dari rasio aspek sebagai 768x512, 512x512, atau 512x768, dinyatakan dalam format W:H.
aspect_ratioopsional
Tipeenum
Bawaan3:2
3:21:12:3
Rasio aspek video output; pilih 3:2, 1:1, atau 2:3.
durationopsional
Tipeenum
Bawaan5s
5s10s
Durasi video output: 5s atau 10s.
enable_safety_checkeropsional
Tipeboolean
Bawaantrue
Penyaringan dapat dilonggarkan dengan menetapkan false, jika pemanggil berwenang.
wajib

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"
  }
}
File Anda, pilihan AndaSetiap outputs[].url adalah salinan di penyimpanan kami: disimpan selamanya (dikenai biaya per GB-bulan) atau 7 hari gratis, sesuai setelan akun atau ?storage=.
Struktur sama di setiap modeltype, url, content_type, width, height, dan duration, untuk gambar, video, dan audio. output adalah objek hasil milik model.
Field output
video
object {url, content_type, file_name, file_size} | nullFile video yang dihasilkan oleh pembuatan.

Model lainnya: Teks ke Video

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