Op den Inhalt sprangen

Stable Video Diffusion

Integréieren

Modell-ID fast-svd/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/fast-svd/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"

Dës Ufro: ≈0,033 $ 33 API-Kreditter Op dëser Säit ausféieren

API-Schlëssel kréien
Open model Text zu Video Schnell

Text-zu-Video mat SVD v1.1 mat Kontroll iwwer Bewegungsstäerkt, fps, Schrëttzuel a Rauscherweiderung

Open model · Video

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch

Prompt, deen d'initial Basis fir d'Generatioun liwwert.

Erweidert negative_prompt · deep_cache · video_size · motion_bucket_id · cond_aug · steps · fps · seed · enable_safety_checker
Standard unrealistic, saturate...

Initial Orientéierung fir d'Generatioun, déi als negative Prompt geliwwert gëtt.

deep_cache Standard none

Veralt Optioun, déi nëmme fir Réckkompatibilitéit bäibehale gëtt; si beaflosst d'Veraarbechtung net.

video_size Standard landscape_16_9

Dimensioune vum generéierte Video.

Standard 127

Motion-Bucket-ID; méi héich Wäerter entspriechen ëmmer méi staarker Beweegung am generéierte Video.

Standard 0.02

Geräischniveau, dat op de Konditionéierungsframe applizéiert gëtt; eng Erhéijung encouragéiert méi Beweegung op Käschte vun der Ähnlechkeet mam initiale Bild.

Standard 20

Unzuel vun de Modellschrëtt; méi héich Wäerter bidden eng besser Qualitéit op Käschte vun enger méi laanger Generatiounszäit.

Standard 10

Frame-Rate vum generéierte Video, deen insgesamt 25 Frames enthält. Méi héich Wäerter maachen d'Ofspillen méi séier.

Seed fir d'Reproduktioun vu Biller a Stable Diffusion. E Bild kann bei all Duerchlaf genee reproduzéiert ginn, wann d'Modellversioun, de Prompt an de Seed onverännert bleiwen.

POST /run/fast-svd/text-to-video?wait=20 Präis → 0,033 $
# 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/fast-svd/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"

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer Stable Video Diffusion

Erstellt e kuerze Videoclip aus engem Text-`prompt`, mat engem optionalen `negative_prompt`. `motion_bucket_id` (1 bis 255) bestëmmt d'Beweegungsintensitéit, `fps` geet vun 1 bis 25 an `steps` vun 1 bis 100. D'Ausgabgréisst gëtt aus Presets wéi square_hd, portrait_16_9 oder landscape_4_3 gewielt; e `seed` mécht Resultater widderhuelbar. D'Optioun `deep_cache` huet keen Effekt.

Parameteren

NummTyp StandardErlaabt Beschreiwung
promptobligatoresch
Typstring
Prompt, deen d'initial Basis fir d'Generatioun liwwert.
motion_bucket_idoptional
Typinteger
Standard127
1 – 255
Motion-Bucket-ID; méi héich Wäerter entspriechen ëmmer méi staarker Beweegung am generéierte Video.
cond_augoptional
Typnumber
Standard0.02
0 – 10
Geräischniveau, dat op de Konditionéierungsframe applizéiert gëtt; eng Erhéijung encouragéiert méi Beweegung op Käschte vun der Ähnlechkeet mam initiale Bild.
seedoptional
Typinteger | null
Seed fir d'Reproduktioun vu Biller a Stable Diffusion. E Bild kann bei all Duerchlaf genee reproduzéiert ginn, wann d'Modellversioun, de Prompt an de Seed onverännert bleiwen.
stepsoptional
Typinteger
Standard20
1 – 100
Unzuel vun de Modellschrëtt; méi héich Wäerter bidden eng besser Qualitéit op Käschte vun enger méi laanger Generatiounszäit.
deep_cacheoptional
Typenum
Standardnone
noneminimummediumhigh
Veralt Optioun, déi nëmme fir Réckkompatibilitéit bäibehale gëtt; si beaflosst d'Veraarbechtung net.
fpsoptional
Typinteger
Standard10
1 – 25
Frame-Rate vum generéierte Video, deen insgesamt 25 Frames enthält. Méi héich Wäerter maachen d'Ofspillen méi séier.
negative_promptoptional
Typstring
Standardunrealistic, saturated, high contrast, big nose, painting, drawing, sketch, cartoon, anime, manga, render, CG, 3d, watermark, signature, label
Initial Orientéierung fir d'Generatioun, déi als negative Prompt geliwwert gëtt.
video_sizeoptional
Typobject
Standardlandscape_16_9
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Dimensioune vum generéierte Video.
enable_safety_checkeroptional
Typboolean
Standardtrue
D'Kontroll kann duerch false gelackert ginn, wann den Uruffer autoriséiert ass.
obligatoresch

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "fast-svd/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": 33,
    "usd": "0.033",
    "charged": 33,
    "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
    },
    "seed": 42
  },
  "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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
video
object {url, content_type, file_name, file_size}Video-Datei, déi duerch d'Generatioun erstallt gouf.
seed
integerSeed fir d'Bild-Generatioun, inklusiv dem zoufälleg gewielte Wäert, wann am Input kee Seed uginn ass; soss gëtt de geliwwerte Wäert widderholl.

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/fast-svd/text-to-video.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt