removebackgroundai.comAI tool

Removebackgroundai

removebackgroundai.com
Plans tarifaires

Aucun plan tarifaire detaille n'est encore disponible pour cet outil.

Presentation detaillee
Remove Background using AI Remove the background from images or videos. Remove Background from images Remove Background from videos Files converted251 I developed this web tool using BackgroundRemover, and the project is developed with Django for the web site. Privacy Policy Terms of Service Contact us Developers © 2026 RemoveBackgroundAI.com| VPS.org LLC | Made by Lou ★★★★★ 5.0 1 review --- Pricing If you want developer pricing, click here Monthly Annual F 6.76 * per user / month * You will be billed in US dollars. (US$7.59) Select the number of seats - + Subscribe 🥇 No Ads ☝ Convert as many files as you have credits ☝ Batch uploading so you can drag and drop as many files at a time instead of one by one ☝ Convert larger files up to 100GB 🐱 Priority queue 🚀 Have the ability to ask for extra conversion tools to be added to RemoveBackgroundAI.com F 5.62 * per user / month F 67.52 billed annually * You will be billed in US dollars. (US$75.86) Select the number of seats - + Subscribe 🥇 No Ads ☝ Convert as many files as you have credits ☝ Batch uploading so you can drag and drop as many files at a time instead of one by one ☝ Convert larger files up to 100GB 🐱 Priority queue 🚀 Have the ability to ask for extra conversion tools to be added to RemoveBackgroundAI.com Files converted251 I developed this web tool using BackgroundRemover, and the project is developed with Django for the web site. Privacy Policy Terms of Service Contact us Developers © 2026 RemoveBackgroundAI.com| VPS.org LLC | Made by Lou ★★★★★ 5.0 1 review --- NAV shell python php javascript Remove background from image Remove background from image Remove background from video Remove background from video Sign up for a developer key Welcome to RemoveBackgroundAI.com API documentation To get a developer key please go to developer portal Authorization: Please replace `` with your own api key such as `sdklajljlajsdlfjasdfj` Remove background from image Remove background from image import requests import time import shutil import json headers = {'Authorization': 'api_key'} file_list = ['testfiles/blah.jpeg'] params = { 'lang': 'en', 'convert_to': 'image-removebackground' } api_domain = "api.removebackgroundai.com" port = "https" api_url = f"{port}://{api_domain}/v1/convert/" results_url = f"{port}://{api_domain}/v1/results/" def download_file(url, local_filename): with requests.get(f"{port}://{api_domain}{url}", stream=True) as r: with open(local_filename, 'wb') as f: shutil.copyfileobj(r.raw, f) return local_filename def convert_files(api_url, params, headers): files = [eval(f'("files", open("{file}", "rb"))') for file in file_list] r = requests.post( url=api_url, files=files, data=params, headers=headers ) if r.status_code != 200: print(r.status_code) print(r.content) return return r.json() def get_results(params): if params.get('error'): return params.get('error') r = requests.post( url=results_url, data=params ) data = r.json() finished = data.get('finished') while not finished: if int(data.get('queue_count')) > 0: print('queue: %s' % data.get('queue_count')) time.sleep(5) results = get_results(params) results = json.dumps(results) if results: break if finished: for f in data.get('files'): download_file("%s" % f.get('url'), "%s" % f.get('filename')) return {"finished": "files downloaded"} return r.json() resp = convert_files(api_url, params, headers) get_results(resp) Request: curl -F "lang=en" -F "convert_to=image-removebackground" -F "files=@testfiles/blah.jpeg" -F "files=@testfiles/blah.jpeg" -F "files=@testfiles/blah.jpeg" -H "Authorization: " https://api.removebackgroundai.com/v1/convert/ Response: {uuid: } Request: curl -F "uuid=" -H "Authorization: " https://api.removebackgroundai.com/v1/results/ Response: {"files": [{"url": , filename: }], "failed": [], "finished": true, "queue_count": 0, "errors": []} $file) { $post_data['file[' . $index . ']'] = curl_file_create( realpath($file), mime_content_type($file), basename($file) ); } $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $api_url); curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, $post_data); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $content = curl_exec($curl); curl_close($curl); return json_decode($content); } function get_results($params, $results_url, $headers) { if ($params->error) { print_r($params->error); return; } $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $results_url); curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, json_decode(json_encode($params), true)); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $content = json_decode(curl_exec($curl)); curl_close($curl); if ($content->finished == false) { if (intval($content->queue_count) > 0) { print_r("queue: $content->queue_count"); } sleep(5); $results = get_results($params, $results_url, $headers); return; } foreach ($content->files as $f) { download_file($f->url, $f->filename); } } $resp = convert_files($file_list, $headers, $api_url); get_results($resp, $results_url, $headers); ?> const request = require('request'); const fs = require('fs'); let file_list = ['/testfiles/blah.jpeg'] const api_url = 'https://api.removebackgroundai.com/v1/convert/' const results_url = 'https://api.removebackgroundai.com/v1/results/' function convertFiles(file_list) { let formData = { 'lang': 'en', 'convert_to': 'image-removebackground' }; for (var i = 0; i < file_list.length; i ++) { formData['files'] = fs.createReadStream(file_list[i]); } request({ url: api_url, method: 'post', formData: formData, headers: { "Authorization": "ce34772b3156440a9886781a48cd0e9a", "Content-Type": "multipart/form-data", } }, function(err, res, body) { if (err) { console.error(err); return err; } getResults(JSON.parse(body)); }); } function getResults(data) { if (data.error) { console.error(data); return data.error; } request({ url: results_url, method: 'post', formData: data }, function(e, r, body) { response = JSON.parse(body); console.log(response); if (!response.finished) { setTimeout( function() { getResults(data); }, 1000 ); } console.log(response); }) } convertFiles(file_list); Will return /path/to/local/file_processed.png To make multiple simply put more files in your list Remove background from video Remove background from video import requests import time import shutil import json headers = {'Authorization': 'api_key'} file_list = ['testfiles/blah.mp4'] params = { 'lang': 'en', 'convert_to': 'video-removebackground' } api_domain = "api.removebackgroundai.com" port = "https" api_url = f"{port}://{api_domain}/v1/convert/" results_url = f"{port}://{api_domain}/v1/results/" def download_file(url, local_filename): with requests.get(f"{port}://{api_domain}{url}", stream=True) as r: with open(local_filename, 'wb') as f: shutil.copyfileobj(r.raw, f) return local_filename def convert_files(api_url, params, headers): files = [eval(f'("files", open("{file}", "rb"))') for file in file_list] r = requests.post( url=api_url, files=files, data=params, headers=headers ) if r.status_code != 200: print(r.status_code) print(r.content) return return r.json() def get_results(params): if params.get('error'): return params.get('error') r = requests.post( url=results_url, data=params ) data = r.json() finished = data.get('finished') while not finished: if int(data.get('queue_count')) > 0: print('queue: %s' % data.get('queue_count')) time.sleep(5) results = get_results(params) results = json.dumps(results) if results: break if finished: for f in data.get('files'): download_file("%s" % f.get('url'), "%s" % f.get('filename')) return {"finished": "files downloaded"} return r.json() resp = convert_files(api_url, params, headers) get_results(resp) Request: curl -F "lang=en" -F "convert_to=video-removebackground" -F "files=@testfiles/blah.jpeg" -F "files=@testfiles/blah.jpeg" -F "files=@testfiles/blah.jpeg" -H "Authorization: " https://api.removebackgroundai.com/v1/convert/ Response: {uuid: } Request: curl -F "uuid=" -H "Authorization: " https://api.removebackgroundai.com/v1/results/ Response: {"files": [{"url": , filename: }], "failed": [], "finished": true, "queue_count": 0, "errors": []} $file) { $post_data['file[' . $index . ']'] = curl_file_create( realpath($file), mime_content_type($file), basename($file) ); } $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $api_url); curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, $post_data); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $content = curl_exec($curl); curl_close($curl); return json_decode($content); } function get_results($params, $results_url, $headers) { if ($params->error) { print_r($params->error); return; } $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $results_url); curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, json_decode(json_encode($params), true)); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $content = json_decode(curl_exec($curl)); curl_close($curl); if ($content->finished == false) { if (intval($content->queue_count) > 0) { print_r("queue: $content->queue_count"); } sleep(5); $results = get_results($params, $results_url, $headers); return; } foreach ($content->files as $f) { download_file($f->url, $f->filename); } } $resp = convert_files($file_list, $headers, $api_url); get_results($resp, $results_url, $headers); ?> const request = require('request'); const fs = require('fs'); let file_list = ['/testfiles/blah.mp4'] const api_url = 'https://api.removebackgroundai.com/v1/convert/' const results_url = 'https://api.removebackgroundai.com/v1/results/' function convertFiles(file_list) { let formData = { 'lang': 'en', 'convert_to': 'video-removebackground' }; for (var i = 0; i < file_list.length; i ++) { formData['files'] = fs.createReadStream(file_list[i]); } request({ url: api_url, method: 'post', formData: formData, headers: { "Authorization": "ce34772b3156440a9886781a48cd0e9a", "Content-Type": "multipart/form-data", } }, function(err, res, body) { if (err) { console.error(err); return err; } getResults(JSON.parse(body)); }); } function getResults(data) { if (data.error) { console.error(data); return data.error; } request({ url: results_url, method: 'post', formData: data }, function(e, r, body) { response = JSON.parse(body); console.log(response); if (!response.finished) { setTimeout( function() { getResults(data); }, 1000 ); } console.log(response); }) } convertFiles(file_list); Will return /path/to/local/file_processed.mov /path/to/local/file_processed.gif To make multiple simply put more files in your list shell python php javascript --- Login Email address Password Login Password forgot? Sign up Files converted251 I developed this web tool using BackgroundRemover, and the project is developed with Django for the web site. Privacy Policy Terms of Service Contact us Developers © 2026 RemoveBackgroundAI.com| VPS.org LLC | Made by Lou ★★★★★ 5.0 1 review