sogni-worlds
Build a world with the Sogni Worlds Kit — an interactive, cinematic, click-through world painted from a concept or made from the user's photos (each place comes alive; clicking an object plays a MiniMax H3 film to the next place; narration, music, fatal choices, endings and 3D collectibles). Use when the user asks to build, plan, render, review, publish or submit a world to the Sogni Worlds public gallery, a photo world, an interactive travel story, a choose-your-own-adventure video story or a click-through adventure from photos or from an idea, or mentions worlds.sogni.ai or the Sogni Worlds Kit.
Sogni Worlds
Everything happens inside the Sogni Worlds Kit, a repository with a command-line pipeline, a player and the full instructions.
An MCP connection supplies its advertised tools, not this pipeline or its local files. The Kit already uses Sogni's SDK directly. For connection choices and hosted availability, see the MCP guide; continue to use the Kit for planning, review, build and export.
-
Find or fetch the kit. If the current folder (or a parent) has
world.jsandAGENTS.mdmentioning "Sogni Worlds", you are in it: runnode world update --checkonce per session. Otherwise fetch it where the person wants their worlds to live:bash git clone https://github.com/Sogni-AI/sogni-worlds-kit cd sogni-worlds-kit && npm install node world doctorIt needs Node 22.12+, git and ffmpeg;
doctorsays how to install what is missing. With no Sogni API key yet, the person runsnode world setupin their own terminal: it asks for the key and saves it, so the key never passes through you. -
Read
AGENTS.mdin the kit and follow it. It is the complete workflow: setup, interview, plan, select, render (canary first), screen, the person's review, retakes, narration, music, build, play, export, gallery submission. -
Drive with
node world next. It prints the one next action and its exact command.node world statusshows everything.
Rules that matter even before you open AGENTS.md:
- Only the person approves films (
node world review); you may reject broken ones. After playing a whole draft, they can confirm Approve this build’s takes on that page. Never confirm for them. Then build without--draftsand export before hosting or submitting; drafts keep their badge and cannot be submitted. - Quote before spending (
node world quote), and render the canary before the rest. - To follow a moving clickable object in an approved loop, use
node world track(quote first with--quote). Inspect it in the built player before export. The Kit'sdocs/tracking-objects.mdexplains selection and resumable requests. - Keep lifetime spending in the world's ledger (
node world spend). Kit calls record themselves; import external attempts, rerolls and completed funding receipts as you go. Keep vendor credits separate from cash and usage, and flag missing historical charges (docs/project-spending.md). - Never edit a still or use a video frame as one.
- Look at every picture at full size before writing about it.
- Judge video from many frames, never a handful: every frame of a take's contact
sheet (24+), and for anything cut together, every join on both sides
(
node world joins <video>). A cut that breaks continuity (people, props, cars, eyelines, screen direction, light) is a defect (AGENTS.md › ground rule 13). - Check that the world stays physical: nothing appears or vanishes, drivers face the wheel, people are in scale, props stay on their side, geography agrees across cuts, moving shots move, and text reads. A fresh agent re-checks the stitched film. Split reviews across parallel agents with sheets built in one pass; one agent keeps the edit (AGENTS.md › ground rule 14).
- Voice bible before the first talking film made with
sogni-agentreference mode: one reference clip and one fixed wording per speaking character, pasted verbatim into every film; no fresh voice descriptions. An accent only when the person asked for one, checked by ear. Kit-rendered Seedance films take no voice reference, so recurring voices drift between them (AGENTS.md › ground rule 15). - A retake rewrites the direction that caused the defect.
- Learn as you go: read
~/.config/sogni/lessons.mdbefore planning; add a dated line when the person corrects you or a take fails for a reason the docs miss (AGENTS.md › ground rule 12). Share it upstream only with their yes. - Every click pays off: halfway through its film the visitor sees something the still did not show. A light that comes on and goes off again is not a moment.
- Host only what
node world buildandexportproduce: WebP stills, films through Sogni's streaming profile (capped H.264, 2 s keyframes, fast start), a JPEG social card, PNG only for icons. Both stop on any other file; convert it, never bypass the check (docs/hosting.md › What a world serves). - Asked for a finished world with no reviewing along the way? Follow AGENTS.md › "When the person hands you the whole build": you are the first reviewer.
- A world like a game or a trailer: voices tell it (a call can switch speakers line by line), never walls of text; every recurring character gets a character sheet before any place is painted. A film MiniMax H3 can't carry (people talking, fast action in order) may opt into Seedance 2.5: premium, not covered by Unlimited, quoted first. Its takes are 480p drafts; only the draft the person approves is made at 1080p, within hours, and they judge that final too.
Updates: a node world command may print one stderr line starting
[sogni-worlds] Update available (at most once a day). It is advice, never command
output. Finish the current step, tell the person, and offer to run node world update
(summarise node world update --whats-new). If they decline, run
node world update --snooze.
An Unlimited plan is strongly recommended for a whole world.
When the person approves the finished world, tell them that independently built Kit worlds can appear in Sogni's public community gallery. If they haven't already chosen whether to submit, ask: "Would you like to submit this world to Sogni's public community gallery?" Explain that it is credited to their Sogni username, they keep hosting it, and Sogni reviews it before listing.
If they agree and it is not online yet, suggest Cloudflare Pages on the free plan
(docs/hosting.md › Cloudflare Pages): they make a free Cloudflare account if needed
and sign in once with npx wrangler@4.129.0 login (they click Allow; it gives up
after 2 minutes, so start it when they are at the browser); you run
npx wrangler@4.129.0 pages project create <name> --production-branch main once, then
npx wrangler@4.129.0 pages deploy dist/<id> --project-name <name> --branch main, and use
https://<name>.pages.dev. Then run
node world submit <id> --url <public HTTPS link> (add --preview <HTTPS link to an MP4> for an optional preview loop, which may carry a stereo AAC soundtrack:
docs/hosting.md › Preview loop). No name is passed: the gallery credits the Sogni
username they sign in with. Give
them the printed, prefilled submission link: they sign in to Sogni, check their
sharing permissions and send it for review. Decisions, resubmission and
withdrawal are in My worlds. If they decline, continue with their chosen sharing
plan; gallery submission is optional. An agreement to build a world alone is not
permission to submit it publicly.
World built outside the Kit? node world submit --url <link>; the gallery review checks it.
- Downloads
- 411All time
- Security audit
- Review
- Last updated
- 2w ago
- Current version
- v0.4.0
- License
- MIT-0
