videogen/MENIVOR-FRANCHISE-PLAN.md
caelum0x d56639a594
Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Menivor — open source release (MIT), free to use and fork
Paid, hosted product at menivor.com, now retired as a company project.
Fresh squashed history of the cleaned working tree (secret-scanned,
no .env, no customer data, no outreach logs). Built on
MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
2026-12-04 02:10:26 +03:00

8.4 KiB

Menivor Franchise Plan (2026-09-15)

STATUS UPDATE (end of 2026-09-15 session): P1 DONE AND LIVE — api.menivor.com public (CF tunnel menivor-api-local → this Mac; Mac must stay awake), storage on real R2 (public upload+preview proven), menivor.com DEPLOYED with the no-signup /create loop (worker cf370662; public smoke all pass, anonymous render in 7s; waitlist KV working). 3 real API bugs fixed (jobs never marked complete; background loop truncation; R2 adapter). GOTCHA for every future web build: apps/web/ .env.local carries localhost API base — override NEXT_PUBLIC_API_BASE at build or it ships. Remaining: P2 mobile rebuild+screenshots+submit (deferred), P3 generator parity (partially LIVE — see AI-video status below), P4 desktop, P5 durable hosting + bucket-scoped R2 token + REVENUECAT_SECRET_API_KEY.

STATUS UPDATE (later 2026-09-15, owner-approved spend): P3 AI VIDEO IS LIVE. Replicate Wan 2.2 (wan-video/wan-2.2-t2v-fast / -i2v-fast, ~$0.25-0.30 per 5s render) enabled on api.menivor.com behind server-side caps: 3 credits/render (AI_VIDEO_CREDIT_COST), 2/user/day, 20/day global (Redis UTC-day counters, fail-closed; DEPLOY.md §4 — owner should ALSO set a hard spend limit at replicate.com). menivor.com /create now has an "AI video" tab (t2v + i2v via the presign flow) beside the untouched free narration tab; verified end-to-end live twice (real generated mp4s, 3-credit debits, both cap trips exercised and restored). Also fixed a live blocker: clerk.menivor.com serves clerk-js with HTTP 524, which stalled /create for everyone — useApiToken now races getToken with a 2.5s timeout and degrades to the device session (owner should still fix the Clerk custom-domain proxy; /jobs/[id] still gates on Clerk isLoaded).

The flagship. One product, six surfaces, assembled from videogen + railyard. This plan reflects a code-level survey done 2026-09-15, not aspirations. Companion docs: MENIVOR-SCREEN-PLAN.md (IA, ~300 screens), MENIVOR-CTO-PLAN.md (hosting), apps/api/DEPLOY.md.

Where the franchise actually stands

Surface State Verdict
api (FastAPI) LIVE at api.menivor.com (CF tunnel → this Mac). 43 routers, 329 endpoints. Mint settlement wired for real. Launch flags fail-closed. Strongest surface. Thin app-level tests.
web (Next.js/CF Workers) 124 pages, 476 tsx, core no-signup create loop SHIPPED tonight (device session → upload → render → preview, ~12s live renders). Creem+Stripe checkout via hosted URLs. Closest to revenue. Waitlist KV id is a placeholder (503s).
mobile (RN) 154 screen files but only ~73/296 routes registered. RevenueCat SDK in, entitlements unverified end-to-end. ASC record ready, build 1 stale. Primary surface, ~25% of IA.
desktop (Rust/Tauri, 31 rf-* crates) Serious editor foundation; API client = 182 lines, 2/329 endpoints. Effectively offline pro surface.
prism-media-gateway Complete, 31 tests, real Mint hold/capture/release + Ed25519 attestation. Done; env hardening only.
openscreen Vendored archived Electron screen recorder, unintegrated. Harvest capture UX later or drop.

Railyard reuse reality: only mint is integrated (prism settlement.py + api wallet/mint_client.py). relay/rago/ledgerline/abacus/vend/turnstile/ranguard/context-passport are NOT referenced anywhere in videogen — the API reimplements those domains natively. Treat railyard as a parts shelf, not a dependency: swap in a part only when the native domain hits its limits.

Known infra state (this session): backend runs on this Mac (Colima compose) behind Cloudflare Tunnel menivor-api-local; Mac must stay awake. Storage is being repointed from compose-internal MinIO to real R2 (in flight) — until that lands, public clients cannot upload/play previews. Durable hosting (Modal/Cloud Run per CTO plan) still owner-gated.

Execution phases (revenue-ordered)

