[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116489":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":35,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":15,"starSnapshotCount":15,"syncStatus":39,"lastSyncTime":40,"discoverSource":41},116489,"lemo-animi","lemomo-ai\u002Flemo-animi","lemomo-ai","Stop-motion shorts from one line, made with Codex: eight material styles, puppets drawn by an image model and moved frame by frame in code. 一句话，用 Codex 做一支定格动画短片。","https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002F",null,"Python",220,24,61,0,10,83,56,92.44,"Other",false,"main",true,[25,26,27,28,29,30,31,32,33,34],"agent-skill","animation","claude-code","claude-code-plugin","claymation","codex","codex-plugin","image-generation","short-film","stop-motion","2026-11-23 04:53:46","2026-11-23 20:03:56","\u003Cdiv align=\"center\">\n\n\u003Ca href=\"https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002F\">\u003Cimg src=\"docs\u002Freadme\u002Fcast.webp\" width=\"100%\" alt=\"The eight leads of the sample films, in clay, paper, tin, felt, cardboard, wood, crochet and fabric, turning round one after another\">\u003C\u002Fa>\n\n# lemo-animi\n\n**Stop-motion shorts from one line, made with Codex.** Claude Code with an image model works too.\n\n**一句话，用 Codex 做一支定格动画短片。** Claude Code 配一个生图模型也能做。\n\n[**Open the gallery**](https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002F) · [Styles and films](#eight-styles-eight-sample-films) · [Install](#install) · [SKILL.md](plugin\u002Fskills\u002Flemo-animi\u002FSKILL.md) · [简体中文](README.zh-CN.md)\n\n⭐ If you like lemo-animi, a star on GitHub helps others find it.\n\n🚧 This first release is still in development, so expect rough edges. If something goes wrong, please [open an issue](https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-animi\u002Fissues). Thanks for your patience.\n\n\u003C\u002Fdiv>\n\nTell Codex a story in one sentence. lemo-animi writes the story and the shot list, draws the puppets, sets and action sheets in one of eight materials with Codex's built-in image generation, cuts them out and moves them in code, frame by frame. It scores the film from real instrument samples, adds foley and opens a review page where you leave notes until you approve. No video generation: images make it look right, code makes it move. Claude Code works too, with Codex or another image model drawing the pictures.\n\n用一句话把故事告诉 Codex。lemo-animi 自己写故事和镜头表，用 Codex 自带的生图按八种材质之一画出角色、布景和动作表，抠好以后在代码里一格一格地让它们动起来；再用真实乐器采样配乐、加拟音，最后打开审片台，你写意见、它改，直到你点通过。不用视频生成：生图负责「像」，代码负责「动」。Claude Code 也能用，图交给本机的 Codex 或别的生图模型来画。中文说明见 [简体中文 README](README.zh-CN.md) · [中文画廊](https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002Fzh\u002F)。\n\n> **You say:** Make a 40-second clay stop-motion about a penguin learning to flip pancakes.\n\n## Eight styles, eight sample films\n\nEach style is a fixed package (`plugin\u002Fskills\u002Flemo-animi\u002Fstyles\u002F\u003Cid>\u002F`): prompt templates, lighting, camera grammar, score and foley. Name one in English, in Chinese or by its id. Every sample film was made by the skill on its own from one sentence, with Chinese narration and subtitles. A card opens the film in the gallery; a title under the cards downloads the full film.\n\n\u003C!-- styles:start (generated by docs\u002Fbuild.py from styles\u002F*\u002Fstyle.json and docs\u002Fcontent.json) -->\n\u003Ca href=\"https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002F#clay\">\u003Cimg src=\"docs\u002Freadme\u002Fcards\u002Fclay-en.webp\" width=\"25%\" align=\"top\" alt=\"01 · Clay Stop-motion: Oil-clay characters and sets with big squash-and-stretch faces; the funniest of the lot. Sample film: Bobo&#x27;s Pancake, 0:53. Opens it in the gallery.\">\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002F#papercraft\">\u003Cimg src=\"docs\u002Freadme\u002Fcards\u002Fpapercraft-en.webp\" width=\"25%\" align=\"top\" alt=\"02 · Papercraft Stop-motion: Cut, scored and folded card in layered lightbox scenes, backlit and glowing, quiet and dreamy. Sample film: The Swimming Lighthouse, 0:57. Opens it in the gallery.\">\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002F#tin\">\u003Cimg src=\"docs\u002Freadme\u002Fcards\u002Ftin-en.webp\" width=\"25%\" align=\"top\" alt=\"03 · Tin Toy Stop-motion: Printed tin wind-up toys from another age, moving in little jerks: wound up they live, run down they stop. Sample film: Dudu&#x27;s Wind-up Key, 0:55. Opens it in the gallery.\">\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002F#felt\">\u003Cimg src=\"docs\u002Freadme\u002Fcards\u002Ffelt-en.webp\" width=\"25%\" align=\"top\" alt=\"04 · Needle-felt Stop-motion: Needle-felted animals in the snow: fuzzy, quiet and warm, one warm lamp in a cold blue night. Sample film: A Lamp on a Snowy Night, 0:57. Opens it in the gallery.\">\u003C\u002Fa>\n\n\u003Csub>▶ Full films: \u003Ccode>clay\u003C\u002Fcode> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-animi\u002Freleases\u002Fdownload\u002Ffilms\u002Fbobo-pancake.mp4\">Bobo&#x27;s Pancake\u003C\u002Fa> · \u003Ccode>papercraft\u003C\u002Fcode> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-animi\u002Freleases\u002Fdownload\u002Ffilms\u002Flantern-whale.mp4\">The Swimming Lighthouse\u003C\u002Fa> · \u003Ccode>tin\u003C\u002Fcode> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-animi\u002Freleases\u002Fdownload\u002Ffilms\u002Fdudu-windup.mp4\">Dudu&#x27;s Wind-up Key\u003C\u002Fa> · \u003Ccode>felt\u003C\u002Fcode> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-animi\u002Freleases\u002Fdownload\u002Ffilms\u002Flantern-snow.mp4\">A Lamp on a Snowy Night\u003C\u002Fa>\u003C\u002Fsub>\n\n\u003Ca href=\"https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002F#cardboard\">\u003Cimg src=\"docs\u002Freadme\u002Fcards\u002Fcardboard-en.webp\" width=\"25%\" align=\"top\" alt=\"05 · Cardboard Stop-motion: A kid&#x27;s imagined world built from shipping boxes, tape and markers, a little crooked and played completely straight. Sample film: Cardboard Moon Landing, 0:58. Opens it in the gallery.\">\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002F#wood\">\u003Cimg src=\"docs\u002Freadme\u002Fcards\u002Fwood-en.webp\" width=\"25%\" align=\"top\" alt=\"06 · Wooden Puppet Stop-motion: Varnished, jointed wooden puppets coming to life one joint at a time under an oil lamp late at night. Sample film: Under the Lamp, 0:55. Opens it in the gallery.\">\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002F#crochet\">\u003Cimg src=\"docs\u002Freadme\u002Fcards\u002Fcrochet-en.webp\" width=\"25%\" align=\"top\" alt=\"07 · Crochet Stop-motion: Yarn dolls and a whole small world hooked stitch by stitch: candy colours, busy, everything gently moving. Sample film: Puff Up, Pupu!, 0:58. Opens it in the gallery.\">\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002F#fabric\">\u003Cimg src=\"docs\u002Freadme\u002Fcards\u002Ffabric-en.webp\" width=\"25%\" align=\"top\" alt=\"08 · Patchwork Fabric Stop-motion: Rag dolls and countryside sewn from floral cloth, buttons and stitches; a walk in warm sun, soft and homely. Sample film: Dou Takes the Shortcut, 0:58. Opens it in the gallery.\">\u003C\u002Fa>\n\n\u003Csub>▶ Full films: \u003Ccode>cardboard\u003C\u002Fcode> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-animi\u002Freleases\u002Fdownload\u002Ffilms\u002Fbox-moon.mp4\">Cardboard Moon Landing\u003C\u002Fa> · \u003Ccode>wood\u003C\u002Fcode> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-animi\u002Freleases\u002Fdownload\u002Ffilms\u002Flamp-bear.mp4\">Under the Lamp\u003C\u002Fa> · \u003Ccode>crochet\u003C\u002Fcode> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-animi\u002Freleases\u002Fdownload\u002Ffilms\u002Fpupu-puff.mp4\">Puff Up, Pupu!\u003C\u002Fa> · \u003Ccode>fabric\u003C\u002Fcode> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-animi\u002Freleases\u002Fdownload\u002Ffilms\u002Fdou-shortcut.mp4\">Dou Takes the Shortcut\u003C\u002Fa>\u003C\u002Fsub>\n\u003C!-- styles:end -->\n\n## How it works\n\n\u003Cimg src=\"docs\u002Freadme\u002Fprocess.webp\" width=\"100%\" alt=\"Character sheet, action sheet, empty background, and the frame in the film\">\n\n\u003Csub>Character sheet → action sheet → empty background → the frame in the film. The image model draws the sheets; code cuts them into cells and moves them.\u003C\u002Fsub>\n\n1. **It asks everything at once.** Whatever your sentence left out (style, story, length, size, narration, title cards), in one set of questions, defaults first. Then it works through to the end.\n2. **It plans.** A story skeleton with seconds per part (setup, three tries, a low point, the turn), beats, a shot list and an image list.\n3. **It generates the pictures.** Character sheets, backgrounds, 8-cell action sheets and 2×2 close-up sheets on transparent backgrounds, all in one material's look.\n4. **It animates in code.** The sheets are cut into cells and timed on twos (or threes), with camera moves, contact shadows, light and grade. Nothing is drawn by a video model.\n5. **It adds sound.** An original score from real instrument samples, foley on every contact, and optional narration and subtitles.\n6. **You review.** A local review page: pause on any moment and write a note; it fixes every note and shows you the next version until you approve. See [Review and revise](#review-and-revise).\n\n| Film length | Shots | Generated images |\n|---|---|---|\n| 20 s | 2–4 | ~10–14 |\n| 40 s (default) | 5–8 | ~20–26 |\n| 60 s | 6–12 | ~30–38 |\n| 2 min | 12–22 | ~55–68 |\n\n## Install\n\n**You need** macOS or Linux, `ffmpeg` (macOS: `brew install ffmpeg`), and Python 3.11–3.13 or [uv](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F).\n\n### Codex\n\n```sh\ncodex plugin marketplace add lemomo-ai\u002Flemo-animi\ncodex plugin add lemo-animi@lemomo-ai\n```\n\nStart a new chat. Images come from Codex's built-in image generation.\n\n### Claude Code (also works)\n\nType this in the chat, then `\u002Freload-plugins` (or start a new session):\n\n```text\n\u002Fplugin install lemo-animi --marketplace lemomo-ai\u002Flemo-animi\n```\n\n**Make films in auto mode.** A film runs a few hundred commands, and in the default mode Claude Code asks before each one. Press Shift+Tab until the footer shows auto mode, or start with `claude --permission-mode auto`. Skipping permissions altogether isn't needed.\n\nClaude writes and runs the code, but it can't draw. The pictures come from one of these:\n\n- **Codex on the same machine (default).** `npm i -g @openai\u002Fcodex`, then `codex login` with an account that can generate images. lemo-animi calls it for every picture (through zsh, which macOS has; on Linux install it).\n- **Your own image tool (experimental).**\n  1. Copy `scripts\u002Fimage_adapter.example.sh` from the skill folder (`~\u002F.claude\u002Fplugins\u002Fcache\u002Flemomo-ai\u002Flemo-animi\u002F\u003Cversion>\u002Fskills\u002Flemo-animi\u002F`) to `~\u002Flemo-animi-env\u002Fimage.sh`.\n  2. Adapt it to your tool. Keep keys in your environment, not in the file.\n  3. Test it with `sh \u003Cskill folder>\u002Fscripts\u002Fsetup.sh image`.\n\n  Some things to know before you choose this:\n  - Every sample film was made with Codex's image generation; other models haven't been tuned to the styles.\n  - A tool that can't return a transparent background needs the optional cut-out model (`setup.sh model`, 0.97 GB), and the edges come out worse.\n  - lemo-animi never edits the adapter or switches tools by itself. Delete `image.sh` to go back to Codex.\n\n### First film\n\nThe first film needs a network connection and about 1.7 GB: a Python environment (about 300 MB) and the instrument samples for the score (about 1.4 GB, resumable), both in `~\u002Flemo-animi-env`. It's required, so it isn't a question: the agent installs it first, before asking anything, and starts asking only once everything checks out. If the download fails, it shows you why and waits.\n\n- Nothing already installed is installed again: a system Python 3.11–3.13 is used to build the environment (no extra Python); a system Python that already has every dependency is used as is, with nothing installed; instrument libraries already downloaded are skipped; a cut-out model already in `~\u002F.rembg` is used.\n- Codex and Claude Code on the same machine share `~\u002Flemo-animi-env`: whichever installs it first, the other doesn't download again.\n- The optional cut-out model (0.97 GB) is downloaded only if an asset can't be generated with a clean transparent edge.\n- `LEMO_ANIMI_HOME` moves the environment; `LEMO_ANIMI_PYTHON` picks the Python used to build it.\n\n### Update and remove\n\n| | Codex | Claude Code |\n|---|---|---|\n| Update | `codex plugin marketplace upgrade lemomo-ai` | `claude plugin marketplace update lemomo-ai`\u003Cbr>`claude plugin update lemo-animi@lemomo-ai` |\n| Remove | `codex plugin remove lemo-animi@lemomo-ai` | `claude plugin uninstall lemo-animi@lemomo-ai` |\n\nFilms you made earlier keep working after an update. The environment in `~\u002Flemo-animi-env` stays when you remove the plugin; delete the folder to free the space.\n\n### Without the plugin system\n\nClone the repo and link the skill folder into your agent's skills folder:\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-animi.git ~\u002Flemo-animi\nmkdir -p ~\u002F.agents\u002Fskills && ln -s ~\u002Flemo-animi\u002Fplugin\u002Fskills\u002Flemo-animi ~\u002F.agents\u002Fskills\u002Flemo-animi   # Codex\nmkdir -p ~\u002F.claude\u002Fskills && ln -s ~\u002Flemo-animi\u002Fplugin\u002Fskills\u002Flemo-animi ~\u002F.claude\u002Fskills\u002Flemo-animi   # Claude Code\n```\n\nUpdate with `git -C ~\u002Flemo-animi pull`.\n\n## Use\n\nAsk Codex (or Claude Code) in one sentence:\n\n```text\nMake a 40-second clay stop-motion about a penguin learning to flip pancakes.\n```\n\nThe short form works too: `make with lemo-animi: \u003Cstory>, \u003Cstyle>, \u003Clength>, \u003Csize>`. To call it by name, type `$` in Codex or `\u002F` in Claude Code and pick lemo-animi.\n\nWhat happens next:\n\n1. **First time only: it sets up the environment** (see [First film](#first-film)). Nothing is decided yet.\n2. **It asks everything at once.** Each thing you didn't say is its own question, all in one panel, and it waits until you have answered: style (every style listed with a one-line description), the story you want to tell (if you gave none; it never suggests one), length (40 s by default, 20 s to 2 min), size (landscape \u002F portrait \u002F square), narration, title and end cards, a preview of the characters first, anything else. Codex shows them in one question panel you page through (a numbered list in `codex exec`); Claude Code in pop-ups of up to four. If you skip some, it asks again for just those. If it can't tell your language, it asks that first. Until you have answered everything, it picks no story, title or style and starts nothing.\n3. **It makes the film without stopping**: director's plan, images, animation, sound, then its own review and fixes. You see only short progress notes. If you asked for a preview, it stops once to show the characters and main backgrounds.\n4. **It opens the review page.** Leave notes and send them, or approve ([Review and revise](#review-and-revise)).\n5. **It delivers**: the film and its files, plus a short report (what it made, the images it generated, the checks, what it isn't happy with, where the files are).\n\nIt talks to you in whatever language you write in. Narration, subtitles and title cards are in English or Chinese (English unless you write in Chinese or ask for it), and so is the review page.\n\n**Model.** In Codex, use GPT-6.2 Sol or GPT-6.2 Astra with reasoning set to High or above. GPT-6.1 Sol and GPT-6 Astra, also at High or above, work too.\n\n## Review and revise\n\n\u003Cimg src=\"docs\u002Freadme\u002Freview.webp\" width=\"100%\" alt=\"The review page: the film paused at 0:18.40, three notes pinned on the film strip, one already marked Fixed with the agent's reply, and 'Agent is waiting · 26 min left' at the top\">\n\nWhen the film is ready, the agent opens a review page in your browser.\n\n- **Write a note where it happens.** Pause on the moment (Space plays and pauses, ← → step one frame) and press Enter to write what you see. The time, frame and shot are attached for you, and a pin marks the note on the film strip.\n- **Send it.** Click **Send to agent**. The agent works through every note, replies under each one with what it changed, and adds the next version; the page asks you to reload. Earlier versions and their notes fold away below.\n- **Approve it.** When it looks right, click **Approve** and the agent delivers the film.\n\n**How long it waits.** The top of the page shows whether the agent is waiting for you and how long is left. It waits up to 30 minutes after opening the page.\n\n**If time runs out**, nothing is lost:\n- Your notes are saved in the film folder as you write them, and the page keeps working.\n- Finish your notes, click Send or Approve, then tell the agent in the chat (\"done reviewing\"). It reads every note and carries on.\n- If you closed the page, ask the agent to open the review page again.\n- If the page opened as a local file (the agent's sandbox wouldn't let it start the local server), use **Copy notes** and paste them into the chat.\n\n## What you get\n\n- **The film**, `out\u002F\u003Cname>.mp4` in a film folder the agent makes in your working directory: 1920×1080 by default (1080×1920 portrait, 1080×1080 square), 24 fps, 40 s by default, with an original score and foley.\n- **A review page** that opens in your browser, where you leave notes until you approve ([above](#review-and-revise)).\n- **Optional, when you ask**: narration and subtitles in your language (Chinese or English; bilingual subtitles too), title and end cards, a look at the characters and main backgrounds before the film is made.\n- **The working files**: `production-log.md` (the director's plan and self-review), `out\u002Fcontact.jpg`, and `\u003Cname>.srt` when narrated.\n\nNarration uses Microsoft Edge online voices, so the narration text is sent to Microsoft's speech service.\n\n## Licence\n\n[CC BY-NC 4.0](LICENSE). In short:\n\n- **Non-commercial use is free.** Share and adapt it, with credit to **lemo-animi by Lemomo (LemoLab)**.\n- **Commercial use needs a commercial licence**, and so does using films made with lemo-animi commercially: advertising, client work, monetised channels, products. Email [lemomo.studio@gmail.com](mailto:lemomo.studio@gmail.com).\n- **Third-party material keeps its own licence**: Source Han Sans (SIL OFL 1.1, in `plugin\u002Fskills\u002Flemo-animi\u002Ffonts\u002F`) and the instrument sample libraries that setup downloads. Narration uses Microsoft Edge online voices, under Microsoft's terms.\n\n## More\n\n- [Gallery](https:\u002F\u002Flemomo-ai.github.io\u002Flemo-animi\u002F): every style with its sample film. Rebuild it with `docs\u002Fbuild.py`.\n- [SKILL.md](plugin\u002Fskills\u002Flemo-animi\u002FSKILL.md): the full workflow, rules and tools the agent follows.\n- `plugin\u002Fskills\u002Flemo-animi\u002Fstyles\u002F\u003Cid>\u002FSTYLE.md`: what each style looks and sounds like. `plugin\u002Fskills\u002Flemo-animi\u002Freferences\u002F`: directing, compositing, sound, quality checks, pitfalls.\n\n## More from LemoLab\n\n- **[lemo-opuscar](https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-opuscar)**: 99 film styles made entirely in code.\n- **[lemo-wake](https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-wake)**: one picture in, a seamless loop of about five seconds out.\n- **[lemo-mod](https:\u002F\u002Fgithub.com\u002Flemomo-ai\u002Flemo-mod)**: re-skin Claude Code with 21 styles.\n\nBy Lemomo (LemoLab) · [@lemomo_ai](https:\u002F\u002Fx.com\u002Flemomo_ai) · [lemomo.studio@gmail.com](mailto:lemomo.studio@gmail.com)\n","lemo-animi 是一个基于代码驱动的定格动画生成工具，支持通过单句描述自动生成8种材质风格（如黏土、纸艺、毛毡等）的短片。其核心功能包括：自动撰写故事与分镜脚本、调用Codex或Claude Code集成图像模型生成角色\u002F布景、代码控制逐帧运动、真实乐器采样配乐与拟音合成，并提供审片反馈闭环。技术特点是“图像负责观感，代码控制运动”，不依赖端到端视频生成。适用于教育演示、创意原型、AI艺术实验及轻量级动画内容快速验证等场景。",2,"2026-11-24 04:53:40","CREATED_QUERY"]