Skip to content

BackgroundErase/api-integrations

Repository files navigation

BackgroundErase API Integrations

This repository contains ready-to-use examples showing how to call the BackgroundErase API from a wide range of programming languages and environments.

Every example follows the same request pattern, so you can easily adapt it to your existing stack with minimal changes.


Authentication

All requests are authenticated using an API key, which must be included in the request headers.

You can generate, rotate, and manage your API keys from your account dashboard.


Response

By default, the API returns a PNG image with the background removed.

Additional output formats and behaviors can be configured using request flags (e.g. output format, resizing, transparency options).

For a full list of available flags, see the Flags documentation.


Supported Integrations

Multipart (direct file upload)

Assembly
Bash / Shell
Brainfuck
C
C++
C#
Docker
Elixir
Erlang
Flutter
Go
Haskell
Java
JavaScript (Node) TypeScript (Node) Julia
Kotlin
Lua
MATLAB
Objective-C
Perl
PHP
PowerShell
Python
Ruby
Rust
Scala
Scratch
Swift
Zig

JSON I/O (base64 in, base64 out)

JavaScript (Node)
TypeScript (Node)
Python
Docker

Multipart sends an image file directly (multipart/form-data). JSON I/O sends base64-encoded image bytes in JSON and returns base64 output.


Notes

  • All examples are intentionally minimal and production-oriented
  • Error handling is kept simple for clarity
  • API behavior is identical across all integrations
  • Please don’t use Assembly, Brainfuck, or Scratch in production 🙂

If your language or framework isn’t listed, the existing examples should still serve as a clear reference for implementing your own client.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published