Re Kino
For developers

The spin API

Send one photograph from your own code and get a turn around it back: 124 frames, a clip, and a page that plays them. The same engine as the website, for your shop, your listings and your scripts. It invents the angles the photograph does not contain, which is the whole trick and worth knowing before you put it next to a measurement.

Quick start

  1. 1 Create an API key in Settings.
  2. 2 Send your first request with one of the examples below.

What it does

  • One picture in, one turn out. A file upload or a link to an image.
  • Asynchronous: you get an id straight away and ask again until it says done. A spin takes a few minutes.
  • What comes back is addresses, not bytes: the frames, a clip, a thumbnail and a page, all cached at the edge.
  • The analysis comes with it, so a shop can use the description and the object word as alt text without writing any.

Authentication

Every request carries a personal API key as a Bearer token in the Authorization header. Create one in Settings under API keys. It is shown once, so store it where your code can read it, and never in a browser or an app you ship. A key only works for the endpoints on this page.

API keys are for paying accounts: an account that has bought credits at least once, or a premium account.

HTTP Copied
Authorization: Bearer YOUR_API_KEY
Create a key in Settings

Pricing

One picture is one spin out of the pack on your account. There is no second price list and no per-call fee.

One picture one spin from your pack

Packs are the same ones the website sells: five spins for , twenty for . No subscription.

A picture that cannot be read costs nothing: the spin is never created, so nothing is taken off the pack.

The website and the API share one balance on purpose. Somebody who bought twenty spins should not have to care which door they walked through.

Endpoints

POST /api/v1/spins Send a picture

A multipart upload, or a url instead of a file. The answer is 202 with an id: the work has started, and it is not finished yet.

Parameters
image file body optional
The photograph. jpg, png, webp or heic.
url string body optional
A link to an image or to a page that has one, instead of a file.
who string body optional
Who is in the picture, if you know. Only ever used when we recognise the same person ourselves, never printed on your word alone.
cURL Copied
curl -X POST https://rekino.app/api/v1/spins \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "image=@sneaker-white-01.jpg"
JavaScript Copied
import { openAsBlob } from 'node:fs';

const form = new FormData();
form.append('image', await openAsBlob('sneaker-white-01.jpg'), 'sneaker-white-01.jpg');

const res = await fetch('https://rekino.app/api/v1/spins', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer YOUR_API_KEY',
  },
  body: form,
});

console.log(await res.json());
Python Copied
import requests

res = requests.post(
    "https://rekino.app/api/v1/spins",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    files={"image": open("sneaker-white-01.jpg", "rb")},
)

print(res.json())
PHP Copied
<?php

$client = new GuzzleHttp\Client();

$res = $client->request('POST', 'https://rekino.app/api/v1/spins', [
    'headers' => [
        'Authorization' => 'Bearer YOUR_API_KEY',
    ],
    'multipart' => [
        ['name' => 'image', 'contents' => fopen('sneaker-white-01.jpg', 'r')],
    ],
]);

echo $res->getBody();
Response 202 Accepted JSON Copied
{
    "data": {
        "id": "20261111-7qk2m9xv3abc",
        "status": "queued",
        "stage": "queued",
        "progress": 0.02,
        "created_at": "2026-11-11T09:14:02+00:00"
    },
    "billing": {
        "spins_left": 19
    }
}
Show less

GET /api/v1/spins/{id} Ask whether it is done

Where the spin is up to, and the frames once it is finished. This call also moves the work along, so a caller who never comes back leaves their spin queued. Ask again every few seconds.

Parameters
id string path required
The id from the first response.
cURL Copied
curl https://rekino.app/api/v1/spins/20261111-7qk2m9xv3abc \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript Copied
const res = await fetch('https://rekino.app/api/v1/spins/20261111-7qk2m9xv3abc', {
  method: 'GET',
  headers: {
    Authorization: 'Bearer YOUR_API_KEY',
  },
});

console.log(await res.json());
Python Copied
import requests

res = requests.get(
    "https://rekino.app/api/v1/spins/20261111-7qk2m9xv3abc",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
)

print(res.json())
PHP Copied
<?php

$client = new GuzzleHttp\Client();

$res = $client->request('GET', 'https://rekino.app/api/v1/spins/20261111-7qk2m9xv3abc', [
    'headers' => [
        'Authorization' => 'Bearer YOUR_API_KEY',
    ],
]);

echo $res->getBody();
Response 200 OK JSON Copied
{
    "data": {
        "id": "20261111-7qk2m9xv3abc",
        "status": "done",
        "stage": "done",
        "progress": 1,
        "subject": "White leather sneaker on a plain background",
        "use_case": "product",
        "object_type": "sneaker",
        "viewer_url": "https://rekino.app/spin/20261111-7qk2m9xv3abc",
        "page_url": "https://rekino.app/360/white-leather-sneaker-on-a-plain-background",
        "video_url": "https://rekino.app/spin/20261111-7qk2m9xv3abc/video",
        "thumb_url": "https://rekino.app/spin/20261111-7qk2m9xv3abc/frames/f000.webp",
        "frames": [
            "https://rekino.app/spin/20261111-7qk2m9xv3abc/frames/f000.webp",
            "..."
        ],
        "frame_count": 124,
        "finished_at": "2026-11-11T09:17:48+00:00"
    },
    "billing": {
        "spins_left": 19
    }
}
Show less

Errors

Every error answers with JSON that has a stable error code and a readable message.

401
unauthenticated
The API key is missing, wrong or revoked.
402
payment_required
The pack is empty, or this account has never bought one. The body carries spins_left and buy_url. Nothing was created, so nothing was charged.
404
not_found
Nothing with this id for this account.
422
validation_failed
A field is missing or invalid; fields lists which.
422
unreadable_source
The file or the link could not be read as a photograph. Nothing was charged.
429
rate_limited
Too many requests. Wait a minute and try again.
Response 402 Payment Required JSON Copied
{
    "error": "payment_required",
    "message": "No spins left on this account. Buy a pack and send it again.",
    "spins_left": 0,
    "buy_url": "https://rekino.app/developers"
}

Limits

  • Up to 12 MB per picture
  • 30 requests per minute and account
  • Ask again about every 5 seconds; a spin takes a few minutes