Dža ko lil

Editto

Integriruj

Modelosko id editto
# 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/editto?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",
    "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: $0.405 405 API krediti tire fajlo si merime angl-o phiripen Phir les kate

Lel API klidin
Open model Video ko Video dži 720p #video-edit#wan-vace

Instrukcijengo video-editiripe savo ričinel source video katar prompto, kadro, fps thaj rezolucijake kontrolenca

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

Tekstune instrukcije save dromar videoqo generiripe.

•trubul video_url
Čhiv jekh fajl, vaj

Source videonako fajlosko URL; trubul kana kerel inpainting.

resolution standardno auto

Rezolucija e rezultato-videoski.

aspect_ratio standardno auto

Aspect ratio e rezultato videoqo.

standardno 81

Rezultatosko kadroko gin, range 81–241.

standardno 0

Interpolationosko gin: 0 mukel originalo kadron aninterpolime; aver vrednosti phenel keci maškarutne kadro te kerel maškar lende.

Lučhe negative_prompt · sampler · acceleration · video_quality · video_write_mode · frames_per_second · num_inference_steps · guidance_scale · shift · temporal_downsample_factor · seed · match_input_frames_per_second · enable_safety_checker · enable_auto_downsample · return_frames_zip
standardno letterboxing, borders...

Negačutno promptos čhivdo kana kerel jekh video.

sampler standardno unipc

Sampler savo si čhivdo kana kerel e video.

acceleration standardno regular

Inferenceoski akceleraciaki setting, kidindoj maškar 'none' vaj 'regular': akcelerime keripen del but zuraleder speed, numa ciknasa averipen e rezultatos.

video_quality standardno high

Kvalitoski úroveň e rezultato-videoski.

video_write_mode standardno balanced

Pisimen modo vaš o rezultato-video.

standardno 16

Generime videonako kadroko rate, čhivdo numa kana `match_input_frames_per_second` na si true; akceptuime si 5–30 kadro per sekunda.

standardno 30

Gin e sampling-krokingo, savo zamenel majdur procesiripe vaś majlačhi kvaliteta kana o gin barol.

standardno 5

Promptoski alignment zor, kontrolime classifier-free guidance-asa; feder scale del e generime kipenge te džanav buter e tekstos.

standardno 5

Shiftoski setting čhivdi kana kerel e video.

standardno 0

Videonako kadroko skipingosko faktor, ginavdo sar integer, avtomatikano upsampling kerdo jekhvar vaš sako downsampling faktor. Thov 0 te mukel temporal downsampling phandlo.

Seed savo kerel o generiripe reproducibilno. Te postavil pes pe None, randomno kidel pes seed.

POST /run/editto?wait=20 hesab → $0.405
# 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/editto?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",
    "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 Editto

Editisar jekh video dino `video_url`-esa thaj vodil les tekstosko `prompt`. O outputo šaj te džal palem inputosko frame-gina thaj frame-rate, vaj te lel `num_frames` (17 dži 241) thaj `frames_per_second` (5 dži 30). Rezolucija si 240p dži 720p, aspektoski proporcija šaj te avel auto, 16:9, 1:1 vaj 9:16, thaj šaj te avel vi ZIP le framenca.

