Dža ko lil

Video · Erase · Keypoints

Integriruj

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

Fajlo sar o misalo: $0.70 700 API krediti · ≈ ₽74.60 tire fajlo si merime angl-o phiripen Phir les kate

Lel API klidin
Bria AI · 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 video_url
Čhiv jekh fajl, vaj

Video cikheder sar 5 sekunda, savo služil sar savo kipo vaš o objektosko šutripe.

•trubul

Punkto vaš šutripe vaj ačharipe e videosko, sikavde koordinatenca [x,y], sakone jekhese akaja sintaksa: {'x':100, 'y':100, 'type':'positive/negative'}.

Lučhe output_container_and_codec · preserve_audio
standardno mp4_h264

Kontajnero thaj kodeko vaš o rezultato, alosardo andar: 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 hesab → $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"

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

Čhivel avri jekh objekto andar video, e targetosa alosardesa e listasa `keypoints`, dinde sar x/y punktona pozitivne vaj negativne. O input-video mušinel te avel tele 5 sekunda, thaj `auto_trim` čhinel lunge klipura ko kadja dži duripe. O output-formato si alosarutno maškar dešujekh kontejneri thaj kodeki, standardno mp4_h264, thaj `preserve_audio` rakhel o zvukos.

Parametra

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

NavTip standardnoMuklo Vakeripe
output_container_and_codecopcionalno
Tipenum
standardnomp4_h264
mp4_h265mp4_h264webm_vp9gifmov_h264mov_h265mov_proresksmkv_h264mkv_h265mkv_vp9mkv_mpeg4
Kontajnero thaj kodeko vaš o rezultato, alosardo andar: mp4_h265, mp4_h264, webm_vp9, gif, mov_h264, mov_h265, mov_proresks, mkv_h264, mkv_h265, mkv_vp9, mkv_mpeg4.
auto_trimopcionalno
Tipboolean
standardnotrue
Automatikane čhinel o video ko rabotno džiĺipe le 5 sekunda.
preserve_audioopcionalno
Tipboolean
standardnotrue
Te si true, audio ačhol ando rezultato video.
keypointstrubul
Tipstring[]
Punkto vaš šutripe vaj ačharipe e videosko, sikavde koordinatenca [x,y], sakone jekhese akaja sintaksa: {'x':100, 'y':100, 'type':'positive/negative'}.
video_urltrubul video
Tipurl · video
Video cikheder sar 5 sekunda, savo služil sar savo kipo vaš o objektosko šutripe.
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": "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"
  }
}
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}Rezultato video.

Bute modeli: Video ko Video

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