Peke ki ngā ihirangi

Editto

Whakauru

id tauira 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"

Ngā kōnae pēnei i te tauira: $ 0.405 405 whiwhinga API ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Open model Ataata ki te Ataata tae atu ki 720p #video-edit#wan-vace

Whakatika ataata e hāngai ana ki te tohutohu, ka tuhi anō i tētahi ataata pūtake mai i tētahi tohutohu, me ngā mana whakahaere mō te anga, te fps me te taumira

Open model · Ataata

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Ngā tohutohu kuputuhi hei ārahi i te whakaputanga ataata.

•e hiahiatia ana video_url
Whakataka he kōnae,

Te URL kōnae ataata pūtake; me tuku ina mahia ana te inpainting.

resolution taunoa auto

Taumira mō te ataata putanga.

aspect_ratio taunoa auto

Te ōwehenga āhuatanga mō te ataata ka puta.

taunoa 81

Te tatau anga putanga, me te awhe whakauru 81–241.

taunoa 0

Te tatau interpolation: mā 0 e waiho ngā anga taketake kia kore e interpolated; ko ētahi atu uara e tohu ana i te maha o ngā anga takawaenga hei whakaputa i waenganui.

Arā atu 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
taunoa letterboxing, borders...

Te tohutohu tōraro e whakamahia ana i te whakaputa ataata.

sampler taunoa unipc

Te sampler e whakamahia ana i te whakaputa ataata.

acceleration taunoa regular

Te tautuhinga whakatere inference, me te kōwhiringa 'none' 'regular' rānei: he tino tere ake te tukatuka whakatere, engari he paku rerekē pea te putanga.

video_quality taunoa high

Taumata kounga mō te ataata ka puta.

video_write_mode taunoa balanced

Aratau tuhi mō te ataata ka puta.

taunoa 16

Te auau anga o te ataata kua whakaputaina; ka whakamahia anake mēnā ehara te `match_input_frames_per_second` i te true; ko ngā uara e whakaaetia ana he 5–30 anga ia hēkona.

taunoa 30

Te tatau kaupae tīpako, ka whakawhiti i te wā tukatuka roa mō te kounga pai ake ina piki te tatau.

taunoa 5

Te kaha whakahāngai tohutohu mā te arataki kore-whakarōpū; mā te whakanui i te tauine e akiaki ngā atahanga whakaputa kia tino whai i te kuputuhi.

taunoa 5

Te tautuhinga shift e whakamahia ana i te whakaputa ataata.

taunoa 0

Te tauwehe peke anga ataata, hei tau tōpū, me te upsampling aunoa kotahi mō ia tauwehe downsampling. Whakamahia te 0 kia monokia te downsampling wā.

Te kākano e taea ai te tārua o te whakaputanga. Mā te tautuhi ki None e kōwhiri matapōkeretia ai he kākano.

POST /run/editto?wait=20 utu → $ 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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Editto

