Dža ko lil

AnimateDiff · Video to Video

Integriruj

Modelosko 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"

Dži $4.50 pe jekh keripe čargeime palal realno labaripen, o aver si irime Phir les kate

Lel API klidin
Open model Video ko Video Sig #animation#stylized

AnimateDiff restyliripe inputoske videoske anglune 2 dži 4 sekundenge katar jek prompto

Open model · Video

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul

Phen o kipo savo kames te kerel pes, use but detail sar šaj te avel maj lačho rezultato.

•trubul video_url
Čhiv jekh fajl, vaj

Video URL.

Lučhe negative_prompt · first_n_seconds · num_inference_steps · strength · guidance_scale · fps · seed · enable_safety_checker · motions
standardno (bad quality, worst q...

Negativno prompto savo sikavel save detalura e kiposqe te na aven andre, sar farbe, objektura, pejsažo vaj maj cikne osobine. Primerura si mustaka, mutipe vaj tikni rezolucija.

standardno 3

Duracija ande sekunda pala animiripe, startime ko videooskoro angluno kotor.

standardno 25

Gin inference steps pala te kerel.

standardno 0.7

Količina e inputo-videoskiri influencaki ko finalno rezultato.

standardno 7.5

Zor e promptoske pačajipaski vaś izbor e kiposko, sikavdi sar CFG (Classifier Free Guidance).

standardno 8

Kadro-extrakcijaki rates andar o video, kadronge pala sekunda.

Seed vaš reprodukcia e kipengo ande Stable Diffusion. O kipo šaj te reprodukčarel pes ekzaktno pe sa keripena te mukhes isto o modelesko version, prompto thaj seed.

Motivura aplicarime ko video.

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

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal AnimateDiff · Video to Video

Kerel pale animacija e `video_url`-eske palal jekh `prompt`, koristindoj numa e angluno `first_n_seconds` (2 te 4, standardno 3). `strength` andar 0 te 1 sikavel kiti source-video dikhel. Lijel vi `motions`, `negative_prompt`, `guidance_scale`, `fps` dži 16 thaj dži 50 inference paso.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
video_urltrubul video
Tipurl · video
Video URL.
first_n_secondsopcionalno
Tipinteger
standardno3
2 – 4
Duracija ande sekunda pala animiripe, startime ko videooskoro angluno kotor.
prompttrubul
Tipstring
Phen o kipo savo kames te kerel pes, use but detail sar šaj te avel maj lačho rezultato.
negative_promptopcionalno
Tipstring
standardno(bad quality, worst quality:1.2), ugly faces, bad anime
Negativno prompto savo sikavel save detalura e kiposqe te na aven andre, sar farbe, objektura, pejsažo vaj maj cikne osobine. Primerura si mustaka, mutipe vaj tikni rezolucija.
num_inference_stepsopcionalno
Tipinteger
standardno25
1 – 50
Gin inference steps pala te kerel.
strengthopcionalno
Tipnumber
standardno0.7
0 – 1
Količina e inputo-videoskiri influencaki ko finalno rezultato.
guidance_scaleopcionalno
Tipnumber
standardno7.5
0 – 20
Zor e promptoske pačajipaski vaś izbor e kiposko, sikavdi sar CFG (Classifier Free Guidance).
seedopcionalno
Tipinteger | null
Seed vaš reprodukcia e kipengo ande Stable Diffusion. O kipo šaj te reprodukčarel pes ekzaktno pe sa keripena te mukhes isto o modelesko version, prompto thaj seed.
fpsopcionalno
Tipinteger
standardno8
1 – 16
Kadro-extrakcijaki rates andar o video, kadronge pala sekunda.
motionsopcionalno
Tipenum[]
Motivura aplicarime ko video.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening šaj te avel relaksirime te postavil pes false, numa kana o manglo si autorizuime.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
video
object {url, content_type, file_name, file_size}Rezultato video fajlo.
seed
integerSeed savo si uporabime ande video-keripe.

Bute modeli: Video ko Video

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/fast-animatediff/video-to-video.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt