kasaframe 0.0.0-stage → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (442) hide show
  1. package/LICENSE +21 -0
  2. package/NOTICE +148 -0
  3. package/README.md +92 -2
  4. package/app/package.json +12 -0
  5. package/app/server/engine.ts +533 -0
  6. package/app/server/main.ts +209 -0
  7. package/app/web/env.d.ts +2 -0
  8. package/app/web/icons.ts +31 -0
  9. package/app/web/index.html +21 -0
  10. package/app/web/main.ts +1195 -0
  11. package/app/web/style.css +463 -0
  12. package/bin/hooks.mjs +64 -0
  13. package/bin/kf.mjs +32 -0
  14. package/docs/AGENTS.md +286 -0
  15. package/music/README.md +37 -0
  16. package/package.json +44 -4
  17. package/packages/adapters/package.json +36 -0
  18. package/packages/adapters/src/css.ts +11 -0
  19. package/packages/adapters/src/gsap.ts +26 -0
  20. package/packages/adapters/src/index.ts +9 -0
  21. package/packages/adapters/src/lottie.ts +22 -0
  22. package/packages/adapters/src/media.ts +59 -0
  23. package/packages/adapters/src/page.ts +229 -0
  24. package/packages/adapters/src/project.ts +214 -0
  25. package/packages/adapters/src/react.ts +36 -0
  26. package/packages/adapters/src/svelte.ts +22 -0
  27. package/packages/adapters/src/three.ts +18 -0
  28. package/packages/adapters/src/vue.ts +27 -0
  29. package/packages/check/package.json +19 -0
  30. package/packages/check/src/check.ts +280 -0
  31. package/packages/check/src/cli.ts +70 -0
  32. package/packages/check/src/image.ts +146 -0
  33. package/packages/check/src/index.ts +9 -0
  34. package/packages/check/src/ocr.swift +37 -0
  35. package/packages/check/src/probe.ts +328 -0
  36. package/packages/check/src/report.ts +44 -0
  37. package/packages/check/src/rules/assets.ts +45 -0
  38. package/packages/check/src/rules/beats.ts +212 -0
  39. package/packages/check/src/rules/camera.ts +217 -0
  40. package/packages/check/src/rules/captions.ts +49 -0
  41. package/packages/check/src/rules/flash.ts +235 -0
  42. package/packages/check/src/rules/frames.ts +136 -0
  43. package/packages/check/src/rules/layout.ts +281 -0
  44. package/packages/check/src/rules/page.ts +87 -0
  45. package/packages/check/src/rules/runs.ts +20 -0
  46. package/packages/check/src/rules/text.ts +326 -0
  47. package/packages/check/src/scan.ts +240 -0
  48. package/packages/check/src/serve.ts +67 -0
  49. package/packages/check/src/types.ts +80 -0
  50. package/packages/check/src/video.ts +137 -0
  51. package/packages/cli/package.json +30 -0
  52. package/packages/cli/src/blur.ts +80 -0
  53. package/packages/cli/src/browser.ts +203 -0
  54. package/packages/cli/src/command.ts +44 -0
  55. package/packages/cli/src/commands/app.ts +25 -0
  56. package/packages/cli/src/commands/beats.ts +36 -0
  57. package/packages/cli/src/commands/bench.ts +123 -0
  58. package/packages/cli/src/commands/blender.ts +293 -0
  59. package/packages/cli/src/commands/check.ts +25 -0
  60. package/packages/cli/src/commands/direct.ts +210 -0
  61. package/packages/cli/src/commands/doctor.ts +30 -0
  62. package/packages/cli/src/commands/gen.ts +173 -0
  63. package/packages/cli/src/commands/look.ts +46 -0
  64. package/packages/cli/src/commands/lyrics.ts +157 -0
  65. package/packages/cli/src/commands/make.ts +1121 -0
  66. package/packages/cli/src/commands/music.ts +78 -0
  67. package/packages/cli/src/commands/narrate.ts +238 -0
  68. package/packages/cli/src/commands/new.ts +185 -0
  69. package/packages/cli/src/commands/preview.ts +43 -0
  70. package/packages/cli/src/commands/render.ts +250 -0
  71. package/packages/cli/src/commands/series.ts +110 -0
  72. package/packages/cli/src/commands/setup.ts +102 -0
  73. package/packages/cli/src/commands/sheet.ts +114 -0
  74. package/packages/cli/src/commands/skill.ts +43 -0
  75. package/packages/cli/src/commands/still.ts +40 -0
  76. package/packages/cli/src/commands/theme.ts +172 -0
  77. package/packages/cli/src/commands/transitions.ts +40 -0
  78. package/packages/cli/src/deps.ts +122 -0
  79. package/packages/cli/src/ffmpeg.ts +81 -0
  80. package/packages/cli/src/index.ts +8 -0
  81. package/packages/cli/src/kf.ts +64 -0
  82. package/packages/cli/src/lock.ts +72 -0
  83. package/packages/cli/src/mix.ts +131 -0
  84. package/packages/cli/src/out.ts +13 -0
  85. package/packages/cli/src/pool.ts +34 -0
  86. package/packages/cli/src/segments.ts +402 -0
  87. package/packages/cli/src/serve.ts +124 -0
  88. package/packages/clock/package.json +14 -0
  89. package/packages/clock/src/index.ts +25 -0
  90. package/packages/clock/src/install.ts +351 -0
  91. package/packages/clock/src/types.ts +45 -0
  92. package/packages/core/package.json +9 -0
  93. package/packages/core/src/beats.ts +283 -0
  94. package/packages/core/src/ease.ts +87 -0
  95. package/packages/core/src/frame.ts +99 -0
  96. package/packages/core/src/index.ts +27 -0
  97. package/packages/core/src/project.ts +157 -0
  98. package/packages/core/src/rand.ts +56 -0
  99. package/packages/core/src/spring.ts +52 -0
  100. package/packages/core/src/style.ts +100 -0
  101. package/packages/core/src/time.ts +88 -0
  102. package/packages/director/package.json +23 -0
  103. package/packages/director/src/assemble.ts +361 -0
  104. package/packages/director/src/brief.ts +122 -0
  105. package/packages/director/src/catalog.ts +49 -0
  106. package/packages/director/src/content.ts +343 -0
  107. package/packages/director/src/fallback.ts +58 -0
  108. package/packages/director/src/index.ts +13 -0
  109. package/packages/director/src/pattern.ts +90 -0
  110. package/packages/director/src/patterns/fill/cells.ts +115 -0
  111. package/packages/director/src/patterns/formula/stack.ts +93 -0
  112. package/packages/director/src/patterns/util.ts +58 -0
  113. package/packages/director/src/scene.ts +62 -0
  114. package/packages/director/src/select.ts +163 -0
  115. package/packages/director/src/transitions.ts +115 -0
  116. package/packages/gen/PROVIDERS.md +90 -0
  117. package/packages/gen/package.json +9 -0
  118. package/packages/gen/src/ask.ts +132 -0
  119. package/packages/gen/src/audio.ts +91 -0
  120. package/packages/gen/src/blender.ts +54 -0
  121. package/packages/gen/src/capabilities.ts +151 -0
  122. package/packages/gen/src/generate.ts +206 -0
  123. package/packages/gen/src/image/codex.ts +117 -0
  124. package/packages/gen/src/image/og.ts +133 -0
  125. package/packages/gen/src/index.ts +26 -0
  126. package/packages/gen/src/keys.ts +86 -0
  127. package/packages/gen/src/media.ts +150 -0
  128. package/packages/gen/src/music/elevenlabs.ts +41 -0
  129. package/packages/gen/src/music/index.ts +120 -0
  130. package/packages/gen/src/music/library.ts +73 -0
  131. package/packages/gen/src/music/lyria.ts +52 -0
  132. package/packages/gen/src/music/types.ts +28 -0
  133. package/packages/gen/src/plan.ts +106 -0
  134. package/packages/gen/src/registry.ts +54 -0
  135. package/packages/gen/src/seam.ts +103 -0
  136. package/packages/gen/src/tts/dashscope.ts +64 -0
  137. package/packages/gen/src/tts/elevenlabs.ts +84 -0
  138. package/packages/gen/src/tts/gemini.ts +73 -0
  139. package/packages/gen/src/tts/index.ts +241 -0
  140. package/packages/gen/src/tts/local.ts +42 -0
  141. package/packages/gen/src/tts/types.ts +44 -0
  142. package/packages/gen/src/types.ts +90 -0
  143. package/packages/gen/src/video/fal.ts +140 -0
  144. package/packages/gen/src/video/h3.ts +112 -0
  145. package/packages/gen/src/video/http.ts +44 -0
  146. package/packages/gen/src/video/ltx.ts +60 -0
  147. package/packages/gen/src/video/minimax.ts +55 -0
  148. package/packages/gen/src/video/veo.ts +71 -0
  149. package/packages/jizura/package.json +16 -0
  150. package/packages/jizura/src/deny.ts +73 -0
  151. package/packages/jizura/src/index.ts +7 -0
  152. package/packages/jizura/src/install.ts +269 -0
  153. package/packages/jizura/src/layer.ts +325 -0
  154. package/packages/jizura/src/lyrics.ts +81 -0
  155. package/packages/jizura/src/pin.ts +8 -0
  156. package/packages/jizura/src/vendor.ts +140 -0
  157. package/packages/jizura/src/vite.ts +63 -0
  158. package/packages/jizura/vendor/JIZURA_LICENSE.txt +21 -0
  159. package/packages/jizura/vendor/NOTICE +43 -0
  160. package/packages/jizura/vendor/engine.json +47 -0
  161. package/packages/jizura/vendor/fonts/BlackHanSans-Regular.woff2 +0 -0
  162. package/packages/jizura/vendor/fonts/DotGothic16-Regular.woff2 +0 -0
  163. package/packages/jizura/vendor/fonts/GowunBatang-Bold.woff2 +0 -0
  164. package/packages/jizura/vendor/fonts/IBMPlexMono-Medium.ttf +0 -0
  165. package/packages/jizura/vendor/fonts/IBMPlexMono-SemiBold.ttf +0 -0
  166. package/packages/jizura/vendor/fonts/NotoSansKR-VF.woff2 +0 -0
  167. package/packages/jizura/vendor/fonts/NotoSerifKR-VF.woff2 +0 -0
  168. package/packages/jizura/vendor/fonts/OFL-blackhansans.txt +93 -0
  169. package/packages/jizura/vendor/fonts/OFL-dotgothic16.txt +93 -0
  170. package/packages/jizura/vendor/fonts/OFL-gowunbatang.txt +94 -0
  171. package/packages/jizura/vendor/fonts/OFL-ibmplexmono.txt +93 -0
  172. package/packages/jizura/vendor/fonts/OFL-notosanskr.txt +93 -0
  173. package/packages/jizura/vendor/fonts/OFL-notoserifkr.txt +94 -0
  174. package/packages/jizura/vendor/fonts/fonts.json +52 -0
  175. package/packages/jizura/vendor/jizura_engine.js +35024 -0
  176. package/packages/motion/README.md +153 -0
  177. package/packages/motion/package.json +30 -0
  178. package/packages/motion/src/camera.ts +97 -0
  179. package/packages/motion/src/captions.ts +487 -0
  180. package/packages/motion/src/enter.ts +128 -0
  181. package/packages/motion/src/hangul.ts +129 -0
  182. package/packages/motion/src/impact.ts +100 -0
  183. package/packages/motion/src/index.ts +17 -0
  184. package/packages/motion/src/moves/brushWipe.ts +103 -0
  185. package/packages/motion/src/moves/cloneArray.ts +111 -0
  186. package/packages/motion/src/moves/curtains.ts +81 -0
  187. package/packages/motion/src/moves/dress.ts +191 -0
  188. package/packages/motion/src/moves/echoStack.ts +70 -0
  189. package/packages/motion/src/moves/fit.ts +70 -0
  190. package/packages/motion/src/moves/flood.ts +61 -0
  191. package/packages/motion/src/moves/ghostStack.ts +88 -0
  192. package/packages/motion/src/moves/gridFloor.ts +100 -0
  193. package/packages/motion/src/moves/imageSwarm.ts +113 -0
  194. package/packages/motion/src/moves/index.ts +38 -0
  195. package/packages/motion/src/moves/irisBlades.ts +113 -0
  196. package/packages/motion/src/moves/karaokeLine.ts +108 -0
  197. package/packages/motion/src/moves/ledBoard.ts +94 -0
  198. package/packages/motion/src/moves/liquidTab.ts +72 -0
  199. package/packages/motion/src/moves/markerWrite.ts +63 -0
  200. package/packages/motion/src/moves/menu.ts +138 -0
  201. package/packages/motion/src/moves/morphBox.ts +96 -0
  202. package/packages/motion/src/moves/neonSign.ts +78 -0
  203. package/packages/motion/src/moves/panelPop.ts +78 -0
  204. package/packages/motion/src/moves/paperTear.ts +75 -0
  205. package/packages/motion/src/moves/path.ts +64 -0
  206. package/packages/motion/src/moves/pathText.ts +107 -0
  207. package/packages/motion/src/moves/pointSphere.ts +109 -0
  208. package/packages/motion/src/moves/ransomLetters.ts +73 -0
  209. package/packages/motion/src/moves/shapeMorph.ts +143 -0
  210. package/packages/motion/src/moves/slamWords.ts +96 -0
  211. package/packages/motion/src/moves/sparkTrail.ts +130 -0
  212. package/packages/motion/src/moves/speedLines.ts +91 -0
  213. package/packages/motion/src/moves/splitFlap.ts +149 -0
  214. package/packages/motion/src/moves/stepWords.ts +128 -0
  215. package/packages/motion/src/moves/strikeOut.ts +98 -0
  216. package/packages/motion/src/moves/sunburst.ts +58 -0
  217. package/packages/motion/src/moves/tickerRows.ts +91 -0
  218. package/packages/motion/src/moves/tokenPicker.ts +115 -0
  219. package/packages/motion/src/moves/truchet.ts +85 -0
  220. package/packages/motion/src/moves/wordWall.ts +78 -0
  221. package/packages/motion/src/moves/worldRoll.ts +32 -0
  222. package/packages/motion/src/particles.ts +102 -0
  223. package/packages/motion/src/react/index.tsx +21 -0
  224. package/packages/motion/src/react/parts.tsx +431 -0
  225. package/packages/motion/src/react/time.tsx +97 -0
  226. package/packages/motion/src/text.ts +103 -0
  227. package/packages/motion/src/transition.ts +82 -0
  228. package/packages/motion/src/transition3d/cards.ts +65 -0
  229. package/packages/motion/src/transition3d/chain.ts +84 -0
  230. package/packages/motion/src/transition3d/dive.ts +181 -0
  231. package/packages/motion/src/transition3d/fold.ts +110 -0
  232. package/packages/motion/src/transition3d/gl.ts +219 -0
  233. package/packages/motion/src/transition3d/index.ts +235 -0
  234. package/packages/motion/src/transition3d/live.ts +70 -0
  235. package/packages/motion/src/transition3d/portal.ts +115 -0
  236. package/packages/motion/src/transition3d/react.tsx +29 -0
  237. package/packages/motion/src/transition3d/rig.ts +600 -0
  238. package/packages/motion/src/transition3d/shatter.ts +104 -0
  239. package/packages/motion/src/transition3d/space.ts +173 -0
  240. package/packages/motion/src/transition3d/whip.ts +78 -0
  241. package/packages/motion/src/transition3d/world.ts +737 -0
  242. package/packages/motion/src/transition3d/zoomOut.ts +114 -0
  243. package/packages/motion/src/transitions2d/catalog.ts +127 -0
  244. package/packages/motion/src/transitions2d/css.d.ts +2 -0
  245. package/packages/motion/src/transitions2d/cult-ui/LICENSE.md +9 -0
  246. package/packages/motion/src/transitions2d/cult-ui/RollingNumber.tsx +43 -0
  247. package/packages/motion/src/transitions2d/gl-transitions/LICENSE +25 -0
  248. package/packages/motion/src/transitions2d/gl-transitions/shaders.ts +1931 -0
  249. package/packages/motion/src/transitions2d/index.ts +2 -0
  250. package/packages/motion/src/transitions2d/kokonutui/LICENSE +21 -0
  251. package/packages/motion/src/transitions2d/kokonutui/MatrixText.css +16 -0
  252. package/packages/motion/src/transitions2d/kokonutui/MatrixText.tsx +94 -0
  253. package/packages/motion/src/transitions2d/magicui/HyperText.css +15 -0
  254. package/packages/motion/src/transitions2d/magicui/HyperText.tsx +115 -0
  255. package/packages/motion/src/transitions2d/magicui/LICENSE.md +21 -0
  256. package/packages/motion/src/transitions2d/magicui/MorphingText.css +25 -0
  257. package/packages/motion/src/transitions2d/magicui/MorphingText.tsx +130 -0
  258. package/packages/motion/src/transitions2d/magicui/WordRotate.tsx +42 -0
  259. package/packages/motion/src/transitions2d/react.ts +13 -0
  260. package/packages/motion/src/transitions2d/skiper-ui/ClipDiv.css +39 -0
  261. package/packages/motion/src/transitions2d/skiper-ui/ClipDiv.tsx +32 -0
  262. package/packages/motion/src/transitions2d/smoothui/LICENSE +21 -0
  263. package/packages/motion/src/transitions2d/smoothui/SharedAxisY.tsx +50 -0
  264. package/packages/motion/src/transitions2d/smoothui/TextMorph.tsx +90 -0
  265. package/packages/motion/src/transitions2d/smoothui/shaders.ts +223 -0
  266. package/packages/motion/src/transitions2d/unlumen/LICENSE +21 -0
  267. package/packages/motion/src/transitions2d/unlumen/ScrambleText.tsx +114 -0
  268. package/packages/motion/src/transitions2d/vengeance-ui/LICENSE +21 -0
  269. package/packages/motion/src/transitions2d/vengeance-ui/MorphText.css +69 -0
  270. package/packages/motion/src/transitions2d/vengeance-ui/MorphText.tsx +45 -0
  271. package/packages/motion/src/type.ts +131 -0
  272. package/packages/motion/src/ui.ts +172 -0
  273. package/packages/patterns/package.json +15 -0
  274. package/packages/patterns/src/bars/rank.ts +119 -0
  275. package/packages/patterns/src/before-after/shrink.ts +127 -0
  276. package/packages/patterns/src/before-after/strike.ts +125 -0
  277. package/packages/patterns/src/code/terminal.ts +133 -0
  278. package/packages/patterns/src/compare/bars.ts +142 -0
  279. package/packages/patterns/src/compare/duel.ts +103 -0
  280. package/packages/patterns/src/end/lockup.ts +85 -0
  281. package/packages/patterns/src/end/slam.ts +91 -0
  282. package/packages/patterns/src/flow/graph.ts +250 -0
  283. package/packages/patterns/src/hook-number/counter.ts +101 -0
  284. package/packages/patterns/src/hook-number/roll.ts +179 -0
  285. package/packages/patterns/src/hook-number/slam.ts +91 -0
  286. package/packages/patterns/src/index.ts +38 -0
  287. package/packages/patterns/src/kit.ts +449 -0
  288. package/packages/patterns/src/limit/gauge.ts +117 -0
  289. package/packages/patterns/src/list/cards.ts +131 -0
  290. package/packages/patterns/src/list/cycle.ts +22 -0
  291. package/packages/patterns/src/media/panels.ts +100 -0
  292. package/packages/patterns/src/objects.ts +234 -0
  293. package/packages/patterns/src/quote/karaoke.ts +126 -0
  294. package/packages/patterns/src/quote/slam.ts +22 -0
  295. package/packages/patterns/src/screen/focus.ts +85 -0
  296. package/packages/patterns/src/steps/path.ts +137 -0
  297. package/packages/patterns/src/steps/stack.ts +111 -0
  298. package/packages/patterns/src/term-reveal/chips.ts +92 -0
  299. package/packages/patterns/src/term-reveal/expand.ts +127 -0
  300. package/packages/patterns/src/timeline/axis.ts +144 -0
  301. package/packages/patterns/src/title/mask.ts +85 -0
  302. package/packages/patterns/src/title/slam.ts +23 -0
  303. package/packages/patterns/src/toggle-sim/switch.ts +92 -0
  304. package/packages/patterns/src/trend/columns.ts +108 -0
  305. package/packages/patterns/src/trend/draw.ts +140 -0
  306. package/packages/patterns/src/types.ts +67 -0
  307. package/packages/patterns/src/words/moves.ts +42 -0
  308. package/packages/patterns/src/words/slam.ts +4 -0
  309. package/packages/plan/package.json +15 -0
  310. package/packages/plan/src/asks.ts +256 -0
  311. package/packages/plan/src/brief.ts +383 -0
  312. package/packages/plan/src/captions.ts +78 -0
  313. package/packages/plan/src/detect.ts +93 -0
  314. package/packages/plan/src/index.ts +27 -0
  315. package/packages/plan/src/layout.ts +176 -0
  316. package/packages/plan/src/llm.ts +172 -0
  317. package/packages/plan/src/look.ts +222 -0
  318. package/packages/plan/src/plan.ts +179 -0
  319. package/packages/plan/src/request.ts +55 -0
  320. package/packages/plan/src/series.ts +76 -0
  321. package/packages/plan/src/studio.ts +53 -0
  322. package/packages/plan/src/templates.ts +42 -0
  323. package/packages/plan/src/themes.ts +48 -0
  324. package/packages/plan/src/types.ts +157 -0
  325. package/packages/studio/package.json +12 -0
  326. package/packages/studio/src/index.ts +1 -0
  327. package/packages/studio/src/plugin.ts +236 -0
  328. package/packages/studio/src/ui/main.ts +503 -0
  329. package/packages/studio/src/ui/studio.css +165 -0
  330. package/packages/studio/src/ui/timeline.ts +317 -0
  331. package/packages/themes/kit/THEME-MAKE.md +68 -0
  332. package/packages/themes/kit/THEME.md +30 -0
  333. package/packages/themes/kit/briefs/og-intro-15s/brief.json +16 -0
  334. package/packages/themes/kit/briefs/og-intro-15s/facts.ts +29 -0
  335. package/packages/themes/kit/briefs/og-intro-15s/logo.svg +12 -0
  336. package/packages/themes/kit/effects.ts +5 -0
  337. package/packages/themes/kit/sample/index.html +11 -0
  338. package/packages/themes/kit/sample/main.ts +9 -0
  339. package/packages/themes/kit/sample/scenes/scene.ts +15 -0
  340. package/packages/themes/package.json +19 -0
  341. package/packages/themes/src/factory.ts +296 -0
  342. package/packages/themes/src/fx.ts +14 -0
  343. package/packages/themes/src/index.ts +114 -0
  344. package/packages/themes/src/slotkit.ts +79 -0
  345. package/packages/themes/src/slots.ts +46 -0
  346. package/packages/themes/src/stage3d.ts +197 -0
  347. package/packages/themes/src/types.ts +58 -0
  348. package/presets/kawaii-pastel.json +94 -0
  349. package/presets/neutral-dark.json +82 -0
  350. package/presets/og.json +98 -0
  351. package/series/og-shorts.json +14 -0
  352. package/skills/kasaframe/SKILL.md +33 -0
  353. package/templates/_shared/project/index.html +11 -0
  354. package/templates/_shared/project/lib/react.ts +22 -0
  355. package/templates/_shared/project/lib/stage.ts +292 -0
  356. package/templates/_shared/project/main.ts +9 -0
  357. package/templates/_shared/scenes/default.ts +21 -0
  358. package/templates/_shared/scenes/drop.ts +33 -0
  359. package/templates/_shared/scenes/end.ts +26 -0
  360. package/templates/_shared/scenes/hook.ts +18 -0
  361. package/templates/_shared/scenes/seam.ts +41 -0
  362. package/templates/_shared/scenes/step.ts +49 -0
  363. package/templates/ad/preview.png +0 -0
  364. package/templates/ad/template.json +151 -0
  365. package/templates/demo/preview.png +0 -0
  366. package/templates/demo/template.json +141 -0
  367. package/templates/explainer/preview.png +0 -0
  368. package/templates/explainer/template.json +193 -0
  369. package/templates/launch/preview.png +0 -0
  370. package/templates/launch/template.json +163 -0
  371. package/templates/mv/preview.png +0 -0
  372. package/templates/mv/scenes/default.ts +98 -0
  373. package/templates/mv/template.json +178 -0
  374. package/templates/promo/preview.png +0 -0
  375. package/templates/promo/template.json +185 -0
  376. package/templates/shorts/preview.png +0 -0
  377. package/templates/shorts/scenes/hook.ts +37 -0
  378. package/templates/shorts/template.json +196 -0
  379. package/templates/square/preview.png +0 -0
  380. package/templates/square/template.json +133 -0
  381. package/themes/debug-hud/THEME.md +39 -0
  382. package/themes/debug-hud/effects.ts +389 -0
  383. package/themes/debug-hud/sample/assets/og/logo.svg +12 -0
  384. package/themes/debug-hud/sample/beats.json +1 -0
  385. package/themes/debug-hud/sample/index.html +11 -0
  386. package/themes/debug-hud/sample/kf.json +59 -0
  387. package/themes/debug-hud/sample/lib/hudkit.ts +49 -0
  388. package/themes/debug-hud/sample/lib/og.ts +29 -0
  389. package/themes/debug-hud/sample/main.ts +9 -0
  390. package/themes/debug-hud/sample/scenes/end.ts +62 -0
  391. package/themes/debug-hud/sample/scenes/gather.ts +67 -0
  392. package/themes/debug-hud/sample/scenes/models.ts +70 -0
  393. package/themes/debug-hud/sample/scenes/price.ts +79 -0
  394. package/themes/debug-hud/sample/style.json +91 -0
  395. package/themes/debug-hud/slots.ts +99 -0
  396. package/themes/debug-hud/still.png +0 -0
  397. package/themes/debug-hud/style.json +91 -0
  398. package/themes/debug-hud/theme.json +68 -0
  399. package/themes/og-measure/THEME.md +47 -0
  400. package/themes/og-measure/effects.ts +432 -0
  401. package/themes/og-measure/sample/assets/brand/og-logo-full.svg +12 -0
  402. package/themes/og-measure/sample/assets/brand/og-logo.svg +12 -0
  403. package/themes/og-measure/sample/assets/data/measure.json +353 -0
  404. package/themes/og-measure/sample/beats.json +1 -0
  405. package/themes/og-measure/sample/index.html +11 -0
  406. package/themes/og-measure/sample/kf.json +66 -0
  407. package/themes/og-measure/sample/lib/data.ts +62 -0
  408. package/themes/og-measure/sample/main.ts +9 -0
  409. package/themes/og-measure/sample/measure.ts +78 -0
  410. package/themes/og-measure/sample/scenes/end.ts +47 -0
  411. package/themes/og-measure/sample/scenes/gather.ts +51 -0
  412. package/themes/og-measure/sample/scenes/models.ts +34 -0
  413. package/themes/og-measure/sample/scenes/one.ts +39 -0
  414. package/themes/og-measure/sample/scenes/price.ts +56 -0
  415. package/themes/og-measure/sample/style.json +97 -0
  416. package/themes/og-measure/slots.ts +88 -0
  417. package/themes/og-measure/still.png +0 -0
  418. package/themes/og-measure/style.json +97 -0
  419. package/themes/og-measure/theme.json +79 -0
  420. package/themes/riso-zine/THEME.md +43 -0
  421. package/themes/riso-zine/effects.ts +321 -0
  422. package/themes/riso-zine/sample/assets/og/logo.svg +12 -0
  423. package/themes/riso-zine/sample/beats.json +1 -0
  424. package/themes/riso-zine/sample/index.html +11 -0
  425. package/themes/riso-zine/sample/kf.json +59 -0
  426. package/themes/riso-zine/sample/lib/og.ts +29 -0
  427. package/themes/riso-zine/sample/lib/shot.ts +86 -0
  428. package/themes/riso-zine/sample/lib/zine.ts +42 -0
  429. package/themes/riso-zine/sample/main.ts +9 -0
  430. package/themes/riso-zine/sample/scenes/end.ts +61 -0
  431. package/themes/riso-zine/sample/scenes/gather.ts +62 -0
  432. package/themes/riso-zine/sample/scenes/models.ts +52 -0
  433. package/themes/riso-zine/sample/scenes/price.ts +82 -0
  434. package/themes/riso-zine/sample/style.json +99 -0
  435. package/themes/riso-zine/slots.ts +81 -0
  436. package/themes/riso-zine/still.png +0 -0
  437. package/themes/riso-zine/style.json +99 -0
  438. package/themes/riso-zine/theme.json +75 -0
  439. package/tools/beats/beats.py +372 -0
  440. package/tools/beats/requirements.txt +3 -0
  441. package/tools/lyrics/align.py +164 -0
  442. package/tools/lyrics/requirements.txt +9 -0
