Peke ki ngā ihirangi

AnimateDiff · Text to Video

Whakauru

id tauira fast-animatediff/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/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.023 23 whiwhinga API · ≈ ₽ 2.47 Whakahaerehia ki tēnei whārangi

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

AnimateDiff tuhinga-ki-te-ataata me ngā anga 1 ki te 32 me ngā tatūkē nekehanga kōwhiringa

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 · motions
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 25

Tau o ngā hipanga whakatauira hei whakahaere.

taunoa 7.5

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ē.

Ngā nekehanga ka whakamahia ki te ataata.

POST /run/fast-animatediff/text-to-video?wait=20 utu → $ 0.023
# 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/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 · Text to Video

Hangaia he topenga poto, āhua-rite, mai i tētahi `prompt`. Ka whakahaere `num_frames` i te 1 ki te 32 (taunoa 16), `fps` i te 1 ki te 16, ā, kia 50 te mōrahi o `num_inference_steps`. Mā `motions` e whakamahi ngā tatūkē nekehanga, mā `video_size` ngā tatūkē tapawhā, tū-roa me te whenua, ā, e tautokona ana `negative_prompt`.

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
Taunoa25
1 – 50
Tau o ngā hipanga whakatauira hei whakahaere.
guidance_scalekōwhiringa
Momonumber
Taunoa7.5
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.
motionskōwhiringa
Momoenum[]
Ngā nekehanga ka whakamahia ki te ataata.
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/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": 23,
    "usd": "0.023",
    "charged": 23,
    "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/text-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt