Njuolgga sisdollui

AnimateDiff · Video to Video

Integrere

Modealla-id fast-animatediff/video-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/video-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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"

Gitta 4,50 $ juohke ráŋggas mákso duohta geavaheami mielde, loahppa máhcaheami Vuodje dán siiddu alde

Oza API-čoavdaga
Open model Videos video Jođán #animation#stylized

AnimateDiff ođasmahttá input-video vuosttaš 2 rájes 4 sekundii prompta vuođul

Open model · Video

Dát lea du vuosttaš bohtos

Daga jearaldaga vuolábealde ja vuodje dan iežat API-čoavddain. Boađusat kopierejuvvojit min vurkemii, bisuhuvvojit álo dahje 7 beaivvi nuvttá.

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

•gáibiduvvo

Govvit govvagova maid háliidat ráhkadit, nu dárkilit go vejolaš buoremus bohtosiid oažžun dihte.

•gáibiduvvo video_url
Luoitte fiilla, dahje

Video URL.

Viiddiduvvon negative_prompt · first_n_seconds · num_inference_steps · strength · guidance_scale · fps · seed · enable_safety_checker · motions
standárda (bad quality, worst q...

Negatiiva bivdda, mii spesifisere govvagova detaljjáid maid galgá guođđit eret, nugo ivnniid, ávdnasiid, duovdagiid dahje smávit iešvuođaid. Ovdamearkkat leat njunis, suttu dahje vuollegis resolušuvdna.

standárda 3

Sekundaid lohku, maid video animerejuvvo álggus rájes.

standárda 25

Dárkkistanjohttoid lohku.

standárda 0.7

Sisa-addi video váikkuhusa mearri loahppa-bohtosii.

standárda 7.5

Bivdda-láhttema nanusvuohta govvaválljemis, CFG:n (Classifier Free Guidance).

standárda 8

Rámmaid váldinrate videost, rámmaid per sekunda.

Seed Stable Diffusion-govvagovaid ođđasit ráhkadeapmái. Govva sáhttá ráhkaduvvot dárkilit ođđa juohke geardde jus modealla veršuvdna, bivdda ja seed báhcet seammán.

Videui heivehuvvon lihkadusat.

POST /run/fast-animatediff/video-to-video?wait=20 haddemearrádus → 4,50 $
# 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/video-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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"

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea AnimateDiff · Video to Video birra

Ođđasit animere `video_url` `prompt` mielde, geavahettiin dušše vuosttaš `first_n_seconds` (2 rájes 4 rádjái, olet 3). `strength` 0 rájes 1 rádjái meroštallá man olu gáldu-video oidno. Maiddái doalaha `motions`, `negative_prompt`, `guidance_scale`, `fps` gitta 16 rádjái ja gitta 50 inferensaceahki.

Parametterat

Sádde kanonala nama dahje iežas nama, ii goappašiid. Kanonala namat

NammaŠládja StandárdaDohkkehuvvon Govvádus
video_urlgáibiduvvo video
Šládjaurl · video
Video URL.
first_n_secondseaktodáhtolaš
Šládjainteger
Standárda3
2 – 4
Sekundaid lohku, maid video animerejuvvo álggus rájes.
promptgáibiduvvo
Šládjastring
Govvit govvagova maid háliidat ráhkadit, nu dárkilit go vejolaš buoremus bohtosiid oažžun dihte.
negative_prompteaktodáhtolaš
Šládjastring
Standárda(bad quality, worst quality:1.2), ugly faces, bad anime
Negatiiva bivdda, mii spesifisere govvagova detaljjáid maid galgá guođđit eret, nugo ivnniid, ávdnasiid, duovdagiid dahje smávit iešvuođaid. Ovdamearkkat leat njunis, suttu dahje vuollegis resolušuvdna.
num_inference_stepseaktodáhtolaš
Šládjainteger
Standárda25
1 – 50
Dárkkistanjohttoid lohku.
strengtheaktodáhtolaš
Šládjanumber
Standárda0.7
0 – 1
Sisa-addi video váikkuhusa mearri loahppa-bohtosii.
guidance_scaleeaktodáhtolaš
Šládjanumber
Standárda7.5
0 – 20
Bivdda-láhttema nanusvuohta govvaválljemis, CFG:n (Classifier Free Guidance).
seedeaktodáhtolaš
Šládjainteger | null
Seed Stable Diffusion-govvagovaid ođđasit ráhkadeapmái. Govva sáhttá ráhkaduvvot dárkilit ođđa juohke geardde jus modealla veršuvdna, bivdda ja seed báhcet seammán.
fpseaktodáhtolaš
Šládjainteger
Standárda8
1 – 16
Rámmaid váldinrate videost, rámmaid per sekunda.
motionseaktodáhtolaš
Šládjaenum[]
Videui heivehuvvon lihkadusat.
enable_safety_checkereaktodáhtolaš
Šládjaboolean
Standárdatrue
Gáhtten sáhttá loahpahuvvot bidjamiin false, jos geavaheaddji lea das ovttastuvvon.
gáibiduvvo Kanonala namma, maid sáhttá geavahit

Fiilaparametterat váldet almmolaš https:// URL:a, data: URI:a gitta 10 MB, dahje uploada file_url:a. Fiillat

Boađus

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "fast-animatediff/video-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": 4500,
    "usd": "4.50",
    "charged": 4500,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
video
object {url, content_type, file_name, file_size}Boađusvideo-fiila.
seed
integerSeed, mii geavahuvvui video ráhkadeamis.

Eanet modeallat: Videos video

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/fast-animatediff/video-to-video.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt