voiovo.com

Voiovo API

Programmatic video rendering. Same engine as the web app — every call is authenticated against your alexiuz account.

  1. Authentication
  2. Workflow: plan-then-render vs full
  3. Voiceover mode (use your own narration)
  4. Authoring guidance — schema gotchas & best practices
  5. Endpoints
  6. Visual effects bundle
  7. Talking-head scenes (lipsync)
  8. Sound effects (built-in library + per-scene)
  9. Re-render: full vs assembly-only
  10. End-to-end example (curl)
  11. Network integrations
  12. Errors

Authentication

All endpoints under /api/v1/ require an API key. Generate one at /settings after signing in.

Pass the key as a Bearer token:

curl -H "Authorization: Bearer vv_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
  https://voiovo.com/api/v1/jobs

Or as X-API-Key. Anonymous calls return 401 unauthenticated.

Workflow: plan-then-render vs full

Two job lifecycles, set via render_mode when you create the job:

Input modes (text · voiceover · captions-only)

Voiovo supports three job pipelines via the input_mode field on POST /api/v1/jobs. They share the same job lifecycle, render_outputs versioning, re-render flow, and Style tab — what differs is which generation phases run.

ModeAudio sourceVisual sourceSkipped phases
text (default)ElevenLabs reads bodyGenerated AI scenes (planner + image gen + motion)—
voiceoverYour uploaded audio / video (audio track extracted)Generated AI scenesTTS
captions_onlyYour uploaded video (audio passthrough)Your uploaded video (verbatim)Storyboard, image gen, motion, TTS, lipsync, scene concat

All three accept the same caption styling, effects bundle, style packs, and re-render endpoints. Pick the mode that matches what you already have in hand.

Voiceover mode (use your own narration)

By default, voiovo's TTS reads the job's body with an ElevenLabs voice. Voiceover mode swaps that for an audio or video file you upload — your voice plays on the final video, and voiovo only handles the visuals + captions.

Three-step pipeline:

  1. Upload the recording via POST /api/v1/uploads (multipart, ≤100 MB, ≤20 min, 1 GB per-user quota). Audio (mp3/m4a/wav) or video (mp4/mov) — the worker extracts audio with ffmpeg either way.
  2. Transcribe via POST /api/v1/transcribe. The call routes through generor's federated transcribe handler (POST https://generor.com/api/v1/generators/transcribe/generate) so credits are deducted from your alexiuz balance and the transcript lands in your generor creations archive — same federated-billing pattern as image / video gen. Picks model by model slug (default grok-stt): grok-stt (1 cr/min), whisper-1 (1 cr/20s), gpt-4o-transcribe (1 cr/20s), gpt-4o-mini-transcribe (1 cr/35s), nova-3 (1 cr/25s), scribe_v1 (1 cr/15s). Re-runs against the same upload no-op without force=1.
  3. Create the job with input_mode: "voiceover" and source_upload_id: N. The worker skips ElevenLabs entirely; instead it ffmpeg-extracts your upload to part_0.mp3, reshapes the cached transcript words into the standard part_0.timings.json format, and writes a complete manifest.json. From there the rest of the pipeline (storyboard planner reading transcript-as-body, image gen, motion, assembly, captions, karaoke fill, punch-word emphasis) runs exactly as in text mode.

Cost. Voiceover mode zeroes the TTS line item on POST /api/v1/estimate and POST /api/v1/jobs — your audio is already paid for via the transcribe call. You still pay for image gen, motion, lipsync (if any talking-head scenes), and assembly normally.

Validation. POST /api/v1/jobs rejects voiceover jobs whose source_upload_id doesn't belong to the caller (404 upload-not-found) or hasn't been transcribed yet (409 upload-not-transcribed) — the worker won't run STT mid-render, so the transcript has to exist at submit time. If the caller passes source_upload_id without a body, the server hydrates body from the upload's cached transcript automatically.

Captions-only mode (post-process a finished video)

Already edited your video in another tool? Upload the finished mp4 and let voiovo just burn karaoke captions on top. No AI visuals, no AI voice — voiovo runs one ffmpeg pass to overlay the subtitles and copies your audio track through verbatim.

Same upload + transcribe steps as voiceover mode, then create the job:

POST /api/v1/jobs
{
  "title": "My finished short",
  "input_mode": "captions_only",
  "source_upload_id": 42
}

Validation: source_upload_id must point at a video upload (mp4 / mov / m4v) — audio uploads are rejected with 400 wrong-upload-kind since there's no visual track to caption. Transcript must exist (same 409 upload-not-transcribed guard).

Cost. Just a flat assembly fee tied to source video duration (~1 credit per 5 seconds, floor 8 credits). A 60-second short ≈ 12 credits; a 3-minute short ≈ 36 credits. No image / motion / TTS line items. Punch-word LLM cost (when enabled) is absorbed into the flat fee.

What you get. Your full caption stack: font / color / sizes / position from job-config + the effects bundle (word-pop, smooth fade, progressive reveal, karaoke fill, punctuation pacing, punch-word emphasis, all-caps emphasis, background pill, outline). Style packs apply directly via POST /api/v1/style-presets?action=apply.

What's not (yet) supported. Logo / mascot overlays, music ducking, frame-side effects (vignette / film grain / color grade), and progress-bar overlay are defined on the job but ignored by the captions-only pipeline. They're follow-up work — open a feature request if you need any of these in this mode.

Output lands at /video/blog/{fs_slug}/{slug}-short-vN.mp4 (same naming convention as text / voiceover mode). Re-render endpoints (POST /api/v1/rerender and rerender-assembly) work identically — they just re-run the burn pass against the same source video.

Authoring guidance — schema gotchas & best practices

Practical notes that aren't obvious from the endpoint reference alone. Especially relevant when an automated tool (LLM agent, workflow script, custom UI) drafts storyboards programmatically — the gotchas below are the failure modes we see most often on first integration.

1. scene_text is the literal spoken narration

