Skip to content
Fabrizio Salmi edited this page Sep 6, 2026 · 1 revision

FAQ

The output looks pixelated

The source was too small. The largest formats are 1920x1080 and 1600x2560, so start from at least 2000px on the long edge, ideally exported from a vector original. Nothing downstream recovers detail that was never there.

My logo is unreadable as a favicon

Expected, for most detailed logos. Shrink your source to 32x32 and look: if it is a blob, generate the wide formats from your full lockup and the small square icons from a simplified mark, in two runs. See Preparing your source image.

Background removal ate part of my logo

It treats soft shadows and glows as background. If your source already has a transparent background, turn background removal off entirely: there is nothing to remove and it can only lose pixels. If you do need it, choose the model that matches the content rather than leaving it on Auto.

The generated background does not suit my brand

That is the radial gradient fill, derived from the image's prominent colours. It flatters a social banner and looks wrong on an icon. Turn it off for the formats where you want a flat or transparent background.

Which output type should I use?

PNG for anything needing transparency, WEBP for web delivery you control, JPG for photographic backgrounds, ICO for the favicon. Never JPG for an icon: no alpha channel.

Forms fail intermittently after I deployed it

BRANDKIT_SECRET_KEY is not set. With multiple gunicorn workers each generates its own ephemeral key and they reject each other's CSRF tokens, so the failure depends on which worker answered. Set it and restart.

Users are getting rate limited

Defaults are 200 requests a day and 50 an hour, per IP. An office behind one address shares that allowance. Raise the limits or exempt your network.

The container gets killed under load

Background removal loads an ONNX model, which is the memory-heavy part. Give the container more RAM, or lower BRANDKIT_MAX_UPLOAD_MB so fewer large images are held at once.

Background removal does not work at all on my server

rembg downloads its model on first use, from GitHub. On a host without outbound access, pre-seed ~/.u2net/.

Where do uploaded images go, and for how long?

static/uploads/, swept periodically: by default every hour, deleting files older than 24 hours. Configurable with BRANDKIT_CLEANUP_INTERVAL_HOURS and BRANDKIT_RETENTION_HOURS. Do not disable the sweep on a shared instance.

Do my images get sent anywhere?

No. Processing is in-process with Pillow, NumPy and ONNX Runtime, and since v1.1.3 the page itself loads no third-party assets. The only outbound connection is the one-off model download for background removal. Earlier versions loaded Tailwind and Alpine from CDNs, which is a reason to upgrade a hosted instance.

Is there authentication?

No. Anyone who can reach it can use it. Fine on a private network; put authentication in front of it otherwise.

Can I script it?

Yes, there is an HTTP API documented in the reference. Useful for regenerating a whole asset set from CI when the logo changes.

Can I add my own formats?

Yes, config.json holds the format definitions, each with a width, height and description, plus the category groupings and the available output types.