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
  • Μάθετε περισσότερα

  • Μαγικό πινέλο
  • Ιδιώτες
  • Φωτογράφοι
  • Μάρκετινγκ
  • Προγραμματιστές
  • Ηλεκτρονικό εμπόριο
  • Μέσα
  • Αντιπροσωπείες αυτοκινήτων
  • Επιχειρήσεις
  • Ιστορίες επιτυχίας
  • Εργαλεία και API

  • Τεκμηρίωση API
  • Ενσωματώσεις, εργαλεία και εφαρμογές
  • Επέκταση Photoshop
  • Windows / Mac / Linux
  • Εφαρμογή Android
  • Πρότυπα σχεδίασης
  • Υποστήριξη

  • Βοήθεια και συχνές ερωτήσεις
  • Επικοινωνήστε μαζί μας
  • Επιστροφές χρημάτων
  • Κατάσταση πλατφόρμας
  • Εταιρεία

  • Ιστολόγιο
  • Πρόγραμμα συνεργατών
  • Δημιουργήστε αυτόματα σχέδια
  • Αφαίρεση φόντου βίντεο
  • Ευκαιρίες εργασίας
  • Πληροφορίες για εμάς
  • Τύπος

© remove.bg, a Canva Austria GmbH brand

  • Όροι παροχής υπηρεσιών
  • Γενικοί όροι και προϋποθέσεις
  • Πολιτική απορρήτου
  • Πολιτική για τα Cookies
  • Αποτύπωμα

Σας ευχαριστούμε για τα σχόλια!

Θέλετε να μας βοηθήσετε να γίνουμε καλύτεροι; (προαιρετικό)

  • Συνεισφέρετε αυτήν την εικόνα και βοηθήστε μας να κάνουμε το remove.bg καλύτερο
  • Διδάξτε την τεχνητή νοημοσύνη
  • Λάβετε καλύτερα αποτελέσματα για παρόμοιες εικόνες στο μέλλον
Επιλέξτε το αν θέλετε να χρησιμοποιήσουμε αυτήν την εικόνα για βελτιώσεις ποιότητας.
Επιλέξτε το αν ΔΕΝ θέλετε να χρησιμοποιήσουμε αυτήν την εικόνα για βελτιώσεις ποιότητας.

Η εικόνα σας θα χρησιμοποιηθεί για μελλοντικές βελτιώσεις του remove.bg.

Η εικόνα σας ΔΕΝ θα χρησιμοποιηθεί για μελλοντικές βελτιώσεις του remove.bg.