Peke ki ngā ihirangi

AnimateDiff Turbo · Text to Video

Whakauru

id tauira fast-animatediff/turbo/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.ru/v1/run/fast-animatediff/turbo/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: ≈$ 0.014 14 whiwhinga API · ≈ ₽ 1.50 Whakahaerehia ki tēnei whārangi

Tikina he kī API
Open model Kuputuhi ki te Ataata Tere #animation#stylized#turbo

AnimateDiff Turbo tere, tuhinga-ki-te-ataata, kua whakaritea mō ngā hipanga 4 ki te 12 me te arataki iti

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 whakaputa ataata; whakaahuatia te ataata e hiahia ana koe kia tino taipitopito mō ngā putanga pai rawa.

taunoa 16

Tatau anga mō te ataata kua whakaputaina.

Arā atu negative_prompt · video_size · num_inference_steps · guidance_scale · fps · seed · enable_safety_checker
taunoa (bad quality, worst q...

Tohutohu tōraro e tohu ana i ngā taipitopito atahanga hei aukati, tae atu ki ngā tae, ngā mea, te whenua, me ngā āhuatanga iti. Hei tauira ko te ngutu tāne, te pōuri, te taumira iti rānei.

video_size taunoa square

Ngā rahinga mō te ataata kua whakaputaina.

taunoa 8

Tatau kaupae whakatauira, me te awhe turbo-mode e taunakitia ana ko 4–12.

taunoa 2

Te kaha ū ki te tohutohu mō te kōwhiringa atahanga, kua whakaaturia hei CFG (Classifier Free Guidance).

taunoa 8

Te tere tango anga mai i te ataata, i ngā anga ia hēkona.

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-animatediff/turbo/text-to-video?wait=20 utu → $ 0.014
# 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/fast-animatediff/turbo/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.ru/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ō AnimateDiff Turbo · Text to Video

Hangaia he topenga poto mai i tētahi `prompt` me te whirihoranga turbo: ko te `num_inference_steps` taunoa 8 (e taunakitia ana 4 ki te 12) me `guidance_scale` 2. Kei waenga `num_frames` i te 1 me te 32, ā, `fps` i te 1 me te 16. E ono ngā tatūkē a `video_size`, ā, kāore he tāuru `motions`.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
Tohutohu whakaputa ataata; whakaahuatia te ataata e hiahia ana koe kia tino taipitopito mō ngā putanga pai rawa.
negative_promptkōwhiringa
Momostring
Taunoa(bad quality, worst quality:1.2), ugly faces, bad anime
Tohutohu tōraro e tohu ana i ngā taipitopito atahanga hei aukati, tae atu ki ngā tae, ngā mea, te whenua, me ngā āhuatanga iti. Hei tauira ko te ngutu tāne, te pōuri, te taumira iti rānei.
num_frameskōwhiringa
Momointeger
Taunoa16
1 – 32
Tatau anga mō te ataata kua whakaputaina.
num_inference_stepskōwhiringa
Momointeger
Taunoa8
1 – 50
Tatau kaupae whakatauira, me te awhe turbo-mode e taunakitia ana ko 4–12.
guidance_scalekōwhiringa
Momonumber
Taunoa2
0 – 20
Te kaha ū ki te tohutohu mō te kōwhiringa atahanga, kua whakaaturia hei CFG (Classifier Free Guidance).
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ē.
fpskōwhiringa
Momointeger
Taunoa8
1 – 16
Te tere tango anga mai i te ataata, i ngā anga ia hēkona.
video_sizekōwhiringa
Momoobject
Taunoasquare
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Ngā rahinga mō 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-animatediff/turbo/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": 14,
    "usd": "0.014",
    "charged": 14,
    "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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 ka puta.
seed
integerKākano i whakamahia i te whakaputanga ataata.

Ētahi atu tauira: Kuputuhi ki te Ataata

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