Voiovo's TTS reads each scene's scene_text word-for-word and stitches the per-scene audio together. There is no separate "body" field that gets narrated when a storyboard is pre-authored. If you write skeletal label-style text like "Item one. CATEGORY NAME." that is exactly what the viewer hears for that scene — and nothing else. Treat each scene_text as the actual prose to be spoken aloud, not as a marker or anchor. Aim for full sentences in flowing prose.

2. step and header are visual-only — don't echo them in the narration

The corner badge ("3/5") comes from the integer step. The big top-of-frame overlay ("CATEGORY NAME") comes from header. Neither is read aloud. Your spoken prose should flow as if those overlays didn't exist — repeating them in scene_text sounds robotic ("Step three. CATEGORY NAME. Step three is…").

3. Vary connector phrasing across parallel scenes

If you're writing five "ways" / "methods" / "tips" in a row, don't open every scene with the same numbered prefix. "Way one.", "Way two.", "Way three." reads robotically when spoken. Vary the connectors — "Start with…", "Then there's…", "Watch for…", "Or the…", "And the most …". Same applies to paired follow-up scenes — don't open all five responses with "How to respond." Find a different cue per scene.

4. For shorts, do NOT set header on scene 1

Voiovo paints the job's opening_title (defaults to title) as a big full-screen overlay on scene 1 from frame 1. A per-scene header on scene 1 would stack on top — duplicate text. Leave scene[0].header empty/null on shorts. Per-scene header works normally on scenes 2..N. Long-form jobs ignore the opening title overlay entirely, so this rule doesn't apply.

5. reference_scene_idx requires an img2img-capable image model

Setting reference_scene_idx: N on an ai scene generates that scene as img2img using scene N's already-rendered still as input — useful for paired scenes where you want pixel-coherent settings (same room, same people, different action). Constraint: N must point to a lower-indexed ai scene (so its still exists when this one generates). Models that natively support img2img: nano-banana-2, nano-banana-pro, seedream-4.0, flux-2-dev, gemini-2.5-flash, gpt-image-1-mini. Models that don't: p-image (the default), z-image-turbo, flux-schnell. Auto-fallback: when the job's image_model can't do img2img, voiovo silently promotes JUST the scenes that need it to flux-2-dev (cheapest img2img-capable model, 6 cr/img) — every other scene keeps using the cheap default. No 400, no manual model switching needed. Pure prose continuity ("the same room as before, but the protagonist now leans forward") still helps narrow what img2img varies, but the reference_scene_idx field is what produces actual pixel-level coherence.

Clearing a reference — when a reference image trips Generor's content filter or you simply don't want coherence on a scene anymore, drop the field via the storyboard endpoint:

curl -X POST -H "Authorization: Bearer $VOIOVO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"patches":[{"_orig_idx":9,"reference_scene_idx":null}]}' \
  https://voiovo.com/api/v1/storyboard?id=24

null, -1, or empty string all clear the field. The next render of that scene will be plain txt2img. The browser UI exposes the same action as a "Clear ref" button on each scene card that has a reference set — click and confirm.

6. Don't mention third-party brand or product names in image prompts

Generor's content guard (Gemini-based) hard-rejects prompts that reference copyrighted brands / logos / mascots / characters, even when you legitimately own or license the IP. For your own brand assets, attach them via the mascot library at /mascots instead — the render worker composites via reference image at render time. The mascot pipeline doesn't go through the content guard. Same for talking-head personas: attach them via the persons library at /persons rather than naming them in prompts.

7. Image-prompt tone influences how viewers read the content