Parametra

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

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Tekstune instrukcije save dromar videoqo generiripe.
negative_promptopcionalno
Tipstring
standardnoletterboxing, borders, black bars, bright colors, overexposed, static, blurred details, subtitles, style, artwork, painting, picture, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, malformed limbs, fused fingers, still picture, cluttered background, three legs, many people in the background, walking backwards
Negačutno promptos čhivdo kana kerel jekh video.
match_input_num_framesopcionalno
Tipboolean
standardnofalse
Generime videonako kadroko ginesko źor: false lel `num_frames`, true lel e inputone videonako kadroko gin.
num_framesopcionalno
Tipinteger
standardno81
17 – 241
Rezultatosko kadroko gin, range 81–241.
match_input_frames_per_secondopcionalno
Tipboolean
standardnofalse
Generime videonako kadroko ratesko źor: false lel `frames_per_second`, true lel e inputone videonako kadroko rate.
frames_per_secondopcionalno
Tipinteger | null
standardno16
5 – 30
Generime videonako kadroko rate, čhivdo numa kana `match_input_frames_per_second` na si true; akceptuime si 5–30 kadro per sekunda.
seedopcionalno
Tipinteger | null
Seed savo kerel o generiripe reproducibilno. Te postavil pes pe None, randomno kidel pes seed.
resolutionopcionalno
Tipenum
standardnoauto
auto240p360p480p580p720p
Rezolucija e rezultato-videoski.
aspect_ratioopcionalno
Tipenum
standardnoauto
auto16:91:19:16
Aspect ratio e rezultato videoqo.
num_inference_stepsopcionalno
Tipinteger
standardno30
2 – 50
Gin e sampling-krokingo, savo zamenel majdur procesiripe vaś majlačhi kvaliteta kana o gin barol.
guidance_scaleopcionalno
Tipnumber
standardno5
1 – 10
Promptoski alignment zor, kontrolime classifier-free guidance-asa; feder scale del e generime kipenge te džanav buter e tekstos.
sampleropcionalno
Tipenum
standardnounipc
unipcdpm++euler
Sampler savo si čhivdo kana kerel e video.
shiftopcionalno
Tipnumber
standardno5
1 – 15
Shiftoski setting čhivdi kana kerel e video.
video_urltrubul video
Tipurl · video
Source videonako fajlosko URL; trubul kana kerel inpainting.
enable_safety_checkeropcionalno
Tipboolean
standardnofalse
Safety-checking switch savo off setting mangel account authorization. Bizo autorizacija, sako mangipen si kontrolime bizo te dikhel setting; true aktivirinel checker.
accelerationopcionalno
Tipenum
standardnoregular
nonelowregular
Inferenceoski akceleraciaki setting, kidindoj maškar 'none' vaj 'regular': akcelerime keripen del but zuraleder speed, numa ciknasa averipen e rezultatos.
video_qualityopcionalno
Tipenum
standardnohigh
lowmediumhighmaximum
Kvalitoski úroveň e rezultato-videoski.
video_write_modeopcionalno
Tipenum
standardnobalanced
fastbalancedsmall
Pisimen modo vaš o rezultato-video.
num_interpolated_framesopcionalno
Tipinteger
standardno0
0 – 5
Interpolationosko gin: 0 mukel originalo kadron aninterpolime; aver vrednosti phenel keci maškarutne kadro te kerel maškar lende.
temporal_downsample_factoropcionalno
Tipinteger
standardno0
0 – 5
Videonako kadroko skipingosko faktor, ginavdo sar integer, avtomatikano upsampling kerdo jekhvar vaš sako downsampling faktor. Thov 0 te mukel temporal downsampling phandlo.
enable_auto_downsampleopcionalno
Tipboolean
standardnofalse
Avtomatikano kadroko ginesko adaptipen: aktivaripen mukel e modelos te kerel temporalo downsampled video lačhe duratasa, interpolaciatar palem kerel originalo kadroko gin.
return_frames_zipopcionalno
Tipboolean
standardnofalse
Kontrolinel whether ZIP archive savo si sa generime kadronca si pale bičhardo; aktivno kana true.
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": "editto",
  "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": 405,
    "usd": "0.405",
    "charged": 405,
    "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "prompt": "Make it a Pixel Art video.",
    "seed": 42,
    "frames_zip": {
      "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, width, height, fps, duration, num_frames}Videonako fajlo kerdo kipo-tar.
prompt
stringPromptos savo si upotreblime vaš rezultatoski keripe.
seed
integerSeed-valoro aplikovano ko generiripe.
frames_zip
object {url, content_type, file_name, file_size} | nullZIP archive savo si sa videonake kadronca, bičhardo kana manglo.

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