Peke ki ngā ihirangi

Stable Video Diffusion

Whakauru

id tauira 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"

Tēnei tono: ≈$ 0.033 33 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Open model Kuputuhi ki te Ataata Tere

Tuhinga-ki-te-ataata me SVD v1.1, e whakahaere ana i te kaha nekehanga, fps, tatau hipanga me te tāpiri haruru

Open model · Ataata

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Tohutohu e whakarato ana i te tūāpapa tuatahi mō te whakaputanga.

Arā atu negative_prompt · deep_cache · video_size · motion_bucket_id · cond_aug · steps · fps · seed · enable_safety_checker
taunoa unrealistic, saturate...

Arataki whakaputa tuatahi i tukuna hei tohutohu tōraro.

deep_cache taunoa none

Kōwhiringa kua whakakorehia, ka mau mō te hototahi whakamuri anake; kāore e pā ki te tukatuka.

video_size taunoa landscape_16_9

Ngā ahunga o te ataata kua whakaputaina.

taunoa 127

ID putunga nekehanga, ko ngā uara piki ake e tohu ana i te nekehanga kaha ake i te ataata kua whakaputaina.

taunoa 0.02

Te taumata haruru ka whakamahia ki te anga whakarite; mā te whakapiki ka nui ake te nekehanga, engari ka iti ake te ōrite ki te atahanga tuatahi.

taunoa 20

Tatau kaupae tauira, ka pai ake te kounga engari ka roa ake te whakaputanga ina piki ake te tatau.

taunoa 10

Te tere anga o te ataata kua whakaputaina, e 25 ngā anga katoa. Mā ngā uara nui ake e tere ake ai te purei.

Kākano hei tukurua i ngā atahanga i Stable Diffusion. Ka taea te whakaputa anō i tētahi atahanga kia tino ōrite i ia oma mā te pupuri i te putanga tauira, te tohutohu me te kākano kia kore e whakarerekē.

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

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Stable Video Diffusion

Hangaia he topenga ataata poto mai i tētahi `prompt` tuhinga, me tētahi `negative_prompt` kōwhiringa. Mā `motion_bucket_id` (1 ki te 255) e whakarite te nui o te nekehanga, kei waenga `fps` i te 1 me te 25, ā, `steps` i te 1 me te 100. Ka kōwhiria te rahi putanga mai i ngā tatūkē pēnei i square_hd, portrait_16_9, landscape_4_3 rānei, ā, mā te `seed` e taea ai te tukurua o ngā hua. Kāore he pānga o te kōwhiringa `deep_cache`.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
Tohutohu e whakarato ana i te tūāpapa tuatahi mō te whakaputanga.
motion_bucket_idkōwhiringa
Momointeger
Taunoa127
1 – 255
ID putunga nekehanga, ko ngā uara piki ake e tohu ana i te nekehanga kaha ake i te ataata kua whakaputaina.
cond_augkōwhiringa
Momonumber
Taunoa0.02
0 – 10
Te taumata haruru ka whakamahia ki te anga whakarite; mā te whakapiki ka nui ake te nekehanga, engari ka iti ake te ōrite ki te atahanga tuatahi.
seedkōwhiringa
Momointeger | null
Kākano hei tukurua i ngā atahanga i Stable Diffusion. Ka taea te whakaputa anō i tētahi atahanga kia tino ōrite i ia oma mā te pupuri i te putanga tauira, te tohutohu me te kākano kia kore e whakarerekē.
stepskōwhiringa
Momointeger
Taunoa20
1 – 100
Tatau kaupae tauira, ka pai ake te kounga engari ka roa ake te whakaputanga ina piki ake te tatau.
deep_cachekōwhiringa
Momoenum
Taunoanone
noneminimummediumhigh
Kōwhiringa kua whakakorehia, ka mau mō te hototahi whakamuri anake; kāore e pā ki te tukatuka.
fpskōwhiringa
Momointeger
Taunoa10
1 – 25
Te tere anga o te ataata kua whakaputaina, e 25 ngā anga katoa. Mā ngā uara nui ake e tere ake ai te purei.
negative_promptkōwhiringa
Momostring
Taunoaunrealistic, saturated, high contrast, big nose, painting, drawing, sketch, cartoon, anime, manga, render, CG, 3d, watermark, signature, label
Arataki whakaputa tuatahi i tukuna hei tohutohu tōraro.
video_sizekōwhiringa
Momoobject
Taunoalandscape_16_9
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Ngā ahunga o te ataata kua whakaputaina.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Ka taea te whakangāwari i te tātari mā te tautuhi false, mēnā he mana tō te kaiwhakatuwhera.
e hiahiatia ana

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size}Te kōnae ataata i whakaputaina.
seed
integerKākano whakaputa atahanga, tae atu ki te uara i kōwhiria matapōkeretia mēnā kāore i tukuna he kākano ki te tāuru; ki te kore, ka tukurua te uara i tukuna.

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/fast-svd/text-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt