REST API · v1

API reference

Everything the app does, from your own code: videos built scene by scene, SEO articles, webhooks. Same credits, every paid plan.

Base URL https://soloreach.ai/api/v1

Quickstart

  1. In the app, open Settings → Developer and create an API key. It's shown once: store it as SOLOREACH_KEY.
  2. Describe your video in a JSON file: the scenes in order, then the voice, captions and music.
  3. Price it for free, start it, then poll it or wait for the webhook. A video takes a few minutes.

Same as the app

Every call spends the same credits as the app, and a failed generation gives them back automatically.
video.json
{
  "title": "Launch teaser",
  "settings": { "language": "en", "voice": "creator", "captionStyle": "bold", "music": "lofi" },
  "scenes": [
    { "kind": "creator", "avatarId": "mia", "text": "Here's how to plan your whole day in one minute." },
    { "kind": "clip", "clipModel": "veo-lite", "prompt": "Close-up of a hand tapping a phone on a café table, morning light" },
    { "kind": "media", "asset": { "key": "studio/…/screen.png", "kind": "image" }, "text": "Add a task, and it plans your day for you." }
  ]
}
Terminal
# 1. Price it (free)
curl https://soloreach.ai/api/v1/studio/estimate \
  -H "Authorization: Bearer $SOLOREACH_KEY" \
  -H "Content-Type: application/json" -d @video.json

# 2. Start it: the estimate is reserved, refunded if it fails
curl https://soloreach.ai/api/v1/studio/videos \
  -H "Authorization: Bearer $SOLOREACH_KEY" \
  -H "Content-Type: application/json" -d @video.json

# 3. Poll it, or wait for the video.ready webhook
curl https://soloreach.ai/api/v1/videos/VIDEO_ID -H "Authorization: Bearer $SOLOREACH_KEY"
Node.js
const res = await fetch("https://soloreach.ai/api/v1/studio/videos", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SOLOREACH_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(video),
});
if (res.status === 402) throw new Error("Not enough credits");
const { video: created } = await res.json();

Authentication

Send your key in the Authorization header on every request. A key acts for its workspace and spends that workspace's credits.

Keep keys secret

Keys are shown once and we only store a hash. Never put one in a browser or a mobile app; call the API from your server. Revoke a key in Settings → Developer at any time.
Header
curl https://soloreach.ai/api/v1/me \
  -H "Authorization: Bearer sr_live_…"

Errors

Errors come back with a status code and a readable error message that says what to fix.

  • 400 Invalid request: the message names the field or the scene.
  • 401 Missing, unknown or revoked API key.
  • 402 Not enough credits: the body adds needed and balance.
  • 403 The workspace has no paid plan.
  • 404 Not found in this workspace.
Response
// 402 Payment Required
{
  "error": "Not enough credits",
  "needed": 95,
  "balance": 40
}

Credits

Credits are reserved when a generation starts and given back if it fails. Price a Studio video for free with the estimate endpoint: it returns exactly what the video will take.

AI creator on camera

7 cr / second

3 s minimum, lip-synced

Screen or file scene

1 cr / scene

with or without voice

Voice, captions, editing

5 cr / video

+10 cr per minute with an ElevenLabs voice

AI clips · 8 s each

Veo 3.1 Lite veo-lite · 720p 50 cr
Kling 3.0 kling · 720p 125 cr
Veo 3.1 Fast veo-fast · 1080p 120 cr
Veo 3.1 veo · 1080p 390 cr
Seedance 2.0 Fast seedance-fast · 720p 90 cr
Seedance 2.5 seedance · 720p 230 cr
Hailuo 3 hailuo · 2K 130 cr

Studio

A video is a list of scenes played in order, with one voice, captions and music. List what you can use, upload files, price it, start it.

Catalog

GET /catalog

Everything a Studio video can use, with prices: creators (library and your own), clip models, studio voices, caption styles, music, languages, scene kinds and limits.

Refer to creators by slug (such as mia) or id, and to the rest by id.
Response
{
  "creators": [{ "id": "…", "slug": "mia", "name": "Mia", "gender": "Woman", "custom": false }],
  "clipModels": [{ "id": "veo-lite", "name": "Veo 3.1 Lite", "resolution": "720p", "seconds": 8, "credits": 50 }],
  "studioVoices": [{ "id": "el:sarah", "provider": "elevenlabs", "name": "Sarah" }],
  "captionStyles": [{ "id": "bold", "name": "Bold white" }],
  "music": [{ "id": "lofi", "name": "Soft lo-fi", "mood": "Relaxed, friendly" }],
  "languages": [{ "code": "en", "name": "English" }],
  "limits": { "scenes": 12, "totalSeconds": 120 }
}

Upload a file

POST /assets

Stores an image or a video for a scene: a clip's first frame, or what a screen scene shows. Use the returned asset as is.

Body (one of)

  • file multipart optional

    PNG, JPG or WebP up to 10 MB; MP4, MOV or WebM up to 80 MB.

  • url string optional

    A public https URL we download for you.

Request
# A file from your machine
curl https://soloreach.ai/api/v1/assets \
  -H "Authorization: Bearer $SOLOREACH_KEY" \
  -F "file=@screen.png"

# Or a public https URL
curl https://soloreach.ai/api/v1/assets \
  -H "Authorization: Bearer $SOLOREACH_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://example.com/screen.png" }'
Response
{ "asset": { "key": "studio/…/1f2e….png", "kind": "image" } }

Estimate a video

POST /studio/estimate

Prices a Studio video, line by line, without starting it. Free.

Body

  • scenes array required

    The scenes in order, 1 to 12.

  • settings object optional

    Voice, language, captions and music: see settings.

  • title string optional

    A name for your library.

When errors isn't empty, starting this video would fail with the first one.
Response
{
  "estimate": {
    "credits": 91,
    "seconds": 18,
    "lines": [
      { "label": "Scene 1 · AI creator · 5s", "credits": 35 },
      { "label": "Scene 2 · Veo 3.1 Lite", "credits": 50 },
      { "label": "Scene 3 · screen + voice", "credits": 1 },
      { "label": "Voice, captions and editing", "credits": 5 }
    ],
    "errors": []
  }
}

Create a video

POST /studio/videos

