videogen/doc.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

108 lines
16 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- Templates engine (26 files): pure compile_template → RenderSpec → existing FFmpeg compose, 8 seeded genres (Minecraft-split, ASMR-loop, brainrot, anime-edit, movie-recap, fake-podcast, gameplay-story, hook-open).
- Publishing: native TikTok / Instagram / YouTube connectors, Celery-beat scheduler (process_due_publishes, backoff, daily-cap, anti-cannibalization), 1-body/N-hooks A/B with retention-weighted winner.
- Routing: ~11 real cloud adapters (Kling, Luma, MiniMax/Hailuo, Runway Gen-4, Veo, Wan-Replicate, Suno, HeyGen, SadTalker, ElevenLabs) + license-class/sunset policy + cost-cap routing.
- Camera/VFX: compose/vfx.py has ~10 camera moves + 6 VFX — but FFmpeg-filter fakes (zoompan/rotate/crop), not model-native motion.
- Characters, film orchestrator, storyboard, trends scoring, series fan-out, clipmarket, gateway all exist as thin routers+services.
- Web has 16 feature surfaces; desktop has ~30 Rust crates scaffolded.
So "what's left" is not the roadmap — it's the specific depth gaps that separate this from Higgsfield + a real clip farm. Here's that gap, ranked.
---
Gap matrix (Higgsfield parity)
┌──────────────────┬──────────────────────┬─────────────────────────┬────────────────────────────────────────────────────────────────────────────────┐
│ Capability │ Higgsfield does │ You have │ What's left │
├──────────────────┼──────────────────────┼─────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
│ │ 50+ model-native │ │ The #1 gap. Wire external/VideoX-Fun wan_camera_adapter + ComfyUI │
│ Motion/camera │ cinematic camera │ 16 FFmpeg-filter fakes │ nodes_camera_trajectory as a routed provider; build a real 50-preset motion │
│ presets ⭐ │ moves on i2v │ │ catalog (crash-zoom, bullet-time, robo-arm, 360-orbit, FPV, dolly, crane, │
│ │ │ │ snorricam…) that drives model camera control, not just zoompan. │
├──────────────────┼──────────────────────┼─────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
│ │ 100s of curated │ Generic image.py │ │
│ Soul / photoreal │ style presets on a │ adapter + catalog │ Curated style-preset library (aesthetic packs) + a Flux/SDXL photoreal image │
│ presets │ photoreal image │ presets │ adapter with preset→prompt/LoRA binding. │
│ │ model │ │ │
├──────────────────┼──────────────────────┼─────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
│ Effects / VFX │ Named AI effects │ 6 FFmpeg VFX + 8 │ Wire model-native effect templates (Wan-Fun control / ComfyUI graphs) as │
│ templates │ (explosion, melt, │ external effect ComfyUI │ first-class one-tap presets. │
│ │ crush, eye-pop) │ graphs unwired │ │
├──────────────────┼──────────────────────┼─────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
│ Speak / talking │ Expressive talking │ HeyGen + SadTalker │ Add open lipsync (MuseTalk/LatentSync/InfiniteTalk) workers for $0-wallet │
│ avatars │ character + lipsync │ adapters │ path; expressive motion binding. │
├──────────────────┼──────────────────────┼─────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
│ Character │ Identity lock across │ Prompt-seed only │ Real identity lock: reference-image IP-Adapter + optional Wan-2.2 LoRA │
│ consistency │ shots │ (consistency.py, 332 │ training pipeline. │
│ (Soul-ID) │ │ LOC) │ │
├──────────────────┼──────────────────────┼─────────────────────────┼────────────────────────────────────────────────────────────────────────────────┤
│ Model breadth │ Their own model │ 11 adapters │ Add Seedance, LTX, CogVideoX, Flux, (Sora sunset-meta), Chatterbox/Kokoro TTS │
│ │ │ │ — the remaining ~half of the "22." │
└──────────────────┴──────────────────────┴─────────────────────────┴────────────────────────────────────────────────────────────────────────────────┘
Gap matrix (clip-farm automation — the part beyond Higgsfield)
┌──────────────────┬────────────────────────────────┬────────────────────────────────────┬───────────────────────────────────────────────────────────┐
│ Capability │ Target │ You have │ What's left │
├──────────────────┼────────────────────────────────┼────────────────────────────────────┼───────────────────────────────────────────────────────────┤
│ Reddit stories │ Auto Reddit-thread → TTS → │ Template format exists; no │ Build Reddit ingestor (thread fetch → script → TTS → │
│ ⭐ │ gameplay-split → captioned │ ingestion — external/story-bots is │ minecraft-split template → publish). Highest-ROI │
│ │ Short │ empty │ clip-farm wedge. │
├──────────────────┼────────────────────────────────┼────────────────────────────────────┼───────────────────────────────────────────────────────────┤
│ Unattended batch │ CSV/Sheet/RSS → fan-out → │ series/fanout.py planner + │ Wire fan-out → job DAG → scheduler as an actual │
│ (150/mo) │ schedule → post, hands-off │ scheduler exist │ unattended loop with dedupe/pacing; a "channel mode" │
│ │ │ │ runner. │
├──────────────────┼────────────────────────────────┼────────────────────────────────────┼───────────────────────────────────────────────────────────┤
│ Trend-native │ Pull trending sounds/hashtags, │ Trend scoring exists; no ingestion │ TikTok/YT trending ingestors feeding the scorer; "create │
│ sourcing │ create-from-trend │ │ from trend" action. │
├──────────────────┼────────────────────────────────┼────────────────────────────────────┼───────────────────────────────────────────────────────────┤
│ Retention closed │ Publish → pull retention → │ A/B + winner-select math exists; │ yt-dlp/TikTok/YT analytics ingestion → feed │
│ loop │ regenerate losing hook │ no analytics pull │ RetentionIngested → regenerate event. │
├──────────────────┼────────────────────────────────┼────────────────────────────────────┼───────────────────────────────────────────────────────────┤
│ CapCut-style │ Auto-captions + beat-cut + │ Web editor + captions/loops │ Beat-cut + auto-caption-styling pipeline (mostly │
│ auto-edit │ effects, CapCut export │ services │ present); optional CapCut draft JSON export if you want │
│ │ │ │ their editor as a finishing step. │
├──────────────────┼────────────────────────────────┼────────────────────────────────────┼───────────────────────────────────────────────────────────┤
│ OAuth token │ Multi-account connect + │ Connectors exist │ Verify token store/refresh + multi-account per platform │
│ lifecycle │ refresh at scale │ │ (clip farms run 10s of accounts). │
└──────────────────┴────────────────────────────────┴────────────────────────────────────┴───────────────────────────────────────────────────────────┘
---
The "what's left" build sequence
I'd collapse the remaining work into 5 shippable waves, ordered by ROI and dependency:
Wave 1 — Higgsfield's signature (motion + effects), ~1–2 wk
1. domains/motion — 50-preset camera catalog + preset→camera-control compiler.
2. Wire VideoX-Fun Wan-camera + ComfyUI camera-trajectory as a routed async provider (worker image + registry entry).
3. Promote the 8 unwired effect graphs to one-tap effect templates.
Wave 2 — Reddit stories + unattended farm, ~1–2 wk (the clip-farm wedge)
4. Reddit ingestor → script → TTS → minecraft-split → publish (fully automated).
5. Turn series/fanout + scheduler into a real channel-mode unattended runner (dedupe, pacing, multi-account).
Wave 3 — Close the retention loop, ~1 wk
6. yt-dlp/TikTok/YT analytics ingestion → RetentionIngested → auto-regenerate losing hook.
7. Trend ingestors feeding the existing scorer + "create-from-trend."
Wave 4 — Consistency + Speak depth, ~1–2 wk
8. Real character identity lock (IP-Adapter + optional Wan-2.2 LoRA).
9. Open lipsync workers (MuseTalk/LatentSync) for talking avatars.
Wave 5 — Breadth + polish
10. Remaining provider adapters (Seedance, LTX, CogVideoX, Flux, Chatterbox/Kokoro).
11. Curated Soul-style preset packs; optional CapCut draft export.
Everything is additive to seams that already exist (templates compiler, routing registry, event bus, scheduler) — no rebuilds.
---
Two decisions shape what I build first. Let me confirm:
⏺ User answered Claude's questions:
· Which wave should I start building now? → do all --. Motion/camera presets (Higgsfield signature)
domains/motion + wire VideoX-Fun Wan-camera as a routed provider + 50-preset catalog. The single biggest visible parity gap.
2. Reddit-stories + unattended farm
The clip-farm wedge: Reddit thread → TTS → minecraft-split → auto-publish, plus channel-mode batch runner. Fastest revenue path.
3. Retention closed loop
Wire analytics ingestion → auto-regenerate losing hook. Makes the flywheel real.
4. Just the plan for now
Don't build yet — I'll write this into a phased task list / docs and you review first.--
· How should I execute the build? → Multi-agent workflow (parallel, TDD)