Naar inhoud springen

Kandinsky5

Integreren

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

Deze request: $ 0,08 80 API-tegoed Op deze pagina uitvoeren

API-sleutel ophalen
Sber AI Tekst naar video 5–10 s

Standaard Kandinsky 5 text-to-video met clips van 5s of 10s in 3:2, 1:1 of 2:3 en instelbare stappen

Sber AI · Video

Je eerste resultaat komt hier

Bouw hieronder een request en voer die uit met je API-sleutel. Uitvoer wordt naar onze opslag gekopieerd en voor altijd of 7 dagen gratis bewaard.

Een aanvraag samenstellen

Besturingselementen worden gegenereerd op basis van het modelschema. De code en de prijs worden bijgewerkt terwijl je ze wijzigt.

•verplicht

Tekstinstructies die de videogeneratie sturen.

duration 5 s

Duur van de uitvoervideo: 5s of 10s.

aspect_ratio standaard 3:2

Beeldverhouding van de uitvoervideo; kies 3:2, 1:1 of 2:3.

standaard 768x512

Videodimensies die op basis van de beeldverhouding zijn berekend als 768x512, 512x512 of 512x768, uitgedrukt in W:H-indeling.

Geavanceerd num_inference_steps · enable_safety_checker
standaard 30

Aantal stappen dat voor inferentie wordt gebruikt.

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

Deze request uitvoeren

Je sleutel blijft in deze browser: hij wordt alleen naar de Doitong API verzonden en alleen in localStorage opgeslagen als je Onthouden aanvinkt. API-sleutel ophalen

Over Kandinsky5

Maakt een video op basis van een tekstuele `prompt`. `duration` is 5s of 10s en `aspect_ratio` is 3:2, 1:1 of 2:3, met bijbehorende resoluties van 768x512, 512x512 en 512x768. `num_inference_steps` loopt van 1 tot 50 (standaard 30); de gedistilleerde variant biedt deze instelling niet.

Parameters

NaamType StandaardToegestaan Beschrijving
promptverplicht
Typestring
Tekstinstructies die de videogeneratie sturen.
resolutionoptioneel
Typestring
Standaard768x512
Videodimensies die op basis van de beeldverhouding zijn berekend als 768x512, 512x512 of 512x768, uitgedrukt in W:H-indeling.
aspect_ratiooptioneel
Typeenum
Standaard3:2
3:21:12:3
Beeldverhouding van de uitvoervideo; kies 3:2, 1:1 of 2:3.
durationoptioneel
Typeenum
Standaard5s
5s10s
Duur van de uitvoervideo: 5s of 10s.
num_inference_stepsoptioneel
Typeinteger
Standaard30
1 – 50
Aantal stappen dat voor inferentie wordt gebruikt.
enable_safety_checkeroptioneel
Typeboolean
Standaardtrue
Screening kan worden versoepeld door false in te stellen, mits de aanroeper is geautoriseerd.
verplicht

Uitvoer

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Jouw bestanden, jouw keuzeElke outputs[].url is een kopie in onze opslag: voor altijd bewaard (betaald per GB-maand) of 7 dagen gratis, volgens je accountinstelling of ?storage=.
Dezelfde structuur voor elk modeltype, url, content_type, width, height en duration, voor afbeeldingen, video en audio. output is het eigen resultaatobject van het model.
Velden van de uitvoer
video
object {url, content_type, file_name, file_size} | nullVideobestand dat door de generatie is geproduceerd.

Meer modellen: Tekst naar video

Voor AI-agents: deze pagina als Markdown staat op https://doitong.com/nl/developers/models/kandinsky5/text-to-video.md. Alle modellen en handleidingen: https://doitong.com/developers/llms.txt