# App Store Screenshots — Bright Set

> For when publishing app to the app store

This is a [Bannx](https://bannx.com) template. Render any of its **pages** to an image (PNG, SVG, WebP) or PDF through the Bannx Render API, and customize the output by passing **tweaks** (variable overrides).

## Template

- Template ID: `app-store-screenshots`
- Category: app-marketing
- Pages: 5
- Open in browser: https://bannx.com/templates/app-store-screenshots

## How to use

1. Pick a **page** below and note its **page ID**.
2. Call the Render API with that page ID. Override text, colors, and other values via the `tweaks` map (keys are the variable names listed below).
3. Authenticate with an API key (create one under **Settings → Space → Developers**) using the `Authorization: Bearer <token>` header. GET requests for this template require a token (or the space GET render secret `gt`).

Full docs: https://bannx.com/docs/rendering · https://bannx.com/docs/variables

## Quick demo (no API key)

AI agents and curious humans can render this **public** template with tweaks without an account. Mint a short-lived **demo token** (IP-throttled, ~1h TTL, max 5 per hour per IP) and pass it as `?demo=...` (or `Authorization: Bearer <token>`):

```bash
# 1. Mint a demo token (no auth required)
curl -s -X POST https://bannx.com/api/demo-token
# → { "token": "demo_…", "expiresAt": …, "quota": { … } }

# 2. Render with the token (public templates only)
curl -L "https://bannx.com/api/render/6a315dc3067680758ef0c527?format=png&output=binary&demo=demo_…" --output demo.png
```

Demo tokens only work on public templates and don't consume any space's credits. For production usage, create an API key under **Settings → Space → Developers** instead.

## Variables

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `appName` | string | `Volt` |  |
| `logo` | string | `https://placehold.co/240x90/0F2A18/C7F870?text=VOLT` |  |

## Pages

### 01 Hero

- Page ID: `6a315dc3067680758ef0c527`
- Size: 1290×2796
- Variables: `slide`

### 02 Feature

- Page ID: `6a315dc3067680758ef0c528`
- Size: 1290×2796
- Variables: `slide`

### 03 Statement

- Page ID: `6a315dc3067680758ef0c529`
- Size: 1290×2796
- Variables: `slide`

### 04 Card

- Page ID: `6a315dc3067680758ef0c52a`
- Size: 1290×2796
- Variables: `slide`

### 05 Download

- Page ID: `6a315dc3067680758ef0c52b`
- Size: 1290×2796
- Variables: `slide`

## Example: render "01 Hero"

POST (recommended):

```bash
curl -X POST "https://bannx.com/api/render" -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" --data "{\"templateId\":\"app-store-screenshots\",\"draft\":false,\"format\":\"png\",\"output\":\"binary\",\"tweaks\":{\"appName\":\"Volt\",\"logo\":\"https://placehold.co/240x90/0F2A18/C7F870?text=VOLT\"},\"pageId\":\"6a315dc3067680758ef0c527\"}" -o render.png
```

GET (embed in an `<img>` / quick link):

```bash
curl -H "Authorization: Bearer YOUR_API_KEY" "https://bannx.com/api/render/6a315dc3067680758ef0c527?format=png&output=binary&templateId=app-store-screenshots&tweaks=%7B%22appName%22%3A%22Volt%22%2C%22logo%22%3A%22https%3A%2F%2Fplacehold.co%2F240x90%2F0F2A18%2FC7F870%3Ftext%3DVOLT%22%7D" -o render.png
```
