pwillia7/sorant
Über uns
Web front end for making video, music and pictures on your own ComfyUI — MiniMax H3, H3 Image, Music 3 and SeedVR2 upscaling. Deploys to Vercel; the GPU stays yours.
Design und MedienGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- Verlauf wird gesammelt
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalSoran’t
A web front end for making video and music on your own ComfyUI. Type a prompt, attach a picture or a clip if you like, and your GPU does the rest. The app runs on Vercel (or your laptop); the models and the rendering stay on your machine.
Website, demos, requirements and tutorials: sorant.dev.
Contents
- What it does
- What you need
- Quick start
- Updating
- When something goes wrong
- Documentation
- How-to videos
- Scripts
- Known limits
- License
What it does
Seven video workflows on MiniMax H3, each producing a clip with a generated soundtrack:
- Text to Video — a clip from a prompt.
- Image to Video — your picture becomes the first frame.
- Reference to Video — puts the people or things in your pictures into a new scene. Also takes a song, a voice or a clip as a reference, or a finished track locked in as the soundtrack.
- Remix — rebuilds a clip you already made as a new take.
- Character swap — puts the person in your picture in place of one person in a clip you have. SAM finds and tracks them — by a description, or a box you draw around them — so everyone and everything else stays, and long clips are made in windows that carry on from each other and follow the same person. A clip with camera cuts is split at them, and you choose who to replace in each shot (a rule, a box, or no one), so nobody is carried across a cut. Any segment of a long swap can be redone, and the whole swap upscaled to 1080 px or 4K once it is joined. It can change the voice too: the speech gets the character's voice, as in Voice swap below.
- Extend — carries a clip on from where it stopped, for clips up to ten minutes.
- Music video — a whole song and one idea: the song is cut into scenes on its beats, each scene is planned and rendered with the song under it, and the scenes are joined. The vocal is found first, so no one mouths words over the instrumental parts. Any scene can be given pictures of its own after the plan, for someone or something that appears only there.
- Multi-scene video — one idea told in several scenes with no song: a short film, a sketch, a story. Each scene keeps its own sound, lines of dialogue are written per scene, and up to two voice recordings keep people sounding the same across scenes. Pictures and voices can be set per scene.
And Text to Image (MiniMax H3 Image, a still from a prompt, up to 16 MP) and Picture character swap (one person in a picture becomes the character in another). Every picture you attach gets two buttons on the same model: Create one, which makes a picture for that slot from a description, and Edit, which changes it by a sentence.
Plus Music (MiniMax Music 3, a song from a description), Upscale (NVIDIA RTX Video Super Resolution: a sharper copy of a finished clip, up to 4K, in seconds, or SeedVR2 if you have the time), and Voice swap: the speech in a clip or a sound file given someone else's voice, copied from a short clip of them, with the words and their timing kept so the lips still match. It finds who talks when, so you choose whose voice changes, and it can repair a phone recording or voice message of the new voice before copying it; the new lines are polished, and the voice clip's pauses are cut, by default. It runs on Seed-VC or Vevo2, or regenerates the sound with MiniMax H3 with the picture in view (at a strength you set), through this project's own Sorant voice node pack.

A few things make it more than a form over a graph:
- Your prompt is rewritten for the model. A language model turns one line into the detailed format MiniMax H3 was trained on. It can run free on your own ComfyUI machine — Qwen 3.8 27B on a 24 GB card, or a faster, uncensored Gemma 4 12B on 16 GB — or on a hosted model of your choice, or you can switch it off.
- Fast by default. Turbo and SageAttention start on, cutting a run to a few minutes on a 24 GB card. Spectrum is there too, off by default.
- Runs queue and keep going. Queue several and walk away: they finish on your machine even if you close the tab or lose your connection, and the history picks them back up once the app can reach ComfyUI again. Every result can be replayed, downloaded, rerun, or handed straight to Remix, Character swap, Extend, Upscale or Voice swap.
It is only a front end: no model weights, no database, nothing expensive.
What you need
| GPU (VRAM) | NVIDIA. 12 GB minimum, 24 GB recommended. 24 GB runs everything at full size (tested, RTX 3090); 12 and 16 GB cards work with smaller frames, shorter clips and longer runs. Details. |
| System RAM | 16 GB minimum, 64 GB recommended. Model weights that do not fit on the card wait in RAM, so the less VRAM you have, the more this matters; with less RAM they spill to disk and runs get much slower. |
| Disk | 43 GB for Text to Video alone; 115.2 GB for every workflow; 310.6 GB with every optional extra. See below. |
| ComfyUI | 0.45 or newer — tested on 0.46 — plus eight custom node packs. |
| OS | Windows or Linux for ComfyUI. Built and tested on Windows, which needs one registry fix; others have set it up on Linux. macOS and AMD cards are untested and unlikely to manage the models. |
| For the app | Node 20.9+ and pnpm. A free Vercel account to deploy it. To reach your ComfyUI from Vercel, a free DuckDNS name and a router you can forward a port on (Tailscale Funnel works without the router, but is too slow for long videos). An AI Gateway key is optional: the prompt rewrite can run on your own machine instead. |
Disk space by what you want to run — download only what you will use:
| To run | Disk |
|---|---|
| Text to Video, Image to Video, Extend | 43 GB |
| + Text to Image, Edit and Create one on pictures, Picture character swap | +22.3 GB |
| + Reference to Video, Remix and Music video (pictures, songs, voices and clips as references) | +21 GB |
| + Music | +14 GB |
| + Character swap (after Reference to Video) | +3.9 GB |
| + Upscale (needs an NVIDIA RTX card) | +0.1 GB |
| + Voice swap, and the new voice on Character swap (downloaded on first use) | +10.5 GB |
| Every workflow | 115.2 GB |
| Optional extras (local prompt rewriting, the VHS tape look, SeedVR2 for Upscale) | +195.4 GB |
| Everything, extras included | 310.6 GB |
Each file and where it comes from is listed in the setup guide.
Quick start
There are two ways in. Use a coding agent if you can: most of the setup is installing node packs and downloading models on the ComfyUI machine, and an agent does that for you and checks each step as it goes.
Set it up with a coding agent (recommended)
On your ComfyUI machine — the computer with the GPU, not your laptop — clone the repo:
git clone https://github.com/pwillia7/sorant.git cd sorantOpen your coding agent in that folder and paste this (in Claude Code,
/setupdoes the same):Set up this project on this machine by following docs/agent-setup.md from start to finish. This is my ComfyUI machine: install the custom node packs, download the models for the workflows I choose, apply any fixes this OS needs, lock ComfyUI with a password, verify a generation, and then help me deploy the app to Vercel. Run the test generation yourself and fix what fails. Keep the runbook's progress checklist updated as you go, and ask me before anything outward-facing or system-wide. Keep a list of anything that went wrong, and at the end offer to file it as a setup report on the project's GitHub.Answer its questions. It asks which workflows you want and whether you are deploying, then installs the node packs, downloads the models, applies the Windows GPU fixes, runs a test generation and fixes what fails, makes ComfyUI reachable and deploys. You only step in for what has to be yours: choosing the ComfyUI password, signing in to Vercel and DuckDNS (and Hugging Face, for the Edit button), forwarding a port on your router, and choosing where prompts are rewritten: on your own machine with no account (it recommends a model for your graphics card), or with an AI Gateway key. At the end it offers to send a setup report to the project if anything went wrong; that's up to you.
It works from docs/agent-setup.md, a runbook written
for agents, and most agents find it on their own:
| Agent | How it finds the runbook |
|---|---|
| Claude Code | /setup, or through CLAUDE.md |
| Cursor, VS Code / Copilot | the setup skill, or AGENTS.md |
| Codex, Jules, Zed, Amp… | AGENTS.md |
| Anything else | tell it to follow docs/agent-setup.md |
Set it up by hand
Prefer to do it yourself? Follow the setup guide, in order — most failed setups skipped a step. In short:
Get ComfyUI ready — seven node packs, the model files you want (
pnpm install, thenpnpm models:download), a password, and a choice of where prompts are rewritten: on that machine, or with an AI Gateway key.Make ComfyUI reachable — only if you are deploying. A DuckDNS name with Caddy for HTTPS; Tailscale Funnel if you cannot forward a port.
-
pnpm install cp .env.example .env.local # set COMFY_URL, COMFY_API_TOKEN, APP_ACCESS_TOKEN pnpm check:nodes # asks your ComfyUI what is missing pnpm dev # http://localhost:3000 Deploy to Vercel, once one local generation has worked.
Updating
The app checks for a new release each time you open it. When there is one, an Update badge appears in the header and the status pill gets a blue dot; click either for step-by-step instructions. Updating means redeploying your copy of the app, and sometimes updating your ComfyUI machine first.
With a coding agent (easiest). Open Claude Code, Codex, Cursor or another
coding agent in the folder you cloned Soran’t into, and paste this (in Claude
Code, /update does the same):
Update Soran't to the latest release by following the "Updating an existing
install" section of docs/agent-setup.md. Work out first whether it needs
changes on my ComfyUI machine, and ask me before restarting ComfyUI or
deploying.
Most releases change only the app, and those can be deployed from any machine
with a clone. Some also need something on the ComfyUI machine, such as a new
node pack, a pack update or a model file. Run those on the ComfyUI machine. The
agent tells the two apart from machine-requirements.json and won't deploy the
app before your ComfyUI machine has what the new version needs. The notice says
which kind an update is, and the workflow cards say if your ComfyUI is missing
anything.
By hand:
- In your Soran’t folder:
git pull, thenpnpm install. - If the release notes list ComfyUI machine changes, make them on that
machine: update ComfyUI, install or update the node packs they name, and
pnpm models:downloadfor new models. Restart ComfyUI, then runpnpm check:nodesuntil it reports nothing missing. - Deploy. If Vercel builds from your GitHub fork, press Sync fork on the
fork's GitHub page and Vercel deploys it. Otherwise run
vercel deploy --prodin the folder. - Reload the app. The notice goes away once the new version is live.
When something goes wrong
Run pnpm check:nodes first — it names every missing pack, model file and key.
The usual suspects:
| Symptom | Likely cause |
|---|---|
| Pill reads Offline | Wrong COMFY_URL, or ComfyUI is not running |
| Pill reads Auth failed | COMFY_API_TOKEN — usually the $ escaping |
| Works locally, fails deployed | COMFY_URL still points at localhost |
| Fails at the rewrite step | No key on the ComfyUI machine, or the model refused — pick another |
| The Windows machine restarts mid-run | The GPU timeout |
| Runs get slower over a day | ComfyUI's memory grows; Restart ComfyUI in the status panel, or restart it nightly |
The full troubleshooting table has the rest.
Documentation
| Guide | Read it when |
|---|---|
| Setup guide | you are installing it |
| The workflows | you want to know what a workflow does with your inputs |
| The prompt rewrite | a run is refused, or you are choosing a rewrite model |
| Turbo, SageAttention, Spectrum and the style switches | a switch does something unexpected |
| Working on Soran’t | you are changing the code or adding a workflow |
| Agent runbook | you are an agent setting this up |
How-to videos
One short walkthrough per workflow, about 11 minutes in all. Watch them as a YouTube playlist, or on sorant.dev/tutorials with each one's steps written out.
Make something new
| Video | Shows |
|---|---|
![]() |
Text to Video (0:46): one line becomes a clip with its soundtrack; pick the shape and length |
![]() |
Image to Video (0:48): your picture as the first frame, edited with a sentence first if you like |
![]() |
Reference to Video (1:05): up to four pictures become the cast of a new scene; keep the whole look, the face, the costume or only the style |
![]() |
Text to Image (0:46): stills on H3 Image from a sentence, then changed with the Edit button |
![]() |
Music (0:54): a song from a description, with your lyrics or lyrics written for you |
Work on a clip or picture
| Video | Shows |
|---|---|
![]() |
Character swap (0:45): someone from a picture in place of someone in a clip, with a new voice if you like |
![]() |
Voice swap (0:52): find who talks when, then give one of them a new voice from a short recording |
![]() |
Picture character swap (0:36): the same for a photo, in under a minute |
![]() |
Remix (1:02): a new take on a clip: say only what changes, and everything else is kept |
![]() |
Extend (0:44): carry a clip on from its last frame: same people, light and voices |
![]() |
Upscale (0:40): a finished clip larger and sharper with RTX Video or SeedVR2, optionally at 48 fps |
Long videos, scene by scene
| Video | Shows |
|---|---|
![]() |
Music video (1:06): a song, its lyrics and a picture of the singer become a planned, rendered and joined music video |
![]() |
Multi-scene video (0:57): a paragraph becomes a short film: the director plans the scenes, each renders with its own sound, then join |
Scripts
| Command | |
|---|---|
pnpm dev |
Dev server |
pnpm build |
Production build (runs sync:models first) |
pnpm typecheck |
tsc --noEmit |
pnpm models:download |
Download the model files for the workflows you choose into a ComfyUI install. Run with --comfy <folder> to see sizes first. |
pnpm check:nodes |
Ask your ComfyUI for every pack, model and key the app needs. Needs COMFY_URL. |
pnpm check:workflows |
Check every workflow definition against its own graph. Needs nothing but this repo. |
pnpm sync:models |
Rebuild the rewrite-model list from the AI Gateway's live catalog. |
pnpm smoke |
Run one short Text to Video through the app and wait for it — the end-to-end check that a setup works. --director local for the on-machine rewrite (--local-model to pick which), --url for a deployment. |
pnpm requirements:write |
Rewrite machine-requirements.json, what this version needs from the ComfyUI machine. Run after changing a workflow. |
Known limits
- Progress is an estimate. ComfyUI reports step progress only over a WebSocket, which a Vercel function cannot proxy, so the bar is timed against what past runs took.
- History is per device. It lives in the browser, so it does not follow you from desktop to phone.
- A song's length is a ceiling, not a setting. The model decides where it ends. See Music.
- Voice swap changes one voice per run. For a second speaker, run it again on the result. Finding who talks when is a starting point to correct: two people talking at once get one label, and shouting can split one voice in two. How well a line comes out depends mostly on the line: short, shouted or overlapping ones are the roughest, and running it again changes little. MiniMax H3 as the voice model is the exception for shouting and crosstalk, but it is slower (about 75 s per 13 s of clip) and can still get the words of a very short line wrong. See Voice swap.
More detail in Working on Soran’t.
License
The code in this repository is MIT — see LICENSE. That covers the app only. It contains no model weights, and the MIT licence grants nothing for the models it drives: each comes under its own terms, which you accept when you download and run it.
Read the MiniMax licences before you use this. MiniMax H3 and MiniMax H3 Image are under MiniMax's community licences (H3, H3 Image), and they are not open-source licences:
- Where. Both exclude the United States, the European Union, the United Kingdom and South Korea. They do not license using the models, or their outputs, there; MiniMax asks people in those places to contact them for a licence.
- Sharing your deployment. Letting anyone but yourself generate with your install makes you responsible for binding them to MiniMax's use restrictions, running safeguards against misuse, and giving them a way to report it. H3 Image also needs MiniMax's prior written permission for any hosted service for other people.
- Commercial use. Both ask commercial products to name the model in the UI, and need written permission above a revenue threshold.
- Outputs. MiniMax claims no rights in what you make, but the acceptable-use policy applies to it, including labelling machine-generated content you post publicly.
MiniMax Music 3 has its own, more permissive community licence (LICENSE).
Voice swap. The Sorant voice
node pack is GPL-3.0, because it includes Seed-VC's code. Vevo2's weights are
CC BY-NC-ND 4.0: non-commercial use
only — choose Seed-VC (the default) for anything commercial. Choosing MiniMax
H3 as the voice model puts the result under the MiniMax H3 licence above. The separator,
the speaker finder and the clean-up models are MIT or Apache-2.0. Copying a real
person's voice can break laws on impersonation, fraud and likeness wherever
you or the person are: get their consent, and label what you make.
SeedVR2, the LoRAs, the local rewrite models and the custom node packs each
carry their own; the download sources are listed in
scripts/lib/model-sources.ts. Nothing here is
legal advice. If any of this matters to how you use the app, read the licences
themselves.
If this saved you an afternoon, you can buy me a coffee. ☕
Ähnliche Projekte entdecken
Wird geladen…













