Op den Inhalt sprangen

Pixelcut Video Background Removal

Integréieren

Modell-ID pixelcut/video-background-removal
# 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/pixelcut/video-background-removal?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dateie wéi am Beispill: 0,22 $ 220 API-Kreditter · ≈ 23,20 ₽ Är Dateie gi virun der Ausféierung gemooss Op dëser Säit ausféieren

API-Schlëssel kréien
Pixelcut Hannergrondentfernung #transform#utility#rembg

Entfernt den Hannergrond aus engem Video an exportéiert en transparent oder op enger eenheetlecher Faarf a ville Formater

Pixelcut · Video

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch video_url
Fichier erofzéien, oder

URL, déi op den Input-Video weist.

Erweidert background · output_format · background_color
background Standard transparent

Hannergrond fir den Output: 'transparent', e virdefinéierte Faarwnumm oder 'custom' fir eng Faarf, déi mam background_color-Picker ausgewielt gëtt.

Iwwerschreiwung vum Output-Videoformat; ouni explizit Auswiel gëtt automatesch erkannt, mat webm_vp9 als Standard fir Transparenz.

Eenheetlech Faarf fir e personaliséierten Hannergrond; gëtt nëmmen ugewannt, wann d'Hannergrondauswiel 'custom' ass.

POST /run/pixelcut/video-background-removal?wait=20 Präis → 0,22 $
# 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/pixelcut/video-background-removal?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer Pixelcut Video Background Removal

Entfernt den Hannergrond Frame fir Frame aus dem Video an `video_url`. D'Optioun `background` kann transparent, black, white, green, blue, magenta oder personaliséiert mat `background_color` sinn. `output_format` deckt webm, mp4, mov, mkv an gif-Varianten of a steet bei Transparenz standardméisseg op webm_vp9.

Parameteren

Schéck entweder den kanoneschen Numm oder den natierlechen Numm, net béid. Kanonesch Nimm

NummTyp StandardErlaabt Beschreiwung
video_urlobligatoresch video
Typurl · video
URL, déi op den Input-Video weist.
backgroundoptional
Typenum
Standardtransparent
transparentblackwhitegreenbluemagentacustom
Hannergrond fir den Output: 'transparent', e virdefinéierte Faarwnumm oder 'custom' fir eng Faarf, déi mam background_color-Picker ausgewielt gëtt.
background_coloroptional
Typobject
Eenheetlech Faarf fir e personaliséierten Hannergrond; gëtt nëmmen ugewannt, wann d'Hannergrondauswiel 'custom' ass.
background_color.roptional
Typinteger
Standard0
0 – 255
background_color.goptional
Typinteger
Standard0
0 – 255
background_color.boptional
Typinteger
Standard0
0 – 255
output_formatoptional
Typenum
webm_vp9mp4_h264mp4_h265mov_proresksmov_h265mkv_h264mkv_h265mkv_vp9gif
Iwwerschreiwung vum Output-Videoformat; ouni explizit Auswiel gëtt automatesch erkannt, mat webm_vp9 als Standard fir Transparenz.
obligatoresch Kanoneschen Numm, och akzeptéiert

Fichierparameter akzeptéieren eng ëffentlech https:// URL, eng data: URI bis zu 10 MB oder de file_url vun engem Upload. Fichieren

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "pixelcut/video-background-removal",
  "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": 220,
    "usd": "0.22",
    "charged": 220,
    "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
    }
  },
  "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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
video
object {url, content_type, file_name, file_size}Video-Datei, déi vum Modell erstallt gouf.

Méi Modeller: Hannergrondentfernung

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/pixelcut/video-background-removal.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt