Start My Business AI Studio
Enterprise only

Enterprise API

API access is part of the Enterprise packs ($500, $1,000 and $2,500). Keys are created in your Dashboard under Enterprise API. Each full key is shown once, when you create or rotate it; we store only a hash.

See Enterprise packs

Authentication

Send your key in the X-API-Key header (or Authorization: Bearer YOUR_API_KEY). Base URL: https://www.startmybusiness.us/ai-studio. Up to 5 active keys per account; rotate or revoke any key at any time.

Limits

Concurrent jobs

3 (10,000-Token pack), 6 (22,500) or 12 (60,000). Counts every active image and video job on the account.

Request rate

60 requests per minute per key (burst 60). Over the limit you get HTTP 429 with Retry-After.

Failed sign-ins

Repeated invalid keys from one address are paused for a few minutes (HTTP 429).

Endpoints

MethodPathPurpose
POST/api/v1/quoteExact Token price for a request, before anything is charged. Same body as generate. Returns quote.tokens, premium, the duration and resolution used, ref_video_secs, premium_tokens and can_pay.
POST/api/v1/generateQueue a job. Body: kind (image, video_standard, video_lipsync), prompt, optional model_id, duration (Seedance: 5, 8 or 10 seconds), resolution (Seedance: 480p, 720p, Omni also 1080p), aspect_ratio, style, batch_count (images, 1 to 5), ref_urls, lip_sync_script, strict_model (true = only the chosen model; see Model fallbacks), expected_tokens (optional: the quoted price; the job is refused with 409 instead of charging a different amount). The response includes the quote that was charged.
GET/api/v1/jobs/<job_id>Job status, media URL and the model that made it (see Model fallbacks).
GET/api/v1/balanceRemaining Studio Tokens, plus premium_tokens (Tokens that can pay for premium video) and welcome_tokens.
POST/api/mcpMCP JSON-RPC (initialize, tools/list, tools/call) for AI agents. Tools include quote_video and quote_image (exact price, no charge), generate_video with duration and resolution, and generate_image with batch_count.

Models

model_idModel
veo_31_fastGoogle Veo 3.1 Fast (720p)
veo_31_fast_1080Google Veo 3.1 Fast (1080p)
veo_31_studioGoogle Veo 3.1 Studio
seedance_flashByteDance Seedance 2.5 Flash (Multi-Shot)
seedance_omniByteDance Seedance 2.5 Omni
nano_banana_2Google Nano Banana 2 HD
flash_express_imgGoogle Nano Banana Express
seedream_v5_proByteDance Seedream 5.0 Pro
gpt_image_2Google Nano Banana Pro Typography
nano_banana_21Google Nano Banana Pro
tts_geminiGoogle Gemini 3.8 Flash TTS
voice_ttsKyutai Pocket TTS (My Voice)
voice_createKyutai Pocket TTS Voice Setup
sfx_stableStability AI Stable Audio 3 Small SFX
music_clipGoogle Lyria 3 Clip (30 s)
music_songGoogle Lyria 3.5 (Full Song)

Video pricing

Video is priced by model, length and resolution. Google Veo 3.1 clips are 8 seconds; ByteDance Seedance 2.5 clips are 5, 8 or 10 seconds (default 5 s at 480p). A reference video on Seedance adds to the price for each second of the clip (up to 15 s); a reference image on Google Veo 3.1 uses the reference price. The price is the same on every pack. Use /api/v1/quote (or the MCP tool quote_video) for the exact number; the charge always equals the quote.
Standard and premium video. Standard video (Google Veo 3.1 Fast) can be paid with any Tokens. Premium video (ByteDance Seedance 2.5 and Google Veo 3.1 Studio) is paid only with Tokens from a regular pack, its +Tokens add-on, or an Enterprise pack. Welcome-offer and free Tokens work on images and standard video. If the account does not hold enough of those Tokens the request returns 402 PREMIUM_TOKENS_REQUIRED and nothing is charged.
model_idLengthResolutionTokens (no reference)Class
veo_31_fast8 s720p8Standard
veo_31_fast_10808 s1080p11Standard
veo_31_studio8 s720p110Premium
seedance_flash5 s480p135Premium
seedance_flash8 s480p215Premium
seedance_flash10 s480p265Premium
seedance_flash5 s720p240Premium
seedance_flash8 s720p355Premium
seedance_flash10 s720p445Premium
seedance_omni5 s480p135Premium
seedance_omni8 s480p215Premium
seedance_omni10 s480p265Premium
seedance_omni5 s720p265Premium
seedance_omni8 s720p390Premium
seedance_omni10 s720p485Premium
seedance_omni5 s1080p655Premium
seedance_omni8 s1080p970Premium
seedance_omni10 s1080p1,210Premium

Image pricing

Images are priced per image: Tokens per image x batch_count (1 to 5). Welcome-offer and free Tokens work on every image model. Use /api/v1/quote with "kind":"image" (or the MCP tool quote_image) for the exact number; the charge always equals the quote.
model_idModelFree / $19$49$99Enterprise
nano_banana_2Google Nano Banana 2 HD2222
flash_express_imgGoogle Nano Banana Express2222
seedream_v5_proByteDance Seedream 5.0 Pro4444
gpt_image_2Google Nano Banana Pro Typography2222
nano_banana_21Google Nano Banana Pro2222

Audio & Voice

Text to speech, your own voice, sound effects and music. Every result is an MP3 mastered to -16 LUFS / -1.5 dBTP (WAV on any Token pack). Prices come from the same quote call the charge uses: call POST /api/v1/audio/quote first, then send expected_tokens with POST /api/v1/audio/generate. Speech is priced on 30-second blocks of estimated speech, from the script length.

model_idModelWhat it makesPrice
tts_geminiGoogle Gemini 3.8 Flash TTSText to speech, 12 preset voices, 14 languages3 Tokens per 30 s block (from)
voice_ttsKyutai Pocket TTS (My Voice)Speak in your own saved voice (EN, ES, FR, DE, PT, IT)1 Token per 30 s block (from)
voice_createKyutai Pocket TTS Voice SetupCreate a voice (web studio only, consent required)1 Token, pack Tokens only
sfx_stableStability AI Stable Audio 3 Small SFXSound effect, 3 to 10 s1 Tokens
music_clipGoogle Lyria 3 Clip (30 s)30 s music clip8 Tokens
music_songGoogle Lyria 3.5 (Full Song)Full song (a couple of minutes)15 Tokens
POST /api/v1/audio/quote     {"feature": "tts", "text": "Welcome to our shop.", "lang": "en"}
POST /api/v1/audio/generate  {"feature": "tts", "text": "Welcome to our shop.", "voice": "Sulafat", "lang": "en",
                              "speed": "normal", "expected_tokens": 3}
POST /api/v1/audio/generate  {"feature": "my_voice", "voice_id": "vc_...", "text": "...", "lang": "en"}
POST /api/v1/audio/generate  {"feature": "sfx", "prompt": "Door creaks open, footsteps on wood", "seconds": 5}
POST /api/v1/audio/generate  {"feature": "music", "prompt": "Warm acoustic guitar", "length": "clip"}
GET  /api/v1/audio/voices    your saved voices
GET  /api/v1/jobs/<job_id>   status, media_url (MP3), fallback disclosure
GET  /api/v1/audio/jobs/<job_id>/wav   WAV download

Voices are created only in the web studio, after a consent step (own voice, or the speaker's written permission). They are private to your account and can be deleted at any time. Speech falls back from Google Gemini 3.8 Flash TTS to Google Gemini 3.8 Flash Lite TTS when the first is unavailable: the job says so and returns any price difference. Send "strict_model": true to stop instead. MCP tools: quote_audio, generate_speech, generate_sound_effect, generate_music, list_my_voices.

Voice cloning uses Kyutai Pocket TTS (weights licensed CC-BY-4.0, by Kyutai). Sound effects: Powered by Stability AI (Stable Audio 3 Small SFX, Stability AI Community License); short interface sounds come from our own sound library.

Model fallbacks

If the model you pick is unavailable, the job is made with the next available model instead of failing, and we tell you. When that model costs fewer Tokens, the difference goes back to your balance automatically (once per job, to the same Token balances it came from). When it costs the same or more, nothing extra is charged. To turn this off for a request, send "strict_model": true: if the chosen model is unavailable the job fails with strict_failed: true and every Token is returned.
Field (job JSON and webhook job object)Meaning
requested_modelThe model_id you asked for.
delivered_modelThe model_id that actually made the media (set when the job is completed).
fallbacktrue when delivered_model differs from requested_model.
tokens_chargedTokens debited when the job was queued.
tokens_refundedTokens returned for this job: the price difference after a cheaper fallback, or the full amount when a job fails.
strict_model / strict_failedWhether the request asked for the chosen model only, and whether it stopped because that model was unavailable.
fallback_noticePlain English sentence you can show your own users, for example: Made with Google Veo 3.1 Fast (720p) because ByteDance Seedance 2.5 Omni was unavailable. 40 tokens returned to your balance.

Examples

cURL

# Exact price first (same arguments as generate; nothing is charged)
curl -sS -X POST "https://www.startmybusiness.us/ai-studio/api/v1/quote" \
  -H "X-API-Key: YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"kind":"video_lipsync","model_id":"seedance_omni","duration":8,"resolution":"720p"}'

# Submit a job (kind: image, video_standard or video_lipsync); expected_tokens = the quote
curl -sS -X POST "https://www.startmybusiness.us/ai-studio/api/v1/generate" \
  -H "X-API-Key: YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"kind":"video_standard","aspect_ratio":"9:16","prompt":"Sunlit studio sneaker commercial"}'

# Poll a job
curl -sS -H "X-API-Key: YOUR_API_KEY" "https://www.startmybusiness.us/ai-studio/api/v1/jobs/JOB_ID"

# Token balance
curl -sS -H "X-API-Key: YOUR_API_KEY" "https://www.startmybusiness.us/ai-studio/api/v1/balance"

Python

import time, requests

BASE = "https://www.startmybusiness.us/ai-studio"
HDRS = {"X-API-Key": "YOUR_API_KEY"}

r = requests.post(f"{BASE}/api/v1/generate", headers=HDRS, timeout=30,
                  json={"kind": "image", "aspect_ratio": "1:1", "prompt": "Gold logo on ivory paper"})
if r.status_code == 429:
    time.sleep(int(r.headers.get("Retry-After", "15")))
r.raise_for_status()
job_id = r.json()["job"]["id"]

while True:
    job = requests.get(f"{BASE}/api/v1/jobs/{job_id}", headers=HDRS, timeout=30).json()["job"]
    if job["status"] in ("completed", "failed"):
        break
    time.sleep(5)
print(job["status"], BASE + job["media_url"] if job["media_url"] else job["error_msg"])

JavaScript (Node 18+)

const BASE = "https://www.startmybusiness.us/ai-studio";
const HDRS = { "X-API-Key": process.env.STUDIO_API_KEY, "Content-Type": "application/json" };

const res = await fetch(`${BASE}/api/v1/generate`, {
  method: "POST", headers: HDRS,
  body: JSON.stringify({ kind: "video_standard", aspect_ratio: "16:9", prompt: "Product reveal on a marble table" })
});
if (res.status === 429) console.log("retry after", res.headers.get("Retry-After"), "seconds");
const { job } = await res.json();
console.log("queued", job.id);

MCP

curl -sS -X POST "https://www.startmybusiness.us/ai-studio/api/mcp" -H "X-API-Key: YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

Job webhooks

Add an https webhook URL to a key in your Dashboard. When a job created with that key finishes we POST JSON (job.completed or job.failed) with headers X-Studio-Event, X-Studio-Delivery and X-Studio-Signature: t=<unix>,v1=<hex>, an HMAC-SHA256 of "<t>." + raw body with your webhook signing secret (shown once when you save the URL). Reply with any 2xx. Failed deliveries are retried up to 5 times over about 45 minutes. Webhook hosts must be public https addresses; private and internal addresses are refused and redirects are not followed.
import hmac, hashlib, time

def verify(secret: str, body: bytes, header: str, tolerance: int = 300) -> bool:
    parts = dict(p.split("=", 1) for p in header.split(","))
    ts, sig = int(parts["t"]), parts["v1"]
    if abs(time.time() - ts) > tolerance:
        return False
    mac = hmac.new(secret.encode(), f"{ts}.".encode() + body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(mac, sig)

Error codes

HTTPMeaning
400Invalid request (missing prompt, bad field).
401Missing, invalid or revoked API key.
402Not enough Studio Tokens, or the job type needs a higher pack.
402 PREMIUM_TOKENS_REQUIREDPremium video needs Tokens from a regular, bump or enterprise pack; welcome and free Tokens do not count. Nothing was charged. The body has tokens_needed and premium_tokens.
409 PRICE_CHANGEDYou sent expected_tokens and the request now costs a different amount (for example a longer reference clip). Nothing was charged; quote again.
403The account is not on an Enterprise pack.
404Job not found (jobs are visible only to the key's own account).
429 API_CONCURRENCY_LIMITYour account already has its maximum number of active jobs. Retry after the Retry-After seconds.
429 RATE_LIMITEDMore than 60 requests in a minute on one key. Retry after the Retry-After seconds.
429 AUTH_RATE_LIMITEDToo many failed key attempts from one address. Wait, then retry with a valid key.
5xxTemporary server problem. Retry with backoff; failed jobs refund their Tokens automatically.

AI output can contain mistakes. Review every result before you publish it.