@autoaiai/aicut 0.1.7 → 0.1.11
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.
- package/MANUAL.md +10 -0
- package/package.json +1 -1
- package/product.json +2 -1
- package/skills/30x-web-to-video/SKILL.md +421 -0
- package/skills/30x-web-to-video/examples/INDEX.md +26 -0
- package/skills/30x-web-to-video/references/animations.md +539 -0
- package/skills/30x-web-to-video/references/audio.md +256 -0
- package/skills/30x-web-to-video/references/components.md +340 -0
- package/skills/30x-web-to-video/references/lottie.md +174 -0
- package/skills/30x-web-to-video/references/visual-effects.md +157 -0
- package/skills/30x-web-to-video/remotion-best-practices/rules/audio.md +169 -0
- package/skills/30x-web-to-video/remotion-best-practices/rules/calculate-metadata.md +134 -0
- package/skills/30x-web-to-video/remotion-best-practices/rules/charts.md +120 -0
- package/skills/30x-web-to-video/remotion-best-practices/rules/compositions.md +154 -0
- package/skills/30x-web-to-video/remotion-best-practices/rules/ffmpeg.md +38 -0
- package/skills/30x-web-to-video/remotion-best-practices/rules/fonts.md +152 -0
- package/skills/3d-asset-generation/SKILL.md +142 -0
- package/skills/action-fight-prompt/SKILL.md +136 -0
- package/skills/action-fight-prompt/references/camera-and-impact.md +64 -0
- package/skills/action-fight-prompt/references/example-15s-duel.md +59 -0
- package/skills/action-fight-prompt/references/scene-patterns.md +80 -0
- package/skills/ad-creative-video/SKILL.md +205 -0
- package/skills/ad-creative-video/references/batch-ad-pipeline.md +289 -0
- package/skills/ad-creative-video/references/platform-specs.md +72 -0
- package/skills/after-effects/SKILL.md +123 -0
- package/skills/after-effects/references/export-recipes.md +168 -0
- package/skills/after-effects/references/expression-library.md +184 -0
- package/skills/after-effects/references/expressions.md +134 -0
- package/skills/after-effects/references/performance-triage.md +138 -0
- package/skills/after-effects/references/project-hygiene.md +188 -0
- package/skills/ai-media-quality-review/SKILL.md +72 -0
- package/skills/ai-product-video/SKILL.md +296 -0
- package/skills/ai-product-video/references/aesthetic-rules.md +177 -0
- package/skills/ai-product-video/references/final-review.md +110 -0
- package/skills/ai-product-video/references/guided-free-creation.md +194 -0
- package/skills/ai-product-video/references/music-beat-sync.md +219 -0
- package/skills/ai-product-video/references/pipeline.md +392 -0
- package/skills/ai-product-video/references/sequences/promo-energy-arc.md +50 -0
- package/skills/ai-product-video/references/shots/ATTRIBUTION.md +65 -0
- package/skills/ai-product-video/references/shots/camera/basic-3d-scene.md +37 -0
- package/skills/ai-product-video/references/shots/camera/crash-zoom-punch.md +39 -0
- package/skills/ai-product-video/references/shots/camera/cursor-flyover.md +38 -0
- package/skills/ai-product-video/references/shots/camera/depth-layer-moves.md +40 -0
- package/skills/ai-product-video/references/shots/camera/graze-face-tour.md +57 -0
- package/skills/aicut/SKILL.md +4 -4
- package/skills/aicut/references/commands.md +15 -15
- package/skills/aicut/references/film-format.md +1 -1
- package/skills/aicut/references/recipes.md +4 -4
- package/skills/aicut/references/troubleshooting.md +2 -2
- package/skills/aicut-motion/SKILL.md +6 -6
- package/skills/aicut-motion/references/design-systems/README.md +1 -1
- package/skills/aicut-motion/references/pages.md +1 -1
- package/skills/anidoodle/SKILL.md +185 -0
- package/skills/anidoodle/references/anatomy.md +91 -0
- package/skills/anidoodle/references/backends-and-adapters.md +82 -0
- package/skills/anidoodle/references/camera.md +148 -0
- package/skills/anidoodle/references/craft-bar.md +72 -0
- package/skills/anidoodle/references/determinism-and-contract.md +46 -0
- package/skills/anidoodle/references/formats.md +121 -0
- package/skills/anidoodle/references/motion-grammar.md +234 -0
- package/skills/anidoodle/references/music/compose.md +388 -0
- package/skills/anidoodle/references/music/sound-design.md +245 -0
- package/skills/anidoodle/references/music/sounds-licenses.md +69 -0
- package/skills/anidoodle/references/music/styles/lofi-electronic.md +112 -0
- package/skills/anidoodle/references/music/styles/music-box.md +57 -0
- package/skills/animated-component-libraries/SKILL.md +820 -0
- package/skills/animated-component-libraries/references/customization_guide.md +699 -0
- package/skills/animated-component-libraries/references/magic_ui_components.md +422 -0
- package/skills/animated-component-libraries/references/react_bits_components.md +587 -0
- package/skills/animated-infographic/SKILL.md +211 -0
- package/skills/animated-infographic/references/sequenced-infographic.md +286 -0
- package/skills/appshot-core/SKILL.md +872 -0
- package/skills/article-highlights/SKILL.md +151 -0
- package/skills/avatar-mix/SKILL.md +301 -0
- package/skills/bang-motion/SKILL.md +583 -0
- package/skills/bang-motion/references/ae-bridge-higgsfield.md +160 -0
- package/skills/bang-motion/references/anti-ppt.md +110 -0
- package/skills/bang-motion/references/architecture.md +188 -0
- package/skills/bang-motion/references/explainer.md +579 -0
- package/skills/bang-motion/references/kartun-panggung.md +221 -0
- package/skills/bang-motion/references/opener-konsep.md +817 -0
- package/skills/bang-motion/references/roadmap.md +85 -0
- package/skills/bang-motion/references/techniques.md +690 -0
- package/skills/beat-sync-edit/SKILL.md +148 -0
- package/skills/book-video-factory/SKILL.md +139 -0
- package/skills/book-video-factory/references/first-run.md +50 -0
- package/skills/book-video-factory/references/paper-collage-explainer.md +127 -0
- package/skills/book-video-factory/references/quality-gates.md +87 -0
- package/skills/book-video-production/SKILL.md +211 -0
- package/skills/brag/SKILL.md +195 -0
- package/skills/brag/references/audio.md +312 -0
- package/skills/brag/references/step-1-inspect.md +125 -0
- package/skills/brag/references/step-2-plan.md +234 -0
- package/skills/brag/references/step-3-compose.md +199 -0
- package/skills/brag/references/step-4-deliver.md +141 -0
- package/skills/brag/references/tones.md +231 -0
- package/skills/brand-setup/SKILL.md +228 -0
- package/skills/brewreel/SKILL.md +491 -0
- package/skills/brewreel/docs/broll.en.md +252 -0
- package/skills/brewreel/docs/broll.md +252 -0
- package/skills/brewreel/docs/custom-shot.en.md +66 -0
- package/skills/brewreel/docs/custom-shot.md +103 -0
- package/skills/brewreel/docs/faq.en.md +90 -0
- package/skills/brewreel/docs/faq.md +90 -0
- package/skills/brewreel/docs/features.en.md +157 -0
- package/skills/brewreel/docs/features.md +157 -0
- package/skills/brewreel/docs/gallery.en.md +44 -0
- package/skills/brewreel/docs/gallery.md +44 -0
- package/skills/brewreel/docs/how-it-works.en.md +64 -0
- package/skills/brewreel/docs/how-it-works.md +64 -0
- package/skills/caption-animation/SKILL.md +216 -0
- package/skills/caption-animation/references/word-timed-captions.md +254 -0
- package/skills/cartcut-editing/SKILL.md +615 -0
- package/skills/cartcut-editing/references/html-typography.md +277 -0
- package/skills/cassette-video-edit/SKILL.md +129 -0
- package/skills/ccvideo/SKILL.md +264 -0
- package/skills/chekhov-dramaturgy/SKILL.md +367 -0
- package/skills/chekhov-dramaturgy/reference.md +375 -0
- package/skills/chengfeng-check-updates/SKILL.md +283 -0
- package/skills/cinematic-product-promo-skill/SKILL.md +295 -0
- package/skills/cinematic-product-promo-skill/references/aesthetic-rules.md +187 -0
- package/skills/cinematic-product-promo-skill/references/final-review.md +116 -0
- package/skills/cinematic-product-promo-skill/references/guided-free-creation.md +199 -0
- package/skills/cinematic-product-promo-skill/references/jianying-export.md +183 -0
- package/skills/cinematic-product-promo-skill/references/music-beat-sync.md +257 -0
- package/skills/cinematic-product-promo-skill/references/pipeline.md +393 -0
- package/skills/cinematic-product-promo-skill/references/sequences/promo-energy-arc.md +50 -0
- package/skills/cinematic-product-promo-skill/references/shots/ATTRIBUTION.md +65 -0
- package/skills/cinematic-product-promo-skill/references/shots/camera/basic-3d-scene.md +37 -0
- package/skills/cinematic-product-promo-skill/references/shots/camera/crash-zoom-punch.md +39 -0
- package/skills/cinematic-product-promo-skill/references/shots/camera/cursor-flyover.md +38 -0
- package/skills/cinematic-product-promo-skill/references/shots/camera/depth-layer-moves.md +40 -0
- package/skills/claude-gif/SKILL.md +211 -0
- package/skills/claude-gif/references/gif-optimization.md +209 -0
- package/skills/claude-gif/references/perfect-loops.md +295 -0
- package/skills/claude-gif/references/platform-specs.md +138 -0
- package/skills/claude-gif/references/prompt-engineering.md +211 -0
- package/skills/claude-gif/references/remotion-gif.md +560 -0
- package/skills/codex-video-pipeline/SKILL.md +213 -0
- package/skills/codex-video-pipeline/examples/ai-meeting-notes/INPUT.md +10 -0
- package/skills/codex-video-pipeline/examples/ai-meeting-notes/expected/action-list.md +22 -0
- package/skills/codex-video-pipeline/references/captions.md +39 -0
- package/skills/codex-video-pipeline/references/cover-system.md +72 -0
- package/skills/codex-video-pipeline/references/cross-platform.md +77 -0
- package/skills/codex-video-pipeline/references/example-run.md +54 -0
- package/skills/codex-video-pipeline/references/first-run.md +130 -0
- package/skills/codex-video-pipeline/references/project-contract.md +54 -0
- package/skills/codex-video-pipeline/references/quality-gates.md +44 -0
- package/skills/codex-video-pipeline/references/research-and-script.md +50 -0
- package/skills/collage-broll-explainers/SKILL.md +429 -0
- package/skills/create-onboarding-video/SKILL.md +233 -0
- package/skills/cs-shotcraft-skill/SKILL.md +218 -0
- package/skills/cs-shotcraft-skill/references/aesthetic-rules.md +207 -0
- package/skills/cs-shotcraft-skill/references/camera-table.md +88 -0
- package/skills/cs-shotcraft-skill/references/engineering.md +132 -0
- package/skills/cs-shotcraft-skill/references/final-review.md +118 -0
- package/skills/cs-shotcraft-skill/references/guided-free-creation.md +199 -0
- package/skills/cs-shotcraft-skill/references/jianying-export.md +183 -0
- package/skills/cs-shotcraft-skill/references/music-beat-sync.md +257 -0
- package/skills/cs-shotcraft-skill/references/pipeline.md +408 -0
- package/skills/cs-shotcraft-skill/references/product-machine.md +56 -0
- package/skills/cs-shotcraft-skill/references/sequences/promo-energy-arc.md +50 -0
- package/skills/cs-shotcraft-skill/references/shots/ATTRIBUTION.md +65 -0
- package/skills/cs-shotcraft-skill/references/shots/camera/basic-3d-scene.md +37 -0
- package/skills/cut-video/SKILL.md +387 -0
- package/skills/cyxj-hyperframes-overlay/SKILL.md +75 -0
- package/skills/cyxj-remotion-evolve/SKILL.md +123 -0
- package/skills/cyxj-remotion-evolve-vibe-motion/SKILL.md +123 -0
- package/skills/demo-video-creation-skill/SKILL.md +152 -0
- package/skills/demo-video-creation-skill/references/capture-workflow.md +74 -0
- package/skills/demo-video-creation-skill/references/qc-checklist.md +61 -0
- package/skills/demo-video-creation-skill/references/remotion-ffmpeg.md +94 -0
- package/skills/demo-video-creation-skill/references/storytelling.md +86 -0
- package/skills/demo-video-creation-skill/references/visual-system.md +83 -0
- package/skills/demoday/SKILL.md +148 -0
- package/skills/develop-premiere-pro-mcp/SKILL.md +131 -0
- package/skills/diagram-animation/SKILL.md +200 -0
- package/skills/diagram-animation/references/diagram-and-chart-recipes.md +218 -0
- package/skills/diagram-tour/SKILL.md +287 -0
- package/skills/diagram-tour/examples/agent-architecture/agent-architecture-tour.md +78 -0
- package/skills/docvideoer/SKILL.md +139 -0
- package/skills/draftcut/SKILL.md +104 -0
- package/skills/draftcut/docs/agent-bootstrap.md +64 -0
- package/skills/draftcut/docs/approvals.md +45 -0
- package/skills/draftcut/docs/audio-first-migration.md +35 -0
- package/skills/draftcut/docs/configuration.md +54 -0
- package/skills/draftcut/docs/getting-started.md +63 -0
- package/skills/draftcut/docs/harness-case-study.en.md +23 -0
- package/skills/draftcut/docs/harness-case-study.md +47 -0
- package/skills/draftcut/references/01-plan.md +30 -0
- package/skills/draftcut/references/03-deliver.md +26 -0
- package/skills/draftcut/references/04-reference-theme-prompt.md +7 -0
- package/skills/draftcut/references/05-social-loudness.md +58 -0
- package/skills/draftcut/references/06-modern-components.md +72 -0
- package/skills/easyedit/SKILL.md +66 -0
- package/skills/erduo-broll-loop-engineering/SKILL.md +136 -0
- package/skills/erduo-broll-loop-engineering/references/animation-craft.md +208 -0
- package/skills/erduo-broll-loop-engineering/references/first-run-onboarding.md +107 -0
- package/skills/erduo-broll-loop-engineering/references/handoff-template.md +70 -0
- package/skills/erduo-broll-loop-engineering/references/motion-layout-lint.md +122 -0
- package/skills/erduo-broll-loop-engineering/references/parent-review-checklist.md +171 -0
- package/skills/erduo-broll-loop-engineering/references/prompt-first-workflow.md +322 -0
- package/skills/erduo-broll-loop-engineering/references/remotion-backend.md +334 -0
- package/skills/erduo-broll-loop-engineering/references/runtime/remotion-hyperframes-map.md +76 -0
- package/skills/erduo-broll-loop-engineering/references/runtime/runtime-contract.md +174 -0
- package/skills/erduo-broll-loop-engineering/references/runtime/runtime-selection.md +135 -0
- package/skills/erduo-broll-loop-engineering/references/shotcraft/remotion-sources/SOURCE.md +7 -0
- package/skills/erduo-broll-loop-engineering/references/shotcraft/upstream-attribution.md +65 -0
- package/skills/explainer-assets/SKILL.md +98 -0
- package/skills/explainer-video/SKILL.md +146 -0
- package/skills/framewright/SKILL.md +324 -0
- package/skills/framewright/references/audio.md +230 -0
- package/skills/framewright/references/guide.md +276 -0
- package/skills/framewright/references/painting.md +425 -0
- package/skills/framewright/references/photo.md +75 -0
- package/skills/framewright/references/questionnaire.md +115 -0
- package/skills/framewright/references/styles.md +388 -0
- package/skills/framewright/references/troubleshooting.md +119 -0
- package/skills/framewright/references/world.md +215 -0
- package/skills/gbro-collage-broll/SKILL.md +435 -0
- package/skills/gbro-collage-info/SKILL.md +135 -0
- package/skills/gbro-collage-info/references/motion-grammar.md +66 -0
- package/skills/gbro-collage-info/references/production.md +67 -0
- package/skills/gbro-collage-info/references/style-system.md +38 -0
- package/skills/gemini-tts/SKILL.md +208 -0
- package/skills/gemini-tts/references/prompting-guide.md +169 -0
- package/skills/gen/SKILL.md +282 -0
- package/skills/ghost-editor/SKILL.md +437 -0
- package/skills/ghost-editor/docs/HOW-IT-WORKS.md +82 -0
- package/skills/ghost-editor/docs/PLAYBOOK.md +139 -0
- package/skills/ghost-editor/docs/THIRD_PARTY/audio.md +17 -0
- package/skills/ghost-editor/docs/THIRD_PARTY/audioqa.md +13 -0
- package/skills/ghost-editor/docs/THIRD_PARTY/captions.md +20 -0
- package/skills/ghost-editor/docs/THIRD_PARTY/fonts.md +17 -0
- package/skills/ghost-editor/docs/THIRD_PARTY/kinetic.md +22 -0
- package/skills/ghost-editor/docs/THIRD_PARTY/looks.md +22 -0
- package/skills/ghost-editor/docs/THIRD_PARTY/matte.md +20 -0
- package/skills/ghost-editor/docs/THIRD_PARTY/models.md +11 -0
- package/skills/ghost-editor/docs/THIRD_PARTY/runtime.md +13 -0
- package/skills/ghost-editor/docs/THIRD_PARTY/shaders.md +15 -0
- package/skills/git-story-film/SKILL.md +220 -0
- package/skills/git-story-film/examples/raven-story/FONTS.md +8 -0
- package/skills/git-story-film/examples/raven-story/OUTLINE.md +93 -0
- package/skills/git-story-film/references/craft.md +148 -0
- package/skills/git-story-film/references/directing.md +185 -0
- package/skills/git-story-film/references/forms.md +150 -0
- package/skills/git-story-film/references/production.md +150 -0
- package/skills/git-story-film/references/story.md +137 -0
- package/skills/git-story-film/references/text-and-fonts.md +90 -0
- package/skills/guizang-product-video-skill/SKILL.md +96 -0
- package/skills/guizang-product-video-skill/references/audio-and-qa.md +113 -0
- package/skills/guizang-product-video-skill/references/audio-sourcing.md +80 -0
- package/skills/guizang-product-video-skill/references/case-study.md +63 -0
- package/skills/guizang-product-video-skill/references/component-pipeline.md +86 -0
- package/skills/guizang-product-video-skill/references/cover.md +43 -0
- package/skills/guizang-product-video-skill/references/direction.md +91 -0
- package/skills/guizang-product-video-skill/references/onboarding.md +98 -0
- package/skills/guizang-product-video-skill/references/repo-and-style.md +44 -0
- package/skills/guizang-product-video-skill/references/review.md +38 -0
- package/skills/guizang-product-video-skill/references/starter.md +168 -0
- package/skills/guizang-product-video-skill/references/story-and-copy.md +88 -0
- package/skills/guizang-product-video-skill/references/visual-vocabulary.md +78 -0
- package/skills/guofeng-paper-video/SKILL.md +159 -0
- package/skills/guofeng-paper-video/style/design.md +43 -0
- package/skills/guofeng-paper-video/style/palette.md +21 -0
- package/skills/guofeng-paper-video/style/prompts/01-/345/210/206/351/225/234/350/241/250.md +19 -0
- package/skills/guofeng-paper-video/style/prompts/02-/347/224/237/346/210/220/347/272/270/347/211/207.md +37 -0
- package/skills/guofeng-paper-video/style/prompts/03-/351/205/215/351/237/263/350/204/232/346/234/254.md +27 -0
- package/skills/guofeng-paper-video/style//345/210/206/351/225/234/344/270/216/345/233/276/345/261/202/350/247/204/350/214/203.md +67 -0
- package/skills/guofeng-paper-video/style//347/272/270/347/211/207/347/264/240/346/235/220/350/247/204/350/214/203.md +29 -0
- package/skills/hand-drawn-explainer-video-nikola/SKILL.md +113 -0
- package/skills/hand-drawn-explainer-video-nikola/docs/ARCHITECTURE.md +18 -0
- package/skills/hand-drawn-explainer-video-nikola/docs/CONFIGURATION.md +22 -0
- package/skills/hand-drawn-explainer-video-nikola/docs/STYLES.md +28 -0
- package/skills/hand-drawn-explainer-video-nikola/docs/TROUBLESHOOTING.md +35 -0
- package/skills/hand-drawn-explainer-video-nikola/examples/program-animation/skill-demo/DESIGN.md +24 -0
- package/skills/hand-drawn-explainer-video-nikola/references/automation-workflow.md +67 -0
- package/skills/hand-drawn-explainer-video-nikola/references/output-example.md +79 -0
- package/skills/hand-drawn-explainer-video-nikola/references/preflight-and-recovery.md +49 -0
- package/skills/hand-drawn-explainer-video-nikola/references/style-guide.md +82 -0
- package/skills/hand-drawn-explainer-video-nikola/references/style-selection-and-updates.md +39 -0
- package/skills/hand-drawn-explainer-video-nikola/references/upstream-whiteboard-review.md +30 -0
- package/skills/hand-drawn-explainer-video-nikola/references/voiceover.md +37 -0
- package/skills/hbg-life-simulation/SKILL.md +285 -0
- package/skills/hbg-life-simulation/references/image-generation.md +53 -0
- package/skills/hbg-life-simulation/references/local-account-api.md +112 -0
- package/skills/hbg-life-simulation/references/opening-system.md +45 -0
- package/skills/hbg-life-simulation/references/project-spec.md +62 -0
- package/skills/hbg-life-simulation/references/render-and-qa.md +107 -0
- package/skills/hbg-life-simulation/references/storyboarding.md +69 -0
- package/skills/hbg-life-simulation/references/style-system.md +80 -0
- package/skills/hbg-life-simulation/references/visual-system.md +44 -0
- package/skills/heygen-avatar/SKILL.md +489 -0
- package/skills/heygen-avatar/references/asset-routing.md +86 -0
- package/skills/heygen-avatar/references/avatar-creation.md +181 -0
- package/skills/heygen-avatar/references/troubleshooting.md +137 -0
- package/skills/heytea-doodle-poster/SKILL.md +132 -0
- package/skills/heytea-doodle-poster/references/desktop-pet-character-modes.md +103 -0
- package/skills/heytea-doodle-poster/references/desktop-pet-environment.md +122 -0
- package/skills/heytea-doodle-poster/references/desktop-pet-pack.md +106 -0
- package/skills/heytea-doodle-poster/references/desktop-pet-workflow.md +264 -0
- package/skills/heytea-doodle-poster/references/evaluation.md +246 -0
- package/skills/heytea-doodle-poster/references/lettering-guide.md +213 -0
- package/skills/heytea-doodle-poster/references/mixed-media-style-guide.md +101 -0
- package/skills/heytea-doodle-poster/references/monster-poster-workflow.md +56 -0
- package/skills/heytea-doodle-poster/references/style-guide.md +412 -0
- package/skills/heytea-doodle-poster-hosted/SKILL.md +132 -0
- package/skills/heytea-doodle-poster-hosted/references/desktop-pet-character-modes.md +103 -0
- package/skills/heytea-doodle-poster-hosted/references/desktop-pet-environment.md +122 -0
- package/skills/heytea-doodle-poster-hosted/references/desktop-pet-pack.md +106 -0
- package/skills/heytea-doodle-poster-hosted/references/desktop-pet-workflow.md +264 -0
- package/skills/heytea-doodle-poster-hosted/references/evaluation.md +246 -0
- package/skills/heytea-doodle-poster-hosted/references/lettering-guide.md +213 -0
- package/skills/heytea-doodle-poster-hosted/references/mixed-media-style-guide.md +101 -0
- package/skills/heytea-doodle-poster-hosted/references/monster-poster-workflow.md +56 -0
- package/skills/heytea-doodle-poster-hosted/references/style-guide.md +412 -0
- package/skills/html2video/SKILL.md +290 -0
- package/skills/html2video/references/cjk-type.md +173 -0
- package/skills/html2video/references/editorial.md +145 -0
- package/skills/html2video/references/narration.md +111 -0
- package/skills/html2video/references/pitfalls.md +238 -0
- package/skills/html2video/references/shots.md +198 -0
- package/skills/html2video/references/storyboard.md +323 -0
- package/skills/hyperdirector/SKILL.md +202 -0
- package/skills/hyperdirector/docs/audio-workflow.md +160 -0
- package/skills/hyperdirector/docs/audio-workflow.zh-CN.md +244 -0
- package/skills/hyperdirector/docs/brand-kit-setup.md +322 -0
- package/skills/hyperdirector/docs/brand-kit-setup.zh-CN.md +277 -0
- package/skills/hyperdirector/docs/cursor-development-notes.md +474 -0
- package/skills/hyperdirector/docs/faq.md +285 -0
- package/skills/hyperdirector/docs/faq.zh-CN.md +198 -0
- package/skills/hyperdirector/docs/first-video.md +320 -0
- package/skills/hyperdirector/docs/first-video.zh-CN.md +265 -0
- package/skills/hyperdirector/docs/installation.md +254 -0
- package/skills/hyperdirector/docs/installation.zh-CN.md +222 -0
- package/skills/hyperdirector/docs/quickstart.md +203 -0
- package/skills/hyperframes/SKILL.md +117 -0
- package/skills/hyperframes/references/captions.md +46 -0
- package/skills/hyperframes/references/film.md +48 -0
- package/skills/hyperframes/references/format.md +158 -0
- package/skills/hyperframes/references/look.md +69 -0
- package/skills/hyperframes/references/motion.md +95 -0
- package/skills/hyperframes/references/overlays.md +39 -0
- package/skills/hyperframes/references/review.md +51 -0
- package/skills/hyperframes/references/runtimes.md +69 -0
- package/skills/hyperframes/references/skill-lifecycle.md +49 -0
- package/skills/hyperframes/references/sound.md +43 -0
- package/skills/hyperframes/references/spec.md +76 -0
- package/skills/hyperframes/references/story.md +103 -0
- package/skills/hyperframes-motion-director/SKILL.md +920 -0
- package/skills/hyperframes-motion-director/references/asset-choreography-and-render-qa.md +185 -0
- package/skills/hyperframes-motion-director/references/audio-sync.md +83 -0
- package/skills/hyperframes-motion-director/references/design-engineering.md +156 -0
- package/skills/hyperframes-motion-director/references/gsap-choreography.md +202 -0
- package/skills/hyperframes-motion-director/references/hyperframes-stability.md +99 -0
- package/skills/hyperframes-motion-director/references/imagegen-asset-pipeline.md +227 -0
- package/skills/hyperframes-motion-director/references/motion-background-system.md +165 -0
- package/skills/hyperframes-motion-director/references/motion-craft.md +182 -0
- package/skills/hyperframes-motion-director/references/premium-product-promo.md +287 -0
- package/skills/hyperframes-motion-director/references/text-over-background-layout.md +221 -0
- package/skills/hyperframes-motion-director/references/visual-standard.md +174 -0
- package/skills/hyperframes-motion-director/references/workflow.md +320 -0
- package/skills/hypit/SKILL.md +367 -0
- package/skills/hypit/references/creation/brief.md +93 -0
- package/skills/hypit/references/creation/script-and-time.md +259 -0
- package/skills/hypit/references/creation/transformations.md +143 -0
- package/skills/hypit/references/playbooks/craft/b-roll.md +94 -0
- package/skills/hypit/references/playbooks/craft/caption-tracking.md +126 -0
- package/skills/hypit/references/playbooks/craft/captions.md +253 -0
- package/skills/hypit/references/playbooks/craft/generated-dependencies.md +38 -0
- package/skills/hypit/references/playbooks/craft/graphic-compositions.md +85 -0
- package/skills/hypit/references/playbooks/craft/motion-graphics.md +68 -0
- package/skills/hypit/references/playbooks/craft/screen-demonstrations.md +51 -0
- package/skills/hypit/references/playbooks/craft/sound-mix.md +70 -0
- package/skills/hypit/references/playbooks/formats/narration-led-demo.md +87 -0
- package/skills/image/SKILL.md +153 -0
- package/skills/image/references/characters.md +86 -0
- package/skills/image/references/creative-direction.md +137 -0
- package/skills/image/references/de-slop.md +95 -0
- package/skills/image/references/dimensional.md +88 -0
- package/skills/image/references/editing.md +112 -0
- package/skills/image/references/golden-rules.md +198 -0
- package/skills/image/references/gpt-image.md +228 -0
- package/skills/image/references/models.md +78 -0
- package/skills/image/references/multi-panel.md +354 -0
- package/skills/image/references/nano-banana.md +150 -0
- package/skills/image/references/patterns/character-design.md +150 -0
- package/skills/image/references/patterns/ecommerce.md +124 -0
- package/skills/image-smixs/SKILL.md +153 -0
- package/skills/image-smixs/references/characters.md +86 -0
- package/skills/image-smixs/references/creative-direction.md +137 -0
- package/skills/image-smixs/references/de-slop.md +95 -0
- package/skills/image-smixs/references/dimensional.md +88 -0
- package/skills/image-smixs/references/editing.md +112 -0
- package/skills/image-smixs/references/golden-rules.md +198 -0
- package/skills/image-smixs/references/gpt-image.md +228 -0
- package/skills/image-smixs/references/models.md +78 -0
- package/skills/image-smixs/references/multi-panel.md +354 -0
- package/skills/image-smixs/references/nano-banana.md +150 -0
- package/skills/image-smixs/references/patterns/character-design.md +150 -0
- package/skills/image-smixs/references/patterns/ecommerce.md +124 -0
- package/skills/image-story-video-wizard/SKILL.md +148 -0
- package/skills/image-story-video-wizard/docs/ARTICLE_ALIGNMENT.md +29 -0
- package/skills/image-story-video-wizard/references/host-routing.md +44 -0
- package/skills/image-story-video-wizard/references/state-schema.md +79 -0
- package/skills/image-story-video-wizard/references/workflow.md +203 -0
- package/skills/image-story-video-wizard/references/writing-and-review.md +60 -0
- package/skills/ip-as-logo/SKILL.md +151 -0
- package/skills/ip-as-logo-s1dashu/SKILL.md +151 -0
- package/skills/jtxvideo-skill/SKILL.md +337 -0
- package/skills/kinetic-reel/SKILL.md +140 -0
- package/skills/kinetic-reel/examples/work-reel-26/STORYBOARD.md +51 -0
- package/skills/kinetic-reel/references/sound.md +40 -0
- package/skills/kinetic-reel/references/style-guide.md +79 -0
- package/skills/knowledge-explainer-skill/SKILL.md +149 -0
- package/skills/knowledge-explainer-skill/examples/ai_video_3steps.md +61 -0
- package/skills/knowledge-explainer-skill/examples/algorithm_bubble.md +20 -0
- package/skills/knowledge-explainer-skill/examples/before_after_demo.md +38 -0
- package/skills/knowledge-explainer-skill/examples/cta_outro.md +11 -0
- package/skills/knowledge-explainer-skill/examples/double_pendulum.md +20 -0
- package/skills/knowledge-explainer-skill/examples/paper_fold.md +20 -0
- package/skills/knowledge-explainer-skill/examples/script.md +40 -0
- package/skills/lanshu-create-ai-presenter-video/SKILL.md +253 -0
- package/skills/lanshu-create-ai-presenter-video/references/editing.md +67 -0
- package/skills/lanshu-create-ai-presenter-video/references/generation.md +94 -0
- package/skills/lanshu-create-ai-presenter-video/references/qa-recovery.md +83 -0
- package/skills/lanshu-create-ai-presenter-video/references/styled-explainer.md +189 -0
- package/skills/laoxu-video-script/SKILL.md +117 -0
- package/skills/laoxu-video-script/references/cases.md +305 -0
- package/skills/laoxu-video-script/references/de-ai.md +32 -0
- package/skills/laoxu-video-script/references/diagnostics.md +67 -0
- package/skills/laoxu-video-script/references/format.md +62 -0
- package/skills/laoxu-video-script/references/formulas.md +43 -0
- package/skills/laoxu-video-script/references/method.md +115 -0
- package/skills/laoxu-video-script/references/motifs-and-lines.md +829 -0
- package/skills/laoxu-video-script/references/persona.md +38 -0
- package/skills/laoxu-video-script/references/qihao-path.md +35 -0
- package/skills/laoxu-video-script/references/qihao-xinfa.md +39 -0
- package/skills/laoxu-video-script/references/redlines.md +26 -0
- package/skills/lemo-opuscar/SKILL.md +67 -0
- package/skills/lipnardo/SKILL.md +308 -0
- package/skills/lipnardo/examples/batch-personalized.md +44 -0
- package/skills/lipnardo/examples/photo-to-avatar-pipeline.md +56 -0
- package/skills/lipnardo/examples/single-video.md +44 -0
- package/skills/lipnardo/references/avatar-types.md +42 -0
- package/skills/lipnardo/references/credit-costs.md +39 -0
- package/skills/lipnardo/references/error-codes.md +66 -0
- package/skills/lipnardo/references/heygen-api-reference.md +416 -0
- package/skills/ll-video-decomposer/SKILL.md +105 -0
- package/skills/ll-video-decomposer/references/audiovisual-analysis-guide.md +44 -0
- package/skills/ll-video-decomposer/references/evidence-and-confidence-rules.md +41 -0
- package/skills/ll-video-decomposer/references/multi-video-comparison-template.md +48 -0
- package/skills/ll-video-decomposer/references/single-video-report-template.md +47 -0
- package/skills/ll-video-decomposer/references/tool-discovery-workflow.md +30 -0
- package/skills/ll-video-decomposer/references/transcription-routing.md +65 -0
- package/skills/ll-video-decomposer/references/video-acquisition-workflow.md +30 -0
- package/skills/ltx2-video/SKILL.md +193 -0
- package/skills/ltx2-video/references/mode_ux.md +293 -0
- package/skills/make-ai-short/SKILL.md +130 -0
- package/skills/make-blender-education-video/SKILL.md +247 -0
- package/skills/make-blender-education-video/references/evidence-and-explanation.md +62 -0
- package/skills/make-blender-education-video/references/github-workflow-discovery.md +55 -0
- package/skills/make-blender-education-video/references/production-workflow.md +62 -0
- package/skills/make-blender-education-video/references/story-patterns.md +65 -0
- package/skills/make-blender-education-video/references/visual-quality.md +82 -0
- package/skills/manage-storyboard-projects/SKILL.md +128 -0
- package/skills/manim-composer/SKILL.md +176 -0
- package/skills/manim-composer/references/narrative-patterns.md +125 -0
- package/skills/manim-composer/references/scene-examples.md +216 -0
- package/skills/manim-composer/references/visual-techniques.md +223 -0
- package/skills/manim-composer/templates/scenes-template.md +147 -0
- package/skills/monet-ai-editor-monet/SKILL.md +367 -0
- package/skills/motion-graphics/SKILL.md +206 -0
- package/skills/motion-graphics/references/craft.md +136 -0
- package/skills/motion-graphics/references/engine.md +130 -0
- package/skills/motion-graphics/references/export.md +67 -0
- package/skills/motion-graphics/references/physics.md +100 -0
- package/skills/motion-graphics/references/verify.md +124 -0
- package/skills/motion-video/SKILL.md +133 -0
- package/skills/motion-video/references/audio-and-beat-sync.md +109 -0
- package/skills/motion-video/references/composition-contract.md +107 -0
- package/skills/motion-video/references/production-pipeline.md +147 -0
- package/skills/motion-video/references/style-comic-spiderverse.md +87 -0
- package/skills/motion-video/references/style-glass-keynote.md +69 -0
- package/skills/motion-video-maker/SKILL.md +1452 -0
- package/skills/motion-video-maker/reference/components.md +451 -0
- package/skills/motion-video-maker/reference/workflow.md +190 -0
- package/skills/motioncraft/SKILL.md +221 -0
- package/skills/motioncraft/references/animation-system.md +57 -0
- package/skills/motioncraft/references/assets-and-licensing.md +21 -0
- package/skills/motioncraft/references/customization.md +52 -0
- package/skills/motioncraft/references/gpu-cloud-render.md +15 -0
- package/skills/motioncraft/references/music.md +43 -0
- package/skills/motioncraft/references/phase1-planning-and-preview.md +74 -0
- package/skills/motioncraft/references/phase2-timeline-audio.md +33 -0
- package/skills/motioncraft/references/phase3-pixel-review.md +13 -0
- package/skills/motioncraft/references/phase4-templates.md +30 -0
- package/skills/motioncraft/references/preflight.md +27 -0
- package/skills/motioncraft/references/qa.md +53 -0
- package/skills/motioncraft/references/reference-analysis.md +37 -0
- package/skills/narrator-ai-cli/SKILL.md +256 -0
- package/skills/narrator-ai-cli/references/magic-video.md +205 -0
- package/skills/narrator-ai-cli/references/operations.md +230 -0
- package/skills/narrator-ai-cli/references/resources.md +126 -0
- package/skills/narrator-ai-cli/references/workflows.md +332 -0
- package/skills/newcut-video-clipping/SKILL.md +194 -0
- package/skills/newcut-video-clipping/references/examples.md +59 -0
- package/skills/newcut-video-clipping/references/provider-config.md +110 -0
- package/skills/newcut-video-clipping/references/quality-check.md +35 -0
- package/skills/newcut-video-clipping/references/semantic-plan.md +65 -0
- package/skills/notes-to-video/SKILL.md +476 -0
- package/skills/openchatcut/SKILL.md +100 -0
- package/skills/openchatcut/references/editing-workflow.md +54 -0
- package/skills/openchatcut/references/getting-started.md +106 -0
- package/skills/openchatcut/references/known-errors.md +62 -0
- package/skills/openstoryline-install/SKILL.md +228 -0
- package/skills/orca-motion/SKILL.md +100 -0
- package/skills/orca-motion/references/api.md +100 -0
- package/skills/orca-motion/references/integration.md +59 -0
- package/skills/orca-motion/references/kinetic-type.md +59 -0
- package/skills/orca-motion/references/principles.md +76 -0
- package/skills/package-talking-head-video/SKILL.md +90 -0
- package/skills/package-talking-head-video/docs/EXAMPLES.md +18 -0
- package/skills/package-talking-head-video/docs/TROUBLESHOOTING.md +29 -0
- package/skills/package-talking-head-video/docs/USAGE.md +83 -0
- package/skills/package-talking-head-video/docs/superpowers/plans/2026-08-08-multicolor-center-speaker.md +144 -0
- package/skills/package-talking-head-video/docs/superpowers/plans/2026-08-08-semantic-template-system-v2.md +1099 -0
- package/skills/package-talking-head-video/docs/superpowers/specs/2026-08-08-multicolor-center-speaker-design.md +154 -0
- package/skills/package-talking-head-video/docs/superpowers/specs/2026-08-08-semantic-template-system-v2-design.md +365 -0
- package/skills/package-talking-head-video/examples/auto-editing-0/GATE_A.md +56 -0
- package/skills/package-talking-head-video/examples/auto-editing-0/GATE_D.md +8 -0
- package/skills/package-talking-head-video/examples/auto-editing-0/QA_REPORT.md +34 -0
- package/skills/package-talking-head-video/references/director-rules.md +29 -0
- package/skills/package-talking-head-video/references/motion-and-illustration.md +25 -0
- package/skills/paper-cut/SKILL.md +164 -0
- package/skills/paper-cut/references/asset-spec.md +47 -0
- package/skills/paper-cut/references/audio-and-chatcut.md +26 -0
- package/skills/paper-cut/references/hyperframes-assembly.md +47 -0
- package/skills/paper-cut/references/image-led-production.md +65 -0
- package/skills/paper-cut/references/storyboard-schema.md +48 -0
- package/skills/paper-cut/references/workflow.md +39 -0
- package/skills/personal-ip-brand-intro/SKILL.md +216 -0
- package/skills/personal-ip-brand-intro/references/intake-schema.md +79 -0
- package/skills/personal-ip-brand-intro/references/music-upload-workflow.md +40 -0
- package/skills/personal-ip-brand-intro/references/originality-rules.md +42 -0
- package/skills/personal-ip-brand-intro/references/qa-checklist.md +60 -0
- package/skills/personal-ip-brand-intro/references/rhythm-routing.md +41 -0
- package/skills/personal-ip-brand-intro/references/storyboard-contract.md +42 -0
- package/skills/pixel2motion/SKILL.md +279 -0
- package/skills/pixel2motion/references/html-delivery-template.md +42 -0
- package/skills/pixel2motion/references/motion-personality.md +109 -0
- package/skills/pixel2motion/references/reveal-patterns.md +163 -0
- package/skills/pixel2motion/references/ribbon-fitting.md +90 -0
- package/skills/pixel2motion/references/twelve-principles-for-logos.md +116 -0
- package/skills/premiere-batch-delivery/SKILL.md +71 -0
- package/skills/premiere-pro-mcp/SKILL.md +161 -0
- package/skills/promo-creator-skills/SKILL.md +209 -0
- package/skills/promo-creator-skills/references/mureka_prompt_guide.md +251 -0
- package/skills/promo-creator-skills/references/product_promo_bgm_prompting.md +100 -0
- package/skills/promo-video/SKILL.md +408 -0
- package/skills/qisi-video-remix/SKILL.md +134 -0
- package/skills/qisi-video-remix/examples/creative-plan.md +133 -0
- package/skills/qisi-video-remix/references/delivery-guide.md +63 -0
- package/skills/reel-video/SKILL.md +237 -0
- package/skills/remotion-ad-video/SKILL.md +252 -0
- package/skills/remotion-ad-video/references/ad-aesthetic-qa.md +60 -0
- package/skills/remotion-ad-video/references/ad-brief-contract.md +235 -0
- package/skills/remotion-ad-video/references/ad-exemplars.md +186 -0
- package/skills/remotion-ad-video/references/ad-intake.md +54 -0
- package/skills/remotion-ad-video/references/asset-harvest.md +56 -0
- package/skills/remotion-ad-video/references/audio-caption-system.md +202 -0
- package/skills/remotion-ad-video/references/concept-contract.md +128 -0
- package/skills/remotion-ad-video/references/creative-direction.md +146 -0
- package/skills/remotion-ad-video/references/fast-test-workflow.md +86 -0
- package/skills/remotion-ad-video/references/game-ad-patterns.md +75 -0
- package/skills/remotion-ad-video/references/hyperframes-output.md +90 -0
- package/skills/remotion-ad-video/references/industry-angle-library.md +71 -0
- package/skills/remotion-ads/SKILL.md +278 -0
- package/skills/remotion-ads/references/ad-copywriting.md +229 -0
- package/skills/remotion-ads/references/animations.md +693 -0
- package/skills/remotion-ads/references/brand-config-template.md +355 -0
- package/skills/remotion-ads/references/captions.md +529 -0
- package/skills/remotion-ads/references/carousels.md +580 -0
- package/skills/remotion-ads/references/components.md +897 -0
- package/skills/remotion-ads/references/copy-frameworks.md +144 -0
- package/skills/remotion-ads/references/formats.md +436 -0
- package/skills/remotion-ads/references/gemini-tts.md +473 -0
- package/skills/remotion-ads/references/html-in-canvas.md +555 -0
- package/skills/remotion-ads/references/local-assets.md +543 -0
- package/skills/remotion-ads/references/music.md +656 -0
- package/skills/remotion-code-motion-explainer/SKILL.md +178 -0
- package/skills/remotion-code-motion-explainer/references/code-motion-design.md +86 -0
- package/skills/remotion-code-motion-explainer/references/motion-production-patterns.md +93 -0
- package/skills/remotion-code-motion-explainer/references/production-and-qc.md +99 -0
- package/skills/remotion-code-motion-explainer/references/reference-reconstruction.md +48 -0
- package/skills/remotion-code-motion-explainer/references/ui-motion-shot-library.md +62 -0
- package/skills/remotion-motion-graphics/SKILL.md +169 -0
- package/skills/remotion-motion-graphics/references/patterns.md +355 -0
- package/skills/remotion-motion-graphics/references/polish.md +102 -0
- package/skills/remotion-motion-graphics/references/scaffold.md +144 -0
- package/skills/remotion-motion-graphics/references/traps.md +152 -0
- package/skills/remotion-resemble-ai/SKILL.md +879 -0
- package/skills/remotion-resemble-ai/rules/resemble-captions.md +350 -0
- package/skills/remotion-resemble-ai/rules/resemble-remotion-integration.md +305 -0
- package/skills/remotion-resemble-ai/rules/resemble-setup.md +284 -0
- package/skills/remotion-resemble-ai/rules/resemble-streaming-tts.md +225 -0
- package/skills/remotion-resemble-ai/rules/resemble-sync-tts.md +239 -0
- package/skills/remotion-resemble-ai/rules/resemble-voices.md +213 -0
- package/skills/remotion-resemble-ai/rules/visual-animations.md +567 -0
- package/skills/riffkit/SKILL.md +196 -0
- package/skills/riffkit/examples/any-look-styles.md +11 -0
- package/skills/riffkit/examples/faceless-and-auto.md +16 -0
- package/skills/riffkit/examples/localize-spanish.md +18 -0
- package/skills/riffkit/examples/tiktok-shop-product.md +22 -0
- package/skills/riffkit/references/anchor.md +62 -0
- package/skills/riffkit/references/api.md +806 -0
- package/skills/riffkit/references/details.md +153 -0
- package/skills/riffkit/references/errors.md +69 -0
- package/skills/riffkit/references/intents.md +29 -0
- package/skills/saas-motion-video/SKILL.md +71 -0
- package/skills/script-to-video/SKILL.md +2627 -0
- package/skills/shorts/SKILL.md +372 -0
- package/skills/shorts/references/caption-styles.md +105 -0
- package/skills/shorts/references/platform-specs.md +149 -0
- package/skills/shorts/references/remotion-patterns.md +180 -0
- package/skills/shorts/references/scoring-rubric.md +106 -0
- package/skills/smart-video-editor/SKILL.md +327 -0
- package/skills/smart-video-editor/docs/FONTS.md +57 -0
- package/skills/story-telling/SKILL.md +222 -0
- package/skills/story-telling/rules/composition.md +130 -0
- package/skills/story-telling/rules/images.md +119 -0
- package/skills/story-telling/rules/models.md +98 -0
- package/skills/story-telling/rules/narration.md +87 -0
- package/skills/story-telling/rules/pitfalls.md +140 -0
- package/skills/story-telling/rules/story-formats.md +108 -0
- package/skills/story-telling/rules/story-json.md +143 -0
- package/skills/story-telling/rules/voices.md +114 -0
- package/skills/story-telling/rules/workflow.md +105 -0
- package/skills/story-to-handdrawn-video/SKILL.md +216 -0
- package/skills/story-to-handdrawn-video/references/asset-workflow.md +24 -0
- package/skills/story-to-handdrawn-video/references/reference-style-workflow.md +27 -0
- package/skills/su-card-to-video/SKILL.md +103 -0
- package/skills/talking-head-video-pipeline/SKILL.md +224 -0
- package/skills/talking-head-video-pipeline/examples/prompts.md +217 -0
- package/skills/talking-head-video-pipeline/references/asr-adapters.md +51 -0
- package/skills/talking-head-video-pipeline/references/caption-workflow.md +53 -0
- package/skills/talking-head-video-pipeline/references/export-recipes.md +78 -0
- package/skills/talking-head-video-pipeline/references/layout-safety.md +49 -0
- package/skills/talking-head-video-pipeline/references/video-use-integration.md +71 -0
- package/skills/talking-head-video-pipeline/references/workflows/captions.md +52 -0
- package/skills/talking-head-video-pipeline/references/workflows/design.md +77 -0
- package/skills/talking-head-video-pipeline/references/workflows/doctor.md +51 -0
- package/skills/talking-head-video-pipeline/references/workflows/export.md +50 -0
- package/skills/talking-head-video-pipeline/references/workflows/init.md +51 -0
- package/skills/talking-head-video-pipeline/references/workflows/learn.md +36 -0
- package/skills/text-to-lottie/SKILL.md +202 -0
- package/skills/text-to-lottie/references/chapterization-transition-grammar.md +132 -0
- package/skills/text-to-lottie/references/design-taste.md +292 -0
- package/skills/text-to-lottie/references/lottie-spec-map.md +82 -0
- package/skills/text-to-lottie/references/motion-taste.md +260 -0
- package/skills/text-to-lottie/references/player-contract.md +325 -0
- package/skills/text-to-lottie/references/recipe-camera-scene-motion.md +65 -0
- package/skills/text-to-lottie/references/recipe-data-stats.md +104 -0
- package/skills/text-to-lottie/references/recipe-diagram-technical.md +106 -0
- package/skills/text-to-lottie/references/recipe-loaders-icons.md +70 -0
- package/skills/text-to-lottie/references/recipe-logo.md +72 -0
- package/skills/text-to-lottie/references/recipe-lower-thirds.md +62 -0
- package/skills/text-to-lottie/references/recipe-product-promo.md +99 -0
- package/skills/ultrademo/SKILL.md +212 -0
- package/skills/video-assemble/SKILL.md +101 -0
- package/skills/video-assemble-zenstory-ai/SKILL.md +153 -0
- package/skills/video-assemble-zenstory-ai/references/audio-modes.md +63 -0
- package/skills/video-assemble-zenstory-ai/references/explicit-audio-mix.md +77 -0
- package/skills/video-assemble-zenstory-ai/references/jianying/SOURCE.md +14 -0
- package/skills/video-assemble-zenstory-ai/references/narration-adoption.md +103 -0
- package/skills/video-assemble-zenstory-ai/references/packaging.md +44 -0
- package/skills/video-assemble-zenstory-ai/references/source-score.md +146 -0
- package/skills/video-assemble-zenstory-ai/references/subtitle-track.md +202 -0
- package/skills/video-editing/SKILL.md +688 -0
- package/skills/video-explainer/SKILL.md +163 -0
- package/skills/video-explainer/references/brief-to-script.md +56 -0
- package/skills/video-explainer/references/errors-and-privacy.md +18 -0
- package/skills/video-explainer/references/motion-storyboard.md +82 -0
- package/skills/video-explainer/references/render-and-verify.md +62 -0
- package/skills/video-explainer/references/review-gate.md +82 -0
- package/skills/video-explainer/references/setup-and-doctor.md +33 -0
- package/skills/video-script-builder/SKILL.md +329 -0
- package/skills/video-script-builder/examples/quick-start-transcript.md +19 -0
- package/skills/video-script-builder/references/audio-workflow.md +84 -0
- package/skills/video-script-builder/references/caption-components.md +70 -0
- package/skills/video-script-builder/references/common-pitfalls.md +80 -0
- package/skills/video-script-builder/references/component-catalog.md +197 -0
- package/skills/video-script-builder/references/component-recipes.md +165 -0
- package/skills/video-script-builder/references/gsap-patterns.md +112 -0
- package/skills/video-script-builder/references/pacing-rules.md +78 -0
- package/skills/video-script-builder/references/quality-checklist.md +98 -0
- package/skills/video-script-builder/references/remotion-patterns.md +211 -0
- package/skills/video-script-builder/references/shader-transitions.md +115 -0
- package/skills/video-script-builder/references/taste-principles.md +160 -0
- package/skills/video-scrub/SKILL.md +216 -0
- package/skills/video-scrub/references/profiles.md +89 -0
- package/skills/video-scrub/references/residue-map.md +204 -0
- package/skills/video-short-maker/SKILL.md +182 -0
- package/skills/video-shot-analysis-feishu/SKILL.md +173 -0
- package/skills/video-shotcraft/SKILL.md +267 -0
- package/skills/video-shotcraft/docs/deepseek-harness.md +69 -0
- package/skills/video-shotcraft/references/aesthetic-rules.md +177 -0
- package/skills/video-shotcraft/references/final-review.md +112 -0
- package/skills/video-shotcraft/references/guided-free-creation.md +199 -0
- package/skills/video-shotcraft/references/jianying-export.md +182 -0
- package/skills/video-shotcraft/references/music-beat-sync.md +219 -0
- package/skills/video-shotcraft/references/pipeline.md +390 -0
- package/skills/video-shotcraft/references/sequences/promo-energy-arc.md +50 -0
- package/skills/video-shotcraft/references/shots/ATTRIBUTION.md +65 -0
- package/skills/video-shotcraft/references/shots/camera/basic-3d-scene.md +37 -0
- package/skills/video-shotcraft/references/shots/camera/crash-zoom-punch.md +39 -0
- package/skills/video-shotcraft/references/shots/camera/cursor-flyover.md +38 -0
- package/skills/video-shotcraft-vincentwei10/SKILL.md +316 -0
- package/skills/video-shotcraft-vincentwei10/references/aesthetic-rules.md +187 -0
- package/skills/video-shotcraft-vincentwei10/references/final-review.md +116 -0
- package/skills/video-shotcraft-vincentwei10/references/guided-free-creation.md +199 -0
- package/skills/video-shotcraft-vincentwei10/references/jianying-export.md +183 -0
- package/skills/video-shotcraft-vincentwei10/references/music-beat-sync.md +257 -0
- package/skills/video-shotcraft-vincentwei10/references/pipeline.md +401 -0
- package/skills/video-shotcraft-vincentwei10/references/publish-upload-post.md +111 -0
- package/skills/video-shotcraft-vincentwei10/references/sequences/promo-energy-arc.md +50 -0
- package/skills/video-shotcraft-vincentwei10/references/shots/ATTRIBUTION.md +62 -0
- package/skills/video-shotcraft-vincentwei10/references/shots/camera/basic-3d-scene.md +41 -0
- package/skills/video-shotcraft-vincentwei10/references/shots/camera/crash-zoom-punch.md +52 -0
- package/skills/video-shotcraft-vincentwei10/references/shots/camera/cursor-flyover.md +39 -0
- package/skills/video-structure-analyzer/SKILL.md +148 -0
- package/skills/video-structure-analyzer/examples/xhs-rook-time-spend/xhs-rook-time-spend_/346/213/211/347/211/207/346/213/206/350/247/243.md +50 -0
- package/skills/video-structure-analyzer/examples/xhs-smelly-cat/xhs-smelly-cat_/346/213/211/347/211/207/346/213/206/350/247/243.md +19 -0
- package/skills/video-toolkit/SKILL.md +686 -0
- package/skills/videocut/SKILL.md +159 -0
- package/skills/videodb/SKILL.md +497 -0
- package/skills/videodb/reference/api-reference.md +741 -0
- package/skills/videodb/reference/capture-reference.md +399 -0
- package/skills/videodb/reference/capture.md +110 -0
- package/skills/videodb/reference/editor-reference.md +506 -0
- package/skills/videodb/reference/editor.md +389 -0
- package/skills/videodb/reference/generative.md +344 -0
- package/skills/videodb/reference/indexing-reference.md +481 -0
- package/skills/videodb/reference/indexing.md +537 -0
- package/skills/videodb/reference/legacy/index-reference.md +223 -0
- package/skills/videodb/reference/legacy/index.md +241 -0
- package/skills/videodb/reference/legacy/search.md +249 -0
- package/skills/videodb/reference/migration.md +113 -0
- package/skills/vlog-auto-edit/SKILL.md +982 -0
- package/skills/vlog-auto-edit/examples/project_structure.md +84 -0
- package/skills/vox-animated-ad-mcp/SKILL.md +419 -0
- package/skills/vox-director/SKILL.md +351 -0
- package/skills/vox-director/references/beat-layer.md +143 -0
- package/skills/vox-director/references/host-mode.md +120 -0
- package/skills/vox-director/references/local-engine.md +73 -0
- package/skills/vox-director/references/models-and-gotchas.md +91 -0
- package/skills/vox-director/references/prompt-guide.md +275 -0
- package/skills/vox-director/references/voices.md +59 -0
- package/skills/xingchen-vox-collage/SKILL.md +251 -0
- package/skills/xingchen-vox-collage/references/asset-layer-contract.md +98 -0
- package/skills/xingchen-vox-collage/references/creative-exploration.md +19 -0
- package/skills/xingchen-vox-collage/references/learned-branches.md +34 -0
- package/skills/xingchen-vox-collage/references/remotion-scene-contract.md +77 -0
- package/skills/xingchen-vox-collage/references/visual-language.md +74 -0
- package/skills/xingchen-vox-collage/references/visual-qa.md +59 -0
- package/skills/youtube/SKILL.md +147 -0
- package/skills/youtube/references/algorithm-guide.md +59 -0
- package/skills/youtube/references/analytics-benchmarks.md +67 -0
- package/skills/youtube/references/dataforseo-integration.md +51 -0
- package/skills/youtube/references/monetization-guide.md +62 -0
- package/skills/youtube/references/repurposing-guide.md +54 -0
- package/skills/youtube/references/retention-scripting-guide.md +75 -0
- package/skills/youtube/references/seo-playbook.md +77 -0
- package/skills/youtube/references/shorts-playbook.md +64 -0
- package/skills/youtube/references/thumbnail-ctr-guide.md +73 -0
- package/skills/youtube-shorts-factory/SKILL.md +358 -0
- package/skills/youtube-shorts-factory/resources/adaptation-guide.md +133 -0
- package/skills/youtube-shorts-factory/resources/storyboard-template.md +271 -0
- package/skills/youtube-shorts-factory/resources/workflow-steps.md +139 -0
- package/studio/client.mjs +3 -3
- package/studio/server/server.mjs +31 -3
- package/studio/ui/dist/assets/ExportCenter-DEyy1vs_.js +1 -0
- package/studio/ui/dist/assets/SettingsModal-CQmsA2A2.js +2 -0
- package/studio/ui/dist/assets/apple-touch-icon-ClxQ7j-O.png +0 -0
- package/studio/ui/dist/assets/{es-BRUzvuoM.js → es-AqUfIkAy.js} +1 -1
- package/studio/ui/dist/assets/favicon-Blwx8Trs.png +0 -0
- package/studio/ui/dist/assets/index-C7moXjTY.css +1 -0
- package/studio/ui/dist/assets/index-DdU5QNpY.js +1623 -0
- package/studio/ui/dist/assets/{ja-Cth-uDcW.js → ja-YwiCB4QQ.js} +1 -1
- package/studio/ui/dist/assets/{ko-upvw591D.js → ko-CKtBPDze.js} +1 -1
- package/studio/ui/dist/assets/{zh-CN-BCfJFazB.js → zh-CN-DtNEwKWJ.js} +1 -1
- package/studio/ui/dist/index.html +4 -3
- package/studio/ui/dist/assets/ExportCenter-F-2vF-lQ.js +0 -1
- package/studio/ui/dist/assets/SettingsModal-BgVYguNu.js +0 -2
- package/studio/ui/dist/assets/index-Bhg-9dA3.css +0 -1
- package/studio/ui/dist/assets/index-CWur1Iw9.js +0 -1625
|
@@ -0,0 +1,555 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: HTML in Canvas
|
|
3
|
+
description: Render live HTML/DOM into a canvas inside a Remotion composition, with optional WebGL2 fragment shaders for per-frame visual effects
|
|
4
|
+
section: composition
|
|
5
|
+
priority: medium
|
|
6
|
+
tags: [html-in-canvas, webgl, shader, dom, effect]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# HTML in Canvas
|
|
10
|
+
|
|
11
|
+
Remotion 4.0.455+ ships an experimental `<HtmlInCanvas>` component that renders
|
|
12
|
+
arbitrary DOM into a canvas every frame. Combined with a 2D context filter or
|
|
13
|
+
a WebGL2 fragment shader, you can apply effects (progressive blur, vintage
|
|
14
|
+
film, chromatic aberration, vignette, …) to live HTML content that would
|
|
15
|
+
otherwise be impossible with CSS alone.
|
|
16
|
+
|
|
17
|
+
This is most useful for:
|
|
18
|
+
|
|
19
|
+
- Animated post-process effects on real DOM (rich type, gradients, layout)
|
|
20
|
+
- Capturing a website into a Reel with a phone-frame mockup + scroll animation
|
|
21
|
+
- Cinematic transitions where the HTML content also animates per frame
|
|
22
|
+
- Browser-window mockups in product demos
|
|
23
|
+
|
|
24
|
+
> **Reference implementation:** the official Remotion examples repo at
|
|
25
|
+
> `github.com/remotion-dev/html-in-canvas` ships several demo compositions
|
|
26
|
+
> (`ArticleHighlight`, `Vintage`, etc.) — recommended starting point.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Status & Compatibility
|
|
31
|
+
|
|
32
|
+
- **Remotion ≥ 4.0.455** required.
|
|
33
|
+
- API surface relies on **experimental Chrome features**:
|
|
34
|
+
- `ctx.drawElementImage(elementImage, x, y)` (CanvasRenderingContext2D)
|
|
35
|
+
- `gl.texElementImage2D(target, level, internalformat, format, type, source)` (WebGL2)
|
|
36
|
+
- These are gated behind `chrome://flags/#canvas-draw-element` in stock Chrome
|
|
37
|
+
(Canary 149+). **Remotion's headless Chromium already has the flag enabled
|
|
38
|
+
internally**, so server-side renders work without any user setup.
|
|
39
|
+
- The Chrome team can change or remove the API. Pin a Remotion version known to
|
|
40
|
+
work and re-test before upgrading.
|
|
41
|
+
- Cannot be used inside `@remotion/web-renderer` (client-side bundle).
|
|
42
|
+
- Nesting `<HtmlInCanvas>` inside another `<HtmlInCanvas>` is not supported.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Imports
|
|
47
|
+
|
|
48
|
+
```tsx
|
|
49
|
+
import {
|
|
50
|
+
HtmlInCanvas,
|
|
51
|
+
type HtmlInCanvasOnInit,
|
|
52
|
+
type HtmlInCanvasOnPaint,
|
|
53
|
+
} from "remotion";
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Component API
|
|
59
|
+
|
|
60
|
+
```tsx
|
|
61
|
+
<HtmlInCanvas
|
|
62
|
+
width={width}
|
|
63
|
+
height={height}
|
|
64
|
+
onInit={onInit} // optional; called once per mount, returns cleanup
|
|
65
|
+
onPaint={onPaint} // called every frame
|
|
66
|
+
>
|
|
67
|
+
{/* Any DOM tree — fonts, gradients, box-shadows, transforms, Img, Video */}
|
|
68
|
+
</HtmlInCanvas>
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Callback signatures
|
|
72
|
+
|
|
73
|
+
```ts
|
|
74
|
+
type HtmlInCanvasOnPaint = (payload: {
|
|
75
|
+
canvas: HTMLCanvasElement;
|
|
76
|
+
element: HTMLElement;
|
|
77
|
+
elementImage: CanvasImageSource;
|
|
78
|
+
}) => void;
|
|
79
|
+
|
|
80
|
+
type HtmlInCanvasOnInit = (payload: {
|
|
81
|
+
canvas: HTMLCanvasElement;
|
|
82
|
+
}) => void | (() => void);
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
`onPaint` runs every render frame. `elementImage` is a special source the
|
|
86
|
+
experimental Chrome API understands — pass it to `ctx.drawElementImage` or
|
|
87
|
+
`gl.texElementImage2D`. **It is not a regular `HTMLImageElement` — `ctx.drawImage`
|
|
88
|
+
will throw.**
|
|
89
|
+
|
|
90
|
+
`onInit` is the place to allocate GPU resources (WebGL program, textures, VAO);
|
|
91
|
+
return a cleanup function that frees them.
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## TypeScript Workaround
|
|
96
|
+
|
|
97
|
+
`drawElementImage` and `texElementImage2D` are not yet in `@types/dom` /
|
|
98
|
+
`@types/webgl2`. Cast the call site to silence the error:
|
|
99
|
+
|
|
100
|
+
```ts
|
|
101
|
+
(ctx as unknown as {
|
|
102
|
+
drawElementImage: (img: unknown, x: number, y: number) => void;
|
|
103
|
+
}).drawElementImage(elementImage, 0, 0);
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
```ts
|
|
107
|
+
(gl as unknown as {
|
|
108
|
+
texElementImage2D: (
|
|
109
|
+
target: number,
|
|
110
|
+
level: number,
|
|
111
|
+
internalformat: number,
|
|
112
|
+
format: number,
|
|
113
|
+
type: number,
|
|
114
|
+
source: unknown
|
|
115
|
+
) => void;
|
|
116
|
+
}).texElementImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, elementImage);
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Pattern 1 — Plain 2D Context (Simple Effects)
|
|
122
|
+
|
|
123
|
+
Best for blur reveals, single drop-shadow, or stitching DOM into a procedurally
|
|
124
|
+
drawn background. No WebGL needed.
|
|
125
|
+
|
|
126
|
+
```tsx
|
|
127
|
+
import {
|
|
128
|
+
AbsoluteFill,
|
|
129
|
+
HtmlInCanvas,
|
|
130
|
+
type HtmlInCanvasOnPaint,
|
|
131
|
+
interpolate,
|
|
132
|
+
useCurrentFrame,
|
|
133
|
+
useVideoConfig,
|
|
134
|
+
} from "remotion";
|
|
135
|
+
|
|
136
|
+
const Card: React.FC = () => (
|
|
137
|
+
<div style={{
|
|
138
|
+
width: 720, height: 880, padding: 60, background: "#fff",
|
|
139
|
+
borderRadius: 36, fontFamily: "Inter, system-ui, sans-serif",
|
|
140
|
+
}}>
|
|
141
|
+
{/* Anything you can render with HTML/CSS works here */}
|
|
142
|
+
</div>
|
|
143
|
+
);
|
|
144
|
+
|
|
145
|
+
export const Demo: React.FC = () => {
|
|
146
|
+
const frame = useCurrentFrame();
|
|
147
|
+
const { width, height } = useVideoConfig();
|
|
148
|
+
|
|
149
|
+
const blurAmount = interpolate(frame, [0, 28], [32, 0], {
|
|
150
|
+
extrapolateLeft: "clamp", extrapolateRight: "clamp",
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
const onPaint: HtmlInCanvasOnPaint = ({ canvas, elementImage }) => {
|
|
154
|
+
const ctx = canvas.getContext("2d");
|
|
155
|
+
if (!ctx) return;
|
|
156
|
+
ctx.reset();
|
|
157
|
+
|
|
158
|
+
// Draw a procedural background straight to the canvas.
|
|
159
|
+
const bg = ctx.createLinearGradient(0, 0, 0, canvas.height);
|
|
160
|
+
bg.addColorStop(0, "#0F1B2D");
|
|
161
|
+
bg.addColorStop(1, "#3B6B9A");
|
|
162
|
+
ctx.fillStyle = bg;
|
|
163
|
+
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
|
164
|
+
|
|
165
|
+
// Apply per-frame filter to the live HTML snapshot.
|
|
166
|
+
ctx.filter = `blur(${blurAmount}px)`;
|
|
167
|
+
(ctx as unknown as {
|
|
168
|
+
drawElementImage: (img: unknown, x: number, y: number) => void;
|
|
169
|
+
}).drawElementImage(elementImage, 100, 100);
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
return (
|
|
173
|
+
<AbsoluteFill>
|
|
174
|
+
<HtmlInCanvas width={width} height={height} onPaint={onPaint}>
|
|
175
|
+
<Card />
|
|
176
|
+
</HtmlInCanvas>
|
|
177
|
+
</AbsoluteFill>
|
|
178
|
+
);
|
|
179
|
+
};
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
**Key tools available on the 2D context:**
|
|
183
|
+
|
|
184
|
+
| Tool | Use |
|
|
185
|
+
|------|-----|
|
|
186
|
+
| `ctx.filter = 'blur(Npx)'` | Per-frame blur amount |
|
|
187
|
+
| `ctx.fillStyle` / `ctx.createLinearGradient` | Procedural backdrops |
|
|
188
|
+
| `ctx.translate / scale / rotate` | Per-frame transform of the HTML snapshot |
|
|
189
|
+
| `ctx.globalAlpha` | Fade in/out |
|
|
190
|
+
| `ctx.globalCompositeOperation` | Blend modes (overlay, multiply, …) |
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## Pattern 2 — WebGL2 Fragment Shader (Heavy Effects)
|
|
195
|
+
|
|
196
|
+
For Gaussian blur, chromatic aberration, vignette, grain, dust, scratches —
|
|
197
|
+
anything that needs per-pixel math — use a fragment shader. The DOM snapshot
|
|
198
|
+
is uploaded as a 2D texture each frame via `texElementImage2D`.
|
|
199
|
+
|
|
200
|
+
### Shape of the GL module
|
|
201
|
+
|
|
202
|
+
A typical `gl.ts` exports `initGl` and `paintGl`. `initGl` is called from
|
|
203
|
+
`HtmlInCanvas` `onInit`, `paintGl` is called from `onPaint`.
|
|
204
|
+
|
|
205
|
+
```ts
|
|
206
|
+
// gl.ts
|
|
207
|
+
import type { HtmlInCanvasOnInit, HtmlInCanvasOnPaint } from "remotion";
|
|
208
|
+
|
|
209
|
+
type ElementImage = Parameters<HtmlInCanvasOnPaint>[0]["elementImage"];
|
|
210
|
+
type Canvas = Parameters<HtmlInCanvasOnInit>[0]["canvas"];
|
|
211
|
+
|
|
212
|
+
export type GlState = {
|
|
213
|
+
gl: WebGL2RenderingContext;
|
|
214
|
+
program: WebGLProgram;
|
|
215
|
+
texture: WebGLTexture;
|
|
216
|
+
vao: WebGLVertexArrayObject;
|
|
217
|
+
/* ...uniform locations */
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
const VS = `#version 300 es
|
|
221
|
+
in vec2 a_pos; in vec2 a_uv; out vec2 v_uv;
|
|
222
|
+
void main() { gl_Position = vec4(a_pos, 0.0, 1.0); v_uv = a_uv; }`;
|
|
223
|
+
|
|
224
|
+
const FS = `#version 300 es
|
|
225
|
+
precision highp float;
|
|
226
|
+
uniform sampler2D u_tex;
|
|
227
|
+
in vec2 v_uv;
|
|
228
|
+
out vec4 o;
|
|
229
|
+
void main() {
|
|
230
|
+
// ...your effect here
|
|
231
|
+
o = texture(u_tex, v_uv);
|
|
232
|
+
}`;
|
|
233
|
+
|
|
234
|
+
const QUAD = new Float32Array([
|
|
235
|
+
-1, -1, 0, 0, 1, -1, 1, 0, -1, 1, 0, 1,
|
|
236
|
+
1, -1, 1, 0, -1, 1, 0, 1, 1, 1, 1, 1,
|
|
237
|
+
]);
|
|
238
|
+
|
|
239
|
+
export const initGl = (canvas: Canvas) => {
|
|
240
|
+
const gl = canvas.getContext("webgl2", {
|
|
241
|
+
alpha: true, premultipliedAlpha: true, antialias: false,
|
|
242
|
+
}) as WebGL2RenderingContext | null;
|
|
243
|
+
if (!gl) throw new Error("WebGL2 unavailable");
|
|
244
|
+
|
|
245
|
+
gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, true);
|
|
246
|
+
// ...compile + link program, allocate texture, VAO, buffer
|
|
247
|
+
// (see Remotion examples repo for complete reference impl)
|
|
248
|
+
|
|
249
|
+
return { gpu /* ...GlState */, cleanup: () => { /* delete program/texture/vao/buffer */ } };
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
export const paintGl = (gpu: GlState, elementImage: ElementImage, params: { /* uniforms */ }) => {
|
|
253
|
+
const { gl } = gpu;
|
|
254
|
+
gl.viewport(0, 0, gl.drawingBufferWidth, gl.drawingBufferHeight);
|
|
255
|
+
gl.clear(gl.COLOR_BUFFER_BIT);
|
|
256
|
+
gl.useProgram(gpu.program);
|
|
257
|
+
|
|
258
|
+
gl.activeTexture(gl.TEXTURE0);
|
|
259
|
+
gl.bindTexture(gl.TEXTURE_2D, gpu.texture);
|
|
260
|
+
|
|
261
|
+
// Upload the live DOM snapshot as a texture (every frame).
|
|
262
|
+
(gl as unknown as {
|
|
263
|
+
texElementImage2D: (
|
|
264
|
+
t: number, l: number, ifmt: number, fmt: number, type: number, src: unknown
|
|
265
|
+
) => void;
|
|
266
|
+
}).texElementImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, elementImage);
|
|
267
|
+
|
|
268
|
+
// ...set uniforms, bind VAO, drawArrays
|
|
269
|
+
};
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
### Wiring it into a composition
|
|
273
|
+
|
|
274
|
+
```tsx
|
|
275
|
+
import { useCallback, useRef } from "react";
|
|
276
|
+
import { HtmlInCanvas, type HtmlInCanvasOnInit, type HtmlInCanvasOnPaint } from "remotion";
|
|
277
|
+
import { initGl, paintGl, type GlState } from "./gl";
|
|
278
|
+
|
|
279
|
+
export const Composition: React.FC = () => {
|
|
280
|
+
const gpuRef = useRef<GlState | null>(null);
|
|
281
|
+
|
|
282
|
+
const onInit: HtmlInCanvasOnInit = useCallback(({ canvas }) => {
|
|
283
|
+
const { gpu, cleanup } = initGl(canvas);
|
|
284
|
+
gpuRef.current = gpu;
|
|
285
|
+
return () => { cleanup(); gpuRef.current = null; };
|
|
286
|
+
}, []);
|
|
287
|
+
|
|
288
|
+
const onPaint: HtmlInCanvasOnPaint = useCallback(({ elementImage }) => {
|
|
289
|
+
if (gpuRef.current) paintGl(gpuRef.current, elementImage, /* uniforms */ {});
|
|
290
|
+
}, []);
|
|
291
|
+
|
|
292
|
+
return (
|
|
293
|
+
<HtmlInCanvas width={1920} height={1080} onInit={onInit} onPaint={onPaint}>
|
|
294
|
+
{/* Your DOM tree */}
|
|
295
|
+
</HtmlInCanvas>
|
|
296
|
+
);
|
|
297
|
+
};
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
|
|
302
|
+
## Effect Recipes
|
|
303
|
+
|
|
304
|
+
The Remotion examples repo (`github.com/remotion-dev/html-in-canvas/tree/main/src`)
|
|
305
|
+
has full reference shaders for these. Common building blocks:
|
|
306
|
+
|
|
307
|
+
### Progressive vertical blur (sharp band, blurry edges)
|
|
308
|
+
|
|
309
|
+
```glsl
|
|
310
|
+
float edgeY = abs(v_uv.y - 0.5) * 2.0; // 0 at center, 1 at top/bottom
|
|
311
|
+
float blurMix = pow(smoothstep(0.035, 0.62, edgeY), 1.06);
|
|
312
|
+
float sigmaPx = blurMix * 4.25 + 0.05; // 9×9 Gaussian kernel
|
|
313
|
+
// ...sample neighborhood with gauss1(x, sigmaPx) weights
|
|
314
|
+
vec3 color = mix(sharp.rgb, blurred, blurMix);
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
### Chromatic aberration (rim leak)
|
|
318
|
+
|
|
319
|
+
```glsl
|
|
320
|
+
vec2 fromCenter = uv - 0.5;
|
|
321
|
+
float r = length(fromCenter);
|
|
322
|
+
vec2 dir = r > 0.0001 ? normalize(fromCenter) : vec2(0.0);
|
|
323
|
+
float ca = 0.0024 * pow(r * 1.4, 1.6); // edge-weighted
|
|
324
|
+
color.r = texture(u_tex, uv + dir * ca).r;
|
|
325
|
+
color.g = texture(u_tex, uv).g;
|
|
326
|
+
color.b = texture(u_tex, uv - dir * ca).b;
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### Per-pixel grain quantized to 24fps
|
|
330
|
+
|
|
331
|
+
```glsl
|
|
332
|
+
float frameIdx = floor(u_time * 24.0); // discrete film steps
|
|
333
|
+
float g = hash(gl_FragCoord.xy + vec2(frameIdx * 17.31, frameIdx * 7.91));
|
|
334
|
+
color += (g - 0.5) * u_grain;
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### Gate weave (subtle frame jitter)
|
|
338
|
+
|
|
339
|
+
```glsl
|
|
340
|
+
vec2 weave = vec2(
|
|
341
|
+
sin(u_time * 11.0) * 0.0015 + sin(u_time * 3.7) * 0.0009,
|
|
342
|
+
cos(u_time * 8.3) * 0.0013 + cos(u_time * 2.4) * 0.0007
|
|
343
|
+
);
|
|
344
|
+
uv += weave; // sample-coord offset
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
### Vignette + exposure flicker
|
|
348
|
+
|
|
349
|
+
```glsl
|
|
350
|
+
float vig = smoothstep(1.05, 0.30, r * 1.25);
|
|
351
|
+
color *= mix(1.0, vig, u_vignette);
|
|
352
|
+
float flicker = 1.0 + 0.035 * sin(u_time * 7.0) + 0.018 * sin(u_time * 19.0 + 1.3);
|
|
353
|
+
color *= flicker;
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
---
|
|
357
|
+
|
|
358
|
+
## Pattern 3 — Page-to-Video (Captured Site Tour)
|
|
359
|
+
|
|
360
|
+
To make a Reel that scrolls through an existing website, capture the page once
|
|
361
|
+
and animate `translateY` on the screenshot inside a phone-frame mockup. This
|
|
362
|
+
does **not** require `HtmlInCanvas` at all — a regular `<Img>` and `transform`
|
|
363
|
+
is enough. Listed here because it's a frequent companion pattern.
|
|
364
|
+
|
|
365
|
+
### Step 1 — Capture with Playwright
|
|
366
|
+
|
|
367
|
+
```js
|
|
368
|
+
// scripts/capture-page.mjs
|
|
369
|
+
import { chromium } from "playwright";
|
|
370
|
+
import fs from "node:fs";
|
|
371
|
+
|
|
372
|
+
const URL = process.env.URL || "http://localhost:4000";
|
|
373
|
+
const OUT = "public/tour/landing-fullpage.png";
|
|
374
|
+
|
|
375
|
+
fs.mkdirSync("public/tour", { recursive: true });
|
|
376
|
+
|
|
377
|
+
const browser = await chromium.launch();
|
|
378
|
+
const ctx = await browser.newContext({
|
|
379
|
+
viewport: { width: 414, height: 896 }, deviceScaleFactor: 2, isMobile: true,
|
|
380
|
+
});
|
|
381
|
+
const page = await ctx.newPage();
|
|
382
|
+
await page.goto(URL, { waitUntil: "networkidle" });
|
|
383
|
+
|
|
384
|
+
// Trigger lazy-loaded images / IntersectionObservers.
|
|
385
|
+
await page.evaluate(async () => {
|
|
386
|
+
const total = document.documentElement.scrollHeight;
|
|
387
|
+
for (let y = 0; y <= total; y += 400) {
|
|
388
|
+
window.scrollTo(0, y);
|
|
389
|
+
await new Promise((r) => setTimeout(r, 80));
|
|
390
|
+
}
|
|
391
|
+
window.scrollTo(0, 0);
|
|
392
|
+
});
|
|
393
|
+
await page.waitForTimeout(2500);
|
|
394
|
+
|
|
395
|
+
await page.screenshot({ path: OUT, fullPage: true });
|
|
396
|
+
|
|
397
|
+
// Extract real <section> positions so the tour can land on them precisely.
|
|
398
|
+
const stops = await page.evaluate(() => {
|
|
399
|
+
const fullH = document.documentElement.scrollHeight;
|
|
400
|
+
return Array.from(document.querySelectorAll("section")).map((el, i) => {
|
|
401
|
+
const r = el.getBoundingClientRect();
|
|
402
|
+
const heading = el.querySelector("h1, h2");
|
|
403
|
+
return {
|
|
404
|
+
index: i,
|
|
405
|
+
label: (heading?.textContent ?? `Section ${i + 1}`).trim().slice(0, 80),
|
|
406
|
+
scrollPercent: (r.top + window.scrollY) / fullH,
|
|
407
|
+
};
|
|
408
|
+
});
|
|
409
|
+
});
|
|
410
|
+
fs.writeFileSync("public/tour/stops.json", JSON.stringify({ stops }, null, 2));
|
|
411
|
+
|
|
412
|
+
await browser.close();
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
### Step 2 — Stop-and-go scroll timeline
|
|
416
|
+
|
|
417
|
+
Don't use a continuous `interpolate(frame, [0, durationInFrames], [0, 1])` —
|
|
418
|
+
it feels monotonous. Instead, build a piecewise timeline that **dwells** at
|
|
419
|
+
each section and travels quickly between them.
|
|
420
|
+
|
|
421
|
+
```ts
|
|
422
|
+
const STOPS = [
|
|
423
|
+
{ scroll: 0.000, caption: "Hero", dwell: 36 },
|
|
424
|
+
{ scroll: 0.085, caption: "Trust", dwell: 30 },
|
|
425
|
+
{ scroll: 0.357, caption: "Reviews", dwell: 28 },
|
|
426
|
+
{ scroll: 0.657, caption: "Stats", dwell: 28 },
|
|
427
|
+
{ scroll: 1.000, caption: "CTA", dwell: 36 },
|
|
428
|
+
] as const;
|
|
429
|
+
|
|
430
|
+
const TRAVEL = 14; // frames to glide between stops
|
|
431
|
+
|
|
432
|
+
// Build keyframe arrays for interpolate()
|
|
433
|
+
const inputs: number[] = [];
|
|
434
|
+
const outputs: number[] = [];
|
|
435
|
+
const captionStart: number[] = [];
|
|
436
|
+
let t = 0;
|
|
437
|
+
for (let i = 0; i < STOPS.length; i++) {
|
|
438
|
+
captionStart.push(t);
|
|
439
|
+
inputs.push(t); outputs.push(STOPS[i].scroll);
|
|
440
|
+
t += STOPS[i].dwell;
|
|
441
|
+
inputs.push(t); outputs.push(STOPS[i].scroll);
|
|
442
|
+
if (i < STOPS.length - 1) t += TRAVEL;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
const scrollProgress = interpolate(frame, inputs, outputs, {
|
|
446
|
+
extrapolateLeft: "clamp",
|
|
447
|
+
extrapolateRight: "clamp",
|
|
448
|
+
easing: Easing.inOut(Easing.cubic),
|
|
449
|
+
});
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
Use the real section positions extracted by your capture script — eyeballing
|
|
453
|
+
percentages produces stops that land between sections.
|
|
454
|
+
|
|
455
|
+
### Step 3 — Phone mockup with translateY
|
|
456
|
+
|
|
457
|
+
```tsx
|
|
458
|
+
const SHOT_W = 414;
|
|
459
|
+
const SHOT_H = /* extracted from capture */;
|
|
460
|
+
const PHONE_W = 640;
|
|
461
|
+
const PHONE_H = (PHONE_W * 896) / 414;
|
|
462
|
+
const scaledH = (SHOT_H * PHONE_W) / SHOT_W;
|
|
463
|
+
const headroomPx = PHONE_H * 0.05;
|
|
464
|
+
const sectionTopPx = scrollProgress * scaledH;
|
|
465
|
+
const maxScrollPx = scaledH - PHONE_H;
|
|
466
|
+
const translateY = Math.max(-maxScrollPx, Math.min(0, -(sectionTopPx - headroomPx)));
|
|
467
|
+
|
|
468
|
+
<div style={{ width: PHONE_W, height: PHONE_H, overflow: "hidden", borderRadius: 40 }}>
|
|
469
|
+
<Img
|
|
470
|
+
src={staticFile("tour/landing-fullpage.png")}
|
|
471
|
+
style={{ width: PHONE_W, height: scaledH, transform: `translateY(${translateY}px)` }}
|
|
472
|
+
/>
|
|
473
|
+
</div>
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
`scrollProgress = sectionTop / fullPageHeight` — this is the *real fractional
|
|
477
|
+
position* of a section, not "0=top, 1=fully scrolled". The clamp + headroom
|
|
478
|
+
keep the section heading slightly below the phone notch.
|
|
479
|
+
|
|
480
|
+
---
|
|
481
|
+
|
|
482
|
+
## Render Commands
|
|
483
|
+
|
|
484
|
+
```bash
|
|
485
|
+
# Plain 2D context — no special flags needed
|
|
486
|
+
npx remotion render Composition out.mp4 --codec=h264 --crf=18
|
|
487
|
+
|
|
488
|
+
# WebGL2 — needs ANGLE for the headless GL stack
|
|
489
|
+
npx remotion render Composition out.mp4 --codec=h264 --crf=18 --gl=angle
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
---
|
|
493
|
+
|
|
494
|
+
## Gotchas
|
|
495
|
+
|
|
496
|
+
- **CSS animations / framer-motion inside `<HtmlInCanvas>` do not animate.**
|
|
497
|
+
The whole DOM is rasterized to an `elementImage` once per frame from the
|
|
498
|
+
*current* React tree. To animate, drive state from `useCurrentFrame()` and
|
|
499
|
+
re-render — same pattern as any Remotion composition.
|
|
500
|
+
|
|
501
|
+
- **`ctx.drawImage(elementImage, …)` throws.** Use `ctx.drawElementImage`. The
|
|
502
|
+
type system won't help — the cast above is necessary.
|
|
503
|
+
|
|
504
|
+
- **Multiple `TransitionSeries.Transition` wrapping `<HtmlInCanvas>` content
|
|
505
|
+
can produce blank frames** on the second/third sequence. The exact cause is
|
|
506
|
+
unclear (likely a snapshot pipeline interaction), but working around with
|
|
507
|
+
fewer sequences or a single transition is reliable. Test with `npx remotion
|
|
508
|
+
studio` first.
|
|
509
|
+
|
|
510
|
+
- **WebGL2 + parallel render workers can crash with `Page crashed!`** on macOS.
|
|
511
|
+
Symptom: `TargetCloseError` after a few frames. Fix: render with
|
|
512
|
+
`--concurrency=1`. Slower but stable. Likely VRAM contention from the
|
|
513
|
+
per-frame `texElementImage2D` upload.
|
|
514
|
+
|
|
515
|
+
- **Remotion's headless Chromium has the experimental flag enabled** even
|
|
516
|
+
though stock Chrome requires `chrome://flags/#canvas-draw-element`. Local
|
|
517
|
+
studio preview also works. End users opening the bundled output don't need
|
|
518
|
+
the flag — they're watching a rasterized MP4.
|
|
519
|
+
|
|
520
|
+
- **Cleanup in `onInit` matters.** Return a disposer that deletes the program,
|
|
521
|
+
texture, VAO, and buffer. Otherwise hot-reload during studio dev leaks GPU
|
|
522
|
+
memory.
|
|
523
|
+
|
|
524
|
+
- **Premultiplied alpha + `gl.UNPACK_FLIP_Y_WEBGL = true`** matches what
|
|
525
|
+
`texElementImage2D` produces. Forgetting the Y-flip renders the page
|
|
526
|
+
upside-down.
|
|
527
|
+
|
|
528
|
+
---
|
|
529
|
+
|
|
530
|
+
## When NOT to Use HtmlInCanvas
|
|
531
|
+
|
|
532
|
+
- For straight scrolling-screenshot product tours, plain `<Img>` + `translateY`
|
|
533
|
+
is simpler and faster (Pattern 3 above).
|
|
534
|
+
- For static graphics that don't need per-frame post-processing, just use
|
|
535
|
+
Remotion's normal compositing.
|
|
536
|
+
- For rendering text with a single shadow or gradient — CSS does that already.
|
|
537
|
+
|
|
538
|
+
Use `HtmlInCanvas` when you specifically need a per-frame canvas-side effect
|
|
539
|
+
(blur, shader, procedural compositing) on top of live HTML.
|
|
540
|
+
|
|
541
|
+
---
|
|
542
|
+
|
|
543
|
+
## Reference Examples
|
|
544
|
+
|
|
545
|
+
- **`ArticleHighlight`** — progressive vertical blur + animated highlighter
|
|
546
|
+
sweep with `mix-blend-mode: multiply` over a styled article.
|
|
547
|
+
https://github.com/remotion-dev/html-in-canvas/tree/main/src/ArticleHighlight
|
|
548
|
+
|
|
549
|
+
- **`Vintage`** — full vintage-film treatment (gate weave, chromatic
|
|
550
|
+
aberration, grain, scratches, dust, light leaks, vignette, flicker) over
|
|
551
|
+
slide-transitioned title cards.
|
|
552
|
+
https://github.com/remotion-dev/html-in-canvas/tree/main/src/Vintage
|
|
553
|
+
|
|
554
|
+
Both ship a `gl.ts` with the WebGL2 setup and a `index.tsx` with the
|
|
555
|
+
composition wiring. Treat them as canonical reference implementations.
|