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 Create an API key in Settings.
- 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.
Authorization: Bearer YOUR_API_KEY
Pricing
One picture is one spin out of the pack on your account. There is no second price list and no per-call fee.
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.
curl -X POST https://rekino.app/api/v1/spins \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "image=@sneaker-white-01.jpg"
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());
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
$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();
{
"data": {
"id": "20261111-7qk2m9xv3abc",
"status": "queued",
"stage": "queued",
"progress": 0.02,
"created_at": "2026-11-11T09:14:02+00:00"
},
"billing": {
"spins_left": 19
}
}
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.
curl https://rekino.app/api/v1/spins/20261111-7qk2m9xv3abc \
-H "Authorization: Bearer YOUR_API_KEY"
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());
import requests
res = requests.get(
"https://rekino.app/api/v1/spins/20261111-7qk2m9xv3abc",
headers={"Authorization": "Bearer YOUR_API_KEY"},
)
print(res.json())
<?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();
{
"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
}
}
Errors
Every error answers with JSON that has a stable error code and a readable message.
{
"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