P1 — Close the web money loop (days)

  • R2 public storage (in flight 09-15) — uploads + preview playback from any browser
  • Create real WAITLIST KV, replace placeholder id in apps/web/wrangler.jsonc
  • Verify /wallet/checkout → Creem/Stripe hosted checkout → webhook → credit grant, end to end against the live API (test-mode purchase)
  • Deploy menivor.com (npm run cf:deploy) with the new create loop + demo render
  • DoD: a stranger can visit menivor.com, render a reel free with no account, buy credits, render more.

P2 — Mobile core loop + App Store (days, interleaves with P1)

  • Rebuild iOS binary with EXPO_PUBLIC_API_BASE=https://api.menivor.com/api/v1 + WAITLIST_MODE=0 baked at bundle time (local xcodebuild — export env before archive; eas.json values do NOT apply to local builds automatically)
  • RevenueCat entitlement flow verified end-to-end (paywall → purchase → credits/entitlement)
  • Screenshots (ASC record 6809286411 has ZERO) + submit
  • Fill the create→generate→result→library screen gaps FIRST; breadth (AI Labs, marketplace, teams) only after the core loop is complete on mobile
  • DoD: Menivor approved on the App Store with a working reviewer flow and live paywall.

P3 — Reach feature parity on the generator (product, not plumbing)

  • AI voice: wire ElevenLabs (key needed) or an open TTS fallback so users without their own voiceover still get a full reel — competitors don't ask users to record narration
  • AI b-roll/video: LIVE 2026-09-15 — Replicate Wan 2.2 provider (app/domains/broll/providers/replicate_wan.py, BROLL_GEN_PROVIDER=replicate) serving /generation/broll/generate + the menivor.com /create "AI video" tab (t2v + i2v). Caps enforced server-side: 3 credits/render, 2/user/day, 20/day global (~$6/day worst case). Next tiers when demand shows: fal Kling (kling_fal.py, key needed), Runway (key needed), 720p/duration upsells.
  • AI script: Anthropic key (owner) or template-based hooks so "topic → full reel" works
  • Sync packages/api-contract to the real 329 endpoints so every surface can use them
  • CapCut-editing axis as the next differentiator after gen parity: desktop rf-* editor crates + the mobile editor — competitors generate OR edit, none do both well

P4 — Desktop pro surface (after P1-P3)

  • Grow api/client.rs from 2 endpoints to the core set: auth/device, jobs CRUD+poll, uploads presign/register, wallet, publish
  • Editor↔backend sync (render remotely, edit locally)
  • DoD: desktop can run the same create loop as web against the live API.

P5 — Durable infra (owner-gated)

  • Move API off this Mac: Modal + Cloud Run/HF per MENIVOR-CTO-PLAN ($0 fixed) or a VPS
  • REVENUECAT_SECRET_API_KEY into api env (clean-MP4 downloads for Pro)
  • Real provider keys (ANTHROPIC/ELEVENLABS or Replicate already-set token) for AI script/voice beyond the keyless captions path

Competitive position (honest, 2026)

Category: AI short-video / faceless reel generators — Opus Clip, Klap, Submagic (clip long video → shorts), Revid.ai, Crayo, Zebracat (script → faceless reel), CapCut (manual editor with AI assists).

  • Today, live: Menivor renders caption-burned reels from user-provided narration + stock backgrounds in ~12s, free, no signup. That no-signup instant loop is genuinely better onboarding than every competitor (all require accounts, most require cards for trials).
  • But the generator is BELOW parity: competitors deliver topic → script → AI voice → AI b-roll with zero user assets. Menivor's equivalents exist in code but are key-gated off (script LLM, TTS, avatar, AI b-roll). Until P3 lands, Menivor is a captions tool with great UX, not an AI video maker.
  • Not in the category at all yet: long-video repurposing (Opus Clip's core) — no clipping pipeline exists. Don't chase it until the faceless-gen loop is at parity.
  • Where Menivor can be BETTER: price transparency (credits vs opaque subscriptions), the free keyless tier, multi-surface (mobile+web+desktop), and the gateway/marketplace ambitions none of the small competitors have.
  • Verdict: worse than the leaders today; at parity for faceless-gen within P3 (keys + config, little new code); better on onboarding and pricing already.

Standing rules

  • Keyless captions_only+BYOV path stays the always-works fallback — never make a provider key required for the core loop.
  • No emoji as UI glyphs. Complete flows, no stubs. Branch-only commits until owner ships.