Dža ko lil

Scail 2

Integriruj

Modelosko id scail-2
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/scail-2?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",
    "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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Fajlo sar o misalo: $2.00 2,000 API krediti tire fajlo si merime angl-o phiripen Phir les kate

Lel API klidin
Open model Video ko Video dži 704p #stylized#transform

Animuil referentno karakterosko imadžos le motioneha katar driving-video, vaj paruvavel les ando originalo scena

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

Prompto savo specifikuil o manglo rezultatosko video.

•trubul image_url
Čhiv jekh fajl, vaj

Karakterosko referencako kipo URL savo del o karaktero vaško animacija vaj zamenka e subjektoski; o driving video dikhel e animacijasa vaj zamenkasa.

•trubul video_url
Čhiv jekh fajl, vaj

Dino URL-esa video savo dikhel e motion, jek manušesa, but manušenca vaj životinasa.

resolution standardno 512p

Rezultatoski rezolucija, orientacija automatikane dindi palal referencake kipesko aspect ratio. Landscapeθe, 512p si 896x512 thaj 704p si 1280x704; portraitθe si 512x896 thaj 704x1280.

Lučhe mode · driving_type · subject_type · num_inference_steps · guidance_scale · shift · seed · enable_safety_checker
mode standardno animation

Alosar sar te užil pes o referencako karaktero: `replacement` astarel originalno scena numa paruvavel o karaktero vaško driving subject; `animation` aplicaril o driving motion pe karaktero.

driving_type standardno end_to_end

Animacijaki motion avel direktno andar driving video maskirimo SAM3-esa e `end_to_end`-esa, standardno thaj preporučime alosaripen vaško maksimalno robustnosto. Alternativno, `pose` užil NLF/DWPose te renderil eksplicitno skeleton andar kada video, delindoj buter kontrola e pharesa inputonça.

subject_type standardno human

Driving-videosko subjectosko alosaripen, kaj `animal` konfiguruil SAM3-esko detekcijako prompto vaške na-`human` subjektora.

standardno 40

Diffusion sampling-ako kadronqo gin. Kana bararel les, lačharel pes o kvalitet numa lel buter vaxto.

standardno 5

Classifier-free guidance zuralipen, balansirindoj promptoski vernosta thaj kreativita.

standardno 3

Noise-schedule shift vaško flow matching, preporučime setipe 3.0 kana užil pes 512p.

Keripesko seed savo si ande rezultato, bi te del pes eksplicitno vaj te alosarel pes random kana o inputo ačhel prazno.

POST /run/scail-2?wait=20 hesab → $2.00
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/scail-2?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",
    "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.com/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 Scail 2

Lel referencakro karakterosko `image_url` thaj lidžardo `video_url` savo sikavel jekhe manušes, bute manušen vaj jekhe džukles. Ande `animation` mode karaktero kerel o lidžardo movemento; ande `replacement` mode paruvel e temu thaj rakhavel e scenа. Rezolucija si 512p vaj 704p, orientacija si ćidime katar o kipo. `driving_type` šaj te ovel direct end-to-end driving vaj eksplicitno poza skeleton.

Parametra

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

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Prompto savo specifikuil o manglo rezultatosko video.
image_urltrubul image
Tipurl · image
Karakterosko referencako kipo URL savo del o karaktero vaško animacija vaj zamenka e subjektoski; o driving video dikhel e animacijasa vaj zamenkasa.
video_urltrubul video
Tipurl · video
Dino URL-esa video savo dikhel e motion, jek manušesa, but manušenca vaj životinasa.
modeopcionalno
Tipenum
standardnoanimation
animationreplacement
Alosar sar te užil pes o referencako karaktero: `replacement` astarel originalno scena numa paruvavel o karaktero vaško driving subject; `animation` aplicaril o driving motion pe karaktero.
driving_typeopcionalno
Tipenum
standardnoend_to_end
end_to_endpose
Animacijaki motion avel direktno andar driving video maskirimo SAM3-esa e `end_to_end`-esa, standardno thaj preporučime alosaripen vaško maksimalno robustnosto. Alternativno, `pose` užil NLF/DWPose te renderil eksplicitno skeleton andar kada video, delindoj buter kontrola e pharesa inputonça.
subject_typeopcionalno
Tipenum
standardnohuman
humananimal
Driving-videosko subjectosko alosaripen, kaj `animal` konfiguruil SAM3-esko detekcijako prompto vaške na-`human` subjektora.
resolutionopcionalno
Tipenum
standardno512p
512p704p
Rezultatoski rezolucija, orientacija automatikane dindi palal referencake kipesko aspect ratio. Landscapeθe, 512p si 896x512 thaj 704p si 1280x704; portraitθe si 512x896 thaj 704x1280.
num_inference_stepsopcionalno
Tipinteger
standardno40
2 – 50
Diffusion sampling-ako kadronqo gin. Kana bararel les, lačharel pes o kvalitet numa lel buter vaxto.
guidance_scaleopcionalno
Tipnumber
standardno5
1 – 10
Classifier-free guidance zuralipen, balansirindoj promptoski vernosta thaj kreativita.
shiftopcionalno
Tipnumber
standardno3
1 – 10
Noise-schedule shift vaško flow matching, preporučime setipe 3.0 kana užil pes 512p.
seedopcionalno
Tipinteger | null
Keripesko seed savo si ande rezultato, bi te del pes eksplicitno vaj te alosarel pes random kana o inputo ačhel prazno.
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": "scail-2",
  "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": 2000,
    "usd": "2.00",
    "charged": 2000,
    "refunded": 0
  },
  "input": {
    "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
    },
    "seed": 42,
    "preprocessing_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
    },
    "preprocessing_mask_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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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}Video-fajlo kerdino generiripeça.
seed
integerSeed užito vaško videosko keripe.
preprocessing_video
object {url, content_type, file_name, file_size} | nullDebug video savo si Stage-A pose-conditioning inputo dino e diffusion modeloske, dostupno numa e `output_preprocessing=true`-sa. Lesko sadržaj dependuil pe `driving_type`: `end_to_end` užil driving footage maskirimo SAM3-esa, kana `driving_type=pose` užil skeleton renderimo NLF/DWPose-esa.
preprocessing_mask_video
object {url, content_type, file_name, file_size} | nullStage-A driving maskako video vaško debugging, dostupno numa e `output_preprocessing=true`-sa.

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