[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114612":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":35,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":14,"starSnapshotCount":14,"syncStatus":39,"lastSyncTime":40,"discoverSource":41},114612,"rea-toon","JuneYaooo\u002Frea-toon","JuneYaooo","AI 拆解学习短剧：为什么火、剧本怎么写、每一镜怎么拍 | Break down any short drama with AI: why it works, the script, every shot",null,"Python",313,56,1,0,7,92,145,40,89.27,"Other",false,"main",true,[25,26,27,28,29,30,31,32,33,34],"ai-agent","chinese-drama","claude-code","codex","drama-analysis","screenplay","short-drama","storyboard","video-analysis","videomd","2026-11-22 07:00:26","2026-11-23 15:47:57","\u003Cdiv align=\"center\">\n\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fbrand\u002Flogo-light.svg\">\n  \u003Cimg src=\"docs\u002Fbrand\u002Flogo-dark.svg\" width=\"380\" alt=\"rea-toon\">\n\u003C\u002Fpicture>\n\nBreak down any short drama with AI: animated comic dramas, live-action and AI-generated.\n\nA tool for learning from short dramas: why one went viral, how the script is written, how every shot is filmed.\n\nEvery breakdown is also written as **[VIDEO.md](https:\u002F\u002Fvideomd.github.io\u002Fvideomd\u002F)**, an open format that agents read layer by layer.\n\n[中文](i18n\u002FREADME_zh.md) | English | [日本語](i18n\u002FREADME_ja.md)\n\n[![Stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002FJuneYaooo\u002Frea-toon?style=flat)](https:\u002F\u002Fgithub.com\u002FJuneYaooo\u002Frea-toon\u002Fstargazers)\n![Python](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpython-%E2%89%A53.10-blue)\n![Agent](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fruns%20in-Claude%20Code%20%7C%20Codex-8A2BE2)\n[![Output: VIDEO.md](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Foutput-VIDEO.md-3d4fd6)](https:\u002F\u002Fvideomd.github.io\u002Fvideomd\u002F)\n[![Built on rea-video](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fbuilt%20on-rea--video-6644d8)](https:\u002F\u002Fgithub.com\u002FJuneYaooo\u002Frea-video)\n[![License: Noncommercial](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-noncommercial-orange)](LICENSE)\n\n[![LINUX.DO](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLINUX.DO-community-1a1a1a?style=for-the-badge)](https:\u002F\u002Flinux.do\u002F) [![Discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https:\u002F\u002Fdiscord.gg\u002FdZj8D3GqWT) [![WeChat group](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWeChat%20group-07C160?style=for-the-badge&logo=wechat&logoColor=white)](i18n\u002FREADME_zh.md#社区) [![Follow on X](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FFollow%20%40yao__june12106-000000?style=for-the-badge&logo=x&logoColor=white)](https:\u002F\u002Fx.com\u002Fyao_june12106)\n\n⭐ *Help more people find rea-toon. Star this repo!*\n\n\u003Ca href=\"docs\u002Fdemo_en.mp4\">\u003Cimg src=\"docs\u002Fdemo_en.gif\" width=\"720\" alt=\"Demo: the pages of a 10-episode drama after the breakdown (study, script, shot script)\">\u003C\u002Fa>\n\nThe pages of a 10-episode drama after the breakdown. Click for the full demo with sound (1 min).\u003Cbr>\n\u003Csub>rea-toon writes the breakdown in the language you talk to your agent in.\u003C\u002Fsub>\n\n\u003C\u002Fdiv>\n\n## Quick start\n\nrea-toon is built for AI agents. In Claude Code, Codex or any agent that can run commands, say:\n\n```text\nInstall https:\u002F\u002Fgithub.com\u002FJuneYaooo\u002Frea-toon, then break down this short drama: \u003Ca video file, or a folder with one video per episode>\n```\n\nThe agent installs the CLI, learns the workflow ([skills\u002Frea-toon\u002FSKILL.md](skills\u002Frea-toon\u002FSKILL.md)) and runs it to the end. You need ffmpeg and Python 3.10+.\n\n**Vision is required.** The breakdown looks at every shot, so you need at least one of these: an agent that can see images (Claude Code and Codex both can), or a vision model with an OpenAI-compatible API configured for rea-toon (Gemini, Doubao, Qwen-VL…). By default the agent answers itself and no key is needed; for a long series (dozens or hundreds of episodes), configure the API model: billed per call, and it runs in parallel.\n\n**Breaking down a drama uses a lot of tokens**: every episode means looking at dozens of frame grids, about 30 vision calls. For a series, try 5 episodes first to see the results and the cost, then go on with the rest (the agent can break down just the first 5).\n\nEach breakdown gives you two outputs:\n\n- **Pages, for you**: open one `index.html`. It holds the study, the script and the shot script.\n- **[VIDEO.md](https:\u002F\u002Fvideomd.github.io\u002Fvideomd\u002F), for your AI**: `VIDEO.md` + `video\u002F`, the same open format as [rea-video](https:\u002F\u002Fgithub.com\u002FJuneYaooo\u002Frea-video). Ask your agent anything about the drama later, or hand it to other tools: they read this instead of watching the video again.\n\n> **Your language.** The breakdown is written in the language you talk to your agent in: the summaries, per-shot notes, report, script actions and the pages' own headings. Dialogue and subtitles stay in the drama's original language. Page frames are built in for English and Chinese; for other languages the content is written in your language inside an English frame.\n\n## What you get\n\nOne bar on top: which episode (series only) and one of three views.\n\n| View | Answers | What's in it |\n|---|---|---|\n| **Study** | Why it works and what you can take from it | The hook in one line, why viewers stay, weak spots, a reusable formula, remix ideas, the pacing curve and structure; the evidence (emotion ledger, information gaps, characters and pairings, production load) is folded at the bottom |\n| **Script** | What the script looks like | Standard short-drama script format: scenes, characters, actions, punctuated lines, OS \u002F inner voice \u002F narration; exports to PDF |\n| **Shot script** | How each shot is filmed | Character sheets (headshot, looks, a voice sample cut from the original vocal track); per shot: thumbnail, framing, what happens, lines, sound, motion, duration; exports to PDF |\n\n- Click any \"shot N\" or thumbnail and that part of the original plays in the corner, so you can check every claim against the picture.\n- A series also gets the cross-episode view: phases, recurring tropes, character arcs, setups and payoffs, episode-end hooks, paywall points.\n- Emotion beats are counted by code from the emotion tagged on every shot (satisfaction, frustration, heartbreak, sweetness, laughs, suspense, shock, hype), not summarized by a model afterwards.\n\n## What it can break down\n\nIt detects the format and looks at different things for each:\n\n| Format | What it looks at |\n|---|---|\n| Live-action drama | Who dominates each scene and which line turns it; the rhythm of face-slaps and twists; how many sets and outfits carry an episode |\n| AI live-action drama | What makes a character land at first sight; how much is spectacle only AI can film; how cutting and music hold scenes with little lip-sync |\n| 2D \u002F 3D animated drama | Where panels, manga marks and effects amplify emotion; what makes characters memorable; thrills made by camera movement |\n| Motion comic, meme comic | How long one picture holds and how fast they change; which panels get partial motion; joke density, voice and sound |\n| Commentary | Where the hooks, cliffhangers and punchlines sit in the narration; whether picture changes land on new information; speech rate and information density |\n\nOne video or a whole series; a series can stop and pick up where it left off. The source is video you already have on disk: one file, or a folder with one video per episode (sorted by the episode number in the file name). Links are not downloaded. For a compilation with many episodes in one file, the agent first confirms where each episode starts with you, then splits it.\n\n## How it works\n\n1. **Split**: [rea-video](https:\u002F\u002Fgithub.com\u002FJuneYaooo\u002Frea-video) cuts the shots and separates voice from music; local OCR reads the subtitle track, only text on the subtitle line.\n2. **Cast**: a character table (disguises and costume changes merged into one person), then who is on screen in each shot and what they do.\n3. **Lines**: who says every line across the episode; lines where that disagrees with what the shots show are settled by looking at the frames.\n4. **Read the script**: scenes and the look in each, text on screen, camera angles and eyelines, dramatic beats, the point and emotion of every shot, information gaps; in a series every episode is read with what came before.\n5. **Results**: code measures pacing, the emotion ledger and screen time; then the report, the script and the shot script are written, and the pages and the VIDEO.md package are built.\n\nEvery call comes with evidence (shot number, time, line, frame). Fix what it got wrong and rebuild the pages.\n\n## FAQ\n\n\u003Cdetails>\n\u003Csummary>What model do I need? What does it cost?\u003C\u002Fsummary>\n\nA model that can see images is required; a text-only model can't do it. The simplest is an agent that can see images (Claude Code, Codex) answering itself, no key needed: the command stops where a judgment is needed, the agent looks, answers and runs it again, a dozen or so rounds per episode. That's fine for a few episodes.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>How is it related to rea-video?\u003C\u002Fsummary>\n\n[rea-video](https:\u002F\u002Fgithub.com\u002FJuneYaooo\u002Frea-video) reverse-engineers how one video was made: filmed, AI-generated or coded. rea-toon is built on it (shot cuts, voice and music separation) and adds the layer only drama has: characters, lines and speakers, dramatic beats, the emotion ledger, the structure of a whole series. \"How was this video made?\" is rea-video; \"why is this drama good and how is it written?\" is rea-toon.\n\n\u003C\u002Fdetails>\n\n## Community\n\nCome to [LINUX.DO](https:\u002F\u002Flinux.do\u002F) to share how you use it.\n\nProblems or ideas: open an [issue](https:\u002F\u002Fgithub.com\u002FJuneYaooo\u002Frea-toon\u002Fissues).\n\n## Credits\n\n- Built on [rea-video](https:\u002F\u002Fgithub.com\u002FJuneYaooo\u002Frea-video): shot cuts, voice and music separation.\n- The package uses the open [VIDEO.md](https:\u002F\u002Fgithub.com\u002Fvideomd\u002Fvideomd) format; subtitles are read with [RapidOCR](https:\u002F\u002Fgithub.com\u002FRapidAI\u002FRapidOCR).\n- The pictures and sound in the demo come from a breakdown of a public short drama. Copyright belongs to its owners; shown only to demonstrate the tool.\n\n## License\n\n**No commercial use.** Licensed under the [PolyForm Noncommercial License 1.0.0](LICENSE): personal study, research and other noncommercial use may use, modify and share it, with the license terms and copyright notice; any commercial use needs the author's written permission first.\n","rea-toon 是一个面向短剧内容分析的 AI 拆解工具，支持对动画、真人及 AI 生成的短剧进行结构化解析。核心功能包括识别爆火原因、提取分镜脚本（shot-by-shot）、还原剧本逻辑，并输出标准化的 VIDEO.md 格式文档，便于 AI 代理逐层读取与复用。项目基于 Python 构建，依赖视觉模型（如 Claude Code、Codex 或兼容 OpenAI API 的多模态模型）实现帧级分析，需配合 ffmpeg 使用。适用于短剧创作者、编剧学习者、影视教育者及 AI 内容研究者开展案例拆解、创作复盘与教学素材生成。",2,"2026-11-24 04:49:12","CREATED_QUERY"]