Pāriet uz saturu

One To All Animation · 1.3b

Integrēt

Modeļa id one-to-all-animation/1.3b
# 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/one-to-all-animation/1.3b?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",
    "negative_prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

Faili, piemēram, paraugā: 0,30 $ 300 API kredītu · ≈ 32,27 ₽ jūsu faili tiek izmērīti pirms izpildes Izpildīt šajā lapā

Iegūt API atslēgu
Open model Video uz video līdz 720p #video-to-video#motion

Mazāks pēc pozas vadīts animācijas modelis, kas kustina atsauces attēlu atbilstoši video kustībai

Open model · Video

Šeit būs jūsu pirmais rezultāts

Izveidojiet pieprasījumu tālāk un izpildiet to ar savu API atslēgu. Izvades tiek kopētas mūsu krātuvē un glabātas mūžīgi vai 7 dienas bez maksas.

Izveidot pieprasījumu

Vadīklas tiek ģenerētas no modeļa shēmas. Kods un cena tiek atjaunināti, kad tos maināt.

•obligāts

Video ģenerēšanas pamatā izmantotā uzvedne.

•obligāts

Negatīvā uzvedne, kas tiek izmantota video ģenerēšanas laikā.

•obligāts image_url
Nometiet failu vai

Atsauces attēla URL video ģenerēšanai.

•obligāts video_url
Nometiet failu vai

Atsauces video URL, ko izmanto video ģenerēšanas vadīšanai.

resolution noklusējums 480p

Izvades video izšķirtspēja.

Papildu num_inference_steps · image_guidance_scale · pose_guidance_scale · enable_safety_checker
noklusējums 30

Video ģenerēšanas laikā veikto secināšanas soļu skaits.

noklusējums 2

Video ģenerēšanas laikā izmantotais attēla vadības mērogs.

noklusējums 1.5

Video ģenerēšanas laikā izmantotais pozas vadības mērogs.

POST /run/one-to-all-animation/1.3b?wait=20 cena → 0,30 $
# 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/one-to-all-animation/1.3b?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",
    "negative_prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

Palaist šo pieprasījumu

Jūsu atslēga paliek šajā pārlūkprogrammā: tā tiek nosūtīta tikai uz Doitong API un saglabāta (localStorage) tikai tad, ja atzīmējat Atcerēties. Iegūt API atslēgu

Par One To All Animation · 1.3b

Animē tēlu atsauces `image_url`, sekojot kustībai `video_url`. Gan `prompt`, gan `negative_prompt` ir obligāti. Izvades izšķirtspēja ir 480p, 580p vai 720p, ar līdz 30 inferenču soļiem un pielāgojamiem `image_guidance_scale` un `pose_guidance_scale`. Šī ir 1.3b izmēra versija.

Parametri

Nosūti vai nu kanonisko nosaukumu, vai vietējo nosaukumu, bet ne abus. Kan啤niskie nosaukumi

NosaukumsTips NoklusējumsAtļauts Apraksts
promptobligāts
Tipsstring
Video ģenerēšanas pamatā izmantotā uzvedne.
negative_promptobligāts
Tipsstring
Negatīvā uzvedne, kas tiek izmantota video ģenerēšanas laikā.
image_urlobligāts image
Tipsurl · image
Atsauces attēla URL video ģenerēšanai.
video_urlobligāts video
Tipsurl · video
Atsauces video URL, ko izmanto video ģenerēšanas vadīšanai.
resolutionneobligāts
Tipsenum
Noklusējums480p
480p580p720p
Izvades video izšķirtspēja.
num_inference_stepsneobligāts
Tipsinteger
Noklusējums30
2 – 30
Video ģenerēšanas laikā veikto secināšanas soļu skaits.
image_guidance_scaleneobligāts
Tipsnumber
Noklusējums2
1 – 10
Video ģenerēšanas laikā izmantotais attēla vadības mērogs.
pose_guidance_scaleneobligāts
Tipsnumber
Noklusējums1.5
1 – 10
Video ģenerēšanas laikā izmantotais pozas vadības mērogs.
enable_safety_checkerneobligāts
Tipsboolean
Noklusējumstrue
Pārbaudi var atslābināt, iestatot false, ja izsaucējam ir atļauja.
obligāts Kan啤niskais nosaukums, arī pieņemts

Failu parametriem nepieciešams publisks https:// URL, data: URI līdz 10 MB vai augšupielādes file_url. Faili

Izvade

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "one-to-all-animation/1.3b",
  "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": 300,
    "usd": "0.30",
    "charged": 300,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "negative_prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "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
    }
  },
  "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"
  }
}
Jūsu faili, jūsu izvēleKatrs outputs[].url ir kopija mūsu krātuvē: tiek glabāta mūžīgi (maksa par GB mēnesī) vai 7 dienas bez maksas — atbilstoši konta iestatījumam vai ?storage=.
Vienāda struktūra katram modelimtype, url, content_type, width, height un duration gan attēliem, gan video un audio. output ir paša modeļa rezultāta objekts.
Izvades lauki
video
object {url, content_type, file_name, file_size}Ģenerēšanas rezultātā iegūtais video fails.

Vairāk modeļu: Video uz video

AI aģentiem: šī lapa Markdown formātā ir pieejama https://doitong.com/lv/developers/models/one-to-all-animation/1.3b.md. Visi modeļi un ceļveži: https://doitong.com/developers/llms.txt