"Softly lit dinner gathering", "warm tungsten interior", "candle on the table" reads as they like each other — fine for connection or warmth content, wrong for content about discomfort, hostility, or power dynamics. For tense content, specify cooler lighting (clinical office overhead, neutral daylight, fluorescent, slightly harsh interior), vary settings across scenes (don't render five dinner tables in a row), and explicitly name the body language and micro-expressions ("eyes flicker", "jaw subtly tightens", "shoulders angled toward the door"). The image should make the emotional reality readable in 0.5 seconds, before the audio explains it. Sharpest focus on the receiver of the action, not the actor.

7a. Prefer iconographic imagery over photorealistic-contemporary for subtle social content

Current image models in voiovo's catalog (nano-banana-2/pro, seedream-4.0, flux-2-dev, etc.) hit the uncanny valley fast on photoreal contemporary scenes that depend on subtle human micro-expressions or hand poses to convey meaning — small misses on a hand, an eye direction, or a smile make the image feel "off" and break the spell, even when lighting and composition are correct. For content where the meaning lives in subtle behavior (advice shorts diagnosing social patterns, content about hidden emotions, status games, etc.), prefer iconographic or period or metaphorical imagery: classical philosophers, monastic settings, historical workplaces, abstract metaphors (water on stone, scales, doors, rivers). The model gets more latitude on stylized faces and poses, and the viewer reads the symbolic register instantly without micro-expressions needing to land. Use this even on advice / response scenes — don't drop into contemporary realism just to vary the look.

7b. Religious / cultural depiction constraints are the caller's responsibility

Voiovo's content guard catches some categories (third-party brands, explicit content, etc.) but is not a substitute for caller-side respect of religious or cultural depiction norms. A non-exhaustive list of common constraints to apply at prompt-authoring time: do not depict the Prophet Muhammad in any form (no figure, no veiled figure, no flame-face); mainstream Sunni tradition extends this to all prophets revered in Islam (Jesus, Moses, Abraham, etc.) — for content in Islamic context, prefer architectural imagery (mosque interiors, mihrabs, mashrabiya screens), Arabic calligraphy of holy verses (no figural elements), geometric tile, Persian/Mughal gardens, or abstract patterns. Whirling dervishes are acceptable for Sufism (abstracted devotional figures). Apply equivalent caller-side judgement for other traditions (sacred objects, ritual contexts, taboo subjects). Don't rely on the guard.

8. Word budget: shorts ≈ 2.5 spoken words per second

YouTube Shorts cap is 180 seconds. Practical word budgets, with 10-15s of headroom (TTS is faster than humans expect):

9. Aspect ratio is enforced server-side

You don't need to crop or post-process. Generated images get auto-cropped to match the job's format (short → 9:16, long → 16:9) inside generorGenerateAndSave, including for models that ignore the API's aspect_ratio parameter (e.g. nano-banana-2/pro). Just describe the scene; voiovo handles the aspect.

10. render_mode: "plan" is the safe default for first integrations

Plan mode parks the job at planning_done so the storyboard can be reviewed and edited (via POST /api/v1/storyboard?id=N) before image+TTS+lipsync credits are spent. Especially valuable when an automated tool drafts the storyboard and a human (or another agent) needs to sanity-check before paying. Use "full" only when the storyboard is already known-good and you want one-shot end-to-end.

11. Storyboard edits are non-destructive when you round-trip the GET

POST /api/v1/storyboard?id=N with {scenes:[…]} replaces the entire scenes array, but the merge is field-level when each scene carries an _orig_idx anchor — the server takes the saved scene as a base and overlays only the fields you sent. GET /api/v1/storyboard?id=N echoes _orig_idx on every returned scene, so a GET → tweak → POST flow is safe out of the box: untouched scenes carry through unchanged, and the fields you don't send on edited scenes are preserved.

Safety net: if you POST without _orig_idx on any scene AND the array length matches the saved storyboard, the server falls back to positional anchoring (scene at index i inherits from saved scene i). Mixed payloads (some scenes with _orig_idx, others without) are treated as intentional structural edits — no fallback applies, and scenes without an anchor become brand-new kind=ai rows with empty text + prompt.

kind is mutable on existing scenes — accepted values: ai, chart, globe, talking_head. Switching kind keeps the scene's other fields intact (the renderer keys off kind, so stale chart/globe blocks on an ai scene are inert). When transitioning to chart or globe, send the matching block in the same request — chart/globe sub-fields are only applied when the post-merge kind matches.

Cache auto-stale on kind change. When a scene's kind transitions, the server drops that scene's cached image / motion / Ken-Burns-clip artifacts on disk so the next worker pass re-images it correctly. The response body returns kind_changes: [{scene_index, from, to}] and cache_invalidated: true when this fires. Effect by job state when the kind change is saved:

12. When pre-authoring a complete storyboard, the LLM planning step is skipped

If your POST /api/v1/jobs body includes a storyboard array, the worker writes it to disk and lands directly at planning_done — no OpenAI planning call, no per-scene anchor LLM. The cost estimate reflects only image gen + TTS + lipsync + assembly. The body field on the job is ignored when a storyboard is pre-authored (narration comes from each scene's scene_text). If you submit only title + body with no storyboard, the planner runs and derives scenes from the body.

13. There is no standalone "text card" / "title card" scene kind

Common confusion when authoring storyboards: voiovo has exactly four scene kinds — ai (atmospheric still), chart (statility chart screenshot), globe (glaibe globe rotation), and talking_head (lipsync portrait). Every scene needs an underlying visual; there's no text / title_card / citation kind that renders just text on a blank background.

To produce text-overlay sections (chapter headings, hero titles, "STEP 2/5"–style markers), you set per-scene fields that voiovo composites on top of the scene's existing visual — not a separate kind. The relevant fields:

Practical recipes for the "I want a text-only chapter card" pattern:

Endpoints

POST /api/v1/jobs

Create a new render job.

ParamTypeNotes
titlestring (required)Used to derive the slug + as the title-card overlay.
bodystring (required)The script that gets narrated. ≤30,000 chars. In voiceover mode, hydrated automatically from the upload's transcript when omitted.
input_mode"text" | "voiceover" | "captions_only"Default text — body gets read with the picked TTS voice. voiceover swaps in a pre-uploaded audio / video file as the narration (your voice over AI visuals). captions_only uses your finished video verbatim and just burns captions on top (no AI gen). All three pair with source_upload_id when not text. See § Input modes.
source_upload_idintRequired when input_mode is voiceover or captions_only. id from GET /api/v1/uploads; the upload must be owned by the caller and have a cached transcript (POST /api/v1/transcribe first). captions_only additionally requires kind=video.
format"short" | "long"9:16 vertical (≤180s) or 16:9 horizontal long-form. Default: short.
render_mode"full" | "plan"Default: full.
aestheticstringOne of the aesthetic library keys (cinematic-roman, photoreal-documentary, ink-wash-east-asian, ...). Default: auto by format.
motion0 | 11 = AI motion-video clips per scene (more expensive). 0 = Ken Burns stills. Default: 0.
voice_idstringElevenLabs voice id. Default: project default.
image_modelstringp-image (default — 3 cr/img, fastest), flux-2-dev (6 cr/img, img2img-capable), seedream-4.0 (9 cr/img, painterly), nano-banana-2 (14 cr/img, premium photoreal), nano-banana-pro (27 cr/img). When a storyboard scene sets reference_scene_idx for img2img coherence and the chosen model doesn't support image refs (currently just p-image), voiovo auto-promotes THAT scene to flux-2-dev at gen time so the reference still works — other scenes keep using the cheap default. No 400 / no manual switching.
video_modelstringPer-scene I2V motion model. Defaults to seedance-1-pro-fast-480p. Other budget options: hailuo-2-512p, seedance-1-lite-480p/720p, seedance-1-pro-fast-720p, seedance-1.5-pro-720p. Cheap-with-long-clip-support (5/10/15s, native audio): wan-2.6-i2v-flash-720p/1080p, wan-2.6-i2v-720p/1080p. Premium tier: kling-v2.1-720p, seedance-2.0-480p/720p/1080p, veo-3.1-fast-720p/1080p, veo-3.1-720p/1080p.
pacingcinematic | balanced | snappyDrives the planner's target scene count + injects a cut-cadence guidance fragment into the system prompt. Defaults to balanced (20 scenes for shorts, 32 for long-form). cinematic = fewer/longer scenes (10 / 18) for essay-style narration; snappy = many short cuts (30 / 50) for short-form social rhythm. Targets bumped 2026-05 from older 6/12/18 (shorts) to 10/20/30 after empirical findings: a 360-word post needs ~25-35 scenes for ~3-5s avg cuts — the engagement cadence short-form rewards. Talking-head continuity rule applies on every level: adjacent scenes by the same speaker auto-merge into one before save, so the assembler never produces a hard cut on the same face mid-sentence.
motion_clip_secondsintDuration of each per-scene AI motion clip in seconds. Range 4–15, default 5. Special value 0 = Auto: voiovo picks per-scene clip length from the scene's estimated narration duration, capped at the model's longest supported value (palindrome-aware — targets half the scene length so one clip + reverse fills it). Per-model granularity: seedance-1-pro-fast-* (default) and seedance-1.5-pro-720p accept 5/6/8/10/12; seedance-2.0-* accepts 5/6/7/8/10/12; wan-2.6-i2v-* family accepts 5/10/15; seedance-1-lite-* + kling-v2.1-720p accept 5/10; hailuo-2-512p accepts 6/7/8/9/10; Veo 3.1 family accepts 4/6/8. Out-of-range or model-unsupported values return 400. Longer clips fill long scenes with unique motion (no palindrome loop) at proportionally higher per-scene cost. The dashboard exposes Short (5s) / Auto on the Motion tab; the API also accepts any specific value in the range. Ignored when motion=0.
cap_fontstringCaption font name override.
cap_color"#rrggbb"Caption highlight color override.
storyboardarrayOptional. Pre-authored storyboard scenes. When passed, voiovo skips the LLM planning call and writes your scenes straight to disk. Each scene supports kind (ai|chart|globe|talking_head), scene_text, prompt, step, header, citation, chart, globe. See the POST /api/v1/storyboard section below for field details.
style_preset_idint | "builtin:<slug>"Optional. Apply a saved preset (or built-in pack) to the new job in one shot — same outcome as creating then calling POST /api/v1/style-presets?action=apply separately. Integer ids reference your user_style_presets rows; string ids prefixed with builtin: reference the curated pack catalog. Unknown ids are silently ignored (the job still creates fine; you can pick a preset on the Style tab afterwards). The response surfaces a style_preset_applied field with {kind, id, name} when a preset matched.

Headers + step counters: any scene can carry a header string (big visual overlay, ALL-CAPS, ≤60 chars) and / or a step integer (drives the persistent N/total badge). These can be set in the LLM-planned storyboard, prefilled at job creation via the storyboard param above, or edited after planning via POST /api/v1/storyboard?id=N.

curl -X POST https://voiovo.com/api/v1/jobs \
  -H "Authorization: Bearer $VOIOVO_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "How Stoics Handled Toxic People",
    "body": "<150-400 word script...>",
    "format": "short",
    "aesthetic": "cinematic-roman",
    "render_mode": "plan"
  }'

GET /api/v1/jobs

List your jobs (most recent first). Supports ?limit=N&before=ID.

GET /api/v1/job-status?id=N

Status snapshot. Poll every 10s until status reaches a terminal state (done, failed, planning_done).

POST /api/v1/generate-missing-scenes?id=N&mode=missing|all

Fills (or wipes-and-fills) scene_NN.jpg for AI scenes in one batch. Two modes:

Scenes with no prompt AND no archive ref (or in mode=all, just no prompt) are left alone — the generator can't produce an image with no instructions. Surface as no_prompt_scenes in the response.

Returns {ok, mode, archive_filled, archive_failed, gen_pending, gen_spawned, no_prompt_scenes, image_model, per_image_cost, gen_credits_estimate, needs_reassemble, note}. archive_filled is synchronous (done by the time the request returns); gen_pending indicates which scenes the background generator will fill — poll /api/v1/job-status?id=N or refresh the Images tab in ~30s. Then call /api/v1/reassemble?id=N. Pass ?preview=1 (or use GET) for a dry-run that returns the same shape without touching files or spawning the generator. Same status gating as regenerate-scene: paused (planning_done, imaging_done, motion_done) or terminal (done, failed, cancelled).

GET /api/v1/uploads · POST /api/v1/uploads · DELETE /api/v1/uploads

User-uploaded source media library — used by voiceover mode. Audio for narration; video for narration + (later) on-screen footage.

GET /api/v1/transcribe?upload_id=N · POST /api/v1/transcribe

Run speech-to-text on a previously-uploaded file via generor's federated transcribe handler. Caches the transcript on the upload row so re-renders against the same upload reuse the marks at zero cost.

Response: {ok, cached?: bool, credit_cost, creation_id, transcript: {text, words: [{w, start, end}], language, duration, model, provider, creation_id}}. words are seconds-based (start / end as floats); voiovo's renderer reshapes them into the assembler's ms-based shape automatically when you create a voiceover-mode job.

GET /api/v1/archive?type=image|video

Lists the caller's generor creation archive — images or motion clips previously generated on generor.com. Returned creation_ids can be referenced from a storyboard scene as image_creation_id / motion_creation_id to reuse the asset in a render at zero gen cost (the user already paid when it was first generated).

ParamTypeNotes
typeimage | videoRequired. Picks which archive table on generor to query.
limitintDefault 50, max 200.
qstringOptional substring filter against the creation's user_prompt (server-side LIKE).
slugstringOptional generator-slug filter (e.g. image, portrait, wallart, video). Default is unfiltered — every visual creation surfaces.

Returns { ok: true, type, creations: [{creation_id, prompt, ai_model, generator_slug, image_url|video_url, width, height, [duration_sec,] aspect_ratio, created_at}] }. Empty array when the user has no generor account or no matching creations.

GET /api/v1/storyboard?id=N

The storyboard.json for a planned/in-progress job. Use to review before approving in plan mode. Each scene in the response carries an _orig_idx anchor — POST the array back as-is and the server merges field-level (untouched scenes carry through unchanged; on edited scenes only the fields you actually changed get applied). See §11 for the full round-trip semantics.

Per-scene asset URLs are also surfaced on each returned scene whenever the corresponding file exists on disk — handy for reviewing images at imaging_done (or motion clips at motion_done, or the final assembly at done) without scraping the dashboard. Each URL carries a ?v=mtime cache-buster so a regen reflects on the next GET:

Missing field = "not rendered yet" or "not applicable for this scene's kind". To render the URLs absolute, prefix with https://voiovo.com (or whatever SITE_URL resolves to in the response — the URLs are emitted as absolute paths because Generor's API and the assembler both use them server-side).

POST /api/v1/storyboard?id=N

Edit the storyboard. Two body shapes:

Pass either scenes or patches, not both. The accidental-partial guard only fires when the body is ≤ half the saved scene count AND every scene carries _orig_idx AND the saved storyboard has ≥4 scenes — that combination is almost always a partial-update mistake (sending 1 of 12, 5 of 30, etc.). Modest deletions (e.g. 33 of 34, removed one scene) pass without protest. Edge cases where you DO want a dramatic shrink: pass "confirm_shrink": true in the body to bypass the guard entirely.

Each scene / patch supports:

Only valid while status is planning_done, imaging_done, motion_done, or a terminal state (done / failed / cancelled). Locked while a phase is actively running.

Safe round-trip pattern — fetch, mutate the scenes you care about, POST the whole array back. _orig_idx on each scene anchors the merge so untouched scenes pass through and partial edits on touched scenes leave the rest of their fields intact:

# 1. fetch
curl -s -H "Authorization: Bearer $VOIOVO_KEY" \
  https://voiovo.com/api/v1/storyboard?id=42 > sb.json

# 2. tweak — e.g. flip scene 6 from ai to a chart, edit scene 4's prompt
jq '.scenes
    | map(if ._orig_idx == 6 then
            . + { kind: "chart",
                  chart: { asset_ids: [1145], chart_kind: "temperature",
                           hover: "2030-12-31", hover_dataset_idx: 8,
                           animated: true } }
          elif ._orig_idx == 4 then
            . + { prompt: "wider establishing shot, dawn light" }
          else . end)
    | { scenes: . }' sb.json > sb_edit.json

# 3. POST it back — chart blocks on untouched scenes (e.g. scene 2) survive
curl -X POST -H "Authorization: Bearer $VOIOVO_KEY" \
  -H "Content-Type: application/json" \
  --data @sb_edit.json \
  https://voiovo.com/api/v1/storyboard?id=42

Opening title overlay

Shorts get a big text overlay painted onto scene 1 from frame 1 (full opacity → fades out at the end of its visible window with a 400ms fade). Frame 1 doubles as the social-share thumbnail. Defaults to the job's title; override per job with opening_title via POST /api/v1/job-config {opening_title} (max 120 chars; pass empty string to revert to post title). Visible duration defaults to scene 1's full narration window — override with opening_title_duration_ms (0 = auto, 1000–10000 = explicit cap in ms; the cap clamps to scene 1's end either way, so a 10s cap on a 4s scene 1 still clears at the scene boundary). The karaoke caption track is suppressed during the opening-title window by default so the two don't compete on screen — set hide_captions_during_opening_title: 0 on POST /api/v1/job-config to keep captions visible underneath the title (default 1). Long-form jobs ignore all of this — long videos lean on the YouTube thumbnail instead.

POST /api/v1/job-config?id=N

Change job-level config before approving the render. Pass any subset of:

Only valid while status is planning_done. Returns the updated values plus a recomputed cost estimate.

POST /api/v1/approve

Body: { id }. Approves a plan-mode job's storyboard and starts the expensive render. Idempotent.

POST /api/v1/approve-images

Body: { id }. Continues a job parked at imaging_done (because pause_after_imaging=1 was set) into the TTS + assembly stages. Use after reviewing/regenerating individual scenes.

POST /api/v1/cancel

Body: { id, reason? }. Marks a job as cancelled. Useful for probe / abandoned-draft jobs you don't intend to approve, or paused-state jobs you no longer want to resume. Status gating: only planning_done / imaging_done / motion_done / failed states are cancellable. Live phases (queued / planning / imaging / motion / tts / assembling) return 409 — let the worker hit the next checkpoint first, then cancel. done jobs are also rejected; for finished work just ignore the row. No refund is issued because voiovo only debits credits as each phase runs — phases that didn't run weren't charged. Optional reason is stored on error_message for audit.

POST /api/v1/regenerate-scene

Body: { id, scene_index, prompt? }. Re-rolls the image for one scene. If prompt is provided, the storyboard.json is updated with the new prompt before the regen. Charges the job's per-image cost (refunded on failure). Only valid at imaging_done.

POST /api/v1/rerender

Body: { id, pause_after_imaging? }. Bumps active_version on a finished/failed job and re-queues it. The previous mp4 stays under its versioned filename and remains in render_outputs; the new render writes to -v(N+1)-suffixed files. Costs are debited fresh — full image-gen + TTS + lipsync + assembly. See also re-render: full vs assembly-only.

POST /api/v1/rerender-assembly

Body: { id }. Cheap re-render. Bumps active_version, re-queues the job, but instructs the worker to skip imaging / TTS / lipsync entirely and reuse the on-disk caches. Only the assemble + thumbnail steps run. Cost is the assembly portion only — typically ~30% of a full re-render (e.g. 113 cr instead of 374 cr for an 8-scene short with motion). Use it for font / color / effects / transition / caption-style tweaks. Don't use it after editing scene_text, body, or talking-head person_id — the cached TTS / images / lipsync mp4s won't match. The worker fails fast if no cached TTS manifest is found.

GET /api/v1/word-timings?id=N

Per-scene per-word TTS timings, used by the Plan-tab SFX placement editor. Returns:

{
  "ok": true,
  "tts_ready": true,
  "scenes": [
    {
      "scene_idx": 0,
      "scene_start_sec": 0.0,
      "scene_duration_sec": 10.2,
      "words": [
        {"word":"Picture","rel_ms":0,"abs_ms":0},
        {"word":"two","rel_ms":418,"abs_ms":418},
        ...
      ]
    },
    ...
  ]
}

rel_ms is each word's start time relative to its scene's start — exactly the convention the SFX system's offset_ms field uses, so a click-to-align UI just copies rel_ms straight in. Returns tts_ready: false with empty scenes if the job hasn't run TTS yet (e.g. status planning_done).

GET /api/v1/outputs?id=N

Lists every render version for a job (newest first) with mp4 + thumbnail + duration + cost + creation time. Used by the dashboard to populate the outputs gallery.

POST /api/v1/reassemble

Body: { id }. Re-runs only the assembler step (after editing scene images via imaig, or hand-editing storyboard.json). Cheap.

POST /api/v1/scene-replace

Replace a single scene's image. Used by the imaig-handoff round-trip; usually called automatically by Imaig's "Send back" button.

POST /api/v1/estimate

Body: same shape as POST /jobs. Returns { cost: int, breakdown: {images, video, tts}, est_scenes }. Useful to preview the credit spend before submitting.

POST /api/v1/ideas

Body: { niche }. Returns a list of punchy idea hooks for that niche.

POST /api/v1/script

Body: { idea, format }. Returns a 150-400 word draft script for the chosen idea.

GET /api/v1/models

The current model catalog (image, video, voice) with credit costs and ratings, mirrored from the alexiuz central catalog.

Visual effects bundle

Each job carries an effects JSON object that controls all the render-time visual finishes. Set it at job creation in POST /api/v1/jobs, edit it later via POST /api/v1/job-config { "effects": {...} }. Empty / NULL effects = legacy plain render. Every field is optional; missing means "off / default".

Transitions between scenes

Image grade + grain

Progress bar (timeline indicator)

Caption styling

Built-in style packs

For users that want one-click curated combinations of the above, voiovo ships a catalog of style packs surfaced via GET /api/v1/style-presets in the packs[] array. Each pack bundles caption font, color, sizes, vertical position, and a meaningful effects overlay — apply with POST /api/v1/style-presets?action=apply {preset_id: "builtin:<slug>", job_id}.

Bundle preset shortcuts (UI only)

The Style tab + /new form expose four preset chips that bulk-set the bundle: None, Subtle, Punchy, Cinematic. The API accepts the raw effects object — these are just sensible starting points exposed in the UI. (The style-packs catalog covers the same need at a finer grain — caption font, color, sizes, position, and effects together — and is also reachable via the API.)

// Punchy preset, for reference
{
  "cross_dissolve": 0.18,
  "transition_styles": ["slideleft", "slideright", "fade"],
  "vignette": 0.40,
  "film_grain": 6,
  "color_grade": "cool_cyan",
  "progress_bar": true,
  "progress_bar_mode": "step",
  "caption_emphasis": true,
  "caption_word_pop": true,
  "caption_progressive_reveal": true,
  "caption_background": false,
  "caption_outline": true,
  "caption_punct_pacing": true,
  "caption_karaoke_fill": true,
  "caption_punch_emphasis": true
}

Talking-head scenes (lipsync)

Talking-head scenes (kind = talking_head)

Any scene in the storyboard can be set to kind: "talking_head" with a person_id from your persons library. During render the worker:

  1. Skips AI image gen for that scene — the person's photo is staged as the placeholder.
  2. After TTS completes, the worker concatenates every TTS chunk into a single merged_narration.mp3, then anchors each scene's start time using the same logic the assembler uses.
  3. For each talking-head scene, slices [scene.start, next_scene.start) out of the merged narration so the lipsync covers the scene's full spoken window — even when it spans multiple TTS chunks.
  4. Builds a base video by looping the person image at the scene's duration, sized to the job's target aspect (720×1280 for shorts, 1280×720 for long-form). Lipsync models preserve input aspect, so the output is already the correct shape — no padding.
  5. Calls the chosen lipsync model on Replicate. Output mp4 lands at /video/blog/{slug}/talking_head_NN.mp4.
  6. The assembler uses that mp4 verbatim instead of Ken Burns / motion clips.

Lipsync model: prunaai p-video-avatar (p-video-avatar) — image-to-video model that takes a still portrait + audio directly (no base-video step needed) and produces a 720p talking-head clip. Charged at 10 cr/sec. A 5-sec talking head is ~50 cr versus ~14 cr for an AI still — pick talking heads sparingly (typically the hook + close, with AI scenes filling the body of the video).

List the catalog with GET /api/v1/models?type=lipsync. Failed lipsync calls are auto-refunded. The cache sidecar tracks (person_id, lipsync_model) per scene, so swapping either between renders triggers a fresh lipsync.

GET /api/v1/style-presets · POST /api/v1/style-presets · DELETE /api/v1/style-presets

Save / re-apply a job's visual styling as a named preset across videos. Captures: image_model, video_model, voice_id, lipsync_model, cap_color, cap_font, header_font, caption_size_pct, header_size_pct, caption_y_pct, header_y_pct, mascot_id, mascot_position, mascot_scale, music_volume_db, pause_after_imaging. Per-video fields (opening title, music track, body text) are NOT captured.

GET /api/v1/logos · POST /api/v1/logos · DELETE /api/v1/logos

Logos library — branded image overlays that REPLACE a scene's text header. PNG with transparency recommended (also accepts JPG / WebP / SVG). Max 5 MB. Per-user cap: 30 active. POST is multipart with file + optional name; returns {id, slug, name, image_url, width, height}.

Apply per-scene by setting logo_id on a storyboard scene (POST /api/v1/storyboard or via prefilled storyboard at job creation). When logo_id is set, voiovo skips the scene's text header and paints the logo PNG with fade in/out at the same screen position (header_y_pct), sized to ~20% of canvas width, scaled with header_size_pct. Multiple scenes can use different logos.

GET /api/v1/mascots · POST /api/v1/mascots · DELETE /api/v1/mascots

Mascots library — short looping transparent-background videos composited as a corner overlay on every frame of a render. POST is multipart upload with file (webm with VP9+alpha recommended, max 25 MB) plus optional name. GET lists active mascots with {id, slug, name, video_url, width, height, duration_ms, created_at}. DELETE archives.

Apply to a job via POST /api/v1/job-config { mascot_id, mascot_position, mascot_scale }. mascot_position is bottom-left / bottom-right / top-left / top-right. mascot_scale is the mascot's width as a percentage of canvas width (5-50, default 22). Free — no AI cost; the loop just replays via ffmpeg's -stream_loop -1. To produce a Darobodo mascot loop, visit darobodo.com/mascot-capture.

GET /api/v1/persons

Lists the caller's saved persons (talking-head subjects). Each entry has {id, slug, name, image_url, source, prompt, image_model, width, height, created_at}. source is "upload" or "generated".

POST /api/v1/persons

Two modes:

Cap: 50 active persons per user. Archive an old one to free a slot.

DELETE /api/v1/persons

Body: {id}. Soft-deletes (sets archived_at) so old renders that referenced this person keep working.

GET /api/v1/music

Lists the caller's music archive on generor.com. Each entry has {creation_id, title, prompt, ai_model, duration_sec, music_type, audio_url, created_at}. The creation_id is what you pass to music_creation_id via job-config. Tracks are free to use (paid for already on generor when generated).

Sound effects

GET /api/v1/sfx

Lists every SFX available to your job — the merge of:

  1. Voiovo built-in library — 15 curated sounds shared across every user. Generated via the same ElevenLabs sound-generation engine that powers generor.com's SFX UI. Free to use, marked with library: true in the response. Categories: transition (whoosh-soft / whoosh-fast / swoosh-low / impact-cut), step (tick-typewriter / ding-soft / snap-short), bed (drone-low / hum-machinery / static-radio, looping atmospheric beds), sting (bass-thud / piano-tone / chime-close), ui (click-soft / beep-data).
  2. Your personal generor archive — anything you've generated at generor.com/sound-effects shows up here automatically. Free to use (already paid for at gen time on generor).

Response shape per entry: {creation_id, title, audio_url, library?, category?, duration_ms?, created_at?}.

Per-scene SFX

Each storyboard scene accepts an optional sfx array. Set it via POST /api/v1/storyboard?id=N or in the prefilled storyboard at job creation. Each entry:

SFX are layered into the audio mix without sidechain ducking — they ride alongside the narration. The worker stages each unique creation_id once at /audio/blog/{slug}/sfx/sfx_{id}.mp3 and re-uses on re-renders.

Background music + sidechain ducking

Job-level music is set on a job via POST /api/v1/job-config {music_creation_id, music_volume_db}:

GET /api/v1/voices

Curated narrator catalog. Each entry has {voice_id, name, gender, description, preview_url}. voice_id is what you pass to cap_voice / voice_id when creating or configuring a job. preview_url is a short hosted MP3 sample. voiovo always renders with ElevenLabs Turbo v2.5 for tight word-level timings. Custom (cloned) ElevenLabs voice ids that match the standard format are also accepted server-side.

GET /api/v1/fonts

The curated catalog of installed fonts available for cap_font. Each entry has {slug, family, label, vibe, license}. family is the value to pass to cap_font when creating a job or via job-config. All fonts are SIL OFL or Apache 2.0 licensed (commercial use without attribution requirements in the rendered video).

GET /api/v1/keys

Browser-session only (cookie-authenticated, not API-key-authenticated — chicken-and-egg). Lists your API keys' metadata.

Re-render: full vs assembly-only

Voiovo gives you two re-render paths because most fixes don't need to redo the expensive media gen.

POST /api/v1/rerenderPOST /api/v1/rerender-assembly
What re-runsEverything — image gen, video gen, TTS, lipsync, assemblyOnly assembly + thumbnail. Imaging / TTS / lipsync skipped.
CostFull cost_estimate~30% of full (assembly portion only). For an 8-scene short with motion: ~113 cr vs ~374 cr.
Time~5–10 min~30–60s
Use forscene_text edits, body changes, persons swaps, AI prompt rewritesfont / color / effects / transitions / caption styling / mascot / logo / attribution toggles

The cheap path uses cached scene jpgs, the TTS manifest.json + part_*.mp3, and the per-scene talking_head_NN.mp4s. The worker fails fast if the TTS manifest is missing (e.g. you've never run a full render of this job). Caches invalidate automatically on the FULL re-render path: the storyboard's per-scene cfg sidecar tracks (asset_id, days, version) for charts, (country, style, version) for globes, and (person_id, lipsync_model) for talking heads — change any of those and the next full re-render refreshes only that asset, not the whole bundle.

End-to-end example (curl)

VOIOVO_KEY="vv_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

# 1) Plan a short — generates storyboard but stops before image-gen
JOB=$(curl -sX POST https://voiovo.com/api/v1/jobs \
  -H "Authorization: Bearer $VOIOVO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Why Marcus Aurelius Slept on Stone","body":"...","format":"short","render_mode":"plan"}')
JOB_ID=$(echo "$JOB" | jq -r .job_id)

# 2) Wait for storyboard, then inspect
while :; do
  STATUS=$(curl -s -H "Authorization: Bearer $VOIOVO_KEY" \
    "https://voiovo.com/api/v1/job-status?id=$JOB_ID" | jq -r .status)
  [ "$STATUS" = "planning_done" ] && break
  sleep 10
done
curl -s -H "Authorization: Bearer $VOIOVO_KEY" \
  "https://voiovo.com/api/v1/storyboard?id=$JOB_ID" | jq

# 3) Looks good — approve. Voiovo runs image-gen + TTS + assembly.
curl -sX POST https://voiovo.com/api/v1/approve \
  -H "Authorization: Bearer $VOIOVO_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"id\":$JOB_ID}"

# 4) Poll until done. ~5-10 min.
while :; do
  R=$(curl -s -H "Authorization: Bearer $VOIOVO_KEY" \
    "https://voiovo.com/api/v1/job-status?id=$JOB_ID")
  STATUS=$(echo "$R" | jq -r .status)
  echo "$STATUS"
  if [ "$STATUS" = "done" ]; then echo "$R" | jq -r .output_video; break; fi
  if [ "$STATUS" = "failed" ]; then echo "$R" | jq -r .error_message; break; fi
  sleep 15
done

Network integrations

Scenes can be one of four kinds (the storyboard generator picks them; you can edit storyboard.json before approving):

kindWhat rendersSource
aiPhotoreal AI still per the post's aesthetic, optionally with I2V motion clipGeneror (Nano Banana 2 / Flux / Seedream / Veo 3.1 / Seedance 2.0)
chartAnimated time-series chart from real DB data — line draw-in, hover-to-target, or one of four projection kinds (see below)statility.com (cryptos, stocks, FRED, World Bank, NOAA)
talking_headLipsynced video of a person from your library reading the scene's narrationGeneror (PixVerse / Sync Lipsync) over a person photo
globe3D globe rotates to a country, highlights territoryglaibe.com
citationQuote overlay with canonical reference (subtitle layer, attaches to any other scene kind)darobodo.com (125k+ Bible / Quran / Stoics / Buddhist / Sufi passages)

All sister-site renders bake their attribution into pixels (e.g. "statility.com — Data source: World Bank", "glaibe.com", "Luke 6:27"). Voiovo cannot strip these.

Chart scene types

The chart kind covers six rendering modes — the legacy line draw-in, the hover-cursor sweep on a line chart, and four projection-family chart kinds for non-line data shapes. Pick the mode by combining the animation and chart_kind fields on the scene's chart object.

chart_kindanimationWhat it showsHover lands onMulti-asset?
(unset / line)draw-inSingle asset price line, drawn left-to-rightn/ano
(unset / line)hoverStatic price line, glowing crosshair sweeps to a target pointprice lineno
temperature(implied hover)Logarithmic price chart with colored zone bands (cycle phases)price lineno
projection(implied hover)CAGR + exponential-regression projection paths past todayprice lineno
montecarlo(implied hover)Median + confidence-band projection paths (e.g. "BTC at $X by year Y")median projection lineno
correlation(implied hover)Rolling correlation between two or more assets over timecorrelation line (-1..+1)yes (≥2)

Hover targets resolve client-side against the actual chart's dataset, so peak, trough, and latest always land precisely regardless of the projection-worker's filtering. The pill auto-positions around the dot (above / below / left / right) to stay within canvas bounds.

Schema

{
  "kind": "chart",
  "scene_text": "Bitcoin and Ethereum reached peak correlation in early twenty twenty six.",
  "chart": {
    "asset_ids": [1145, 1033],         // single int (most kinds) OR array (correlation needs ≥2)
    "asset_id":  1145,                  // back-compat alias for single-asset kinds
    "days":      20000,                 // history window for line/draw-in mode
    "chart_kind": "correlation",        // temperature | montecarlo | projection | correlation
                                        //   omit for legacy line chart
    "animation": "hover",               // draw-in (default) | hover
                                        //   ignored when chart_kind is set (always implied hover)
    "hover":     "peak",                // peak | trough | latest | YYYY-MM-DD
    "hover_idx": 248,                   // alternative to hover, integer dataset index
    "mode":      "sweep-then-land",     // sweep-then-land (default) | sweep | hold
    "start_idx": 0,                     // cursor origin (default 0 = left edge)
    "duration":  1.5,                   // sweep seconds (0 if mode=hold)
    "hold":      1.5,                   // hold seconds (0 if mode=sweep)
    "title":     "Japan's Lost Decades", // optional chart-heading override, max 200 chars
                                        //   supported on all chart kinds: line draw-in, line hover,
                                        //   and projection family (temperature/montecarlo/projection/correlation);
                                        //   replaces the default heading drawn from asset_name or per-kind label
    "hover_dataset_idx": 6              // projection-only — explicit cursor-anchor dataset index.
                                        //   Bypasses statility's heuristic auto-pick. Use to land
                                        //   the cursor on a specific zone boundary, confidence band,
                                        //   or correlation line. Per-asset reference — best practice
                                        //   is to test the target asset's chart in voiovo mode first.
                                        //   Omit (or set -1) for default auto-pick behavior.
  },
  "header": "PEAK CORRELATION"
}

Examples

Line chart with hover-to-peak (US unemployment 2010 spike):

{
  "kind": "chart",
  "scene_text": "US unemployment hit a peak of nine point six percent.",
  "chart": { "asset_id": 2083, "days": 20000, "animation": "hover", "hover": "peak", "mode": "sweep-then-land" }
}

Temperature chart (BTC log-price with cycle bands, cursor on latest):

{
  "kind": "chart",
  "scene_text": "Bitcoin sits in the heating-up zone today.",
  "chart": { "asset_ids": [1145], "chart_kind": "temperature", "hover": "latest", "mode": "hold", "hold": 2.5 }
}

Monte Carlo projection (cursor on median path at a future date):

{
  "kind": "chart",
  "scene_text": "Median paths put Bitcoin near two hundred thousand by twenty thirty.",
  "chart": { "asset_ids": [1145], "chart_kind": "montecarlo", "hover": "2030-01-01", "mode": "sweep-then-land" }
}

Correlation chart (BTC ↔ ETH rolling correlation, cursor on peak):

{
  "kind": "chart",
  "scene_text": "Bitcoin and Ethereum hit peak correlation early in the year.",
  "chart": { "asset_ids": [1145, 1033], "chart_kind": "correlation", "hover": "peak", "mode": "sweep-then-land" }
}

Defaults: mode=sweep-then-land, duration=1.5, hold=1.5, start_idx=0. Drop duration to 0 with mode=hold for a static crosshair frame, or drop hold to 0 with mode=sweep for continuous travel.

Pricing: chart-projection renders take ~10-16 seconds on the Statility VM (puppeteer with persistent browser). No extra credits beyond the chart rendering itself — the SSH wrapper handles all the work, no Generor / Replicate calls fire on chart scenes.

Errors

All errors are JSON: {"error":"<code>","message":"<optional>"}. Codes you'll see:

codeHTTPMeaning
unauthenticated401No session cookie or API key.
invalid-api-key401Key wrong, revoked, or malformed.
not-found404Job doesn't exist or doesn't belong to you.
storyboard-not-ready425Storyboard hasn't been generated yet.
not-a-plan-job400Tried to /approve a job that was created with render_mode=full.
not-ready-to-approve409Plan still running, or already approved.
rate_limit429Too many calls — back off.