Thumbnail API

A casino game thumbnail API for catalogues of any size

Register a game, generate a master image, export every lobby format — from your own back office. The Slot Preview AI REST API runs the same flow as the web constructor, at the same prices in tokens.

The flow in four calls

  1. Register the game, or find it in the catalogue. Free.
  2. Generate a master: POST /v1/masters, two variants for 1 token. The call is asynchronous and answers 202 Accepted with a job and a polling address.
  3. Preview the caption: draw the title and the studio name on the master for free before you pay for anything else.
  4. Export: 2 tokens for the whole set of 13 files in 6 aspect ratios, plus a ZIP archive and a manifest.

Step-by-step requests with recorded responses are in the quickstart; every endpoint is in the API reference.

Built for production integrations

  • Price before you pay. Estimate endpoints return the cost; send max_tokens and a call that would cost more is refused before anything is charged.
  • Safe retries. An Idempotency-Key returns the original job and charges nothing on a repeat.
  • Webhooks. Subscribe to master.generation.completed instead of polling.
  • Sandbox. A sandbox key returns fixtures, never calls the image model and charges nothing, so the integration you test is the one you ship.
  • SDKs. TypeScript and PHP SDKs, a Postman collection and an OpenAPI document.
  • Batch. A CSV in, a queue that survives a restart, one export set per game.

Keys, scopes and the sandbox are described in authentication and environments, every error code in errors and limits.

Or let an AI agent do it

The MCP server exposes the same flow to ChatGPT, Claude, Cursor or your own agent: it finds the game, prices each step, brings back both variants and exports the set, stopping at the daily token cap you set.

What one export returns

What one export contains
2:3Files:2Pixel sizes:512×768 · 1024×1536 (@2x)
3:4Files:3Pixel sizes:768×1024 · 427×575 · 316×425
1:1Files:3Pixel sizes:1024×1024 · 380×380 · 190×190
9:16Files:1Pixel sizes:864×1536
16:9Files:2Pixel sizes:1536×864 · 337×181
21:9Files:2Pixel sizes:1540×660 · 236×110

Questions operators ask

Is there a free way to test the API?

Yes. A sandbox key is free, never calls the image model and returns built-in fixtures, while polling, webhooks, idempotency and price limits behave as in production.

Which calls cost tokens?

Only two: generating a master (1 token for two variants) and exporting the format set (2 tokens). The catalogue, previews, polling and downloads are free.

Can I generate thumbnails for my whole catalogue?

Yes. Use the batch runner with a CSV of games, or loop over the API. Each game gets its own export set.

GENERATE YOUR FIRST TILE

New accounts start with 3 free tokens — enough to take one game from a blank tile to a full export set without paying anything.

Get started
Casino Game Thumbnail API for Lobby Tiles | Slot Preview AI