Peke ki ngā ihirangi

Bytedance Upscaler Upscale Video

Whakauru

id tauira bytedance-upscaler/upscale/video
# 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/bytedance-upscaler/upscale/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"
  }'

# 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.072 72 whiwhinga API ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
ByteDance Whakakaha Kounga Putanga 4K #upscaler#video#bytedance

Ka whakanuia te ataata tae atu ki te 8K mā ngā tatūkē, taumata kounga, kōwhiringa auau-tāpare me te hōhonutanga moka

ByteDance · 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 video_url
Whakataka he kōnae,

Te URL e tohu ana ki te ataata pūtake mō te whakarahi.

target_resolution taunoa 1080p

Te taumira e hiahiatia ana mō te ataata whakarahia.

enhancement_tier taunoa standard

Te taumata kounga e whakamahia ana mō te whakarei.

taunoa 30

Te tere anga e hiahiatia ana mō te putanga whakarei, ka inehia ki ngā anga ia hēkona.

Te whakarea taumira putanga, mai i te 1.1 ki te 10.0; ina tukuna, ka whakakapi i target_resolution, ka whakarea hoki i te taumira tāuru (hei tauira, mā 2.0 e whakarua). Ka tautokona te whakatauine ki te 4k anake, kua tautuhia hei tatau pika katoa 3840x2160; ki te hipa, ka puta he hapa.

Arā atu enhancement_preset · fidelity · bit_depth
enhancement_preset taunoa general

Te tatūkē whakarei kua whakaritea mō te momo ataata. Whakamahia 'general' mō te tukatuka whānui, 'ugc' mō ngā ataata kaiwhakamahi poto, 'short_series' mō ngā whakaari poto, 'aigc' mō ngā rawa i hangaia e AI, me 'old_film' mō te whakaora kiriata tawhito.

fidelity taunoa high

Te kaha whakarei, me 'medium' mō te whakapai taurite i te kounga atahanga, 'high' rānei mō te whakarei māmā e pupuri ana i te kakano ā-kanohi o te ataata pūtake.

bit_depth taunoa 8

Kōwhiria te hōhonutanga moka tae o te ataata putanga; me whai te taumata whakarei Pro mō te putanga 10-bit, 12-bit rānei.

POST /run/bytedance-upscaler/upscale/video?wait=20 utu → $ 0.072
# 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/bytedance-upscaler/upscale/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"
  }'

# 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ō Bytedance Upscaler Upscale Video

Ka whakamahi i tētahi `video_url`, ka whakanuia tōna taumira ki `target_resolution` (1080p ki te 8k), ka whakamahi rānei i `scale_ratio` mai i te 1.1 ki te 10. Ko `target_fps` mai i te 24 ki te 120. He pai a `enhancement_preset` mō ngā ihirangi pērā i ugc, old_film rānei, ko `enhancement_tier` he fast, standard, pro rānei, ā, me whai te pro tier a `bit_depth` 10, 12 rānei.

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
video_urle hiahiatia ana video
Momourl · video
Te URL e tohu ana ki te ataata pūtake mō te whakarahi.
target_resolutionkōwhiringa
Momoenum
Taunoa1080p
1080p2k4k6k8k
Te taumira e hiahiatia ana mō te ataata whakarahia.
target_fpskōwhiringa
Momonumber
Taunoa30
24 – 120
Te tere anga e hiahiatia ana mō te putanga whakarei, ka inehia ki ngā anga ia hēkona.
enhancement_presetkōwhiringa
Momoenum
Taunoageneral
generalugcshort_seriesaigcold_film
Te tatūkē whakarei kua whakaritea mō te momo ataata. Whakamahia 'general' mō te tukatuka whānui, 'ugc' mō ngā ataata kaiwhakamahi poto, 'short_series' mō ngā whakaari poto, 'aigc' mō ngā rawa i hangaia e AI, me 'old_film' mō te whakaora kiriata tawhito.
enhancement_tierkōwhiringa
Momoenum
Taunoastandard
faststandardpro
Te taumata kounga e whakamahia ana mō te whakarei.
scale_ratiokōwhiringa
Momonumber | null
1.1 – 10
Te whakarea taumira putanga, mai i te 1.1 ki te 10.0; ina tukuna, ka whakakapi i target_resolution, ka whakarea hoki i te taumira tāuru (hei tauira, mā 2.0 e whakarua). Ka tautokona te whakatauine ki te 4k anake, kua tautuhia hei tatau pika katoa 3840x2160; ki te hipa, ka puta he hapa.
fidelitykōwhiringa
Momoenum
Taunoahigh
highmedium
Te kaha whakarei, me 'medium' mō te whakapai taurite i te kounga atahanga, 'high' rānei mō te whakarei māmā e pupuri ana i te kakano ā-kanohi o te ataata pūtake.
bit_depthkōwhiringa
Momoenum
Taunoa8
81012
Kōwhiria te hōhonutanga moka tae o te ataata putanga; me whai te taumata whakarei Pro mō te putanga 10-bit, 12-bit rānei.
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": "bytedance-upscaler/upscale/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": 72,
    "usd": "0.072",
    "charged": 72,
    "refunded": 0
  },
  "input": {
    "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
    },
    "duration": 5
  },
  "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}Te kōnae ataata ka puta.
duration
number

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