@@ -0,0 +1,178 @@
1
+ {
2
+ "id": "mv",
3
+ "label": "뮤비",
4
+ "summary": "곡 전체 뮤직비디오 — 부른 낱말이 그 시각에 화면에 뜨는 가사 키네틱 타이포, 컷은 박·마디마다 촘촘히, 주인공 그림 하나로 일관되게",
5
+ "aspect": "16:9",
6
+ "width": 1920,
7
+ "height": 1080,
8
+ "fps": 60,
9
+ "variants": {
10
+ "9:16": {
11
+ "width": 1080,
12
+ "height": 1920,
13
+ "safeArea": {
14
+ "top": 230,
15
+ "bottom": 460,
16
+ "left": 40,
17
+ "right": 40
18
+ }
19
+ }
20
+ },
21
+ "duration": {
22
+ "min": 60,
23
+ "max": 360,
24
+ "default": 240
25
+ },
26
+ "music": "required",
27
+ "captions": "off",
28
+ "lyrics": {
29
+ "mode": "kinetic",
30
+ "align": "kf lyrics align <곡> --text 공식가사.txt --lang ko — 보컬 분리 + whisper 강제 정렬로 줄·어절 시각 → lyrics.json(공식 가사가 글자 정본, MMS 는 비상업 가중치라 안 씀)",
31
+ "layer": "JIZURA 가사 층(@kasaframe/jizura jizuraLayer) — 엔진·자주 쓰는 한글 글꼴은 실려 있다, lyrics.json 이 없으면 DOM 낱말",
32
+ "lipsync": "rhubarb — 캐릭터 입 모양을 보컬에 맞출 자리(선택)"
33
+ },
34
+ "loop": false,
35
+ "style": "kawaii-pastel",
36
+ "safeArea": {
37
+ "top": 60,
38
+ "bottom": 140,
39
+ "left": 80,
40
+ "right": 80
41
+ },
42
+ "text": {
43
+ "policy": "lyrics",
44
+ "maxOnScreen": 8,
45
+ "minPx": 56
46
+ },
47
+ "motion": {
48
+ "beatPulse": "drops-only",
49
+ "shake": {
50
+ "on": [
51
+ "drop"
52
+ ],
53
+ "maxPerPhrase": 1,
54
+ "maxPx": 10
55
+ },
56
+ "cameraMove": "once-per-phrase",
57
+ "repeatSameMove": false,
58
+ "maxFreezeSec": 0.1,
59
+ "staticSec": {
60
+ "warn": 5,
61
+ "error": 8
62
+ },
63
+ "beatMove": "drop-sections"
64
+ },
65
+ "layout": "sections",
66
+ "sectionIdeas": {
67
+ "intro": "인트로 — 세계와 주인공을 조용히 소개한다.. 컷은 마디마다(드롭은 박마다), 시각은 잰 박 목록(ctx.beats)을 그대로 — 템포가 흔들려도 BPM 으로 곱하지 않는다. 부른 낱말은 그 시각에 뜨고 뜻을 그림으로 받친다.",
68
+ "verse": "벌스 — 주인공의 일상·이야기 한 토막.. 컷은 마디마다(드롭은 박마다), 시각은 잰 박 목록(ctx.beats)을 그대로 — 템포가 흔들려도 BPM 으로 곱하지 않는다. 부른 낱말은 그 시각에 뜨고 뜻을 그림으로 받친다.",
69
+ "main": "본 구간 — 이야기를 밀고 간다.. 컷은 마디마다(드롭은 박마다), 시각은 잰 박 목록(ctx.beats)을 그대로 — 템포가 흔들려도 BPM 으로 곱하지 않는다. 부른 낱말은 그 시각에 뜨고 뜻을 그림으로 받친다.",
70
+ "build": "빌드업 — 후렴을 향해 모아 올린다. 컷 간격을 점점 줄인다. 컷은 마디마다(드롭은 박마다), 시각은 잰 박 목록(ctx.beats)을 그대로 — 템포가 흔들려도 BPM 으로 곱하지 않는다. 부른 낱말은 그 시각에 뜨고 뜻을 그림으로 받친다.",
71
+ "chorus": "후렴 — 가장 큰 그림.. 컷은 마디마다(드롭은 박마다), 시각은 잰 박 목록(ctx.beats)을 그대로 — 템포가 흔들려도 BPM 으로 곱하지 않는다. 부른 낱말은 그 시각에 뜨고 뜻을 그림으로 받친다.",
72
+ "drop": "드롭·후렴 — 영상에서 가장 크고 화려하게.. 컷은 마디마다(드롭은 박마다), 시각은 잰 박 목록(ctx.beats)을 그대로 — 템포가 흔들려도 BPM 으로 곱하지 않는다. 부른 낱말은 그 시각에 뜨고 뜻을 그림으로 받친다.",
73
+ "break": "브리지·쉬는 구간 — 한 장면을 길게, 색·빛이 바뀐다. 컷은 마디마다(드롭은 박마다), 시각은 잰 박 목록(ctx.beats)을 그대로 — 템포가 흔들려도 BPM 으로 곱하지 않는다. 부른 낱말은 그 시각에 뜨고 뜻을 그림으로 받친다.",
74
+ "outro": "아웃트로 — 처음 장면으로 돌아오며 맺는다. 마지막은 카메라가 서고 바탕·낱말이 흘러 멈추지 않는다. 컷은 마디마다(드롭은 박마다), 시각은 잰 박 목록(ctx.beats)을 그대로 — 템포가 흔들려도 BPM 으로 곱하지 않는다. 부른 낱말은 그 시각에 뜨고 뜻을 그림으로 받친다."
75
+ },
76
+ "scenes": [
77
+ {
78
+ "id": "intro",
79
+ "role": "intro",
80
+ "weight": 1,
81
+ "anchor": "start",
82
+ "snap": "bar",
83
+ "idea": "인트로 — 세계와 주인공을 조용히 소개한다"
84
+ },
85
+ {
86
+ "id": "verse1",
87
+ "role": "verse",
88
+ "weight": 2,
89
+ "snap": "bar",
90
+ "idea": "벌스 — 주인공의 일상·이야기 한 토막"
91
+ },
92
+ {
93
+ "id": "chorus1",
94
+ "role": "chorus",
95
+ "weight": 2,
96
+ "anchor": "drop:0",
97
+ "snap": "bar",
98
+ "idea": "후렴 — 가장 큰 그림"
99
+ },
100
+ {
101
+ "id": "verse2",
102
+ "role": "verse",
103
+ "weight": 2,
104
+ "snap": "bar",
105
+ "idea": "벌스 2 — 이야기가 한 걸음 나간다"
106
+ },
107
+ {
108
+ "id": "chorus2",
109
+ "role": "chorus",
110
+ "weight": 2,
111
+ "snap": "bar",
112
+ "idea": "후렴 2 — 첫 후렴과 다른 자리·색"
113
+ },
114
+ {
115
+ "id": "bridge",
116
+ "role": "break",
117
+ "weight": 1,
118
+ "snap": "bar",
119
+ "idea": "브리지 — 한 장면을 길게"
120
+ },
121
+ {
122
+ "id": "chorus3",
123
+ "role": "chorus",
124
+ "weight": 2,
125
+ "anchor": "drop:last",
126
+ "snap": "bar",
127
+ "idea": "마지막 후렴 — 가장 크게"
128
+ },
129
+ {
130
+ "id": "outro",
131
+ "role": "outro",
132
+ "sec": 6,
133
+ "anchor": "end",
134
+ "idea": "아웃트로 — 처음 장면으로 돌아오며 맺는다"
135
+ }
136
+ ],
137
+ "assets": {
138
+ "need": [],
139
+ "want": [
140
+ "character",
141
+ "lyrics"
142
+ ],
143
+ "gen": [
144
+ "img:character",
145
+ "img:world-bg"
146
+ ],
147
+ "genVideo": [],
148
+ "shot3d": "drop",
149
+ "act": "main"
150
+ },
151
+ "deliverables": [
152
+ "mp4",
153
+ "cover",
154
+ "srt",
155
+ "vtt"
156
+ ],
157
+ "detect": {
158
+ "words": [
159
+ "뮤비",
160
+ "뮤직비디오",
161
+ "뮤직 비디오",
162
+ "MV",
163
+ "가사",
164
+ "music video",
165
+ "lyric video",
166
+ "lyrics"
167
+ ],
168
+ "hints": [
169
+ "곡 전체",
170
+ "노래",
171
+ "보컬",
172
+ "가수",
173
+ "앨범",
174
+ "song"
175
+ ],
176
+ "aspect": "16:9"
177
+ }
178
+ }
Binary file
@@ -0,0 +1,185 @@
1
+ {
2
+ "id": "promo",
3
+ "label": "홍보",
4
+ "summary": "곡이 끌고 가는 홍보 — 드롭에서 가장 크게, 문구 없이 기능 낱말과 끝 카드만",
5
+ "aspect": "16:9",
6
+ "width": 1920,
7
+ "height": 1080,
8
+ "fps": 60,
9
+ "duration": {
10
+ "min": 30,
11
+ "max": 60,
12
+ "default": 60
13
+ },
14
+ "music": "required",
15
+ "captions": "none",
16
+ "loop": false,
17
+ "style": "kasaterm",
18
+ "safeArea": {
19
+ "top": 60,
20
+ "bottom": 60,
21
+ "left": 80,
22
+ "right": 80
23
+ },
24
+ "text": {
25
+ "policy": "none",
26
+ "maxOnScreen": 3,
27
+ "minPx": 56
28
+ },
29
+ "motion": {
30
+ "beatPulse": "drops-only",
31
+ "shake": {
32
+ "on": [
33
+ "drop"
34
+ ],
35
+ "maxPerPhrase": 1,
36
+ "maxPx": 12
37
+ },
38
+ "cameraMove": "once-per-phrase",
39
+ "repeatSameMove": false,
40
+ "maxFreezeSec": 0.1,
41
+ "staticSec": {
42
+ "warn": 1.5,
43
+ "error": 3
44
+ },
45
+ "beatMove": "every-beat"
46
+ },
47
+ "moves": {
48
+ "text": [
49
+ "slamWords",
50
+ "echoStack",
51
+ "ghostStack",
52
+ "splitFlap",
53
+ "ransomLetters"
54
+ ],
55
+ "wipe": [
56
+ "brushWipe",
57
+ "irisBlades",
58
+ "flood"
59
+ ],
60
+ "roles": {
61
+ "intro": {
62
+ "text": [
63
+ "ghostStack",
64
+ "splitFlap"
65
+ ]
66
+ },
67
+ "drop": {
68
+ "text": [
69
+ "slamWords",
70
+ "echoStack"
71
+ ]
72
+ },
73
+ "end": {
74
+ "text": [
75
+ "splitFlap",
76
+ "neonSign",
77
+ "ledBoard"
78
+ ]
79
+ }
80
+ }
81
+ },
82
+ "render": {
83
+ "motionBlur": 6,
84
+ "shutter": 180
85
+ },
86
+ "scenes": [
87
+ {
88
+ "id": "intro",
89
+ "role": "intro",
90
+ "weight": 2,
91
+ "anchor": "start",
92
+ "snap": "bar",
93
+ "idea": "곡 첫 구간 — 제품의 세계를 조용히 연다. 킥이 들어오기 전이라 큰 움직임은 아끼고, 화면 하나를 천천히 민다"
94
+ },
95
+ {
96
+ "id": "build",
97
+ "role": "build",
98
+ "weight": 2,
99
+ "snap": "bar",
100
+ "idea": "제품을 쓰는 손 하나 — 실제 화면·부품이 한 동작을 해낸다. 드롭 직전 마디에서 모아 올린다"
101
+ },
102
+ {
103
+ "id": "seam",
104
+ "role": "seam",
105
+ "weight": 1,
106
+ "snap": "bar",
107
+ "idea": "이음매 — build 의 마지막 화면 속으로 다이브해 드롭의 세계로 넘어간다(3D 전환, 틀이 맡는다 — 장면 파일은 그대로 둔다)",
108
+ "transition": "dive"
109
+ },
110
+ {
111
+ "id": "drop1",
112
+ "role": "drop",
113
+ "weight": 2,
114
+ "anchor": "drop:0",
115
+ "snap": "bar",
116
+ "idea": "첫 드롭 — 섬광·충격파·흔들림 중 하나로 크게 한 번, 그다음 기능 낱말 하나"
117
+ },
118
+ {
119
+ "id": "features",
120
+ "role": "features",
121
+ "weight": 3,
122
+ "snap": "bar",
123
+ "idea": "기능 낱말 셋 — 한 낱말에 한 동작, 같은 움직임을 되풀이하지 않는다"
124
+ },
125
+ {
126
+ "id": "drop2",
127
+ "role": "drop",
128
+ "weight": 2,
129
+ "anchor": "drop:last",
130
+ "snap": "bar",
131
+ "idea": "메인 드롭 — 영상에서 가장 크게. 지금까지 나온 부품이 한 화면에 모인다"
132
+ },
133
+ {
134
+ "id": "end",
135
+ "role": "end",
136
+ "sec": 4,
137
+ "anchor": "end",
138
+ "idea": "끝 카드 — 이름·한 줄·주소. 카메라는 서고, 멈춘 화면이 되지 않게 글자·밑줄·바탕이 흐른다"
139
+ }
140
+ ],
141
+ "assets": {
142
+ "need": [
143
+ "logo"
144
+ ],
145
+ "want": [
146
+ "screens",
147
+ "components"
148
+ ],
149
+ "gen": [],
150
+ "genVideo": [
151
+ "vid:seam"
152
+ ],
153
+ "shot3d": "drop1",
154
+ "act": "intro"
155
+ },
156
+ "deliverables": [
157
+ "mp4",
158
+ "cover"
159
+ ],
160
+ "detect": {
161
+ "words": [
162
+ "홍보",
163
+ "프로모",
164
+ "프로모션",
165
+ "홍보영상",
166
+ "브랜드 영상",
167
+ "하이라이트 영상",
168
+ "promo",
169
+ "promotion",
170
+ "sizzle",
171
+ "hype"
172
+ ],
173
+ "hints": [
174
+ "퓨처베이스",
175
+ "뮤비",
176
+ "음악에 맞춰",
177
+ "곡에 맞춰",
178
+ "1분",
179
+ "소개 영상",
180
+ "브랜드",
181
+ "music video"
182
+ ],
183
+ "aspect": "16:9"
184
+ }
185
+ }
Binary file
@@ -0,0 +1,37 @@
1
+ import { applyStyle, clip, ease, type SceneCtx } from "@kasaframe/core";
2
+ import type { Dress } from "@kasaframe/motion/moves";
3
+ import { makeStage } from "../lib/stage.ts";
4
+
5
+ const WORDS = ["{{word}}", "{{title}}"];
6
+ const DRESS: Dress = { bg: "{{bg}}", text: "{{text}}", wipeIn: "{{wipeIn}}", wipeOut: "{{wipeOut}}" };
7
+
8
+ // 쇼츠 훅 — 첫 프레임부터 결과가 보여야 한다. 생성 바탕(assets/gen/hook-bg.png)이 있으면 어둡게 깔고 그 위에 숫자·낱말 하나
9
+ function exists(url: string): boolean {
10
+ const x = new XMLHttpRequest();
11
+ x.open("HEAD", url, false);
12
+ try {
13
+ x.send();
14
+ } catch {
15
+ return false;
16
+ }
17
+ return x.status === 200 && (x.getResponseHeader("content-type") ?? "").startsWith("image/");
18
+ }
19
+
20
+ export default {
21
+ build(root: HTMLElement, ctx: SceneCtx) {
22
+ const bg = ctx.asset("gen/hook-bg.png");
23
+ const hasBg = exists(bg);
24
+ // 생성 바탕이 있으면 그게 바탕이다 — 바탕 수는 걷고 글 수만
25
+ const stage = makeStage(root, ctx, { panel: !hasBg, dress: hasBg ? { ...DRESS, bg: "orbs" } : DRESS });
26
+ const img = document.createElement("div");
27
+ img.style.cssText = `position:absolute;inset:-4%;background-size:cover;background-position:center;background-image:linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.55)), url("${bg}")`;
28
+ if (hasBg) stage.box.insertBefore(img, stage.cam);
29
+ const words = stage.say(WORDS, { color: hasBg ? "#fff" : "var(--kf-accent)", weight: 900, ready: true });
30
+ return (t: number) => {
31
+ words.paint(t, { scale: 1.12 - 0.12 * ease.outBack(clip(t, 0, 0.5).p) });
32
+ stage.tick(t);
33
+ // 바탕은 장면 내내 천천히 다가간다 — 멈춘 화면으로 잡히지 않게
34
+ applyStyle(img, { scale: 1 + 0.06 * (t / ctx.dur) });
35
+ };
36
+ },
37
+ };
@@ -0,0 +1,196 @@
1
+ {
2
+ "id": "shorts",
3
+ "label": "쇼츠",
4
+ "summary": "세로 쇼츠 — 첫 1.5초에 결과, 화면 글은 전문 낱말만, 말은 차분한 내레이션과 자막 트랙으로, 깊은 앰비언트 곡을 아래 깔고, 끝이 처음으로 이어진다",
5
+ "aspect": "9:16",
6
+ "width": 1080,
7
+ "height": 1920,
8
+ "fps": 60,
9
+ "duration": {
10
+ "min": 15,
11
+ "max": 60,
12
+ "default": 45
13
+ },
14
+ "music": "required",
15
+ "mood": "deep",
16
+ "narration": {
17
+ "on": true,
18
+ "lang": "ko",
19
+ "style": "차분하고 낮은 다큐멘터리 내레이션. 서두르지 않고 문장 끝을 내려 놓는다",
20
+ "voice": "elevenlabs:George",
21
+ "voices": {
22
+ "elevenlabs": "George",
23
+ "gemini": "Charon",
24
+ "dashscope": "Neil",
25
+ "local": "Sohee"
26
+ },
27
+ "lead": 0.25,
28
+ "tail": 0.5
29
+ },
30
+ "audio": {
31
+ "musicDb": -20,
32
+ "duck": true,
33
+ "lufs": -14,
34
+ "truePeak": -1.5,
35
+ "fadeOut": 1.5
36
+ },
37
+ "captions": "off",
38
+ "loop": true,
39
+ "style": "og",
40
+ "safeArea": {
41
+ "top": 230,
42
+ "bottom": 460,
43
+ "left": 40,
44
+ "right": 40
45
+ },
46
+ "text": {
47
+ "policy": "terms-only",
48
+ "maxOnScreen": 3,
49
+ "minPx": 48
50
+ },
51
+ "motion": {
52
+ "beatPulse": "off",
53
+ "shake": {
54
+ "on": [],
55
+ "maxPerPhrase": 0,
56
+ "maxPx": 0
57
+ },
58
+ "cameraMove": "once-per-phrase",
59
+ "repeatSameMove": false,
60
+ "maxFreezeSec": 0.1,
61
+ "staticSec": {
62
+ "warn": 1.5,
63
+ "error": 3
64
+ },
65
+ "beatMove": "every-beat"
66
+ },
67
+ "moves": {
68
+ "text": [
69
+ "slamWords",
70
+ "echoStack",
71
+ "splitFlap",
72
+ "ghostStack",
73
+ "ransomLetters"
74
+ ],
75
+ "wipe": [
76
+ "brushWipe",
77
+ "flood",
78
+ "irisBlades"
79
+ ],
80
+ "roles": {
81
+ "hook": {
82
+ "text": [
83
+ "slamWords"
84
+ ]
85
+ },
86
+ "reveal": {
87
+ "text": [
88
+ "slamWords",
89
+ "echoStack"
90
+ ]
91
+ },
92
+ "end": {
93
+ "text": [
94
+ "splitFlap",
95
+ "slamWords"
96
+ ]
97
+ }
98
+ }
99
+ },
100
+ "render": {
101
+ "motionBlur": 6,
102
+ "shutter": 180
103
+ },
104
+ "scenes": [
105
+ {
106
+ "id": "hook",
107
+ "role": "hook",
108
+ "sec": 1.5,
109
+ "anchor": "start",
110
+ "idea": "결과 먼저 — 가장 센 숫자나 그림 하나가 첫 프레임부터 화면에 있다"
111
+ },
112
+ {
113
+ "id": "setup",
114
+ "role": "setup",
115
+ "weight": 2,
116
+ "snap": "beat",
117
+ "idea": "조건 하나로 문제를 재현한다 — 보는 사람이 예상하는 쪽을 먼저 보여 준다"
118
+ },
119
+ {
120
+ "id": "turn",
121
+ "role": "seam",
122
+ "sec": 1.2,
123
+ "snap": "beat",
124
+ "transition": "dive",
125
+ "idea": "이음매 — setup 의 마지막 화면 속으로 다이브해 explain 의 무대로 넘어간다(3D 전환, 틀이 맡는다 — 장면 파일은 그대로 둔다)"
126
+ },
127
+ {
128
+ "id": "explain",
129
+ "role": "explain",
130
+ "weight": 4,
131
+ "snap": "beat",
132
+ "idea": "원리 — 큰 대상 하나를 끝까지 변신시킨다. 장면을 자르지 말고, 드러낼 때 다가가고 비교할 때 물러난다(stage.camera — 이유 없는 이동은 안 된다). 화면 글은 전문 낱말·숫자만"
133
+ },
134
+ {
135
+ "id": "reveal",
136
+ "role": "reveal",
137
+ "weight": 2,
138
+ "snap": "beat",
139
+ "idea": "이름 공개 — 지금까지 본 것의 이름과 숫자 하나"
140
+ },
141
+ {
142
+ "id": "limit",
143
+ "role": "limit",
144
+ "weight": 1,
145
+ "snap": "beat",
146
+ "idea": "남는 한계 한 가지 — 숫자나 낱말 하나로"
147
+ },
148
+ {
149
+ "id": "end",
150
+ "role": "end",
151
+ "sec": 2,
152
+ "anchor": "end",
153
+ "idea": "로고 — 되돌이 — 마지막으로 찍히는 프레임(lib/stage.ts 의 lastT = dur - 1/fps)에서 hook 첫 화면과 똑같아지게 움직임을 끝낸다"
154
+ }
155
+ ],
156
+ "assets": {
157
+ "need": [],
158
+ "want": [
159
+ "logo",
160
+ "data"
161
+ ],
162
+ "gen": [
163
+ "img:hook-bg"
164
+ ],
165
+ "shot3d": "explain",
166
+ "act": "setup"
167
+ },
168
+ "deliverables": [
169
+ "mp4",
170
+ "cover",
171
+ "srt",
172
+ "vtt"
173
+ ],
174
+ "detect": {
175
+ "words": [
176
+ "쇼츠",
177
+ "숏츠",
178
+ "숏폼",
179
+ "릴스",
180
+ "틱톡",
181
+ "세로 영상",
182
+ "shorts",
183
+ "short-form",
184
+ "reels",
185
+ "tiktok"
186
+ ],
187
+ "hints": [
188
+ "세로",
189
+ "9:16",
190
+ "vertical",
191
+ "45초",
192
+ "30초"
193
+ ],
194
+ "aspect": "9:16"
195
+ }
196
+ }
Binary file