ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Pixelcut Video Background Removal

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ 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"

ਉਦਾਹਰਨ ਵਰਗੀਆਂ ਫ਼ਾਈਲਾਂ: $0.22 220 API ਕ੍ਰੈਡਿਟ · ≈ ₽23.20 ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਮਾਪੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Pixelcut ਬੈਕਗ੍ਰਾਊਂਡ ਹਟਾਉਣਾ #transform#utility#rembg

ਵੀਡੀਓ ਤੋਂ ਬੈਕਗ੍ਰਾਊਂਡ ਹਟਾ ਕੇ ਉਸਨੂੰ ਪਾਰਦਰਸ਼ੀ ਜਾਂ ਠੋਸ ਰੰਗ ਉੱਤੇ ਕਈ ਫਾਰਮੈਟਾਂ ਵਿੱਚ ਐਕਸਪੋਰਟ ਕਰਦਾ ਹੈ

Pixelcut · ਵੀਡੀਓ

ਤੁਹਾਡਾ ਪਹਿਲਾ ਨਤੀਜਾ ਇੱਥੇ ਹੋਵੇਗਾ

ਹੇਠਾਂ ਬੇਨਤੀ ਬਣਾਓ ਅਤੇ ਆਪਣੀ API ਕੁੰਜੀ ਨਾਲ ਚਲਾਓ। ਆਉਟਪੁੱਟ ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਕਾਪੀ ਕੀਤੇ ਜਾਂਦੇ ਹਨ ਅਤੇ ਹਮੇਸ਼ਾ ਲਈ ਜਾਂ ਮੁਫ਼ਤ ਵਿੱਚ 7 ਦਿਨ ਤੱਕ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ video_url
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਇਨਪੁੱਟ ਵੀਡੀਓ ਵੱਲ ਇਸ਼ਾਰਾ ਕਰਦਾ URL।

ਉੱਨਤ background · output_format · background_color
background ਡਿਫ਼ਾਲਟ transparent

ਆਉਟਪੁੱਟ ਲਈ ਬੈਕਗ੍ਰਾਊਂਡ: 'transparent', ਪੂਰਵ-ਨਿਰਧਾਰਤ ਰੰਗ ਦਾ ਨਾਮ, ਜਾਂ background_color ਪਿਕਰ ਨਾਲ ਚੁਣੇ ਰੰਗ ਲਈ 'custom'।

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਫਾਰਮੈਟ ਦਾ ਓਵਰਰਾਈਡ; ਸਪਸ਼ਟ ਚੋਣ ਨਾ ਹੋਣ 'ਤੇ ਆਟੋਮੈਟਿਕ ਪਛਾਣ ਲਾਗੂ ਹੁੰਦੀ ਹੈ ਅਤੇ ਪਾਰਦਰਸ਼ਤਾ ਲਈ ਪੂਰਵ-ਨਿਰਧਾਰਤ ਤੌਰ 'ਤੇ webm_vp9 ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ।

ਕਸਟਮ ਬੈਕਗ੍ਰਾਊਂਡ ਲਈ ਠੋਸ ਰੰਗ; ਸਿਰਫ਼ ਤਾਂ ਲਾਗੂ ਹੁੰਦਾ ਹੈ ਜੇ ਬੈਕਗ੍ਰਾਊਂਡ ਚੋਣ 'custom' ਹੋਵੇ।

POST /run/pixelcut/video-background-removal?wait=20 ਕੋਟ → $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"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Pixelcut Video Background Removal ਬਾਰੇ

