benjiyaya/Calliope

Local-first Agentic Idea-to-video Studio Using ComfyUI + FastAPI + SvelteKit

What it solves

Turning a story idea into a finished film normally requires juggling multiple tools: writing scripts, generating character art, producing video clips, and stitching them together. Calliope handles that whole pipeline on your own machine, so you stay in control of your data and media. It removes the need to export prompts, images, and clips between separate apps — everything from the initial storyline to the final exported film lives in one project with a consistent interface.

How it works

Calliope splits the work into four stages: Story, Assets, Script, and Video. You start by typing a story idea; the app drafts a storyline with beats, characters, and locations. Then you generate reference images for each character, location, and item using your own ComfyUI install. Next, you regenerate a full screenplay-faithful script, and the app breaks each scene into shot clips of roughly 5–10 seconds. Each clip gets rendered as a video through ComfyUI, and finally you export the film with ffmpeg — clips are normalized to 1080p, joined with 0.5s crossfades (or hard cuts where a clip continues the previous one via H3 motion context), and loudness-matched.

All projects are stored in SQLite, with media in local folders. The only external service involved is the LLM endpoint you choose (local or hosted). The agent system works through chat: you can talk to an agent that creates projects, drafts stories, writes scripts, and queues renders, all through the same database and render queue as the UI.

Who it’s for

This tool is for people who already run ComfyUI and want to turn story ideas into films without leaving one app. It suits creators who want a local-first, privacy-respecting pipeline and are comfortable configuring ComfyUI workflows and an LLM endpoint. Because it requires a running ComfyUI installation, an OpenAI-compatible LLM endpoint, and ffmpeg, it’s aimed at users with some technical setup experience, not complete beginners.

Highlights

  • Local-first: everything runs on your machine — projects in SQLite, media in folders, only the LLM endpoint is external.
  • Role-tagged ComfyUI workflows: Calliope discovers editable nodes from role tags in node titles, so you can reuse your own workflows without hardcoded node IDs.
  • Instant deterministic prompt compilation for MiniMax H3’s six-section reference format — no LLM wait unless you explicitly regenerate.
  • H3 motion context: clips can continue the previous clip’s motion and sound via saved latents, with automatic stale-clip tracking.
  • Agent chat: a production agent that operates the whole pipeline through tools, with scoped sub-agents and sandboxed file access.
  • Prompt preview before generation: you always see exactly what will be sent to ComfyUI, and can edit it or save drafts.
  • Build Scene: a browser-based shot composer with a Three.js viewport for blocking cinematic shots before generating assets.

Related

  • Project
  • Project
  • Project
  • Project