Peke ki ngā ihirangi

Video · Erase · Keypoints

Whakauru

id tauira bria/video/erase/keypoints
# 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/bria/video/erase/keypoints?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "keypoints": [
      "{'\''x'\'': 765, '\''y'\'': 344, '\''type'\'': '\''positive'\''}",
      "{'\''x'\'': 200, '\''y'\'': 200, '\''type'\'': '\''negative'\''}"
    ],
    "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"

Ngā kōnae pēnei i te tauira: $ 0.70 700 whiwhinga API · ≈ ₽ 74.60 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Bria AI · 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,

Ataata he poto ake i te 5 hēkona hei pūtake mō te ūkui ahanoa.

•e hiahiatia ana

Ngā wāhi tango, pupuri rānei i te ataata, kua tohua mā ngā taunga [x,y], ka whakamahi ia wāhi i tēnei wetereo: {'x':100, 'y':100, 'type':'positive/negative'}.

Arā atu output_container_and_codec · preserve_audio
taunoa mp4_h264

Ipu me te kotēkē mō te putanga, ka tīpakohia mai i: mp4_h265, mp4_h264, webm_vp9, gif, mov_h264, mov_h265, mov_proresks, mkv_h264, mkv_h265, mkv_vp9, mkv_mpeg4.

POST /run/bria/video/erase/keypoints?wait=20 utu → $ 0.70
# 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/bria/video/erase/keypoints?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "keypoints": [
      "{'\''x'\'': 765, '\''y'\'': 344, '\''type'\'': '\''positive'\''}",
      "{'\''x'\'': 200, '\''y'\'': 200, '\''type'\'': '\''negative'\''}"
    ],
    "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"

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ō Video · Erase · Keypoints

Ka tango i tētahi mea mai i tētahi ataata, ā, ka tīpakohia te whāinga mā te rārangi `keypoints` o ngā ira x/y kua tohu pai, kino rānei. Me poto iho te ataata tāuru i te 5 hēkona, ā, mā `auto_trim` e tapahi ngā topenga roa ki taua roa mahi. Ka taea te tīpako i te hōputu putanga mai i ngā ipu me ngā waehere tekau mā tahi, ko mp4_h264 te taunoa, ā, mā `preserve_audio` e pupuri te oro.

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
output_container_and_codeckōwhiringa
Momoenum
Taunoamp4_h264
mp4_h265mp4_h264webm_vp9gifmov_h264mov_h265mov_proresksmkv_h264mkv_h265mkv_vp9mkv_mpeg4
Ipu me te kotēkē mō te putanga, ka tīpakohia mai i: mp4_h265, mp4_h264, webm_vp9, gif, mov_h264, mov_h265, mov_proresks, mkv_h264, mkv_h265, mkv_vp9, mkv_mpeg4.
auto_trimkōwhiringa
Momoboolean
Taunoatrue
Ka tapahi aunoa i te ataata kia 5 hēkona te roa mahi.
preserve_audiokōwhiringa
Momoboolean
Taunoatrue
Ka whakahohea te pupuri ororongo i te putanga ataata ina true.
keypointse hiahiatia ana
Momostring[]
Ngā wāhi tango, pupuri rānei i te ataata, kua tohua mā ngā taunga [x,y], ka whakamahi ia wāhi i tēnei wetereo: {'x':100, 'y':100, 'type':'positive/negative'}.
video_urle hiahiatia ana video
Momourl · video
Ataata he poto ake i te 5 hēkona hei pūtake mō te ūkui ahanoa.
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": "bria/video/erase/keypoints",
  "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": 700,
    "usd": "0.70",
    "charged": 700,
    "refunded": 0
  },
  "input": {
    "keypoints": [
      "{'x': 765, 'y': 344, 'type': 'positive'}",
      "{'x': 200, 'y': 200, 'type': 'negative'}"
    ],
    "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"
  }
}
Ō 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}Ataata ka puta.

Ētahi atu tauira: Ataata ki te Ataata

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