Saltar al cuntegna

Stable Video Diffusion

Integrar

ID dal model 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"

Questa dumonda: ≈$0,033 33 credits API Lantschar sin questa pagina

Obtegna ina clav API
Open model Text a video Svelt

Text-a-video cun SVD v1.1 che dat controlla sur da la forza dal moviment, fps, il dumber da pass e l'augment da ramplun

Open model · Video

Tes emprim resultat vegn qua

Construis ina dumonda sutvart e l'exequescha cun tia clav API. Outputs vegnan copiads en nossa memorisaziun, conservads per adina u 7 dis gratuitamain.

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

•obligatori

Prompt che furnescha la basa iniziala per la generaziun.

Avanzà negative_prompt · deep_cache · video_size · motion_bucket_id · cond_aug · steps · fps · seed · enable_safety_checker
standard unrealistic, saturate...

Guidada iniziala da la generaziun furnida sco prompt negativ.

deep_cache standard none

Opziun deprecada mantegnida mo per cumpatibilitad inversa; ella n'influenza betg l'elavuraziun.

video_size standard landscape_16_9

Dimensiuns dal video generà.

standard 127

ID dal cunti da moviment, cun valurs creschentas che correspundan a moviments adina pli ferms en il video generà.

standard 0.02

Nivel da canera applitgà al frame da conditioning; in augment incorascha dapli moviment a cust da la sumeglientscha cun il maletg inizial.

standard 20

Dumber da pass dal model, che porscha meglra qualitad a cust d'in temp da generaziun pli lung cura ch'il dumber crescha.

standard 10

Frequenza da frame dal video generà, che cuntegna en tut 25 frame. Valurs pli autas accelereschan la reproducziun.

Seed per reproducir maletgs en Stable Diffusion. In maletg po vegnir reproducì exactamain en mintga execuziun sche la versiun dal model, il prompt ed il seed restan invariads.

POST /run/fast-svd/text-to-video?wait=20 calculaziun → $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"

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart Stable Video Diffusion

Produci in clip video curt d'in `prompt` da text, cun in `negative_prompt` facultativ. `motion_bucket_id` (1 fin 255) fixescha quant moviment che cumpara, `fps` tanscha da 1 fin 25, e `steps` da 1 fin 100. La grondezza da l'output vegn tschernida tranter preseleczions sco square_hd, portrait_16_9 u landscape_4_3, e in `seed` renda ils resultats reproductibels. L'opziun `deep_cache` n'ha nagin effect.

Parameters

NumTip StandardPermess Descripziun
promptobligatori
Tipstring
Prompt che furnescha la basa iniziala per la generaziun.
motion_bucket_idopziunal
Tipinteger
Standard127
1 – 255
ID dal cunti da moviment, cun valurs creschentas che correspundan a moviments adina pli ferms en il video generà.
cond_augopziunal
Tipnumber
Standard0.02
0 – 10
Nivel da canera applitgà al frame da conditioning; in augment incorascha dapli moviment a cust da la sumeglientscha cun il maletg inizial.
seedopziunal
Tipinteger | null
Seed per reproducir maletgs en Stable Diffusion. In maletg po vegnir reproducì exactamain en mintga execuziun sche la versiun dal model, il prompt ed il seed restan invariads.
stepsopziunal
Tipinteger
Standard20
1 – 100
Dumber da pass dal model, che porscha meglra qualitad a cust d'in temp da generaziun pli lung cura ch'il dumber crescha.
deep_cacheopziunal
Tipenum
Standardnone
noneminimummediumhigh
Opziun deprecada mantegnida mo per cumpatibilitad inversa; ella n'influenza betg l'elavuraziun.
fpsopziunal
Tipinteger
Standard10
1 – 25
Frequenza da frame dal video generà, che cuntegna en tut 25 frame. Valurs pli autas accelereschan la reproducziun.
negative_promptopziunal
Tipstring
Standardunrealistic, saturated, high contrast, big nose, painting, drawing, sketch, cartoon, anime, manga, render, CG, 3d, watermark, signature, label
Guidada iniziala da la generaziun furnida sco prompt negativ.
video_sizeopziunal
Tipobject
Standardlandscape_16_9
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Dimensiuns dal video generà.
enable_safety_checkeropziunal
Tipboolean
Standardtrue
La controlla po vegnir schluccada cun definir false, premess che l'appelant saja autorisà.
obligatori

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"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
video
object {url, content_type, file_name, file_size}Datoteca video producida da la generaziun.
seed
integerSeed da la generaziun dal maletg, inclusa la valur tschernida casualmain sche l'input n'ha betg furnì in seed; autramain repeta la valur furnida.

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/fast-svd/text-to-video.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt