Entferne Bild-Hintergründe per HTTP. Auth über deinen API-Key, Abrechnung über das zentrale Bloc-Apps-Guthaben (2 ct / Bild). Verarbeitung in Deutschland, in-memory, keine Speicherung.
POSThttps://cut.bloc-apps.com/api/v1/remove
Erstelle hier einen API-Key (verwalten kannst du ihn im Dashboard) und sende ihn als Bearer-Token:
Authorization: Bearer blk_live_…BlocCut lässt sich auch als KI-Werkzeug nutzen (Claude & Co.). Die Einrichtung machst du zentral im Dashboard unter „API & KI".
X-Bloc-Charged-Cents / X-Bloc-Balance-Cents im Headercurl -X POST https://cut.bloc-apps.com/api/v1/remove \
-H "Authorization: Bearer blk_live_DEIN_KEY" \
-H "Content-Type: image/png" \
-H "Idempotency-Key: $(uuidgen)" \
--data-binary "@portrait.png" \
--output ohne-hintergrund.pngconst res = await fetch("https://cut.bloc-apps.com/api/v1/remove", {
method: "POST",
headers: {
Authorization: "Bearer blk_live_DEIN_KEY",
"Content-Type": file.type,
"Idempotency-Key": crypto.randomUUID(),
},
body: file, // Blob / Buffer mit Bild-Bytes
});
if (res.status === 402) throw new Error("Guthaben aufgebraucht");
const pngBlob = await res.blob(); // transparentes PNGBilder werden ausschließlich im Arbeitsspeicher verarbeitet und sofort verworfen. Keine Speicherung, kein Training. AVV für B2B verfügbar.
API-Key erstellen