Skip to content
Fabrizio Salmi edited this page Sep 6, 2026 · 2 revisions

BrandKit Wiki

Upload one image, generate the whole set of brand assets: 32 formats across web, social, mobile, documents and publishing, with AI background removal, preprocessing effects and PNG, JPG, WEBP or ICO output. Self-hosted Flask, nothing leaves your machine.

The documentation site is the reference: getting started, usage, background removal, preprocessing, formats, deployment, performance, troubleshooting, the HTTP API and the full format catalogue. This wiki covers the parts that are about design decisions rather than about the software.

Pages

Reference

Getting started · Usage · Background removal · Preprocessing · Formats · Format catalogue · HTTP API · Environment · Deployment · Privacy

The constraint nobody mentions

One source image has to serve 32 output shapes: 17 wide, 10 square, 5 tall. A logo that looks right as a 1500x500 Twitter header is a smear in a 32x32 favicon, and a mark that reads at 32x32 is a lonely dot on a 1920x1080 slide.

No tool resolves that. What a good source image does is give the generator enough to work with in both directions, which is what Preparing your source image is about.

Two things about running it

Set BRANDKIT_SECRET_KEY. Without it an ephemeral key is generated at startup, so sessions break on every restart and, with more than one gunicorn worker, the workers reject each other's CSRF tokens. It looks like a mysterious form failure and it is a one-line fix.

Nothing leaves your machine, with one documented exception: rembg downloads its ONNX model on first use of background removal, from GitHub. It is a plain file download that says nothing about you, and pre-seeding ~/.u2net/ removes even that.

Clone this wiki locally