API & Integrations
How can I customize my API results?
How can I customize my API results?

How can I customize my API results?

The API has different customization options:

  • Choose the format (png, jpg, zip)

  • Region of interest: only contents of this rectangular region can be detected as foreground, while everything outside of it will be considered background and thus removed. By default, the whole image is the region of interest ("0% 0% 100% 100%")

  • Crop: the default is false. It lets you choose whether or not to crop off all empty regions.

  • Crop margin: adds a margin around the cropped subject. This parameter has effect only when “crop=true”. 

  • Scale: scales the subject relative to the total image size. It implies “position=center”, unless you specify otherwise. 

  • Position: positions the subject within the image canvas. Can be “original” (default, unless the scale is given), “center”, a value from 0% to 100%, or two values (horizontal, vertical). 

  • Channels: you can request the finalized image (rgba) or the alpha mask. Requiring the latter can lead to a lower final image quality, therefore “rgba” is recommended.

  • Add a shadow: you can choose to add an artificial shadow to the result. This feature is currently only supported for car images, but will soon be available for other subjects too.

  • Semitransparency: lets you choose whether to have semitransparent regions in the result. Note that this feature is only available for car windows at the moment. 

  • Background color: lets you add a solid background color. You can either insert a hex color code, or a color name. 

  • Background image: you can add a new image as your background by either providing the image URL or uploading the file.

How to change the background of an image

If you want to change the background of an image:

  1. In your code, provide the file of the new background image.

2. To add shadows:

Remember that the shadow feature is currently only supported for car images but will soon be available for other subjects too.

For more details, you can read our step-by-step guide.

Was this article helpful? Yes No
Thanks for your feedback.
remove.bg - Remove Background from Image 100% Free! | Product Hunt
  • 더 알아보기

  • 매직 브러쉬
  • 개인
  • 포토그래퍼
  • 마케팅
  • 개발자
  • 전자상거래
  • 미디어
  • 자동차 대리점
  • 기업
  • Success stories
  • 도구와 API

  • API 문서화
  • 통합, 도구 및 앱
  • Photoshop 확장기능
  • 윈도우/맥/리눅스
  • 안드로이드 앱
  • 디자인 템플릿
  • 지원

  • 도움말 및 FAQ
  • 연락처
  • 환불
  • 플랫폼 상태
  • 회사 정보

  • 블로그
  • 제휴 프로그램
  • 자동으로 디자인을 만들어 보세요.
  • 영상 배경 제거
  • 경력/채용
  • 본사 소개
  • 프레스

© remove.bg, a Canva Austria GmbH brand

  • 서비스 약관
  • 일반 약관 및 조건
  • 개인정보 보호정책
  • 쿠키 정책
  • 인쇄

의견을 제공해 주셔서 감사합니다!

개선에 도움을 주시겠습니까? (임의 선택)

  • 이 이미지를 제공하고 remove.bg를 개선하는 데 도움을 주세요
  • 인공 지능 훈련하기
  • 미래에는 유사한 이미지로 더 나은 결과를 얻으세요
품질 향상을 위해 이 이미지가 이용되는 것을 원하시면 선택해 주세요.
품질 향상을 위해 이 이미지가 이용되는 것을 원하지 않으시면 선택해 주세요.

당신의 이미지는 remove.bg의 향후 개선을 위해 이용될 것입니다.

당신의 이미지는 remove.bg의 향후 개선을 위해 이용되지 않습니다.