# Stop paying per image.

Source: https://snapsbrew.com

Snapsbrew is an open-source Bannerbear alternative: a self-hosted image generation API that renders images and PDFs from templates on your own server.

Social cards, OG images, certificates and PDFs, rendered from your templates. Your server, your data, no meter running.

[Install in 1 minute](https://snapsbrew.com/docs/getting-started/installation-docker.md) [See the cost math](https://snapsbrew.com/blog/image-generation-api-cost.md)

Coming from [Bannerbear](https://snapsbrew.com/compare/bannerbear.md), [Placid](https://snapsbrew.com/compare/placid.md) or [another API](https://snapsbrew.com/compare.md)? See them side by side. Or start with [when not to use it](https://snapsbrew.com/when-not-to-use-snapsbrew.md).

- $149
a month for 10,000 images on Bannerbear
- about $24
a month for a server that renders them with Snapsbrew
- $0
fee per image. You pay for the server and your time

From the [Bannerbear](https://www.bannerbear.com/pricing/) and [DigitalOcean](https://www.digitalocean.com/pricing/droplets) price pages, checked on 27 November 2026. The server is a droplet with 2 vCPUs and 4 GiB. [The full math, at 10,000 and 100,000 images](https://snapsbrew.com/blog/image-generation-api-cost.md).

## Send JSON. Get an image.

Pick a city. The request changes, and so does the picture.

POST /api/v1/snaps

```json
Authorization: Bearer YOUR_API_TOKEN

{
  "template_id": "TEMPLATE_UUID",
  "variants": [
    { "layer": "city", "text": "Tokyo" },
    { "layer": "photo",
      "image_url": "https://example.com/tokyo.jpg" }
  ]
}
```

201 Created

"media\_url": "https://snapsbrew.example/storage/snaps/9f1c2d3e.png"

![A travel poster rendered from the template, with the photo and the name of Tokyo](https://snapsbrew.com/images/examples-tokyo.webp)

The rendered image

Real renders of one template. The same signed URLs make the share cards of three live sites: the figure pages of [Legendsverse](https://snapsbrew.com/customers/legendsverse-signed-url.md), every comic issue (cover, issue number, release date and cover price) and every collector profile on [Comicade](https://comicade.com), and the docs pages of [BYOMailer](https://byomailer.com). [See the showcase](https://snapsbrew.com/customers.md)

## Design it once. Render it a thousand times.

Change the city and the photo. The design stays put, and nobody opens a design tool for image number two.

- ![Travel poster: Peru](https://snapsbrew.com/images/renders/travel-peru.webp)
- ![Travel poster: Tokyo](https://snapsbrew.com/images/renders/travel-tokyo.webp)
- ![Travel poster: New York](https://snapsbrew.com/images/renders/travel-ny.webp)
- ![Travel poster: Thailand](https://snapsbrew.com/images/renders/travel-thai.webp)
- ![Travel poster: Rome](https://snapsbrew.com/images/renders/travel-rome.webp)
- ![Travel poster: China](https://snapsbrew.com/images/renders/travel-china.webp)
- ![Travel poster: Paris](https://snapsbrew.com/images/renders/travel-paris.webp)
- ![Travel poster: India](https://snapsbrew.com/images/renders/travel-india.webp)

## Images show up wherever you need them

From your backend, an og:image tag, a form or your AI agent. Same templates, same layer keys.

REST API POST the layers. Get the image URL back. Signed URL Put a link in og:image. It renders on the first request. Embedded form People type the values. They get the image. You write no code. MCP server Claude, Cursor and other agents fill your templates for you.

### Call the API from your backend

For long jobs, add `"async": true` and a webhook URL.

[Snaps API reference](https://snapsbrew.com/docs/api/snaps.md)

```bash
curl https://snapsbrew.example/api/v1/snaps \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "template_id": "TEMPLATE_UUID",
    "variants": [
      {"layer": "headline", "text": "Summer sale"}
    ]
  }'
```

### Put a signed URL in your og:image tag

Your server signs the link. A page that nobody shares never renders an image, so you only spend render time on cards people see. That's how Legendsverse runs its social cards.

[How signed URLs work](https://snapsbrew.com/product/signed-url.md)

```xml
<meta property="og:image"
  content="https://snapsbrew.example/signed-url/image.jpg
    ?template_id=TEMPLATE_UUID
    &variants=BASE64_VARIANTS
    &signature=HMAC_SHA256">
```

### Let people make their own images

Embed a form for one template. Your team or your customers make their own images, and nobody writes code.

[About embedded forms](https://snapsbrew.com/product/embedded-form.md)

```xml
<iframe
  src="https://snapsbrew.example/embedded-form/FORM_ID?signature=SIG"
  width="100%" height="640"></iframe>
```

### Let your AI agent make the image

The agent picks your template, writes the text and shows you a preview. You approve, it renders. Your brand, not a new style every time.

[MCP server docs](https://snapsbrew.com/docs/mcp/overview.md)

```bash
claude mcp add --transport http snapsbrew \
  https://snapsbrew.example/mcp \
  --header "Authorization: Bearer YOUR_API_TOKEN"
```

## No paywalled features. It's all in the repo.

There's no hosted edition holding the good parts back. Clone it and you have everything below.

[Template editor](https://snapsbrew.com/product/template-editor.md)

Text, image, shape, SVG pattern and QR code layers.

[Batches](https://snapsbrew.com/docs/using-snapsbrew/batches.md)

Up to 100 renders in one request.

[Spreadsheet import](https://snapsbrew.com/docs/using-snapsbrew/batches.md)

One image for each row of a CSV or XLSX file.

[PDF output](https://snapsbrew.com/guides/generate-custom-certificates-with-api.md)

Certificates, invoices and tickets, ready to print.

[Screenshots](https://snapsbrew.com/guides/how-to-take-screenshots-with-api.md)

Send a URL. Get an image of the page.

[Async and webhooks](https://snapsbrew.com/docs/api/snaps.md)

Long jobs go to the queue. A webhook tells you when they're done.

[Your fonts](https://snapsbrew.com/docs/using-snapsbrew/fonts-and-media.md)

Upload your own fonts and use them in any template.

[SDKs](https://snapsbrew.com/docs/sdks/overview.md)

Client libraries for JavaScript, PHP, Python and Ruby. Install them from GitHub.

## Where your money goes

If you'd rather not run a server, a hosted API is worth its fee. If you render a lot, the fee is the problem. [See the sources](https://snapsbrew.com/blog/image-generation-api-cost.md).

| Topic                     | Snapsbrew                                                        | Hosted image APIs                                    |
| ------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------- |
| What you pay for          | Your server, about $24 a month for a small one. No fee per image | A monthly fee that grows with every image you render |
| At 100,000 images a month | The same server, or one twice the size                           | $249 to $375 a month, or no listed option at all     |
| Where the renders run     | On your server                                                   | On the vendor's servers                              |
| Templates and images      | In your database and on your disk                                | Stored by the vendor                                 |
| Source code               | Open. Read it, change it, audit it                               | Closed                                               |
| Uptime and support        | Your job. One maintainer answers issues on GitHub                | The vendor's job, with a support team                |

## Installs in 1 minute. Your first image right after.

One container runs the app, the queue worker, the scheduler and headless Chromium. Everything lives in one volume, so a render needs no outside service.

1. Run one docker command. No .env file, no keys, no database server.
2. Watch the log. The last line is your setup URL.
3. Open it and create your account. Six starter templates are already there.

[Follow the install guide](https://snapsbrew.com/docs/getting-started/installation-docker.md)

```bash
docker run -d --name snapsbrew -p 8080:8080 -v snapsbrew:/data ghcr.io/amedina068/snapsbrew
docker logs -f snapsbrew
# Open the setup URL on the last line of the log.
```

## Your server. Your images. No meter.

One `docker run` and it installs in 1 minute. No account with us, no fee per image, and your templates and renders never leave your server.

[Install in 1 minute](https://snapsbrew.com/docs/getting-started/installation-docker.md) [Read the code on GitHub](https://github.com/amedina068/snapsbrew)