Ka whakatika i tētahi ataata kei `video_url`, ā, ka ārahina e tētahi `prompt` tuhinga. Ka taea te whai a te putanga i te tatau anga me te au anga o te tāuru, te whakamahi rānei i `num_frames` (17 ki te 241) me `frames_per_second` (5 ki te 30). Mai i te 240p ki te 720p te taumira, ā, ko te ōwehenga 16:9, 1:1, 9:16, `auto` rānei; ka taea hoki te whakahoki i te ZIP o ngā anga.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
Ngā tohutohu kuputuhi hei ārahi i te whakaputanga ataata.
negative_promptkōwhiringa
Momostring
Taunoaletterboxing, 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
Te tohutohu tōraro e whakamahia ana i te whakaputa ataata.
match_input_num_frameskōwhiringa
Momoboolean
Taunoafalse
Te pūtake o te tatau anga o te ataata i whakaputaina: mā false e whakamahi `num_frames`, mā true e tārua te tatau anga o te ataata tāuru.
num_frameskōwhiringa
Momointeger
Taunoa81
17 – 241
Te tatau anga putanga, me te awhe whakauru 81–241.
match_input_frames_per_secondkōwhiringa
Momoboolean
Taunoafalse
Te pūtake o te tere anga o te ataata i whakaputaina: mā false e whakamahi `frames_per_second`, mā true e tārua te tere anga o te ataata tāuru.
frames_per_secondkōwhiringa
Momointeger | null
Taunoa16
5 – 30
Te auau anga o te ataata kua whakaputaina; ka whakamahia anake mēnā ehara te `match_input_frames_per_second` i te true; ko ngā uara e whakaaetia ana he 5–30 anga ia hēkona.
seedkōwhiringa
Momointeger | null
Te kākano e taea ai te tārua o te whakaputanga. Mā te tautuhi ki None e kōwhiri matapōkeretia ai he kākano.
resolutionkōwhiringa
Momoenum
Taunoaauto
auto240p360p480p580p720p
Taumira mō te ataata putanga.
aspect_ratiokōwhiringa
Momoenum
Taunoaauto
auto16:91:19:16
Te ōwehenga āhuatanga mō te ataata ka puta.
num_inference_stepskōwhiringa
Momointeger
Taunoa30
2 – 50
Te tatau kaupae tīpako, ka whakawhiti i te wā tukatuka roa mō te kounga pai ake ina piki te tatau.
guidance_scalekōwhiringa
Momonumber
Taunoa5
1 – 10
Te kaha whakahāngai tohutohu mā te arataki kore-whakarōpū; mā te whakanui i te tauine e akiaki ngā atahanga whakaputa kia tino whai i te kuputuhi.
samplerkōwhiringa
Momoenum
Taunoaunipc
unipcdpm++euler
Te sampler e whakamahia ana i te whakaputa ataata.
shiftkōwhiringa
Momonumber
Taunoa5
1 – 15
Te tautuhinga shift e whakamahia ana i te whakaputa ataata.
video_urle hiahiatia ana video
Momourl · video
Te URL kōnae ataata pūtake; me tuku ina mahia ana te inpainting.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoafalse
Whakakā/whakaweto tirotiro haumaru, me whakamana pūkete te tautuhinga whakaweto. Ki te kore taua whakamana, ka tirohia ia tono ahakoa te tautuhinga; mā true e whakakā te kaitirotiro.
accelerationkōwhiringa
Momoenum
Taunoaregular
nonelowregular
Te tautuhinga whakatere inference, me te kōwhiringa 'none' 'regular' rānei: he tino tere ake te tukatuka whakatere, engari he paku rerekē pea te putanga.
video_qualitykōwhiringa
Momoenum
Taunoahigh
lowmediumhighmaximum
Taumata kounga mō te ataata ka puta.
video_write_modekōwhiringa
Momoenum
Taunoabalanced
fastbalancedsmall
Aratau tuhi mō te ataata ka puta.
num_interpolated_frameskōwhiringa
Momointeger
Taunoa0
0 – 5
Te tatau interpolation: mā 0 e waiho ngā anga taketake kia kore e interpolated; ko ētahi atu uara e tohu ana i te maha o ngā anga takawaenga hei whakaputa i waenganui.
temporal_downsample_factorkōwhiringa
Momointeger
Taunoa0
0 – 5
Te tauwehe peke anga ataata, hei tau tōpū, me te upsampling aunoa kotahi mō ia tauwehe downsampling. Whakamahia te 0 kia monokia te downsampling wā.
enable_auto_downsamplekōwhiringa
Momoboolean
Taunoafalse
Te urutaunga tatau anga aunoa: mā te whakahohe ka tukatuka te tauira i tētahi ataata kua downsampled ā-wā, e tika ana te roa, ā, mā te interpolation ā muri ake ka whakahoki te tatau anga taketake.
return_frames_zipkōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere mēnā ka whakahokia hoki he pūranga ZIP kei roto i ia anga i whakaputaina; ka whakahohea ina true.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Te kōnae ataata i whakaputaina mai i te atahanga.
prompt
stringTe tohutohu i whakamahia hei whakaputa i te putanga.
seed
integerTe uara kākano i whakamahia i te whakaputanga.
frames_zip
object {url, content_type, file_name, file_size} | nullTe pūranga ZIP kei roto i ia anga ataata, ka whakahokia ina tonoa.

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/editto.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt