NAV
shell python php javascript

مرحبًا بك في وثائق RemoveBackgroundAI.com API

للحصول على مفتاح المطور يرجى الذهاب إلى بوابة المطور

Authorization: <api_key>

إزالة الخلفية من الصورة

إزالة الخلفية من الصورة

Copy to Clipboard
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: <api_key>" https://api.removebackgroundai.com/v1/convert/ Response: {uuid: <conversion_uuid>} Request: curl -F "uuid=<conversion_uuid>" -H "Authorization: <api_key>" https://api.removebackgroundai.com/v1/results/ Response: {"files": [{"url": <url>, filename: <filename>}], "failed": [], "finished": true, "queue_count": 0, "errors": []}

سيعود

Copy to Clipboard
/path/to/local/file_processed.png

لعمل عدة ببساطة ضع المزيد من الملفات في قائمتك

إزالة الخلفية من الفيديو

إزالة الخلفية من الفيديو

Copy to Clipboard
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: <api_key>" https://api.removebackgroundai.com/v1/convert/ Response: {uuid: <conversion_uuid>} Request: curl -F "uuid=<conversion_uuid>" -H "Authorization: <api_key>" https://api.removebackgroundai.com/v1/results/ Response: {"files": [{"url": <url>, filename: <filename>}], "failed": [], "finished": true, "queue_count": 0, "errors": []}

سيعود

Copy to Clipboard
/path/to/local/file_processed.mov /path/to/local/file_processed.gif

لعمل عدة ببساطة ضع المزيد من الملفات في قائمتك