API & Integrations
How do I implement the API key into my code?
How do I implement the API key into my code?

How do I implement the API key into my code?

In your code, locate the section where you plan to implement the background removal functionality.

  1. Copy and paste the sample code.

  2. Insert your API key under the “X-Api-Key” request header.

    The remove.bg API provides the capability to generate images with transparent backgrounds, facilitating effortless integration of the subject into various backdrops or layouts.

    It will return the processed image or a response indicating any errors encountered.

    For user-specific applications, the resulting image can be saved as a file, showcased on a website, or utilized for additional processing as per requirement.

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 擴充功能
  • Windows / Mac / Linux
  • Android 應用程式
  • 設計範本
  • 支援

  • 說明與常見問題
  • 聯絡我們
  • 退款
  • 平台狀態
  • 公司

  • 部落格
  • 加盟計畫
  • 建立自動設計
  • 影片背景移除
  • 職缺
  • 關於我們
  • 按下

© remove.bg, a Canva Austria GmbH brand

  • 服務條款
  • 一般條款及條件
  • 隱私權政策
  • Cookie 政策
  • 法律聲明

感謝您的反饋!

想要協助我們改善嗎? (選項)

  • 貢獻這張圖像,幫助我們讓 remove.bg 變得更好。
  • 教導人工智慧
  • 未來取得類似圖像的更好結果。
請選擇是否要讓我們使用這張圖像來進行品質改進。
請選擇是否不想讓我們使用這張圖像進行品質改進。

您的圖像將被用於未來 remove.bg 的改進。

您的圖像將不會用於未來 remove.bg 的改進。