`video_url` ਵਾਲੀ ਵੀਡੀਓ ਤੋਂ ਫਰੇਮ-ਦਰ-ਫਰੇਮ ਬੈਕਗ੍ਰਾਊਂਡ ਹਟਾਉਂਦਾ ਹੈ। `background` ਪਾਰਦਰਸ਼ੀ, black, white, green, blue, magenta ਜਾਂ `background_color` ਨਾਲ ਕਸਟਮ ਹੋ ਸਕਦਾ ਹੈ। `output_format` ਵਿੱਚ webm, mp4, mov, mkv ਅਤੇ gif ਵਰਜਨ ਸ਼ਾਮਲ ਹਨ, ਅਤੇ ਪਾਰਦਰਸ਼ੀ ਬੈਕਗ੍ਰਾਊਂਡ ਹੋਣ 'ਤੇ ਡਿਫਾਲਟ webm_vp9 ਹੁੰਦਾ ਹੈ।

ਪੈਰਾਮੀਟਰ

ਕੈਨੋਨਿਕਲ ਨਾਮ ਜਾਂ ਨੇਟਿਵ ਨਾਮ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਭੇਜੋ, ਦੋਵੇਂ ਨਹੀਂ। ਕੈਨੋਨਿਕਲ ਨਾਮ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
video_urlਲੋੜੀਂਦਾ video
ਕਿਸਮurl · video
ਇਨਪੁੱਟ ਵੀਡੀਓ ਵੱਲ ਇਸ਼ਾਰਾ ਕਰਦਾ URL।
backgroundਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟtransparent
transparentblackwhitegreenbluemagentacustom
ਆਉਟਪੁੱਟ ਲਈ ਬੈਕਗ੍ਰਾਊਂਡ: 'transparent', ਪੂਰਵ-ਨਿਰਧਾਰਤ ਰੰਗ ਦਾ ਨਾਮ, ਜਾਂ background_color ਪਿਕਰ ਨਾਲ ਚੁਣੇ ਰੰਗ ਲਈ 'custom'।
background_colorਵਿਕਲਪਿਕ
ਕਿਸਮobject
ਕਸਟਮ ਬੈਕਗ੍ਰਾਊਂਡ ਲਈ ਠੋਸ ਰੰਗ; ਸਿਰਫ਼ ਤਾਂ ਲਾਗੂ ਹੁੰਦਾ ਹੈ ਜੇ ਬੈਕਗ੍ਰਾਊਂਡ ਚੋਣ 'custom' ਹੋਵੇ।
background_color.rਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ0
0 – 255
background_color.gਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ0
0 – 255
background_color.bਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ0
0 – 255
output_formatਵਿਕਲਪਿਕ
ਕਿਸਮenum
webm_vp9mp4_h264mp4_h265mov_proresksmov_h265mkv_h264mkv_h265mkv_vp9gif
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਫਾਰਮੈਟ ਦਾ ਓਵਰਰਾਈਡ; ਸਪਸ਼ਟ ਚੋਣ ਨਾ ਹੋਣ 'ਤੇ ਆਟੋਮੈਟਿਕ ਪਛਾਣ ਲਾਗੂ ਹੁੰਦੀ ਹੈ ਅਤੇ ਪਾਰਦਰਸ਼ਤਾ ਲਈ ਪੂਰਵ-ਨਿਰਧਾਰਤ ਤੌਰ 'ਤੇ webm_vp9 ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

ਫ਼ਾਈਲ ਪੈਰਾਮੀਟਰ ਜਨਤਕ https:// URL, 10 MB ਤੱਕ ਦਾ data: URI, ਜਾਂ ਅੱਪਲੋਡ ਦੇ file_url ਨੂੰ ਸਵੀਕਾਰਦੇ ਹਨ। ਫ਼ਾਈਲਾਂ

ਆਉਟਪੁੱਟ

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"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
video
object {url, content_type, file_name, file_size}ਮਾਡਲ ਵੱਲੋਂ ਤਿਆਰ ਕੀਤੀ ਵੀਡੀਓ ਫ਼ਾਈਲ।

ਹੋਰ ਮਾਡਲ: ਬੈਕਗ੍ਰਾਊਂਡ ਹਟਾਉਣਾ

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/pixelcut/video-background-removal.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt