Real-time API

POST a payload. Get an image.

Send a template ID and your variables, and get back the URL of a finished image in your own storage. The API uses the same renderer as the editor, so the output matches the preview.
Integration patterns
POST /api/creative/generate
curl https://bannervora.com/api/creative/generate \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "templateId": "tpl_summer",
    "variables": { "price": "$29" },
    "format": "JPEG"
  }'

200 { "imageUrl": "https://cdn.your-bucket.com/…" }

Built for production

The rendering work is ours.

No headless browsers to run, no fonts to manage, no drift between preview and output.

Signed webhooks

Workflow runs notify your endpoint when they start, finish or fail. Payloads are signed, so you can verify they came from us. No polling.

Repeat requests are free

Send the same template and variables within 24 hours and you get the existing image back. Nothing renders again, and no credit is spent.

Your storage, your URLs

Images land in your own Cloudflare R2, AWS S3 or Google Cloud Storage. Your asset layer stays yours.

Scoped keys

Each API key has its own rate limit and can be restricted to specific templates. Revoke or expire a key at any time.

When to use it

For the moment an image has to exist.

A seller boosts a listing, a user publishes a post, a campaign goes live. Call the API at that moment and get on-brand creative back in the same request.

How it works

From template to live image.

Set up once in the dashboard, then every render is a single request.

  1. 01

    Publish a template

    Build it in the editor and publish. The API renders the published version, so work-in-progress edits never reach production.

  2. 02

    Create a key

    Create a live or test key in API Keys. The full key is shown once, and Bannervora stores only a hash of it.

  3. 03

    Send your variables

    POST the template ID, variable values, output format and quality. Add an artboard ID to render a specific size.

  4. 04

    Use the URL

    The response carries the image URL, its dimensions and the render time. Drop it into your page, email or ad.

Specs and limits

The API at a glance.

What your engineers need before they write the first call.

Endpoint
POST /api/creative/generate. A GET on the same path returns a short reference.
Authentication
X-API-Key header or Authorization: Bearer. Keys belong to one workspace and can be limited to chosen templates, disabled or set to expire.
Request
templateId (required), variables, focalPoints, format, quality, artboardId.
Response
JSON with imageUrl, width, height, format, a cached flag and the render time.
Output formats
PNG (default), JPG or WEBP. Quality setting for JPG and WEBP, default 90.
Caching
Identical inputs within 24 hours return the existing image at no credit cost. Publishing a new template version starts fresh.
Rate limits
Per key: 100 requests per minute by default, adjustable, plus an optional monthly cap. Responses carry rate-limit headers.
Webhooks
job.started, job.completed and job.failed for Workflow Runs, signed with HMAC-SHA256 when you set a secret.
Plan
API access, webhooks and bring-your-own storage are on Growth and above. The Free plan has no API access.

Example scenario

A “boost my listing” button that just works

Picture an online marketplace adding a paid promotion feature.

  1. 1

    Situation

    When a seller pays to boost a listing, an on-brand ad has to exist right away. Building that in-house means running headless browsers and managing fonts.

  2. 2

    Setup

    They call the render API when a boost is bought, with the listing's title, price and photo as variables, and store the image in their own R2 bucket.

  3. 3

    Result

    Sellers get an on-brand ad as soon as they pay, and the marketplace runs no rendering infrastructure of its own.

What this setup is built for

1 request

From payment to a finished ad

Illustrative scenario, not a customer result. Your numbers depend on your catalog and setup.

FAQ

Questions, answered.

How do I authenticate?
Send your key in an X-API-Key header or as a Bearer token. A disabled, expired or unknown key gets a 401.
What happens if I send the same request twice?
Within 24 hours, you get the same image URL back without a new render, and no credits are spent. Change any variable, the format or the quality and it renders fresh.
What if I hit the rate limit?
You get a 429 with a retryAfter value in seconds. The X-RateLimit-Remaining header lets you slow down before that happens.
What if my workspace runs out of credits?
The request returns a 402 before anything renders, with the credits required and available. Nothing is charged for it.
Can one template produce several sizes?
Yes. Pass an artboard ID to render a specific size of a multi-size template. Leave it out to render the base size.
Where are the images stored?
In your workspace storage. That is Bannervora-hosted by default, or your own Cloudflare R2, AWS S3 or Google Cloud Storage bucket on Growth.

Ready to see it

Wire the render endpoint into your stack.

Tell us where creative needs to appear in your product. We will walk through the API, webhooks and storage delivery for your use case.