Starts a Studio video with the same body as the estimate, plus an optional appId (the workspace's first app by default). The estimate is reserved now and refunded if the video fails.

Body

  • scenes array required

    The scenes in order.

  • settings object optional

    See settings.

  • title string optional

    A name for your library.

  • appId string optional

    An app id from /me.

When is it ready?

A few minutes, longer with several AI clips. Poll GET /videos/{id} until status is ready, or listen for the video.ready webhook.
201 Created
{
  "video": {
    "id": "07b3f0b4-309d-45a2-a249-836c100e7816",
    "status": "queued",
    "style": "studio",
    "lengthS": 18,
    "credits": 91,
    "videoUrl": null,
    "createdAt": "2026-10-23T10:12:00.000Z"
  }
}
GET /videos/{id} · when ready
{
  "video": {
    "id": "07b3f0b4-…",
    "status": "ready",
    "videoUrl": "https://…/07b3f0b4.mp4?X-Amz-Signature=…",
    "error": null
  }
}

Scene object

"creator"

An AI creator says the text on camera, lip-synced to the chosen voice.

"clip"

A generated shot from a prompt, with an optional first frame and an optional voice over it.

"media"

An image or a video you uploaded, shown full screen with the voice over it.

Fields

  • kind string required

    creator, clip or media.

  • text string optional

    What the voice says, up to 400 characters. Required for creator. On a clip, the voice replaces the clip's own sound and the shot loops if the voice is longer; empty keeps the clip's sound for 8 s.

  • avatarId string optional

    creator · a creator id or library slug: mia, lina, jade, marc, aya, sami, tom…

  • clipModel string optional

    clip · veo-lite, kling, veo-fast, veo, seedance-fast, seedance, hailuo.

  • prompt string optional

    clip · what the shot shows, up to 600 characters: subject, setting, light, camera move.

  • asset object optional

    clip, media · from /assets. On a clip, an image used as the first frame (optional). On media, the image or video shown (required).

  • seconds number optional

    media · how long a scene without text stays on screen, 2 to 10 s (default 4).

Settings object

Fields

  • language string optional

    Spoken language code such as en, fr or es (37 languages). Default en.

  • voice string optional

    creator (the first creator's voice, default), mine (your cloned voice, recorded in App profile) or studio.

  • studioVoice string optional

    With voice: "studio": a voice id such as el:sarah (ElevenLabs, 70+ languages) or a Voxtral voice (English and French).

  • captionStyle string optional

    bold, highlight, boxed, minimal, none.

  • music string optional

    A track id from the catalog, or null for none.

More endpoints

Your account, ready-made videos with the script written for you, and SEO articles.

Account

GET /me

The credits left and the workspace's apps. Use an app's id as appId; the first app is used by default.

Response
{
  "credits": 1900,
  "apps": [
    { "id": "3a36e4cc-…", "name": "Wishlist & Gifts", "url": "https://…" }
  ]
}

Videos

POST /videos

A video in one call, script written for you, as in the app's quick create. List them with GET /videos (50 latest) and follow one with GET /videos/{id}.

Body

  • style string required

    avatar (creator on camera), hookDemo (creator hook, then your app's demo), voiceover (screens with a voice) or clip.

  • hook string required

    The topic or the first line.

  • lengthS number optional

    15, 30 or 60. Default 15.

  • avatar string optional

    A creator slug or id. Default mia.

  • language · template · music · captionStyle · studioVoice · clipModel · appId string optional

    Same values as the catalog.

Statuses: queued → scripting → rendering → ready or failed. Download links last 1 hour.

Request
curl https://soloreach.ai/api/v1/videos \
  -H "Authorization: Bearer $SOLOREACH_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "style": "avatar", "lengthS": 15, "avatar": "mia",
        "hook": "3 things nobody tells you about meal prep" }'

Articles

POST /articles

Plans and writes an SEO article for a keyword. Follow it with GET /articles/{id}: generating → ready, with the Markdown.

Body

  • keyword string required

    The search to rank for.

  • notes string optional

    What to mention, up to 1,500 characters.

  • model · appId string optional

    A writing model id, and the app it's about.

Request
curl https://soloreach.ai/api/v1/articles \
  -H "Authorization: Bearer $SOLOREACH_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "keyword": "best habit tracker for adhd",
        "notes": "Mention the streak freeze feature." }'

Webhooks

Add an https endpoint in Settings → Developer and pick its events. Each delivery is a POST, retried up to 3 times until your endpoint answers with a 2xx.

video.readyvideo.failedarticle.readyarticle.failedpost.publishedpost.failed

Check the signature

The Soloreach-Signature header is t=<unix time>,v1=<hex>: v1 is the HMAC-SHA256 of t + "." + raw body with the endpoint's secret, shown once when you add it. Reject old timestamps.
Payload
{
  "id": "evt_8f1c…",
  "type": "video.ready",
  "createdAt": "2026-10-23T10:15:42.000Z",
  "data": { "id": "07b3f0b4-…", "hook": "Launch teaser", "style": "studio" }
}
Verify in Node.js
import { createHmac, timingSafeEqual } from "node:crypto";

// Soloreach-Signature: t=1792748243,v1=5f2b…
export function verify(rawBody, header, secret) {
  const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
  const expected = createHmac("sha256", secret)
    .update(`${parts.t}.${rawBody}`)
    .digest("hex");
  const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300;
  return fresh && timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
}

Limits

  • Up to 12 scenes and 120 seconds per Studio video, vertical 1080×1920.
  • Generations run in your workspace's queue, like the ones started in the app.
  • Download links last 1 hour: call GET /videos/{id} again for a fresh one.

Need something else?

A missing endpoint or a question: contact@soloreach.ai.