popost 4.6.0 → 4.6.6
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/LICENSE +59 -3
- package/README.md +25 -10
- package/SKILL.md +48 -131
- package/THIRD_PARTY_NOTICES +524 -0
- package/agents/openai.yaml +2 -2
- package/assets/canvas/assets/{dist-Ag5yM9-G.js → dist-BmD8AP0A.js} +1 -1
- package/assets/canvas/assets/{es-DzkTYs_E.js → es-CC29Cabv.js} +1 -1
- package/assets/canvas/assets/{index-DjfLTPyx.js → index-DhwyFpu2.js} +6 -6
- package/assets/canvas/assets/{jszip.min-Cw2BF2G0.js → jszip.min-Bwf_yCrF.js} +1 -1
- package/assets/canvas/build-info.json +5 -5
- package/assets/canvas/index.html +1 -1
- package/assets/video/examples/audio-bars.html +125 -0
- package/assets/video/examples/bouncing-ball.html +182 -0
- package/assets/video/examples/card-flip.html +92 -0
- package/assets/video/examples/catalogue.json +16221 -0
- package/assets/video/examples/counter-stat.html +155 -0
- package/assets/video/examples/folding-doors.html +94 -0
- package/assets/video/examples/glitch-title.html +120 -0
- package/assets/video/examples/goo-blobs.html +127 -0
- package/assets/video/examples/grid-reveal.html +151 -0
- package/assets/video/examples/hf/agent-cursor.html +781 -0
- package/assets/video/examples/hf/ai-answer-rank.html +767 -0
- package/assets/video/examples/hf/ai-chat-reveal.html +1260 -0
- package/assets/video/examples/hf/animated-bar-chart.html +312 -0
- package/assets/video/examples/hf/app-showcase.html +1115 -0
- package/assets/video/examples/hf/apple-money-count.html +453 -0
- package/assets/video/examples/hf/arc-motion-path.html +303 -0
- package/assets/video/examples/hf/ascii-render-pass.html +728 -0
- package/assets/video/examples/hf/ascii-trail-reveal.html +595 -0
- package/assets/video/examples/hf/aurora-drift.html +439 -0
- package/assets/video/examples/hf/aurora.html +258 -0
- package/assets/video/examples/hf/avatar-cloud.html +667 -0
- package/assets/video/examples/hf/avatar-group-hover.html +342 -0
- package/assets/video/examples/hf/badge-pop.html +400 -0
- package/assets/video/examples/hf/bar-chart-race.html +795 -0
- package/assets/video/examples/hf/beat-accent.html +507 -0
- package/assets/video/examples/hf/beat-freeze-cut.html +1050 -0
- package/assets/video/examples/hf/beat-pulse-background.html +422 -0
- package/assets/video/examples/hf/beat-timeline.html +488 -0
- package/assets/video/examples/hf/before-after-wipe.html +681 -0
- package/assets/video/examples/hf/blob.html +258 -0
- package/assets/video/examples/hf/blue-sweater-intro-video.html +1656 -0
- package/assets/video/examples/hf/blur-in.html +624 -0
- package/assets/video/examples/hf/blur-out-up.html +350 -0
- package/assets/video/examples/hf/bottom-up-letters.html +335 -0
- package/assets/video/examples/hf/browser-device-stage.html +847 -0
- package/assets/video/examples/hf/camcorder-hud.html +371 -0
- package/assets/video/examples/hf/camera-dolly-zoom.html +485 -0
- package/assets/video/examples/hf/camera-rig-depth-stack.html +246 -0
- package/assets/video/examples/hf/camera-scan-gate.html +708 -0
- package/assets/video/examples/hf/camera-shake.html +989 -0
- package/assets/video/examples/hf/canopy-part-title.html +2549 -0
- package/assets/video/examples/hf/caption-blend-difference.html +247 -0
- package/assets/video/examples/hf/caption-camera-follow.html +537 -0
- package/assets/video/examples/hf/caption-clip-wipe.html +363 -0
- package/assets/video/examples/hf/caption-editorial-emphasis.html +615 -0
- package/assets/video/examples/hf/caption-emoji-pop.html +623 -0
- package/assets/video/examples/hf/caption-glitch-rgb.html +475 -0
- package/assets/video/examples/hf/caption-gradient-fill.html +392 -0
- package/assets/video/examples/hf/caption-highlight.html +433 -0
- package/assets/video/examples/hf/caption-kinetic-slam.html +334 -0
- package/assets/video/examples/hf/caption-matrix-decode.html +399 -0
- package/assets/video/examples/hf/caption-neon-accent.html +684 -0
- package/assets/video/examples/hf/caption-neon-glow.html +373 -0
- package/assets/video/examples/hf/caption-parallax-layers.html +530 -0
- package/assets/video/examples/hf/caption-particle-burst.html +454 -0
- package/assets/video/examples/hf/caption-pill-karaoke.html +517 -0
- package/assets/video/examples/hf/caption-texture.html +368 -0
- package/assets/video/examples/hf/caption-weight-shift.html +566 -0
- package/assets/video/examples/hf/card-resize.html +435 -0
- package/assets/video/examples/hf/caret-swap.html +601 -0
- package/assets/video/examples/hf/carousel-circle-1.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-2.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-3.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-4.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-5.html +1175 -0
- package/assets/video/examples/hf/carousel-orbit-1.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-2.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-3.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-4.html +1214 -0
- package/assets/video/examples/hf/carousel-orbit-5.html +1198 -0
- package/assets/video/examples/hf/carousel-path-1.html +1219 -0
- package/assets/video/examples/hf/carousel-path-2.html +1176 -0
- package/assets/video/examples/hf/carousel-path-3.html +1190 -0
- package/assets/video/examples/hf/carousel-path-4.html +1219 -0
- package/assets/video/examples/hf/carousel-path-5.html +1218 -0
- package/assets/video/examples/hf/carousel-vision-1.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-2.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-3.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-4.html +1187 -0
- package/assets/video/examples/hf/carousel-vision-5.html +1180 -0
- package/assets/video/examples/hf/char-slam-explode.html +546 -0
- package/assets/video/examples/hf/chart-story.html +973 -0
- package/assets/video/examples/hf/chat-message.html +635 -0
- package/assets/video/examples/hf/chat-thread.html +953 -0
- package/assets/video/examples/hf/chatgpt-exchange.html +1620 -0
- package/assets/video/examples/hf/chromatic-radial-split.html +613 -0
- package/assets/video/examples/hf/chrome-orb.html +258 -0
- package/assets/video/examples/hf/cinemagraph.html +422 -0
- package/assets/video/examples/hf/cinematic-zoom.html +613 -0
- package/assets/video/examples/hf/claude-exchange.html +1845 -0
- package/assets/video/examples/hf/code-3d-extrude.html +755 -0
- package/assets/video/examples/hf/code-diff.html +956 -0
- package/assets/video/examples/hf/code-highlight.html +885 -0
- package/assets/video/examples/hf/code-morph.html +1357 -0
- package/assets/video/examples/hf/code-particle-assemble.html +622 -0
- package/assets/video/examples/hf/code-scroll.html +1700 -0
- package/assets/video/examples/hf/code-shader-dissolve.html +677 -0
- package/assets/video/examples/hf/code-slice-hero.html +1276 -0
- package/assets/video/examples/hf/code-snippet-apple-terminal-pro.html +388 -0
- package/assets/video/examples/hf/code-snippet-dark-2026.html +1231 -0
- package/assets/video/examples/hf/code-snippet-dark-modern.html +1227 -0
- package/assets/video/examples/hf/code-terminal-run.html +766 -0
- package/assets/video/examples/hf/code-typing.html +903 -0
- package/assets/video/examples/hf/color-wheel.html +258 -0
- package/assets/video/examples/hf/colorama-wipe.html +503 -0
- package/assets/video/examples/hf/comparison-split.html +657 -0
- package/assets/video/examples/hf/confetti.html +349 -0
- package/assets/video/examples/hf/conic-progress-ring.html +441 -0
- package/assets/video/examples/hf/constellation-hub.html +662 -0
- package/assets/video/examples/hf/cosmic-orb.html +643 -0
- package/assets/video/examples/hf/count-up.html +552 -0
- package/assets/video/examples/hf/cross-warp-morph.html +624 -0
- package/assets/video/examples/hf/cta-close.html +492 -0
- package/assets/video/examples/hf/cta-lockup.html +470 -0
- package/assets/video/examples/hf/cuboid-carousel.html +2385 -0
- package/assets/video/examples/hf/cursor-annotate.html +827 -0
- package/assets/video/examples/hf/cursor-context-menu.html +757 -0
- package/assets/video/examples/hf/cursor-drag-drop.html +656 -0
- package/assets/video/examples/hf/cursor-glyph-trail.html +904 -0
- package/assets/video/examples/hf/cursor-marquee-select.html +1266 -0
- package/assets/video/examples/hf/cursor-text-select.html +638 -0
- package/assets/video/examples/hf/cursor-zoom-follow.html +973 -0
- package/assets/video/examples/hf/curtain-reveal.html +590 -0
- package/assets/video/examples/hf/cut-the-curve.html +715 -0
- package/assets/video/examples/hf/dart-cursor.html +863 -0
- package/assets/video/examples/hf/data-chart.html +666 -0
- package/assets/video/examples/hf/decision-tree.html +655 -0
- package/assets/video/examples/hf/decline-chart.html +485 -0
- package/assets/video/examples/hf/device-frame-stage.html +661 -0
- package/assets/video/examples/hf/domain-warp-dissolve.html +627 -0
- package/assets/video/examples/hf/drift-hold.html +392 -0
- package/assets/video/examples/hf/dynamic-grid.html +336 -0
- package/assets/video/examples/hf/echo-smear.html +994 -0
- package/assets/video/examples/hf/echo-trail.html +557 -0
- package/assets/video/examples/hf/editorial-flash-overlay.html +337 -0
- package/assets/video/examples/hf/exploded-stack.html +761 -0
- package/assets/video/examples/hf/extended-keyframe.html +715 -0
- package/assets/video/examples/hf/extruded-logo.html +757 -0
- package/assets/video/examples/hf/facet-morph.html +746 -0
- package/assets/video/examples/hf/fade-through.html +443 -0
- package/assets/video/examples/hf/falling-lines.html +259 -0
- package/assets/video/examples/hf/filmed-screen.html +1065 -0
- package/assets/video/examples/hf/flash-through-white.html +613 -0
- package/assets/video/examples/hf/flowchart-vertical.html +631 -0
- package/assets/video/examples/hf/flowchart.html +630 -0
- package/assets/video/examples/hf/flowing-gradient.html +258 -0
- package/assets/video/examples/hf/focus-blur-resolve.html +321 -0
- package/assets/video/examples/hf/focus-rack.html +542 -0
- package/assets/video/examples/hf/focus-swap.html +496 -0
- package/assets/video/examples/hf/fractal-noise.html +258 -0
- package/assets/video/examples/hf/freeze-frame-dressing.html +357 -0
- package/assets/video/examples/hf/frost.html +258 -0
- package/assets/video/examples/hf/gabor-noise.html +258 -0
- package/assets/video/examples/hf/gallery-tunnel.html +652 -0
- package/assets/video/examples/hf/gesture-tap.html +604 -0
- package/assets/video/examples/hf/glass-hero.html +505 -0
- package/assets/video/examples/hf/glass-shard-title.html +1618 -0
- package/assets/video/examples/hf/glitch.html +613 -0
- package/assets/video/examples/hf/gloss-sweep.html +418 -0
- package/assets/video/examples/hf/godrays.html +257 -0
- package/assets/video/examples/hf/goo.html +258 -0
- package/assets/video/examples/hf/gooey-split.html +1092 -0
- package/assets/video/examples/hf/grain-field.html +377 -0
- package/assets/video/examples/hf/grain-overlay.html +295 -0
- package/assets/video/examples/hf/gravitational-lens.html +612 -0
- package/assets/video/examples/hf/grid-card-assemble.html +671 -0
- package/assets/video/examples/hf/grid-pixelate-wipe.html +314 -0
- package/assets/video/examples/hf/halftone-dissolve.html +696 -0
- package/assets/video/examples/hf/halftone-field.html +598 -0
- package/assets/video/examples/hf/headline-slam.html +455 -0
- package/assets/video/examples/hf/heatmap.html +258 -0
- package/assets/video/examples/hf/heygen-avatar-promo-card.html +627 -0
- package/assets/video/examples/hf/hologram.html +258 -0
- package/assets/video/examples/hf/holographic.html +258 -0
- package/assets/video/examples/hf/hw-arrow.html +835 -0
- package/assets/video/examples/hf/hw-boil.html +632 -0
- package/assets/video/examples/hf/hw-box-label.html +741 -0
- package/assets/video/examples/hf/hw-callout-circle.html +820 -0
- package/assets/video/examples/hf/hw-frame.html +455 -0
- package/assets/video/examples/hf/hw-path-text.html +349 -0
- package/assets/video/examples/hf/hw-pipeline.html +472 -0
- package/assets/video/examples/hf/hw-scribble-transition.html +291 -0
- package/assets/video/examples/hf/hw-text-cloud.html +439 -0
- package/assets/video/examples/hf/hw-title.html +412 -0
- package/assets/video/examples/hf/hw-underline.html +403 -0
- package/assets/video/examples/hf/hw-write-title.html +1389 -0
- package/assets/video/examples/hf/icon-morph-beat.html +463 -0
- package/assets/video/examples/hf/icon-swap.html +380 -0
- package/assets/video/examples/hf/ink-bleed-reveal.html +659 -0
- package/assets/video/examples/hf/inline-highlight.html +322 -0
- package/assets/video/examples/hf/input-feedback.html +419 -0
- package/assets/video/examples/hf/instagram-follow.html +460 -0
- package/assets/video/examples/hf/ios26-liquid-glass.html +1597 -0
- package/assets/video/examples/hf/iris-reveal.html +684 -0
- package/assets/video/examples/hf/keyframe-scrub-stack.html +326 -0
- package/assets/video/examples/hf/kinetic-center-build.html +538 -0
- package/assets/video/examples/hf/kinetic-type-swap.html +610 -0
- package/assets/video/examples/hf/kinetic-type.html +862 -0
- package/assets/video/examples/hf/lens-flare.html +258 -0
- package/assets/video/examples/hf/light-edge.html +259 -0
- package/assets/video/examples/hf/light-leak.html +612 -0
- package/assets/video/examples/hf/light-sweep-pass.html +684 -0
- package/assets/video/examples/hf/line-by-line-slide.html +345 -0
- package/assets/video/examples/hf/line-swap.html +526 -0
- package/assets/video/examples/hf/liquid-glass-notification.html +1898 -0
- package/assets/video/examples/hf/liquid-glass-widgets.html +2175 -0
- package/assets/video/examples/hf/liquid-metal.html +259 -0
- package/assets/video/examples/hf/locked-nucleus-orbit.html +564 -0
- package/assets/video/examples/hf/logo-brand-close.html +598 -0
- package/assets/video/examples/hf/logo-outro.html +397 -0
- package/assets/video/examples/hf/logo-sting.html +378 -0
- package/assets/video/examples/hf/logo-wall.html +502 -0
- package/assets/video/examples/hf/lottie-character-walk.html +407 -0
- package/assets/video/examples/hf/lt-accent-underline.html +247 -0
- package/assets/video/examples/hf/lt-bold-block.html +249 -0
- package/assets/video/examples/hf/lt-clean-bar.html +251 -0
- package/assets/video/examples/hf/lt-color-block.html +241 -0
- package/assets/video/examples/hf/lt-dark-card.html +251 -0
- package/assets/video/examples/hf/lt-kicker-name.html +254 -0
- package/assets/video/examples/hf/lt-mask-reveal.html +260 -0
- package/assets/video/examples/hf/lt-neon-border.html +604 -0
- package/assets/video/examples/hf/lt-side-rule.html +254 -0
- package/assets/video/examples/hf/lt-soft-pill.html +259 -0
- package/assets/video/examples/hf/lt-stack-bars.html +249 -0
- package/assets/video/examples/hf/macos-notification.html +372 -0
- package/assets/video/examples/hf/macos-tahoe-liquid-glass.html +1701 -0
- package/assets/video/examples/hf/magnetic-cursor.html +684 -0
- package/assets/video/examples/hf/marble.html +257 -0
- package/assets/video/examples/hf/marker-checklist-card.html +727 -0
- package/assets/video/examples/hf/marker-highlight.html +589 -0
- package/assets/video/examples/hf/match-cut.html +505 -0
- package/assets/video/examples/hf/matrix-decode.html +363 -0
- package/assets/video/examples/hf/menu-morph.html +420 -0
- package/assets/video/examples/hf/mesh-gradient-bg.html +329 -0
- package/assets/video/examples/hf/mesh-gradient.html +257 -0
- package/assets/video/examples/hf/message-thread-reveal.html +1913 -0
- package/assets/video/examples/hf/micro-transitions.html +631 -0
- package/assets/video/examples/hf/mk-background.html +376 -0
- package/assets/video/examples/hf/mk-callout-highlight.html +322 -0
- package/assets/video/examples/hf/mk-clone-wall-transition.html +364 -0
- package/assets/video/examples/hf/mk-emphasis-type.html +235 -0
- package/assets/video/examples/hf/mk-line-graph.html +432 -0
- package/assets/video/examples/hf/mk-placeholder-grid.html +373 -0
- package/assets/video/examples/hf/mk-progress-stat.html +324 -0
- package/assets/video/examples/hf/mk-specs-list.html +362 -0
- package/assets/video/examples/hf/mk-usage-arc.html +297 -0
- package/assets/video/examples/hf/modal-morph.html +727 -0
- package/assets/video/examples/hf/morph-swap.html +590 -0
- package/assets/video/examples/hf/morph-text.html +409 -0
- package/assets/video/examples/hf/multi-device-splay.html +934 -0
- package/assets/video/examples/hf/multiplayer-cursors.html +642 -0
- package/assets/video/examples/hf/native-notification-pop.html +670 -0
- package/assets/video/examples/hf/nebula.html +258 -0
- package/assets/video/examples/hf/news-ticker.html +548 -0
- package/assets/video/examples/hf/north-korea-locked-down.html +447 -0
- package/assets/video/examples/hf/notes-reveal.html +2028 -0
- package/assets/video/examples/hf/notes-typing.html +631 -0
- package/assets/video/examples/hf/notification-cascade.html +740 -0
- package/assets/video/examples/hf/notification-pileup.html +667 -0
- package/assets/video/examples/hf/notification-stack.html +610 -0
- package/assets/video/examples/hf/number-pop-in.html +362 -0
- package/assets/video/examples/hf/number-wheel.html +378 -0
- package/assets/video/examples/hf/nyc-paris-flight.html +659 -0
- package/assets/video/examples/hf/nyt-graph.html +715 -0
- package/assets/video/examples/hf/obsidian.html +258 -0
- package/assets/video/examples/hf/offset-path-traveler.html +511 -0
- package/assets/video/examples/hf/onboarding-stepper-flow.html +292 -0
- package/assets/video/examples/hf/orbit-card.html +2457 -0
- package/assets/video/examples/hf/ordered-dither-pass.html +753 -0
- package/assets/video/examples/hf/organic-light-leak-overlay.html +336 -0
- package/assets/video/examples/hf/oscilloscope-trace.html +718 -0
- package/assets/video/examples/hf/outline-draw.html +394 -0
- package/assets/video/examples/hf/oversized-cursor.html +851 -0
- package/assets/video/examples/hf/overwhelm-surround.html +557 -0
- package/assets/video/examples/hf/page-slide.html +377 -0
- package/assets/video/examples/hf/pan-stations.html +555 -0
- package/assets/video/examples/hf/panel-reveal.html +370 -0
- package/assets/video/examples/hf/paper-collage-reveal.html +737 -0
- package/assets/video/examples/hf/parallax-device-dive.html +647 -0
- package/assets/video/examples/hf/parallax-unzoom.html +499 -0
- package/assets/video/examples/hf/parallax-zoom.html +515 -0
- package/assets/video/examples/hf/particle-image-reveal.html +595 -0
- package/assets/video/examples/hf/particle-text-dissolve.html +615 -0
- package/assets/video/examples/hf/path-traced-3d.html +508 -0
- package/assets/video/examples/hf/pendulum-swing.html +364 -0
- package/assets/video/examples/hf/per-word-crossfade.html +398 -0
- package/assets/video/examples/hf/per-word-rise.html +556 -0
- package/assets/video/examples/hf/perspective-marquee.html +366 -0
- package/assets/video/examples/hf/physical-exit.html +459 -0
- package/assets/video/examples/hf/plasma.html +258 -0
- package/assets/video/examples/hf/plastic.html +258 -0
- package/assets/video/examples/hf/play-mode.html +1035 -0
- package/assets/video/examples/hf/press-ripple.html +675 -0
- package/assets/video/examples/hf/prism.html +258 -0
- package/assets/video/examples/hf/product-promo.html +1311 -0
- package/assets/video/examples/hf/product-turntable.html +4569 -0
- package/assets/video/examples/hf/pull-back-reveal.html +546 -0
- package/assets/video/examples/hf/pull-to-refresh.html +861 -0
- package/assets/video/examples/hf/push-in.html +379 -0
- package/assets/video/examples/hf/rack-focus.html +779 -0
- package/assets/video/examples/hf/radial-surround.html +653 -0
- package/assets/video/examples/hf/reddit-post.html +515 -0
- package/assets/video/examples/hf/rgb-glitch-text.html +353 -0
- package/assets/video/examples/hf/ridged-burn.html +624 -0
- package/assets/video/examples/hf/ripple-waves.html +613 -0
- package/assets/video/examples/hf/ripples.html +259 -0
- package/assets/video/examples/hf/rubber-band-bumper.html +534 -0
- package/assets/video/examples/hf/scan-band.html +415 -0
- package/assets/video/examples/hf/scramble-reveal.html +510 -0
- package/assets/video/examples/hf/screen-flow-carousel.html +779 -0
- package/assets/video/examples/hf/scroll-camera-story.html +988 -0
- package/assets/video/examples/hf/scroll-feed.html +602 -0
- package/assets/video/examples/hf/sdf-iris.html +613 -0
- package/assets/video/examples/hf/segmentation-flood.html +748 -0
- package/assets/video/examples/hf/separator.html +620 -0
- package/assets/video/examples/hf/settings-toggle-flow.html +286 -0
- package/assets/video/examples/hf/share-sheet-carousel.html +591 -0
- package/assets/video/examples/hf/shared-axis-y.html +370 -0
- package/assets/video/examples/hf/shared-axis-z.html +514 -0
- package/assets/video/examples/hf/sheet-spring-up.html +681 -0
- package/assets/video/examples/hf/shimmer-sweep.html +301 -0
- package/assets/video/examples/hf/signup-flow.html +276 -0
- package/assets/video/examples/hf/sine-wave.html +258 -0
- package/assets/video/examples/hf/skeleton-reveal.html +373 -0
- package/assets/video/examples/hf/slack-notification-ad.html +901 -0
- package/assets/video/examples/hf/slit-scan-reveal.html +540 -0
- package/assets/video/examples/hf/slot-machine-roll.html +391 -0
- package/assets/video/examples/hf/snow.html +499 -0
- package/assets/video/examples/hf/social-proof-card.html +534 -0
- package/assets/video/examples/hf/soft-blur-in.html +322 -0
- package/assets/video/examples/hf/spain-map.html +583 -0
- package/assets/video/examples/hf/spiral-galaxy.html +507 -0
- package/assets/video/examples/hf/spiral.html +258 -0
- package/assets/video/examples/hf/split-flap-board.html +537 -0
- package/assets/video/examples/hf/split-tilt-cards.html +775 -0
- package/assets/video/examples/hf/spotify-card.html +470 -0
- package/assets/video/examples/hf/spotlight-card.html +328 -0
- package/assets/video/examples/hf/spring-pop.html +406 -0
- package/assets/video/examples/hf/spring-stack-shuffle.html +791 -0
- package/assets/video/examples/hf/stagger-cascade.html +465 -0
- package/assets/video/examples/hf/stagger-lattice.html +278 -0
- package/assets/video/examples/hf/staggered-fade-up.html +368 -0
- package/assets/video/examples/hf/star-rating-fill.html +511 -0
- package/assets/video/examples/hf/starfield.html +450 -0
- package/assets/video/examples/hf/state-chip-rail.html +585 -0
- package/assets/video/examples/hf/sticky-mock-swap.html +664 -0
- package/assets/video/examples/hf/stitched-text-draw.html +1053 -0
- package/assets/video/examples/hf/stop-motion-cadence.html +670 -0
- package/assets/video/examples/hf/store-badge-lockup.html +521 -0
- package/assets/video/examples/hf/strands.html +258 -0
- package/assets/video/examples/hf/streaming-text.html +581 -0
- package/assets/video/examples/hf/strikethrough-replace.html +356 -0
- package/assets/video/examples/hf/stripes.html +258 -0
- package/assets/video/examples/hf/success-check.html +390 -0
- package/assets/video/examples/hf/sun-burst.html +258 -0
- package/assets/video/examples/hf/svg-line-draw-loader.html +257 -0
- package/assets/video/examples/hf/svg-mask-reveal.html +523 -0
- package/assets/video/examples/hf/svg-stroke-trace.html +465 -0
- package/assets/video/examples/hf/swipe-rail.html +564 -0
- package/assets/video/examples/hf/swirl-vortex.html +623 -0
- package/assets/video/examples/hf/swirl.html +258 -0
- package/assets/video/examples/hf/swiss-grid.html +837 -0
- package/assets/video/examples/hf/tabs-slide-indicator.html +424 -0
- package/assets/video/examples/hf/telemetry-hud.html +760 -0
- package/assets/video/examples/hf/terminal-simulator.html +293 -0
- package/assets/video/examples/hf/testimonial-card.html +545 -0
- package/assets/video/examples/hf/testimonial-proof-card.html +720 -0
- package/assets/video/examples/hf/text-match-cut.html +1345 -0
- package/assets/video/examples/hf/text-shimmer.html +394 -0
- package/assets/video/examples/hf/text-stagger.html +373 -0
- package/assets/video/examples/hf/text-state-swap.html +421 -0
- package/assets/video/examples/hf/thermal-distortion.html +624 -0
- package/assets/video/examples/hf/thin-film.html +258 -0
- package/assets/video/examples/hf/thread-message-stack.html +377 -0
- package/assets/video/examples/hf/three-orbiting-cards.html +322 -0
- package/assets/video/examples/hf/ticker-takeover.html +534 -0
- package/assets/video/examples/hf/tiktok-follow.html +435 -0
- package/assets/video/examples/hf/tilt-card.html +406 -0
- package/assets/video/examples/hf/titlecard-calm.html +388 -0
- package/assets/video/examples/hf/titlecard-lockup.html +546 -0
- package/assets/video/examples/hf/toggle-flip.html +601 -0
- package/assets/video/examples/hf/top-down-letters.html +326 -0
- package/assets/video/examples/hf/torn-paper-rip.html +762 -0
- package/assets/video/examples/hf/touch-indicator.html +777 -0
- package/assets/video/examples/hf/tracing-beam.html +608 -0
- package/assets/video/examples/hf/tracking-in.html +317 -0
- package/assets/video/examples/hf/transitions-3d.html +434 -0
- package/assets/video/examples/hf/transitions-blur.html +524 -0
- package/assets/video/examples/hf/transitions-cover.html +508 -0
- package/assets/video/examples/hf/transitions-destruction.html +551 -0
- package/assets/video/examples/hf/transitions-dissolve.html +529 -0
- package/assets/video/examples/hf/transitions-distortion.html +522 -0
- package/assets/video/examples/hf/transitions-grid.html +442 -0
- package/assets/video/examples/hf/transitions-light.html +528 -0
- package/assets/video/examples/hf/transitions-mechanical.html +560 -0
- package/assets/video/examples/hf/transitions-other.html +532 -0
- package/assets/video/examples/hf/transitions-push.html +520 -0
- package/assets/video/examples/hf/transitions-radial.html +492 -0
- package/assets/video/examples/hf/transitions-scale.html +487 -0
- package/assets/video/examples/hf/trust-strip.html +445 -0
- package/assets/video/examples/hf/typed-prompt.html +619 -0
- package/assets/video/examples/hf/typewriter.html +350 -0
- package/assets/video/examples/hf/typing-indicator.html +702 -0
- package/assets/video/examples/hf/ui-3d-reveal.html +2929 -0
- package/assets/video/examples/hf/ui-focus-zoom.html +786 -0
- package/assets/video/examples/hf/us-map-bubble.html +669 -0
- package/assets/video/examples/hf/us-map-flow.html +621 -0
- package/assets/video/examples/hf/us-map-hex.html +733 -0
- package/assets/video/examples/hf/us-map.html +591 -0
- package/assets/video/examples/hf/variable-font-flex.html +538 -0
- package/assets/video/examples/hf/vector-editor-rig.html +977 -0
- package/assets/video/examples/hf/vfx-anamorphic-flare.html +572 -0
- package/assets/video/examples/hf/vfx-iphone-device.html +1089 -0
- package/assets/video/examples/hf/vfx-liquid-background.html +1479 -0
- package/assets/video/examples/hf/vfx-liquid-glass.html +2054 -0
- package/assets/video/examples/hf/vfx-magnetic.html +660 -0
- package/assets/video/examples/hf/vfx-portal.html +1090 -0
- package/assets/video/examples/hf/vfx-shatter.html +1382 -0
- package/assets/video/examples/hf/vignette.html +385 -0
- package/assets/video/examples/hf/voronoi.html +258 -0
- package/assets/video/examples/hf/vox-annotate.html +707 -0
- package/assets/video/examples/hf/vpn-youtube-spot.html +1118 -0
- package/assets/video/examples/hf/water.html +258 -0
- package/assets/video/examples/hf/waveform.html +258 -0
- package/assets/video/examples/hf/week-in-merges.html +673 -0
- package/assets/video/examples/hf/weight-wave.html +531 -0
- package/assets/video/examples/hf/whip-pan-cut.html +668 -0
- package/assets/video/examples/hf/whip-pan.html +613 -0
- package/assets/video/examples/hf/whiteboard-ink.html +763 -0
- package/assets/video/examples/hf/wireframe-portal-title.html +3840 -0
- package/assets/video/examples/hf/wordmark-tiles.html +559 -0
- package/assets/video/examples/hf/world-map.html +623 -0
- package/assets/video/examples/hf/worley-noise.html +259 -0
- package/assets/video/examples/hf/x-follow-card.html +286 -0
- package/assets/video/examples/hf/x-post.html +611 -0
- package/assets/video/examples/hf/yt-camera-move.html +308 -0
- package/assets/video/examples/hf/yt-circle-pointer.html +301 -0
- package/assets/video/examples/hf/yt-comment-card.html +458 -0
- package/assets/video/examples/hf/yt-feather-highlight.html +279 -0
- package/assets/video/examples/hf/yt-lcd-background.html +446 -0
- package/assets/video/examples/hf/yt-logo-intro.html +390 -0
- package/assets/video/examples/hf/yt-lower-third.html +414 -0
- package/assets/video/examples/hf/yt-prism-title.html +343 -0
- package/assets/video/examples/hf/yt-screen-warp.html +257 -0
- package/assets/video/examples/hf/yt-vertical-fill.html +367 -0
- package/assets/video/examples/kinetic-type.html +137 -0
- package/assets/video/examples/motion-blur-streak.html +119 -0
- package/assets/video/examples/object-reveal.html +107 -0
- package/assets/video/examples/parallax-layers.html +130 -0
- package/assets/video/examples/particle-burst.html +157 -0
- package/assets/video/examples/pen-draw.html +146 -0
- package/assets/video/examples/shape-morph.html +151 -0
- package/assets/video/examples/slam-title.html +125 -0
- package/assets/video/examples/speed-lines.html +123 -0
- package/assets/video/examples/spring-pop.html +129 -0
- package/assets/video/examples/streak-wipe.html +78 -0
- package/assets/video/examples/three-chrome-knot.html +155 -0
- package/assets/video/examples/three-clay.html +138 -0
- package/assets/video/examples/three-cube-wave.html +140 -0
- package/assets/video/examples/three-extruded-shape.html +148 -0
- package/assets/video/examples/type-on.html +128 -0
- package/assets/video/motion.js +991 -0
- package/assets/video/screen.js +298 -0
- package/assets/video/sfx/catalogue.json +2283 -0
- package/dist/cli.js +38185 -3485
- package/dist/index.js +37910 -3428
- package/dist/types/args.d.ts +2 -0
- package/dist/types/broken-pipe.d.ts +13 -0
- package/dist/types/cloud/service.d.ts +13 -0
- package/dist/types/commands/usage.d.ts +2 -0
- package/dist/types/commands/video.d.ts +10 -0
- package/dist/types/core/error-text.d.ts +26 -0
- package/dist/types/core/errors.d.ts +5 -3
- package/dist/types/core/image-info.d.ts +1 -1
- package/dist/types/core/image.d.ts +3 -5
- package/dist/types/core/project.d.ts +8 -7
- package/dist/types/core/util.d.ts +1 -2
- package/dist/types/cpu-budget.d.ts +43 -0
- package/dist/types/credentials.d.ts +0 -10
- package/dist/types/editor/http-types.d.ts +1 -0
- package/dist/types/i18n.d.ts +11 -0
- package/dist/types/images/batch-jobs.d.ts +2 -0
- package/dist/types/images/batch-run.d.ts +2 -1
- package/dist/types/images/jobs.d.ts +7 -0
- package/dist/types/images/pending.d.ts +40 -0
- package/dist/types/images/retry.d.ts +4 -1
- package/dist/types/images/run.d.ts +9 -1
- package/dist/types/main.d.ts +4 -1
- package/dist/types/node-runtime.d.ts +6 -1
- package/dist/types/profile.d.ts +2 -0
- package/dist/types/providers/api-errors.d.ts +2 -2
- package/dist/types/providers/api.d.ts +13 -5
- package/dist/types/providers/base.d.ts +2 -0
- package/dist/types/providers/cli-generate.d.ts +5 -1
- package/dist/types/providers/cli-pending.d.ts +24 -0
- package/dist/types/providers/errors.d.ts +7 -2
- package/dist/types/providers/ledger.d.ts +10 -6
- package/dist/types/providers/popost-async.d.ts +35 -0
- package/dist/types/providers/popost-tasks.d.ts +16 -5
- package/dist/types/providers/popost-validate.d.ts +0 -1
- package/dist/types/providers/popost.d.ts +16 -1
- package/dist/types/providers/task.d.ts +43 -0
- package/dist/types/render/audit-script.d.ts +2 -1
- package/dist/types/render/audit.d.ts +2 -0
- package/dist/types/render/browser.d.ts +16 -2
- package/dist/types/runtime.d.ts +73 -2
- package/dist/types/version.d.ts +1 -1
- package/dist/types/video/align/index.d.ts +43 -0
- package/dist/types/video/capture/director.d.ts +70 -0
- package/dist/types/video/capture/index.d.ts +141 -0
- package/dist/types/video/capture/stage.d.ts +99 -0
- package/dist/types/video/capture/steps.d.ts +138 -0
- package/dist/types/video/commands/cast.d.ts +3 -0
- package/dist/types/video/commands/clips.d.ts +2 -0
- package/dist/types/video/commands/compare-scope.d.ts +7 -0
- package/dist/types/video/commands/credits.d.ts +19 -0
- package/dist/types/video/commands/elements.d.ts +22 -0
- package/dist/types/video/commands/eval.d.ts +2 -0
- package/dist/types/video/commands/example.d.ts +1 -0
- package/dist/types/video/commands/generate.d.ts +14 -0
- package/dist/types/video/commands/loop-shared.d.ts +12 -0
- package/dist/types/video/commands/loop.d.ts +4 -0
- package/dist/types/video/commands/make.d.ts +9 -0
- package/dist/types/video/commands/materials.d.ts +1 -0
- package/dist/types/video/commands/measure.d.ts +2 -0
- package/dist/types/video/commands/media.d.ts +2 -0
- package/dist/types/video/commands/music-plan.d.ts +1 -0
- package/dist/types/video/commands/music.d.ts +2 -0
- package/dist/types/video/commands/read.d.ts +19 -0
- package/dist/types/video/commands/replication.d.ts +2 -0
- package/dist/types/video/commands/sfx-extract.d.ts +2 -0
- package/dist/types/video/commands/sfx-place.d.ts +3 -0
- package/dist/types/video/commands/sfx.d.ts +2 -0
- package/dist/types/video/commands/shared.d.ts +39 -0
- package/dist/types/video/commands/source.d.ts +2 -0
- package/dist/types/video/commands/speech-check.d.ts +1 -0
- package/dist/types/video/commands/speech-kind.d.ts +6 -0
- package/dist/types/video/commands/template.d.ts +10 -0
- package/dist/types/video/commands/voice-profile.d.ts +2 -0
- package/dist/types/video/commands/voice-sample.d.ts +1 -0
- package/dist/types/video/compile/footage.d.ts +36 -0
- package/dist/types/video/compile/index.d.ts +30 -0
- package/dist/types/video/compile/page-bundle.d.ts +1 -0
- package/dist/types/video/compile/page.d.ts +10 -0
- package/dist/types/video/compile/words.d.ts +9 -0
- package/dist/types/video/describe/aim.d.ts +20 -0
- package/dist/types/video/describe/beats.d.ts +53 -0
- package/dist/types/video/describe/curves.d.ts +27 -0
- package/dist/types/video/describe/frames.d.ts +62 -0
- package/dist/types/video/describe/index.d.ts +34 -0
- package/dist/types/video/describe/inset.d.ts +83 -0
- package/dist/types/video/describe/kind.d.ts +29 -0
- package/dist/types/video/describe/known.d.ts +31 -0
- package/dist/types/video/describe/movement.d.ts +17 -0
- package/dist/types/video/describe/parts.d.ts +50 -0
- package/dist/types/video/describe/paths.d.ts +21 -0
- package/dist/types/video/describe/speech-kind.d.ts +144 -0
- package/dist/types/video/describe/unrecovered.d.ts +29 -0
- package/dist/types/video/draft/build.d.ts +34 -0
- package/dist/types/video/draft/export.d.ts +19 -0
- package/dist/types/video/draft/lifecycle.d.ts +9 -0
- package/dist/types/video/draft/native.d.ts +27 -0
- package/dist/types/video/draft/schema.d.ts +316 -0
- package/dist/types/video/draft/targets.d.ts +19 -0
- package/dist/types/video/elements/caption-reading.d.ts +9 -0
- package/dist/types/video/elements/caption-roles.d.ts +6 -0
- package/dist/types/video/elements/carry.d.ts +45 -0
- package/dist/types/video/elements/check.d.ts +14 -0
- package/dist/types/video/elements/findings.d.ts +49 -0
- package/dist/types/video/elements/main.d.ts +54 -0
- package/dist/types/video/elements/picture.d.ts +31 -0
- package/dist/types/video/elements/questions.d.ts +35 -0
- package/dist/types/video/elements/read.d.ts +14 -0
- package/dist/types/video/elements/status.d.ts +23 -0
- package/dist/types/video/elements/types.d.ts +120 -0
- package/dist/types/video/eval/contrast.d.ts +136 -0
- package/dist/types/video/eval/dataset.d.ts +21 -0
- package/dist/types/video/eval/floor.d.ts +27 -0
- package/dist/types/video/eval/ledger.d.ts +27 -0
- package/dist/types/video/eval/legibility.d.ts +33 -0
- package/dist/types/video/eval/readback-frames.d.ts +41 -0
- package/dist/types/video/eval/readback-run.d.ts +54 -0
- package/dist/types/video/eval/readback.d.ts +48 -0
- package/dist/types/video/eval/roundtrip.d.ts +71 -0
- package/dist/types/video/generate/approved.d.ts +74 -0
- package/dist/types/video/generate/cast.d.ts +56 -0
- package/dist/types/video/generate/character.d.ts +14 -0
- package/dist/types/video/generate/clip-sound.d.ts +63 -0
- package/dist/types/video/generate/cloud-image.d.ts +12 -0
- package/dist/types/video/generate/cloud.d.ts +67 -0
- package/dist/types/video/generate/dialogue.d.ts +116 -0
- package/dist/types/video/generate/index.d.ts +265 -0
- package/dist/types/video/generate/provenance.d.ts +11 -0
- package/dist/types/video/generate/speech-lock.d.ts +4 -0
- package/dist/types/video/generate/speech.d.ts +20 -0
- package/dist/types/video/host.d.ts +42 -0
- package/dist/types/video/hosted-api.d.ts +161 -0
- package/dist/types/video/look/index.d.ts +67 -0
- package/dist/types/video/look/like.d.ts +18 -0
- package/dist/types/video/look/sheets.d.ts +58 -0
- package/dist/types/video/measure/align.d.ts +33 -0
- package/dist/types/video/measure/amount.d.ts +52 -0
- package/dist/types/video/measure/bars.d.ts +22 -0
- package/dist/types/video/measure/boundaries.d.ts +18 -0
- package/dist/types/video/measure/cache.d.ts +6 -0
- package/dist/types/video/measure/camera.d.ts +21 -0
- package/dist/types/video/measure/colour.d.ts +12 -0
- package/dist/types/video/measure/curve.d.ts +29 -0
- package/dist/types/video/measure/cuts.d.ts +17 -0
- package/dist/types/video/measure/easing.d.ts +52 -0
- package/dist/types/video/measure/fill.d.ts +20 -0
- package/dist/types/video/measure/fits.d.ts +80 -0
- package/dist/types/video/measure/gradual.d.ts +23 -0
- package/dist/types/video/measure/index.d.ts +28 -0
- package/dist/types/video/measure/kinds.d.ts +71 -0
- package/dist/types/video/measure/motion.d.ts +26 -0
- package/dist/types/video/measure/move.d.ts +90 -0
- package/dist/types/video/measure/moves.d.ts +22 -0
- package/dist/types/video/measure/orientation.d.ts +11 -0
- package/dist/types/video/measure/pixels.d.ts +41 -0
- package/dist/types/video/measure/profile.d.ts +53 -0
- package/dist/types/video/measure/reveal.d.ts +48 -0
- package/dist/types/video/measure/rhythm.d.ts +7 -0
- package/dist/types/video/measure/robust.d.ts +18 -0
- package/dist/types/video/measure/signals.d.ts +48 -0
- package/dist/types/video/measure/signature.d.ts +10 -0
- package/dist/types/video/measure/span.d.ts +28 -0
- package/dist/types/video/measure/still-shots.d.ts +40 -0
- package/dist/types/video/measure/switch.d.ts +101 -0
- package/dist/types/video/measure/tracks.d.ts +20 -0
- package/dist/types/video/measure/unmix.d.ts +20 -0
- package/dist/types/video/media/decode.d.ts +59 -0
- package/dist/types/video/media/ffmpeg.d.ts +48 -0
- package/dist/types/video/media/footage.d.ts +53 -0
- package/dist/types/video/media/screenshot.d.ts +26 -0
- package/dist/types/video/media/selection.d.ts +4 -0
- package/dist/types/video/media/wav.d.ts +26 -0
- package/dist/types/video/music/hosted.d.ts +110 -0
- package/dist/types/video/music/plan.d.ts +103 -0
- package/dist/types/video/music/provenance.d.ts +86 -0
- package/dist/types/video/page/apply.d.ts +9 -0
- package/dist/types/video/page/contract.d.ts +150 -0
- package/dist/types/video/page/css.d.ts +9 -0
- package/dist/types/video/page/dom.d.ts +51 -0
- package/dist/types/video/page/fit.d.ts +13 -0
- package/dist/types/video/page/layout.d.ts +8 -0
- package/dist/types/video/page/main.d.ts +1 -0
- package/dist/types/video/page/scene.d.ts +38 -0
- package/dist/types/video/page/texts.d.ts +10 -0
- package/dist/types/video/page/words.d.ts +39 -0
- package/dist/types/video/paid-download.d.ts +19 -0
- package/dist/types/video/plan/ask.d.ts +77 -0
- package/dist/types/video/plan/generated.d.ts +29 -0
- package/dist/types/video/plan/index.d.ts +6 -0
- package/dist/types/video/plan/materials.d.ts +22 -0
- package/dist/types/video/plan/model.d.ts +59 -0
- package/dist/types/video/plan/prompt.d.ts +41 -0
- package/dist/types/video/plan/see.d.ts +35 -0
- package/dist/types/video/presets/camera.d.ts +27 -0
- package/dist/types/video/presets/easing.d.ts +11 -0
- package/dist/types/video/presets/fill.d.ts +16 -0
- package/dist/types/video/presets/loop.d.ts +20 -0
- package/dist/types/video/presets/motion.d.ts +47 -0
- package/dist/types/video/presets/spoken.d.ts +35 -0
- package/dist/types/video/presets/text-styles.d.ts +44 -0
- package/dist/types/video/presets/transition.d.ts +66 -0
- package/dist/types/video/preview/cloud.d.ts +13 -0
- package/dist/types/video/preview/edit/check.d.ts +15 -0
- package/dist/types/video/preview/edit/editor.d.ts +52 -0
- package/dist/types/video/preview/edit/ops.d.ts +52 -0
- package/dist/types/video/preview/edit/render.d.ts +11 -0
- package/dist/types/video/preview/edit/retime.d.ts +2 -0
- package/dist/types/video/preview/edit/routes.d.ts +1106 -0
- package/dist/types/video/preview/export-settings.d.ts +25 -0
- package/dist/types/video/preview/files.d.ts +25 -0
- package/dist/types/video/preview/html.d.ts +9 -0
- package/dist/types/video/preview/index.d.ts +20 -0
- package/dist/types/video/preview/project.d.ts +48 -0
- package/dist/types/video/preview/protocol.d.ts +91 -0
- package/dist/types/video/preview/server.d.ts +21 -0
- package/dist/types/video/preview/shell/app.d.ts +81 -0
- package/dist/types/video/preview/shell/dom.d.ts +40 -0
- package/dist/types/video/preview/shell/edit/controller.d.ts +32 -0
- package/dist/types/video/preview/shell/edit/fields.d.ts +49 -0
- package/dist/types/video/preview/shell/edit/form-parts.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/form.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/inline.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/lanes-edit.d.ts +31 -0
- package/dist/types/video/preview/shell/edit/layer-order.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/remove.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/reveal.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/scenes.d.ts +7 -0
- package/dist/types/video/preview/shell/edit/schema.d.ts +30 -0
- package/dist/types/video/preview/shell/edit/source.d.ts +83 -0
- package/dist/types/video/preview/shell/edit/split.d.ts +8 -0
- package/dist/types/video/preview/shell/edit/stage-edit.d.ts +21 -0
- package/dist/types/video/preview/shell/edit/text-fit.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/toolbar.d.ts +14 -0
- package/dist/types/video/preview/shell/footage.d.ts +6 -0
- package/dist/types/video/preview/shell/i18n.d.ts +176 -0
- package/dist/types/video/preview/shell/lanes.d.ts +2 -0
- package/dist/types/video/preview/shell/main.d.ts +1 -0
- package/dist/types/video/preview/shell/model.d.ts +85 -0
- package/dist/types/video/preview/shell/panel.d.ts +3 -0
- package/dist/types/video/preview/shell/readonly.d.ts +1 -0
- package/dist/types/video/preview/shell/stage.d.ts +7 -0
- package/dist/types/video/preview/shell/studio/audio.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/cloud.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/code.d.ts +6 -0
- package/dist/types/video/preview/shell/studio/copy.d.ts +159 -0
- package/dist/types/video/preview/shell/studio/draft-result.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/export.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/scene-selection.d.ts +19 -0
- package/dist/types/video/preview/shell/studio/sidebar.d.ts +27 -0
- package/dist/types/video/preview/shell/studio/style.d.ts +2 -0
- package/dist/types/video/preview/shell/studio/timeline.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/ui.d.ts +16 -0
- package/dist/types/video/preview/shell/studio/workspace.d.ts +11 -0
- package/dist/types/video/preview/shell/style.d.ts +5 -0
- package/dist/types/video/preview/shell/transport.d.ts +6 -0
- package/dist/types/video/preview/shell-bundle.d.ts +1 -0
- package/dist/types/video/preview/studio-actions.d.ts +4 -0
- package/dist/types/video/preview/studio-data.d.ts +32 -0
- package/dist/types/video/preview/thumbnails.d.ts +5 -0
- package/dist/types/video/preview/watch.d.ts +23 -0
- package/dist/types/video/progress.d.ts +28 -0
- package/dist/types/video/project/check-camera.d.ts +8 -0
- package/dist/types/video/project/check-caption.d.ts +8 -0
- package/dist/types/video/project/check-common.d.ts +25 -0
- package/dist/types/video/project/check-footage.d.ts +22 -0
- package/dist/types/video/project/check-look.d.ts +19 -0
- package/dist/types/video/project/check-sound.d.ts +54 -0
- package/dist/types/video/project/check-span.d.ts +11 -0
- package/dist/types/video/project/check-tracks.d.ts +8 -0
- package/dist/types/video/project/check-transition.d.ts +11 -0
- package/dist/types/video/project/check-words.d.ts +32 -0
- package/dist/types/video/project/check.d.ts +42 -0
- package/dist/types/video/project/issues.d.ts +43 -0
- package/dist/types/video/project/schema.d.ts +2074 -0
- package/dist/types/video/project/suggest.d.ts +4 -0
- package/dist/types/video/project/words.d.ts +6 -0
- package/dist/types/video/render/browser-step.d.ts +5 -0
- package/dist/types/video/render/encode.d.ts +49 -0
- package/dist/types/video/render/index.d.ts +90 -0
- package/dist/types/video/render/layout.d.ts +26 -0
- package/dist/types/video/render/record.d.ts +80 -0
- package/dist/types/video/render/session.d.ts +64 -0
- package/dist/types/video/render/verify.d.ts +16 -0
- package/dist/types/video/replication/audio-provenance.d.ts +36 -0
- package/dist/types/video/replication/browser.d.ts +1 -0
- package/dist/types/video/replication/check.d.ts +19 -0
- package/dist/types/video/replication/contract.d.ts +683 -0
- package/dist/types/video/replication/io.d.ts +22 -0
- package/dist/types/video/replication/motion-bundle.d.ts +1 -0
- package/dist/types/video/replication/motion.d.ts +109 -0
- package/dist/types/video/replication/pairs.d.ts +69 -0
- package/dist/types/video/replication/prefill.d.ts +34 -0
- package/dist/types/video/replication/production.d.ts +163 -0
- package/dist/types/video/replication/revision.d.ts +2 -0
- package/dist/types/video/replication/schema.d.ts +56 -0
- package/dist/types/video/replication/source-clock.d.ts +24 -0
- package/dist/types/video/replication/speech-observed.d.ts +121 -0
- package/dist/types/video/replication/voice-spans.d.ts +3 -0
- package/dist/types/video/retarget/caption-look.d.ts +14 -0
- package/dist/types/video/retarget/fps.d.ts +7 -0
- package/dist/types/video/retarget/index.d.ts +248 -0
- package/dist/types/video/retarget/items.d.ts +44 -0
- package/dist/types/video/retarget/marks.d.ts +12 -0
- package/dist/types/video/retarget/pace.d.ts +36 -0
- package/dist/types/video/retarget/speak.d.ts +41 -0
- package/dist/types/video/retarget/tempo.d.ts +40 -0
- package/dist/types/video/retarget/titles.d.ts +76 -0
- package/dist/types/video/retarget/words.d.ts +39 -0
- package/dist/types/video/scene/author.d.ts +74 -0
- package/dist/types/video/scene/check.d.ts +64 -0
- package/dist/types/video/scene/copied.d.ts +30 -0
- package/dist/types/video/scene/cues.d.ts +40 -0
- package/dist/types/video/scene/examples.d.ts +129 -0
- package/dist/types/video/scene/findings.d.ts +71 -0
- package/dist/types/video/scene/fonts.d.ts +19 -0
- package/dist/types/video/scene/items.d.ts +23 -0
- package/dist/types/video/scene/library.d.ts +41 -0
- package/dist/types/video/scene/lint.d.ts +15 -0
- package/dist/types/video/scene/numbers.d.ts +39 -0
- package/dist/types/video/scene/pictures.d.ts +12 -0
- package/dist/types/video/scene/write.d.ts +41 -0
- package/dist/types/video/score/index.d.ts +13 -0
- package/dist/types/video/score/pair.d.ts +43 -0
- package/dist/types/video/score/picture.d.ts +14 -0
- package/dist/types/video/score/project-windows.d.ts +9 -0
- package/dist/types/video/score/shot-transition.d.ts +62 -0
- package/dist/types/video/score/shots.d.ts +101 -0
- package/dist/types/video/score/time.d.ts +22 -0
- package/dist/types/video/score/tracks.d.ts +42 -0
- package/dist/types/video/score/weights.d.ts +19 -0
- package/dist/types/video/sfx/cache.d.ts +16 -0
- package/dist/types/video/sfx/catalogue.d.ts +64 -0
- package/dist/types/video/sfx/extract.d.ts +65 -0
- package/dist/types/video/sfx/levels.d.ts +39 -0
- package/dist/types/video/sfx/library.d.ts +26 -0
- package/dist/types/video/sfx/place.d.ts +82 -0
- package/dist/types/video/sfx/project.d.ts +36 -0
- package/dist/types/video/sound/analysis.d.ts +46 -0
- package/dist/types/video/sound/breaks.d.ts +84 -0
- package/dist/types/video/sound/measure.d.ts +106 -0
- package/dist/types/video/sound/modes.d.ts +75 -0
- package/dist/types/video/sound/pcm.d.ts +21 -0
- package/dist/types/video/sound/reading.d.ts +124 -0
- package/dist/types/video/sound/speech-check.d.ts +76 -0
- package/dist/types/video/source/collect.d.ts +64 -0
- package/dist/types/video/source/read.d.ts +57 -0
- package/dist/types/video/source/used.d.ts +4 -0
- package/dist/types/video/speech/hosted.d.ts +36 -0
- package/dist/types/video/speech/index.d.ts +83 -0
- package/dist/types/video/speech/types.d.ts +41 -0
- package/dist/types/video/submit-retry.d.ts +15 -0
- package/dist/types/video/synth/generate.d.ts +53 -0
- package/dist/types/video/synth/truth.d.ts +8 -0
- package/dist/types/video/synth/write.d.ts +13 -0
- package/dist/types/video/template/capacity.d.ts +37 -0
- package/dist/types/video/template/card-elements.d.ts +17 -0
- package/dist/types/video/template/card.d.ts +22 -0
- package/dist/types/video/template/check-captions.d.ts +11 -0
- package/dist/types/video/template/check.d.ts +40 -0
- package/dist/types/video/template/facts.d.ts +90 -0
- package/dist/types/video/template/fill.d.ts +51 -0
- package/dist/types/video/template/fingerprint.d.ts +2 -0
- package/dist/types/video/template/fit.d.ts +60 -0
- package/dist/types/video/template/index.d.ts +8 -0
- package/dist/types/video/template/project.d.ts +21 -0
- package/dist/types/video/template/save.d.ts +52 -0
- package/dist/types/video/template/slots.d.ts +26 -0
- package/dist/types/video/template/speech-rules.d.ts +61 -0
- package/dist/types/video/template/split.d.ts +10 -0
- package/dist/types/video/template/structure.d.ts +81 -0
- package/dist/types/video/template/swap.d.ts +33 -0
- package/dist/types/video/template/types.d.ts +387 -0
- package/dist/types/video/text/bar.d.ts +63 -0
- package/dist/types/video/text/change.d.ts +19 -0
- package/dist/types/video/text/core.d.ts +25 -0
- package/dist/types/video/text/cues.d.ts +26 -0
- package/dist/types/video/text/fold.d.ts +9 -0
- package/dist/types/video/text/frame.d.ts +41 -0
- package/dist/types/video/text/highlight.d.ts +19 -0
- package/dist/types/video/text/index.d.ts +67 -0
- package/dist/types/video/text/letters.d.ts +85 -0
- package/dist/types/video/text/look.d.ts +53 -0
- package/dist/types/video/text/reader-command.d.ts +26 -0
- package/dist/types/video/text/reveal.d.ts +37 -0
- package/dist/types/video/text/rings.d.ts +39 -0
- package/dist/types/video/text/shadow.d.ts +44 -0
- package/dist/types/video/text/share.d.ts +2 -0
- package/dist/types/video/text/speech.d.ts +15 -0
- package/dist/types/video/text/strokes.d.ts +30 -0
- package/dist/types/video/text/types.d.ts +147 -0
- package/dist/types/video/timeline/cue-words.d.ts +27 -0
- package/dist/types/video/timeline/footage.d.ts +25 -0
- package/dist/types/video/timeline/frame.d.ts +55 -0
- package/dist/types/video/timeline/items.d.ts +28 -0
- package/dist/types/video/timeline/mix.d.ts +67 -0
- package/dist/types/video/timeline/resolve.d.ts +20 -0
- package/dist/types/video/timeline/spans.d.ts +32 -0
- package/dist/types/video/timeline/words.d.ts +64 -0
- package/dist/types/video/tool.d.ts +29 -0
- package/dist/types/video/types.d.ts +1057 -0
- package/dist/types/video/voice/create.d.ts +43 -0
- package/dist/types/video/voice/hosted.d.ts +36 -0
- package/dist/types/video/voice/index.d.ts +61 -0
- package/dist/types/video/voice/pace.d.ts +37 -0
- package/dist/types/video/voice/profile.d.ts +26 -0
- package/dist/types/video/voice/sample.d.ts +46 -0
- package/dist/types/video/wallet.d.ts +38 -0
- package/dist/types/video/work.d.ts +10 -0
- package/dist/types/workflow/build.d.ts +1 -1
- package/dist/types/workflow/errors.d.ts +1 -1
- package/dist/types/workflow/io.d.ts +1 -1
- package/dist/types/workflow/post-bundle.d.ts +8 -3
- package/dist/types/workflow/series-plan.d.ts +5 -2
- package/dist/types/workflow/template-plugins.d.ts +0 -8
- package/package.json +13 -4
- package/references/image-workflow.md +111 -0
- package/references/onboarding.md +50 -19
- package/references/post-bundle.md +2 -2
- package/references/providers.md +6 -3
- package/references/video-draft-export.md +13 -0
- package/references/video-editing.md +43 -0
- package/references/video-effects.md +605 -0
- package/references/video-elements.md +199 -0
- package/references/video-examples/showcase/assets/pattern.svg +18 -0
- package/references/video-examples/showcase/assets/voice.sbg +4 -0
- package/references/video-examples/showcase/assets/voice.words.json +68 -0
- package/references/video-examples/showcase/video.json +550 -0
- package/references/video-examples/template-demo/TEMPLATE.md +30 -0
- package/references/video-examples/template-demo/fill.json +29 -0
- package/references/video-examples/template-demo/slots.json +210 -0
- package/references/video-examples/template-demo/template.json +105 -0
- package/references/video-motion.md +315 -0
- package/references/video-native-observation.md +37 -0
- package/references/video-performers.md +86 -0
- package/references/video-project.md +63 -0
- package/references/video-replication.md +276 -0
- package/references/video-scenes.md +366 -0
- package/references/video-sfx.md +109 -0
- package/references/video-sound.md +207 -0
- package/references/video-templates.md +177 -0
- package/references/video-tools.md +560 -0
- package/references/video.md +756 -0
- package/templates/community/README.md +274 -1
- package/templates/community/index.json +3829 -0
- package/templates/community/instagram-age-expectations/README.md +14 -0
- package/templates/community/instagram-age-expectations/SKILL.md +52 -0
- package/templates/community/instagram-age-expectations/source.json +9 -0
- package/templates/community/instagram-age-expectations/template.json +53 -0
- package/templates/community/instagram-artwork-detail/README.md +19 -0
- package/templates/community/instagram-artwork-detail/SKILL.md +53 -0
- package/templates/community/instagram-artwork-detail/source.json +9 -0
- package/templates/community/instagram-artwork-detail/template.json +61 -0
- package/templates/community/instagram-balanced-traits/README.md +12 -0
- package/templates/community/instagram-balanced-traits/SKILL.md +52 -0
- package/templates/community/instagram-balanced-traits/source.json +9 -0
- package/templates/community/instagram-balanced-traits/template.json +53 -0
- package/templates/community/instagram-behind-the-scenes/README.md +12 -0
- package/templates/community/instagram-behind-the-scenes/SKILL.md +53 -0
- package/templates/community/instagram-behind-the-scenes/source.json +9 -0
- package/templates/community/instagram-behind-the-scenes/template.json +52 -0
- package/templates/community/instagram-brand-personification/README.md +26 -0
- package/templates/community/instagram-brand-personification/SKILL.md +53 -0
- package/templates/community/instagram-brand-personification/source.json +9 -0
- package/templates/community/instagram-brand-personification/template.json +66 -0
- package/templates/community/instagram-brand-system/README.md +17 -0
- package/templates/community/instagram-brand-system/SKILL.md +53 -0
- package/templates/community/instagram-brand-system/source.json +9 -0
- package/templates/community/instagram-brand-system/template.json +60 -0
- package/templates/community/instagram-calendar-cheat-sheet/README.md +8 -0
- package/templates/community/instagram-calendar-cheat-sheet/SKILL.md +53 -0
- package/templates/community/instagram-calendar-cheat-sheet/source.json +9 -0
- package/templates/community/instagram-calendar-cheat-sheet/template.json +47 -0
- package/templates/community/instagram-capacity-planning/README.md +12 -0
- package/templates/community/instagram-capacity-planning/SKILL.md +53 -0
- package/templates/community/instagram-capacity-planning/source.json +9 -0
- package/templates/community/instagram-capacity-planning/template.json +55 -0
- package/templates/community/instagram-category-use-guide/README.md +14 -0
- package/templates/community/instagram-category-use-guide/SKILL.md +53 -0
- package/templates/community/instagram-category-use-guide/source.json +9 -0
- package/templates/community/instagram-category-use-guide/template.json +55 -0
- package/templates/community/instagram-character-led-tour/README.md +17 -0
- package/templates/community/instagram-character-led-tour/SKILL.md +53 -0
- package/templates/community/instagram-character-led-tour/source.json +9 -0
- package/templates/community/instagram-character-led-tour/template.json +56 -0
- package/templates/community/instagram-comic-dialogue/README.md +16 -0
- package/templates/community/instagram-comic-dialogue/SKILL.md +53 -0
- package/templates/community/instagram-comic-dialogue/source.json +9 -0
- package/templates/community/instagram-comic-dialogue/template.json +59 -0
- package/templates/community/instagram-command-shortcuts/README.md +13 -0
- package/templates/community/instagram-command-shortcuts/SKILL.md +53 -0
- package/templates/community/instagram-command-shortcuts/source.json +9 -0
- package/templates/community/instagram-command-shortcuts/template.json +52 -0
- package/templates/community/instagram-context-changes-meaning/README.md +11 -0
- package/templates/community/instagram-context-changes-meaning/SKILL.md +53 -0
- package/templates/community/instagram-context-changes-meaning/source.json +9 -0
- package/templates/community/instagram-context-changes-meaning/template.json +54 -0
- package/templates/community/instagram-continuous-canvas/README.md +16 -0
- package/templates/community/instagram-continuous-canvas/SKILL.md +52 -0
- package/templates/community/instagram-continuous-canvas/source.json +9 -0
- package/templates/community/instagram-continuous-canvas/template.json +59 -0
- package/templates/community/instagram-conversation-questions/README.md +12 -0
- package/templates/community/instagram-conversation-questions/SKILL.md +52 -0
- package/templates/community/instagram-conversation-questions/source.json +9 -0
- package/templates/community/instagram-conversation-questions/template.json +51 -0
- package/templates/community/instagram-copy-alternatives/README.md +11 -0
- package/templates/community/instagram-copy-alternatives/SKILL.md +53 -0
- package/templates/community/instagram-copy-alternatives/source.json +9 -0
- package/templates/community/instagram-copy-alternatives/template.json +50 -0
- package/templates/community/instagram-copyable-notes/README.md +13 -0
- package/templates/community/instagram-copyable-notes/SKILL.md +52 -0
- package/templates/community/instagram-copyable-notes/source.json +9 -0
- package/templates/community/instagram-copyable-notes/template.json +51 -0
- package/templates/community/instagram-curated-resources/README.md +13 -0
- package/templates/community/instagram-curated-resources/SKILL.md +52 -0
- package/templates/community/instagram-curated-resources/source.json +9 -0
- package/templates/community/instagram-curated-resources/template.json +54 -0
- package/templates/community/instagram-destination-costs/README.md +17 -0
- package/templates/community/instagram-destination-costs/SKILL.md +52 -0
- package/templates/community/instagram-destination-costs/source.json +9 -0
- package/templates/community/instagram-destination-costs/template.json +56 -0
- package/templates/community/instagram-diagram-reference/README.md +10 -0
- package/templates/community/instagram-diagram-reference/SKILL.md +53 -0
- package/templates/community/instagram-diagram-reference/source.json +9 -0
- package/templates/community/instagram-diagram-reference/template.json +52 -0
- package/templates/community/instagram-different-perspectives/README.md +15 -0
- package/templates/community/instagram-different-perspectives/SKILL.md +53 -0
- package/templates/community/instagram-different-perspectives/source.json +9 -0
- package/templates/community/instagram-different-perspectives/template.json +55 -0
- package/templates/community/instagram-document-reveal/README.md +8 -0
- package/templates/community/instagram-document-reveal/SKILL.md +53 -0
- package/templates/community/instagram-document-reveal/source.json +9 -0
- package/templates/community/instagram-document-reveal/template.json +46 -0
- package/templates/community/instagram-effect-breakdown/README.md +14 -0
- package/templates/community/instagram-effect-breakdown/SKILL.md +53 -0
- package/templates/community/instagram-effect-breakdown/source.json +9 -0
- package/templates/community/instagram-effect-breakdown/template.json +55 -0
- package/templates/community/instagram-effort-and-outcome/README.md +13 -0
- package/templates/community/instagram-effort-and-outcome/SKILL.md +52 -0
- package/templates/community/instagram-effort-and-outcome/source.json +9 -0
- package/templates/community/instagram-effort-and-outcome/template.json +54 -0
- package/templates/community/instagram-emotion-and-meaning/README.md +16 -0
- package/templates/community/instagram-emotion-and-meaning/SKILL.md +52 -0
- package/templates/community/instagram-emotion-and-meaning/source.json +9 -0
- package/templates/community/instagram-emotion-and-meaning/template.json +56 -0
- package/templates/community/instagram-everyday-interface-story/README.md +12 -0
- package/templates/community/instagram-everyday-interface-story/SKILL.md +53 -0
- package/templates/community/instagram-everyday-interface-story/source.json +9 -0
- package/templates/community/instagram-everyday-interface-story/template.json +51 -0
- package/templates/community/instagram-everyday-photo-diary/README.md +16 -0
- package/templates/community/instagram-everyday-photo-diary/SKILL.md +52 -0
- package/templates/community/instagram-everyday-photo-diary/source.json +9 -0
- package/templates/community/instagram-everyday-photo-diary/template.json +61 -0
- package/templates/community/instagram-evidence-to-method/README.md +13 -0
- package/templates/community/instagram-evidence-to-method/SKILL.md +53 -0
- package/templates/community/instagram-evidence-to-method/source.json +9 -0
- package/templates/community/instagram-evidence-to-method/template.json +56 -0
- package/templates/community/instagram-expectation-reality-review/README.md +18 -0
- package/templates/community/instagram-expectation-reality-review/SKILL.md +53 -0
- package/templates/community/instagram-expectation-reality-review/source.json +9 -0
- package/templates/community/instagram-expectation-reality-review/template.json +57 -0
- package/templates/community/instagram-experiment-story/README.md +20 -0
- package/templates/community/instagram-experiment-story/SKILL.md +54 -0
- package/templates/community/instagram-experiment-story/source.json +9 -0
- package/templates/community/instagram-experiment-story/template.json +58 -0
- package/templates/community/instagram-fill-in-speech/README.md +14 -0
- package/templates/community/instagram-fill-in-speech/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-speech/source.json +9 -0
- package/templates/community/instagram-fill-in-speech/template.json +53 -0
- package/templates/community/instagram-fill-in-workbook/README.md +16 -0
- package/templates/community/instagram-fill-in-workbook/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-workbook/source.json +9 -0
- package/templates/community/instagram-fill-in-workbook/template.json +57 -0
- package/templates/community/instagram-font-pairing/README.md +14 -0
- package/templates/community/instagram-font-pairing/SKILL.md +52 -0
- package/templates/community/instagram-font-pairing/source.json +9 -0
- package/templates/community/instagram-font-pairing/template.json +53 -0
- package/templates/community/instagram-goal-benchmarks/README.md +12 -0
- package/templates/community/instagram-goal-benchmarks/SKILL.md +53 -0
- package/templates/community/instagram-goal-benchmarks/source.json +9 -0
- package/templates/community/instagram-goal-benchmarks/template.json +51 -0
- package/templates/community/instagram-identity-match/README.md +19 -0
- package/templates/community/instagram-identity-match/SKILL.md +52 -0
- package/templates/community/instagram-identity-match/source.json +9 -0
- package/templates/community/instagram-identity-match/template.json +64 -0
- package/templates/community/instagram-illustrated-opinion/README.md +16 -0
- package/templates/community/instagram-illustrated-opinion/SKILL.md +52 -0
- package/templates/community/instagram-illustrated-opinion/source.json +9 -0
- package/templates/community/instagram-illustrated-opinion/template.json +56 -0
- package/templates/community/instagram-illustrated-story-explainer/README.md +14 -0
- package/templates/community/instagram-illustrated-story-explainer/SKILL.md +53 -0
- package/templates/community/instagram-illustrated-story-explainer/source.json +9 -0
- package/templates/community/instagram-illustrated-story-explainer/template.json +55 -0
- package/templates/community/instagram-image-to-palette/README.md +17 -0
- package/templates/community/instagram-image-to-palette/SKILL.md +53 -0
- package/templates/community/instagram-image-to-palette/source.json +9 -0
- package/templates/community/instagram-image-to-palette/template.json +58 -0
- package/templates/community/instagram-incremental-assembly/README.md +15 -0
- package/templates/community/instagram-incremental-assembly/SKILL.md +52 -0
- package/templates/community/instagram-incremental-assembly/source.json +9 -0
- package/templates/community/instagram-incremental-assembly/template.json +55 -0
- package/templates/community/instagram-interview-storyboard/README.md +25 -0
- package/templates/community/instagram-interview-storyboard/SKILL.md +53 -0
- package/templates/community/instagram-interview-storyboard/source.json +9 -0
- package/templates/community/instagram-interview-storyboard/template.json +65 -0
- package/templates/community/instagram-launch-news/README.md +9 -0
- package/templates/community/instagram-launch-news/SKILL.md +53 -0
- package/templates/community/instagram-launch-news/source.json +9 -0
- package/templates/community/instagram-launch-news/template.json +55 -0
- package/templates/community/instagram-layout-anatomy/README.md +12 -0
- package/templates/community/instagram-layout-anatomy/SKILL.md +53 -0
- package/templates/community/instagram-layout-anatomy/source.json +9 -0
- package/templates/community/instagram-layout-anatomy/template.json +54 -0
- package/templates/community/instagram-learning-path/README.md +14 -0
- package/templates/community/instagram-learning-path/SKILL.md +53 -0
- package/templates/community/instagram-learning-path/source.json +9 -0
- package/templates/community/instagram-learning-path/template.json +55 -0
- package/templates/community/instagram-local-picks/README.md +16 -0
- package/templates/community/instagram-local-picks/SKILL.md +52 -0
- package/templates/community/instagram-local-picks/source.json +9 -0
- package/templates/community/instagram-local-picks/template.json +55 -0
- package/templates/community/instagram-matched-test/README.md +10 -0
- package/templates/community/instagram-matched-test/SKILL.md +53 -0
- package/templates/community/instagram-matched-test/source.json +9 -0
- package/templates/community/instagram-matched-test/template.json +49 -0
- package/templates/community/instagram-metric-formulas/README.md +15 -0
- package/templates/community/instagram-metric-formulas/SKILL.md +53 -0
- package/templates/community/instagram-metric-formulas/source.json +9 -0
- package/templates/community/instagram-metric-formulas/template.json +55 -0
- package/templates/community/instagram-milestones-and-feelings/README.md +13 -0
- package/templates/community/instagram-milestones-and-feelings/SKILL.md +52 -0
- package/templates/community/instagram-milestones-and-feelings/source.json +9 -0
- package/templates/community/instagram-milestones-and-feelings/template.json +56 -0
- package/templates/community/instagram-mistakes-and-alternatives/README.md +12 -0
- package/templates/community/instagram-mistakes-and-alternatives/SKILL.md +52 -0
- package/templates/community/instagram-mistakes-and-alternatives/source.json +9 -0
- package/templates/community/instagram-mistakes-and-alternatives/template.json +53 -0
- package/templates/community/instagram-myth-and-fact/README.md +12 -0
- package/templates/community/instagram-myth-and-fact/SKILL.md +53 -0
- package/templates/community/instagram-myth-and-fact/source.json +9 -0
- package/templates/community/instagram-myth-and-fact/template.json +51 -0
- package/templates/community/instagram-news-digest/README.md +13 -0
- package/templates/community/instagram-news-digest/SKILL.md +53 -0
- package/templates/community/instagram-news-digest/source.json +9 -0
- package/templates/community/instagram-news-digest/template.json +52 -0
- package/templates/community/instagram-numbers-at-human-scale/README.md +12 -0
- package/templates/community/instagram-numbers-at-human-scale/SKILL.md +53 -0
- package/templates/community/instagram-numbers-at-human-scale/source.json +9 -0
- package/templates/community/instagram-numbers-at-human-scale/template.json +52 -0
- package/templates/community/instagram-object-led-activities/README.md +16 -0
- package/templates/community/instagram-object-led-activities/SKILL.md +53 -0
- package/templates/community/instagram-object-led-activities/source.json +9 -0
- package/templates/community/instagram-object-led-activities/template.json +56 -0
- package/templates/community/instagram-object-name-origins/README.md +11 -0
- package/templates/community/instagram-object-name-origins/SKILL.md +52 -0
- package/templates/community/instagram-object-name-origins/source.json +9 -0
- package/templates/community/instagram-object-name-origins/template.json +52 -0
- package/templates/community/instagram-one-input-many-results/README.md +14 -0
- package/templates/community/instagram-one-input-many-results/SKILL.md +53 -0
- package/templates/community/instagram-one-input-many-results/source.json +9 -0
- package/templates/community/instagram-one-input-many-results/template.json +52 -0
- package/templates/community/instagram-one-variable-comparison/README.md +11 -0
- package/templates/community/instagram-one-variable-comparison/SKILL.md +53 -0
- package/templates/community/instagram-one-variable-comparison/source.json +9 -0
- package/templates/community/instagram-one-variable-comparison/template.json +52 -0
- package/templates/community/instagram-opportunity-guide/README.md +18 -0
- package/templates/community/instagram-opportunity-guide/SKILL.md +53 -0
- package/templates/community/instagram-opportunity-guide/source.json +9 -0
- package/templates/community/instagram-opportunity-guide/template.json +57 -0
- package/templates/community/instagram-palette-application-board/README.md +11 -0
- package/templates/community/instagram-palette-application-board/SKILL.md +52 -0
- package/templates/community/instagram-palette-application-board/source.json +9 -0
- package/templates/community/instagram-palette-application-board/template.json +52 -0
- package/templates/community/instagram-personal-budget-case/README.md +14 -0
- package/templates/community/instagram-personal-budget-case/SKILL.md +53 -0
- package/templates/community/instagram-personal-budget-case/source.json +9 -0
- package/templates/community/instagram-personal-budget-case/template.json +53 -0
- package/templates/community/instagram-personal-experiment/README.md +11 -0
- package/templates/community/instagram-personal-experiment/SKILL.md +53 -0
- package/templates/community/instagram-personal-experiment/source.json +9 -0
- package/templates/community/instagram-personal-experiment/template.json +52 -0
- package/templates/community/instagram-photo-and-technical-sketch/README.md +10 -0
- package/templates/community/instagram-photo-and-technical-sketch/SKILL.md +53 -0
- package/templates/community/instagram-photo-and-technical-sketch/source.json +9 -0
- package/templates/community/instagram-photo-and-technical-sketch/template.json +49 -0
- package/templates/community/instagram-photo-moment-story/README.md +12 -0
- package/templates/community/instagram-photo-moment-story/SKILL.md +53 -0
- package/templates/community/instagram-photo-moment-story/source.json +9 -0
- package/templates/community/instagram-photo-moment-story/template.json +53 -0
- package/templates/community/instagram-product-change/README.md +9 -0
- package/templates/community/instagram-product-change/SKILL.md +53 -0
- package/templates/community/instagram-product-change/source.json +10 -0
- package/templates/community/instagram-product-change/template.json +53 -0
- package/templates/community/instagram-prompt-result-reference/README.md +26 -0
- package/templates/community/instagram-prompt-result-reference/SKILL.md +53 -0
- package/templates/community/instagram-prompt-result-reference/source.json +9 -0
- package/templates/community/instagram-prompt-result-reference/template.json +68 -0
- package/templates/community/instagram-public-follow-up/README.md +15 -0
- package/templates/community/instagram-public-follow-up/SKILL.md +53 -0
- package/templates/community/instagram-public-follow-up/source.json +9 -0
- package/templates/community/instagram-public-follow-up/template.json +54 -0
- package/templates/community/instagram-reader-question-answer/README.md +10 -0
- package/templates/community/instagram-reader-question-answer/SKILL.md +53 -0
- package/templates/community/instagram-reader-question-answer/source.json +9 -0
- package/templates/community/instagram-reader-question-answer/template.json +48 -0
- package/templates/community/instagram-remaining-capacity/README.md +11 -0
- package/templates/community/instagram-remaining-capacity/SKILL.md +52 -0
- package/templates/community/instagram-remaining-capacity/source.json +9 -0
- package/templates/community/instagram-remaining-capacity/template.json +52 -0
- package/templates/community/instagram-research-brief/README.md +16 -0
- package/templates/community/instagram-research-brief/SKILL.md +53 -0
- package/templates/community/instagram-research-brief/source.json +9 -0
- package/templates/community/instagram-research-brief/template.json +54 -0
- package/templates/community/instagram-result-and-recipe/README.md +17 -0
- package/templates/community/instagram-result-and-recipe/SKILL.md +53 -0
- package/templates/community/instagram-result-and-recipe/source.json +9 -0
- package/templates/community/instagram-result-and-recipe/template.json +56 -0
- package/templates/community/instagram-result-to-steps/README.md +13 -0
- package/templates/community/instagram-result-to-steps/SKILL.md +53 -0
- package/templates/community/instagram-result-to-steps/source.json +9 -0
- package/templates/community/instagram-result-to-steps/template.json +51 -0
- package/templates/community/instagram-reverse-instruction/README.md +15 -0
- package/templates/community/instagram-reverse-instruction/SKILL.md +53 -0
- package/templates/community/instagram-reverse-instruction/source.json +9 -0
- package/templates/community/instagram-reverse-instruction/template.json +54 -0
- package/templates/community/instagram-said-and-meant/README.md +9 -0
- package/templates/community/instagram-said-and-meant/SKILL.md +52 -0
- package/templates/community/instagram-said-and-meant/source.json +10 -0
- package/templates/community/instagram-said-and-meant/template.json +46 -0
- package/templates/community/instagram-same-budget-choices/README.md +12 -0
- package/templates/community/instagram-same-budget-choices/SKILL.md +53 -0
- package/templates/community/instagram-same-budget-choices/source.json +9 -0
- package/templates/community/instagram-same-budget-choices/template.json +52 -0
- package/templates/community/instagram-screenshot-walkthrough/README.md +12 -0
- package/templates/community/instagram-screenshot-walkthrough/SKILL.md +53 -0
- package/templates/community/instagram-screenshot-walkthrough/source.json +9 -0
- package/templates/community/instagram-screenshot-walkthrough/template.json +58 -0
- package/templates/community/instagram-searchable-asset-index/README.md +13 -0
- package/templates/community/instagram-searchable-asset-index/SKILL.md +52 -0
- package/templates/community/instagram-searchable-asset-index/source.json +9 -0
- package/templates/community/instagram-searchable-asset-index/template.json +53 -0
- package/templates/community/instagram-similar-concepts/README.md +15 -0
- package/templates/community/instagram-similar-concepts/SKILL.md +52 -0
- package/templates/community/instagram-similar-concepts/source.json +9 -0
- package/templates/community/instagram-similar-concepts/template.json +54 -0
- package/templates/community/instagram-single-event-news/README.md +14 -0
- package/templates/community/instagram-single-event-news/SKILL.md +53 -0
- package/templates/community/instagram-single-event-news/source.json +9 -0
- package/templates/community/instagram-single-event-news/template.json +56 -0
- package/templates/community/instagram-style-assembly/README.md +13 -0
- package/templates/community/instagram-style-assembly/SKILL.md +53 -0
- package/templates/community/instagram-style-assembly/source.json +9 -0
- package/templates/community/instagram-style-assembly/template.json +53 -0
- package/templates/community/instagram-style-choice/README.md +14 -0
- package/templates/community/instagram-style-choice/SKILL.md +53 -0
- package/templates/community/instagram-style-choice/source.json +9 -0
- package/templates/community/instagram-style-choice/template.json +58 -0
- package/templates/community/instagram-symbolism-in-artifact/README.md +9 -0
- package/templates/community/instagram-symbolism-in-artifact/SKILL.md +52 -0
- package/templates/community/instagram-symbolism-in-artifact/source.json +9 -0
- package/templates/community/instagram-symbolism-in-artifact/template.json +47 -0
- package/templates/community/instagram-taste-matched-recommendations/README.md +17 -0
- package/templates/community/instagram-taste-matched-recommendations/SKILL.md +52 -0
- package/templates/community/instagram-taste-matched-recommendations/source.json +9 -0
- package/templates/community/instagram-taste-matched-recommendations/template.json +56 -0
- package/templates/community/instagram-then-now-pairs/README.md +14 -0
- package/templates/community/instagram-then-now-pairs/SKILL.md +52 -0
- package/templates/community/instagram-then-now-pairs/source.json +9 -0
- package/templates/community/instagram-then-now-pairs/template.json +52 -0
- package/templates/community/instagram-timed-action-plan/README.md +15 -0
- package/templates/community/instagram-timed-action-plan/SKILL.md +53 -0
- package/templates/community/instagram-timed-action-plan/source.json +9 -0
- package/templates/community/instagram-timed-action-plan/template.json +60 -0
- package/templates/community/instagram-tools-by-task/README.md +13 -0
- package/templates/community/instagram-tools-by-task/SKILL.md +53 -0
- package/templates/community/instagram-tools-by-task/source.json +9 -0
- package/templates/community/instagram-tools-by-task/template.json +57 -0
- package/templates/community/instagram-two-perspectives/README.md +8 -0
- package/templates/community/instagram-two-perspectives/SKILL.md +52 -0
- package/templates/community/instagram-two-perspectives/source.json +9 -0
- package/templates/community/instagram-two-perspectives/template.json +47 -0
- package/templates/community/instagram-two-views-one-dataset/README.md +8 -0
- package/templates/community/instagram-two-views-one-dataset/SKILL.md +53 -0
- package/templates/community/instagram-two-views-one-dataset/source.json +9 -0
- package/templates/community/instagram-two-views-one-dataset/template.json +51 -0
- package/templates/community/instagram-version-change-audit/README.md +10 -0
- package/templates/community/instagram-version-change-audit/SKILL.md +53 -0
- package/templates/community/instagram-version-change-audit/source.json +9 -0
- package/templates/community/instagram-version-change-audit/template.json +51 -0
- package/templates/community/instagram-visual-analogy/README.md +13 -0
- package/templates/community/instagram-visual-analogy/SKILL.md +53 -0
- package/templates/community/instagram-visual-analogy/source.json +9 -0
- package/templates/community/instagram-visual-analogy/template.json +53 -0
- package/templates/community/instagram-visual-guess/README.md +15 -0
- package/templates/community/instagram-visual-guess/SKILL.md +53 -0
- package/templates/community/instagram-visual-guess/source.json +9 -0
- package/templates/community/instagram-visual-guess/template.json +54 -0
- package/templates/community/instagram-visual-technique-reference/README.md +18 -0
- package/templates/community/instagram-visual-technique-reference/SKILL.md +53 -0
- package/templates/community/instagram-visual-technique-reference/source.json +9 -0
- package/templates/community/instagram-visual-technique-reference/template.json +60 -0
- package/templates/community/instagram-worked-examples/README.md +13 -0
- package/templates/community/instagram-worked-examples/SKILL.md +52 -0
- package/templates/community/instagram-worked-examples/source.json +9 -0
- package/templates/community/instagram-worked-examples/template.json +57 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Sorted, distinct frame numbers; adjacent frames use one between() term. */
|
|
2
|
+
export declare const pickExpression: (frames: readonly number[]) => string;
|
|
3
|
+
/** Bound individual command arguments without changing any selected frame. */
|
|
4
|
+
export declare const frameChunks: (frames: readonly number[], most?: number) => number[][];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PCM WAV files as the hosted voice and transcription services take them: the format and length read from the header
|
|
3
|
+
* (chunks ffmpeg adds before the sound, such as LIST, are skipped), the same sound behind a plain 44-byte header, and
|
|
4
|
+
* the sound of a video as the transcribers hear it.
|
|
5
|
+
*/
|
|
6
|
+
import type { Runtime } from '../../runtime';
|
|
7
|
+
export interface Wav {
|
|
8
|
+
/** 1 for integer PCM. */
|
|
9
|
+
format: number;
|
|
10
|
+
channels: number;
|
|
11
|
+
sampleRate: number;
|
|
12
|
+
bitsPerSample: number;
|
|
13
|
+
/** Bytes of sound a second (sampleRate × channels × bytes a sample). */
|
|
14
|
+
byteRate: number;
|
|
15
|
+
/** The sound: the bytes of the data chunk. */
|
|
16
|
+
data: Uint8Array;
|
|
17
|
+
seconds: number;
|
|
18
|
+
}
|
|
19
|
+
/** The format and the sound of a WAV file; throws when the bytes are not one. */
|
|
20
|
+
export declare const readWav: (bytes: Uint8Array) => Wav;
|
|
21
|
+
/** Integer PCM, one channel, 16 bits: what the hosted services take (each checks its own sample rates). */
|
|
22
|
+
export declare const isMono16: (w: Wav) => boolean;
|
|
23
|
+
/** The same sound behind a plain 44-byte header (RIFF, fmt, data), with no other chunk. */
|
|
24
|
+
export declare const plainWav: (w: Wav) => Uint8Array;
|
|
25
|
+
/** The sound of a video as the transcribers hear it: 16 kHz, one channel, 16-bit PCM WAV at `out`. */
|
|
26
|
+
export declare const speechWav: (rt: Runtime, video: string, out: string) => Promise<unknown>;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
import { type MusicQuote } from '../hosted-api';
|
|
3
|
+
import type { PriceItem, Wallet } from '../wallet';
|
|
4
|
+
/** Generated music needs a connected account; the music plan decides whether a video has a generated bed (music/plan.ts). */
|
|
5
|
+
export declare const musicEnabled: (rt: Runtime) => boolean;
|
|
6
|
+
/**
|
|
7
|
+
* What the platform makes: a track of at least 3 s from a prompt of at most 2000 characters. Its longest track is the
|
|
8
|
+
* platform's to say (the quote's maxTrackSeconds; a longer request is refused with details.maxSeconds); 180 s is what
|
|
9
|
+
* it said last and is used only in words when it says nothing.
|
|
10
|
+
*/
|
|
11
|
+
export declare const MIN_SECONDS = 3;
|
|
12
|
+
export declare const KNOWN_MAX_SECONDS = 180;
|
|
13
|
+
export declare const PROMPT_MAX = 2000;
|
|
14
|
+
/** The fade-out of a track cut to the video's length, in seconds (the mix fades the end of a video's sound over the same). */
|
|
15
|
+
export declare const TRACK_FADE_SECONDS = 1;
|
|
16
|
+
/** The length to ask for: the video's, rounded up to a whole second, at least MIN_SECONDS (the platform says the most). */
|
|
17
|
+
export declare const musicSeconds: (seconds: number) => number;
|
|
18
|
+
/**
|
|
19
|
+
* Seconds more than the video that an order asks for when they cost no more: a generator priced by the track takes the
|
|
20
|
+
* length from the prompt in words and can deliver a few seconds less than asked, while a generator priced by the
|
|
21
|
+
* second delivers the length asked and is asked for exactly that.
|
|
22
|
+
*/
|
|
23
|
+
export declare const MARGIN_SECONDS = 4;
|
|
24
|
+
/** A file shorter than the video by more than this (seconds) is short: MP3 frames and rounding stay well below it. */
|
|
25
|
+
export declare const SHORT_TOLERANCE = 0.25;
|
|
26
|
+
export interface MusicOrder {
|
|
27
|
+
prompt: string;
|
|
28
|
+
/** Whole seconds, at least MIN_SECONDS (musicSeconds). */
|
|
29
|
+
seconds: number;
|
|
30
|
+
/** With sung or spoken voices; default instrumental, which is what lies under a voice-over. */
|
|
31
|
+
vocals: boolean;
|
|
32
|
+
/** The MP3 to write, an absolute path. */
|
|
33
|
+
out: string;
|
|
34
|
+
/** The video's length in seconds: a longer track is cut to it with a fade-out (it does not change the order). */
|
|
35
|
+
fit?: number;
|
|
36
|
+
/** Send the order and return while the track is being made (pending); the same order later picks it up. */
|
|
37
|
+
noWait?: boolean;
|
|
38
|
+
}
|
|
39
|
+
/** The prompt was refused: it has to be written again, without names. */
|
|
40
|
+
export declare class MusicRejected extends Error {
|
|
41
|
+
readonly suggestion: string | null;
|
|
42
|
+
name: string;
|
|
43
|
+
constructor(suggestion: string | null);
|
|
44
|
+
}
|
|
45
|
+
/** The length asked for is longer than the longest track popost.ai makes (maxSeconds, the platform's own number). */
|
|
46
|
+
export declare class MusicTooLong extends Error {
|
|
47
|
+
readonly seconds: number;
|
|
48
|
+
readonly maxSeconds: number;
|
|
49
|
+
name: string;
|
|
50
|
+
constructor(seconds: number, maxSeconds: number);
|
|
51
|
+
}
|
|
52
|
+
/** The generator is switched off or down (the platform's 503 with UPSTREAM_ERROR on the quote): asked once, never again in a loop. */
|
|
53
|
+
export declare class MusicUnavailable extends Error {
|
|
54
|
+
name: string;
|
|
55
|
+
constructor();
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* The quote of a length, held to the platform's maximum: a length over the tier's longest track, or one the platform
|
|
59
|
+
* refuses with its maximum (INVALID_REQUEST, details.maxSeconds), is MusicTooLong; a 503 is MusicUnavailable.
|
|
60
|
+
*/
|
|
61
|
+
export declare const quoteOrder: (rt: Runtime, seconds: number) => Promise<MusicQuote>;
|
|
62
|
+
export declare const UNAVAILABLE = "popost.ai could not make the music (its generator is not available now); nothing was charged. Run the same command again later.";
|
|
63
|
+
/**
|
|
64
|
+
* The length an order of `seconds` asks for, with its quote: `seconds` plus MARGIN_SECONDS (at most the tier's longest
|
|
65
|
+
* track) when the two quotes cost the same credits, else `seconds`. A platform that refuses the longer length asks for
|
|
66
|
+
* `seconds`. The order's key stays that of `seconds` (orderKey), so a changed quote never makes a second order.
|
|
67
|
+
*/
|
|
68
|
+
export declare const orderLength: (rt: Runtime, seconds: number) => Promise<{
|
|
69
|
+
seconds: number;
|
|
70
|
+
quote: MusicQuote;
|
|
71
|
+
}>;
|
|
72
|
+
/** What this order costs (free quotes), as a line of the command's price; nothing when its track was paid for already. */
|
|
73
|
+
export declare const musicPrice: (rt: Runtime, o: MusicOrder) => Promise<PriceItem[]>;
|
|
74
|
+
/**
|
|
75
|
+
* Cuts a track longer than the video to the video's length, with a fade-out of TRACK_FADE_SECONDS (a third of the
|
|
76
|
+
* length at most), in place; returns the length the track had, or undefined when it was not longer (or cannot be
|
|
77
|
+
* read here, and is kept as it came).
|
|
78
|
+
*/
|
|
79
|
+
export declare const fitTrack: (rt: Runtime, file: string, seconds: number) => Promise<{
|
|
80
|
+
seconds: number;
|
|
81
|
+
fadeOut: number;
|
|
82
|
+
} | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* seconds: the length of the file written, as measured (null while it is pending, or when it cannot be read here).
|
|
85
|
+
* track: the track as it came, when it was longer and was cut here (its length and the fade). short: the file is
|
|
86
|
+
* shorter than the video (MusicOrder.fit, else seconds) by `missing` seconds, the end of the video would be silent.
|
|
87
|
+
*/
|
|
88
|
+
export interface MadeMusic {
|
|
89
|
+
seconds: number | null;
|
|
90
|
+
chargedCredits: number;
|
|
91
|
+
/** The track was paid for by an earlier run. */
|
|
92
|
+
kept?: true;
|
|
93
|
+
track?: {
|
|
94
|
+
seconds: number;
|
|
95
|
+
fadeOut: number;
|
|
96
|
+
};
|
|
97
|
+
short?: {
|
|
98
|
+
seconds: number;
|
|
99
|
+
missing: number;
|
|
100
|
+
};
|
|
101
|
+
/** noWait: the order was sent (and paid for) and the track is still being made; job is its id on the platform. */
|
|
102
|
+
pending?: true;
|
|
103
|
+
job?: string;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The track of this order in o.out. Paid for before: the file that is there, or the same track downloaded again, for
|
|
107
|
+
* nothing. Otherwise it is quoted, held against what is left in `wallet`, made, waited for and downloaded; with
|
|
108
|
+
* o.noWait a track still being made once the order is sent comes back pending, and the same order later picks it up.
|
|
109
|
+
*/
|
|
110
|
+
export declare const makeMusic: (rt: Runtime, o: MusicOrder, wallet: Wallet) => Promise<MadeMusic>;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
import { type MusicQuote } from '../hosted-api';
|
|
3
|
+
import { type ClipMusicBasis } from '../sound/modes';
|
|
4
|
+
import { type SoundFacts } from '../sound/reading';
|
|
5
|
+
import type { ClipMusicException, MusicPlan } from './provenance';
|
|
6
|
+
/** The exceptions by letter, as video-sound.md lists them: a to g. */
|
|
7
|
+
export declare const BASIS_LETTERS: Readonly<Record<string, ClipMusicBasis>>;
|
|
8
|
+
/** Exceptions that hold for the whole video, not one clip: one continuous clip (a), and music that changes by segment everywhere (b for "all"). */
|
|
9
|
+
export declare const WHOLE_VIDEO = "all";
|
|
10
|
+
/** A basis named by its letter (a..g) or its name; undefined for anything else. */
|
|
11
|
+
export declare const basisOf: (text: string) => ClipMusicBasis | undefined;
|
|
12
|
+
export declare const letterOf: (b: ClipMusicBasis) => string;
|
|
13
|
+
/** The recorded exception that lets this clip carry music: its own, else one for the whole video. */
|
|
14
|
+
export declare const exceptionFor: (list: readonly ClipMusicException[] | undefined, file: string) => ClipMusicException | undefined;
|
|
15
|
+
/** Whether the video has no bed at all because of an exception: one continuous clip, or music by segment over the whole video. */
|
|
16
|
+
export declare const noBedByException: (list: readonly ClipMusicException[] | undefined) => ClipMusicException | undefined;
|
|
17
|
+
/** Why an exception cannot be recorded as asked, or undefined. */
|
|
18
|
+
export declare const exceptionProblem: (basis: ClipMusicBasis, clip: string) => string | undefined;
|
|
19
|
+
/** The plan with one exception added (or replacing the one recorded for the same clip). A no-bed exception leaves the video without a bed. */
|
|
20
|
+
export declare const withException: (plan: MusicPlan, e: ClipMusicException) => MusicPlan;
|
|
21
|
+
export declare const withoutException: (plan: MusicPlan, clip: string) => MusicPlan;
|
|
22
|
+
/** One line per exception, for the user: the clip, the basis by letter and name, what it means, what it rests on. */
|
|
23
|
+
export declare const exceptionLines: (list: readonly ClipMusicException[] | undefined) => string[];
|
|
24
|
+
/**
|
|
25
|
+
* The reading of the reference's sound: its facts and where they were read, or undefined when none is at hand. speech:
|
|
26
|
+
* the confirmed kinds of its speech (describe's speech.json, or the template's), absent when they are not confirmed.
|
|
27
|
+
*/
|
|
28
|
+
export interface Reading {
|
|
29
|
+
facts: SoundFacts;
|
|
30
|
+
from: string;
|
|
31
|
+
seconds?: number;
|
|
32
|
+
speech?: readonly string[];
|
|
33
|
+
}
|
|
34
|
+
/** The spoken kinds the reference has (narration, on-camera); sung words and fragments are part of the music or noise. */
|
|
35
|
+
export declare const spokenKinds: (r: Reading | undefined) => string[];
|
|
36
|
+
/** Whether the reference's own music can be kept as the bed: a listener heard music, and nobody speaks over it. */
|
|
37
|
+
export declare const keepable: (r: Reading | undefined) => boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The reading for a project: the directory or file given (what describe wrote, a sound.json, or a template), else the
|
|
40
|
+
* template the project was filled from (reference.facts.json names it).
|
|
41
|
+
*/
|
|
42
|
+
export declare const readingFor: (rt: Runtime, project: string, given?: string) => Promise<Reading | undefined>;
|
|
43
|
+
/** Generated music: its quote for a length, or why there is none now (no account; the generator is off or failed: HTTP 503). */
|
|
44
|
+
export type MusicOffer = {
|
|
45
|
+
available: true;
|
|
46
|
+
quote: MusicQuote;
|
|
47
|
+
} | {
|
|
48
|
+
available: false;
|
|
49
|
+
why: string;
|
|
50
|
+
};
|
|
51
|
+
export declare const UNAVAILABLE_NOW = "Generated music is not available on popost.ai right now (nothing was charged): the plan has no generated bed. The user's own music file still works (popost video music own).";
|
|
52
|
+
export declare const NO_ACCOUNT = "Generated music needs a connected popost.ai account (popost auth login): without one the plan has no generated bed. The user's own music file still works (popost video music own).";
|
|
53
|
+
/**
|
|
54
|
+
* Whether an error of the music quote means the generator is off or out of reach. The quote never calls the generator,
|
|
55
|
+
* so any UPSTREAM_ERROR on it (the platform answers 503 when music is switched off) says so, and so does a gateway's own
|
|
56
|
+
* error page in front of the platform (a 502, 503 or 504 that is not the platform's envelope).
|
|
57
|
+
*/
|
|
58
|
+
export declare const musicUnavailable: (e: unknown) => boolean;
|
|
59
|
+
/** Asks once for the price of `seconds` of music; a 503 is an answer (unavailable), never retried. Other refusals are thrown. */
|
|
60
|
+
export declare const musicOffer: (rt: Runtime, seconds: number) => Promise<MusicOffer>;
|
|
61
|
+
/** What the reading proposes: a bed (the user's file, the reference's own music, or generated), none, or ask (it cannot tell). */
|
|
62
|
+
export type Proposal = {
|
|
63
|
+
music: 'generated' | 'own' | 'reference' | 'none';
|
|
64
|
+
style?: string;
|
|
65
|
+
says: string;
|
|
66
|
+
} | {
|
|
67
|
+
music: 'ask';
|
|
68
|
+
says: string;
|
|
69
|
+
};
|
|
70
|
+
/** The lines for the user about keeping the reference's own music: what it is, that their own file goes first, and whose music it is. */
|
|
71
|
+
export declare const KEPT_SAYS = "Music: the reference's own music, kept as the one bed of the video (its soundtrack has no spoken words, so nothing of its old words comes along); every clip is asked for without music. Free. If the user gives a music file of their own, it goes first instead.";
|
|
72
|
+
export declare const RIGHTS_SAYS = "It is the original's music: post the video where that music may be used (the platforms' sound libraries often have it), or give a file of your own.";
|
|
73
|
+
/**
|
|
74
|
+
* The default plan (R2, R5): the user's own file first; else the reference's own music when it can be kept (music, no
|
|
75
|
+
* spoken words over it); else a generated bed when the reference has music and the generator answers; else none. A
|
|
76
|
+
* reading that cannot tell (likely, unknown) proposes nothing until someone listens or the user says.
|
|
77
|
+
*/
|
|
78
|
+
export declare const proposal: (o: {
|
|
79
|
+
reading?: Reading;
|
|
80
|
+
ownFile: boolean;
|
|
81
|
+
offer?: MusicOffer;
|
|
82
|
+
}) => Proposal;
|
|
83
|
+
/**
|
|
84
|
+
* Why a chosen plan departs from the reading without the user's words (R5), or undefined. own is always allowed (the
|
|
85
|
+
* user's file goes first).
|
|
86
|
+
*/
|
|
87
|
+
export declare const departure: (music: MusicPlan["music"], reading: Reading | undefined, asked: string | undefined) => string | undefined;
|
|
88
|
+
/** follow: the bed stops where the reference's music does (the default); none: it plays straight through. */
|
|
89
|
+
export type BreaksChoice = 'follow' | 'none';
|
|
90
|
+
/**
|
|
91
|
+
* The plan with its music breaks: none without a bed; off when the choice (else the kept plan) says none; else the
|
|
92
|
+
* reading's breaks, or the ones the kept plan recorded when no reading is at hand.
|
|
93
|
+
*/
|
|
94
|
+
export declare const withBreaks: (plan: MusicPlan, o: {
|
|
95
|
+
reading?: Reading;
|
|
96
|
+
choice?: BreaksChoice;
|
|
97
|
+
kept?: MusicPlan;
|
|
98
|
+
}) => MusicPlan;
|
|
99
|
+
/**
|
|
100
|
+
* The lines for the user about the breaks of a plan with a bed. dipsUnderSpeech: the dips the reading left out because
|
|
101
|
+
* the reference has speech, said with them.
|
|
102
|
+
*/
|
|
103
|
+
export declare const breakLines: (plan: MusicPlan, dipsUnderSpeech?: number) => string[];
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
import type { Problem } from '../types';
|
|
3
|
+
import type { MusicBreak } from '../sound/breaks';
|
|
4
|
+
import { type ClipMusicBasis } from '../sound/modes';
|
|
5
|
+
export declare const MUSIC_PLAN_FILE = "music-plan.json";
|
|
6
|
+
/**
|
|
7
|
+
* A recorded exception to "clips carry no music" (video-sound.md, R4): which exception, the clip it is for (a path in
|
|
8
|
+
* the project, or "all" for the whole video), and what it rests on, in the words of the reference reading or of the
|
|
9
|
+
* user. It is shown to the user with the plan and its price (music plan, materials).
|
|
10
|
+
*/
|
|
11
|
+
export interface ClipMusicException {
|
|
12
|
+
basis: ClipMusicBasis;
|
|
13
|
+
clip: string;
|
|
14
|
+
why: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* generated: one track made for the whole video; own: the user's file; reference: the reference's own music, its
|
|
18
|
+
* soundtrack kept as it is (popost video replication sound); none: no music. style: the agreed style of a
|
|
19
|
+
* generated track. asked: the user's words when the plan departs from the reading (R5). clipMusic: the recorded
|
|
20
|
+
* exceptions under which clips carry music. unavailable: why a planned bed could not be generated (no account, the
|
|
21
|
+
* generator off): said with the plan and in the notes of materials. silentEnd: the video ends without music on purpose
|
|
22
|
+
* (the words of the reading or of the user): the check that the music lasts to the end is then not made. breaks: the
|
|
23
|
+
* reference's music breaks the bed follows (sound/breaks.ts; seconds of the reference), recorded from the reading with
|
|
24
|
+
* a bed; breaksOff: the bed plays straight through them (music plan --breaks none).
|
|
25
|
+
*/
|
|
26
|
+
export interface MusicPlan {
|
|
27
|
+
version: 1;
|
|
28
|
+
music: 'generated' | 'own' | 'reference' | 'none';
|
|
29
|
+
style?: string;
|
|
30
|
+
basis?: string;
|
|
31
|
+
asked?: string;
|
|
32
|
+
clipMusic?: ClipMusicException[];
|
|
33
|
+
unavailable?: string;
|
|
34
|
+
silentEnd?: string;
|
|
35
|
+
breaks?: MusicBreak[];
|
|
36
|
+
breaksOff?: true;
|
|
37
|
+
}
|
|
38
|
+
export declare const readMusicPlan: (rt: Runtime, project: string) => Promise<MusicPlan | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The music breaks a fill gives its bed: the ones the project's music plan records; none when it turns them off or has
|
|
41
|
+
* no music; the reading's (reading: the template's facts) when no plan records any.
|
|
42
|
+
*/
|
|
43
|
+
export declare const breaksToFollow: (rt: Runtime, project: string, reading: readonly MusicBreak[] | undefined) => Promise<MusicBreak[]>;
|
|
44
|
+
/** The exceptions a project records for music inside its clips. */
|
|
45
|
+
export declare const clipMusicExceptions: (rt: Runtime, project: string) => Promise<ClipMusicException[]>;
|
|
46
|
+
export declare const writeMusicPlan: (rt: Runtime, project: string, plan: MusicPlan) => Promise<void>;
|
|
47
|
+
export interface UserSound {
|
|
48
|
+
version: 1;
|
|
49
|
+
source: 'user';
|
|
50
|
+
given: string;
|
|
51
|
+
from: string;
|
|
52
|
+
audioSha256: string;
|
|
53
|
+
}
|
|
54
|
+
/** Takes a sound file the user gave into the project, with the record that says so. given: the user's words that gave it. */
|
|
55
|
+
export declare const ownSound: (rt: Runtime, o: {
|
|
56
|
+
file: string;
|
|
57
|
+
out: string;
|
|
58
|
+
given: string;
|
|
59
|
+
}) => Promise<UserSound>;
|
|
60
|
+
/** Where a sound file of a project comes from by its record, or undefined when it has none (or the file changed since). */
|
|
61
|
+
export declare const soundSource: (rt: Runtime, file: string, project?: string) => Promise<"user" | "generated" | "reference" | undefined>;
|
|
62
|
+
/** The length of generated music as `music make` measured the file it wrote (its receipt's fileSeconds), when the receipt is that file's. */
|
|
63
|
+
export declare const recordedMusicSeconds: (rt: Runtime, file: string) => Promise<number | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* The record beside a sound effect's file (<file>.sfx.json), written by the command that brought the effect into the
|
|
66
|
+
* project: where it came from (source, e.g. "catalogue" with the catalogue id) and the file's hash. An audio track of
|
|
67
|
+
* role "sfx" plays only a file with such a record in a project made from a reference (project/check-sound.ts).
|
|
68
|
+
*/
|
|
69
|
+
export declare const EFFECT_RECEIPT = ".sfx.json";
|
|
70
|
+
export interface EffectRecord {
|
|
71
|
+
version: 1;
|
|
72
|
+
source: string;
|
|
73
|
+
id?: string;
|
|
74
|
+
audioSha256: string;
|
|
75
|
+
}
|
|
76
|
+
export declare const writeEffectRecord: (rt: Runtime, file: string, r: {
|
|
77
|
+
source: string;
|
|
78
|
+
id?: string;
|
|
79
|
+
}) => Promise<EffectRecord>;
|
|
80
|
+
/** Whether an effect's file has its record, and is the file the record was written for. */
|
|
81
|
+
export declare const effectRecorded: (rt: Runtime, file: string) => Promise<boolean>;
|
|
82
|
+
export declare const SOUND_FIX: string;
|
|
83
|
+
/** A sound a fill or a project names that has no record of where it came from. at: the place to report; file: its path in dir. */
|
|
84
|
+
export declare const soundProblems: (rt: Runtime, dir: string, file: string, at: string) => Promise<Problem[]>;
|
|
85
|
+
/** Whether the video gets a music track of its own: the plan says generated or own, or a recorded sound is already in assets/. */
|
|
86
|
+
export declare const hasMusicTrack: (rt: Runtime, project: string) => Promise<boolean>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* applyFrame: sets the inline style of every segment layer, the overlay and every item from the frame number alone.
|
|
3
|
+
* Each call writes every dynamic property (cssText is replaced whole), so no state of an earlier call survives. A video
|
|
4
|
+
* layer's picture is the file of the source frame that frame n shows (timeline/footage.ts); a hidden one has none.
|
|
5
|
+
*/
|
|
6
|
+
import type { Resolved } from '../types';
|
|
7
|
+
import type { StageNodes } from './dom';
|
|
8
|
+
/** Puts the whole picture in the state of frame n. Returns the video pictures it shows, for settle(). */
|
|
9
|
+
export declare const applyFrame: (nodes: StageNodes, r: Resolved, frame: number, pictures?: boolean) => HTMLImageElement[];
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/** The object the page exposes as window.__popostVideo (see README.md in this directory). Types only. */
|
|
2
|
+
import type { Box, Resolved } from '../types';
|
|
3
|
+
/** What layout() reports for one text item, measured in its own box before rotation and motion. */
|
|
4
|
+
export interface LayoutFact {
|
|
5
|
+
id: string;
|
|
6
|
+
/** The text's lines fit inside the item's box, in width and in height. */
|
|
7
|
+
fits: boolean;
|
|
8
|
+
lines: number;
|
|
9
|
+
/** Where the glyphs are drawn, half the stroke included, as fractions of the canvas. */
|
|
10
|
+
ink: Box;
|
|
11
|
+
/** The laid-out lines: the widest line by the height of all lines, as fractions of the canvas. */
|
|
12
|
+
block: Box;
|
|
13
|
+
}
|
|
14
|
+
/** A side of a box. */
|
|
15
|
+
export type Side = 'left' | 'right' | 'top' | 'bottom';
|
|
16
|
+
/**
|
|
17
|
+
* A marked place (data-slot) whose text is not drawn whole: its glyphs leave the box by px CSS pixels at most, on
|
|
18
|
+
* side. ancestor: the element around it that cuts the text off (tag, then id or classes), when its own box holds it.
|
|
19
|
+
*/
|
|
20
|
+
export interface SceneSpill {
|
|
21
|
+
slot: string;
|
|
22
|
+
text: string;
|
|
23
|
+
side: Side;
|
|
24
|
+
px: number;
|
|
25
|
+
ancestor?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* An element of a scene with text of its own, at the frame applied. Visible: a viewer can see it, which needs the
|
|
29
|
+
* product of the opacities up to the scene's root at least 0.5, no visibility hidden, a box (no display none) at
|
|
30
|
+
* least partly inside the canvas and inside every box around it that hides its overflow, and a scale of at least a
|
|
31
|
+
* third (page/texts.ts).
|
|
32
|
+
*/
|
|
33
|
+
export interface SceneText {
|
|
34
|
+
/** The element's place among the elements of the scene's body, in document order: the same element in every frame. */
|
|
35
|
+
index: number;
|
|
36
|
+
/** Its whole text, spaces collapsed, at most 80 characters. */
|
|
37
|
+
text: string;
|
|
38
|
+
visible: boolean;
|
|
39
|
+
}
|
|
40
|
+
/** One scene base, read by scenes() after a frame was applied. */
|
|
41
|
+
export interface SceneFact {
|
|
42
|
+
/** The index of the segment whose base it is. */
|
|
43
|
+
segment: number;
|
|
44
|
+
/** The scene's file as the segment names it. */
|
|
45
|
+
src: string;
|
|
46
|
+
/** The size its content needs, in CSS pixels; larger than the canvas means something sticks out. */
|
|
47
|
+
width: number;
|
|
48
|
+
height: number;
|
|
49
|
+
/** Marked places whose glyphs leave their own element's box. */
|
|
50
|
+
overflowing: SceneSpill[];
|
|
51
|
+
/** Marked places whose glyphs fit their own element but are cut off by an element around it that hides its overflow. */
|
|
52
|
+
clipped: SceneSpill[];
|
|
53
|
+
/** Elements the scene has in all; none means an empty page. */
|
|
54
|
+
elements: number;
|
|
55
|
+
/** Every element with text of its own, and whether it can be seen at this frame. */
|
|
56
|
+
texts: SceneText[];
|
|
57
|
+
/** The sound cues the scene declares (SceneCue), in seconds of the scene, sorted; [] when it declares none. */
|
|
58
|
+
cues: SceneCue[];
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Where a sound belongs in a scene, declared by the scene itself so that a sound can be placed exactly on an
|
|
62
|
+
* animation event without looking at the picture. A scene declares its cues in one of two ways, or both:
|
|
63
|
+
* - at run time: window.__popostScene.cues = [{ at, cue, gain }, ...] (the Skill's motion helper fills it: every
|
|
64
|
+
* effect adds its own);
|
|
65
|
+
* - as data: <script type="application/json" id="popost-cues">[{ "at": 0.4, "cue": "whoosh", "gain": 0.6 }]</script>.
|
|
66
|
+
* at: seconds from the start of the scene's segment. cue: what kind of sound (CUE_NAMES). gain: 0..1, 1 the loudest
|
|
67
|
+
* hit of the shot. effect: what declared it (the effect's name), when known.
|
|
68
|
+
*/
|
|
69
|
+
export interface SceneCue {
|
|
70
|
+
at: number;
|
|
71
|
+
cue: string;
|
|
72
|
+
gain: number;
|
|
73
|
+
effect?: string;
|
|
74
|
+
}
|
|
75
|
+
/** The cue names the motion helper and the ported examples use. A scene may use another name; it is kept as written. */
|
|
76
|
+
export declare const CUE_NAMES: readonly ["whoosh", "swish", "pop", "click", "tick", "type", "impact", "riser", "shimmer", "glitch", "ding", "rumble", "draw", "sparkle"];
|
|
77
|
+
/**
|
|
78
|
+
* A file of a scene that did not load, as prepare() reports it: the scene's page itself, or one of its pictures.
|
|
79
|
+
* The renderer turns it into a Problem at the scene's segment (render/session.ts).
|
|
80
|
+
*/
|
|
81
|
+
export interface SceneFailure {
|
|
82
|
+
/** The index of the segment whose base the scene is. */
|
|
83
|
+
segment: number;
|
|
84
|
+
/** The scene's file as the segment names it. */
|
|
85
|
+
scene: string;
|
|
86
|
+
/**
|
|
87
|
+
* The picture that did not load: its src as the scene (or the segment's slot) wrote it, the address the browser
|
|
88
|
+
* resolved it to (against the scene file), and the slot when the segment's "slots" gave the path. Absent when the
|
|
89
|
+
* scene's page itself did not load.
|
|
90
|
+
*/
|
|
91
|
+
picture?: {
|
|
92
|
+
src: string;
|
|
93
|
+
url: string;
|
|
94
|
+
slot?: string;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
export interface PopostVideoPage {
|
|
98
|
+
/** Total frames, frame rate and canvas size in CSS pixels (before the page's scale). */
|
|
99
|
+
frames: number;
|
|
100
|
+
fps: number;
|
|
101
|
+
width: number;
|
|
102
|
+
height: number;
|
|
103
|
+
/** The viewport is width*scale x height*scale pixels; the stage is scaled to fit it. */
|
|
104
|
+
scale: number;
|
|
105
|
+
/**
|
|
106
|
+
* Resolves when every image is decoded, every declared font (font materials) and every text font is loaded and the
|
|
107
|
+
* pictures of the current frame are ready; rejects naming the image or font that failed, or the video material
|
|
108
|
+
* whose frames were not extracted. When scenes did not load (their page or a picture in them), the Error it rejects
|
|
109
|
+
* with has `failures`: every SceneFailure, of every scene, not only the first.
|
|
110
|
+
*/
|
|
111
|
+
prepare(): Promise<void>;
|
|
112
|
+
/** Interactive preview prepares only the scenes visible at this frame. */
|
|
113
|
+
preparePreview?(frame: number): Promise<void>;
|
|
114
|
+
/** Sets the whole picture to frame n (clamped to 0..frames-1). A pure function of n. */
|
|
115
|
+
applyFrame(n: number): void;
|
|
116
|
+
/** Preview transport only: update composition geometry without requesting extracted video-frame pictures. */
|
|
117
|
+
previewFrame?(n: number): void;
|
|
118
|
+
/**
|
|
119
|
+
* Resolves when every picture the last applyFrame call referenced (video frames) is loaded and decoded, ready to
|
|
120
|
+
* paint; rejects naming a picture that could not be loaded. Await it after applyFrame and before reading the picture.
|
|
121
|
+
*/
|
|
122
|
+
settle(): Promise<void>;
|
|
123
|
+
/**
|
|
124
|
+
* After prepare(): for every text item, whether its text fits its box, its lines and the size of its ink. Reads the
|
|
125
|
+
* layout and leaves the picture as it was.
|
|
126
|
+
*/
|
|
127
|
+
layout(): LayoutFact[];
|
|
128
|
+
/**
|
|
129
|
+
* Whether the picture differs from the one at the previous call of changed(). It compares the stage's markup:
|
|
130
|
+
* every inline style, text and picture address, which is all a frame sets, so equal markup is an equal picture
|
|
131
|
+
* (after settle()). The first call answers true. The renderer uses it to skip a screenshot.
|
|
132
|
+
*/
|
|
133
|
+
changed(): boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Every scene base as it is drawn now (after applyFrame and settle): the room its content needs and the marked places
|
|
136
|
+
* whose text is not drawn whole, and its texts. Only a scene whose segment is on screen is laid out. segment: only
|
|
137
|
+
* the scene of that segment (its index), which is all a check of one shot needs.
|
|
138
|
+
*/
|
|
139
|
+
scenes(segment?: number): SceneFact[];
|
|
140
|
+
}
|
|
141
|
+
/** What compilePage embeds in the page as JSON. */
|
|
142
|
+
export interface PageData {
|
|
143
|
+
resolved: Resolved;
|
|
144
|
+
scale: number;
|
|
145
|
+
}
|
|
146
|
+
declare global {
|
|
147
|
+
interface Window {
|
|
148
|
+
__popostVideo?: PopostVideoPage;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** CSS helpers the page's builders share: numbers, elements, and how a part of a text looks. */
|
|
2
|
+
import type { ResolvedTextStyle, TextSpanStyle } from '../types';
|
|
3
|
+
export declare const n4: (v: number) => string;
|
|
4
|
+
export declare const px: (v: number) => string;
|
|
5
|
+
export declare const element: <K extends keyof HTMLElementTagNameMap>(doc: Document, tag: K, css: string, parent: Element) => HTMLElementTagNameMap[K];
|
|
6
|
+
/** A background behind characters; edges: which outer sides get the padding and the rounded corners. */
|
|
7
|
+
export declare const backgroundCss: (bg: NonNullable<ResolvedTextStyle["background"]>, size: number, left: boolean, right: boolean) => string;
|
|
8
|
+
/** Colour, weight and slant of characters set by a span. */
|
|
9
|
+
export declare const spanCss: (span: TextSpanStyle | undefined) => string;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Builds the page's DOM once from the resolved timeline. Every element keeps its static CSS in a string; applyFrame
|
|
3
|
+
* rewrites the whole inline style (static + per-frame part) on every call, so nothing carries over between frames.
|
|
4
|
+
*/
|
|
5
|
+
import type { Resolved } from '../types';
|
|
6
|
+
import type { SceneNode } from './scene';
|
|
7
|
+
import { type WordNodes } from './words';
|
|
8
|
+
export interface SegmentNode {
|
|
9
|
+
layer: HTMLElement;
|
|
10
|
+
layerCss: string;
|
|
11
|
+
img?: HTMLImageElement;
|
|
12
|
+
imgCss: string;
|
|
13
|
+
/** Directional blur of whip transitions: an SVG filter per layer, referenced as url(#filterId). */
|
|
14
|
+
smear: SVGFEGaussianBlurElement;
|
|
15
|
+
filterId: string;
|
|
16
|
+
/** A scene base: its frame and the animations it is driven by. */
|
|
17
|
+
scene?: SceneNode;
|
|
18
|
+
}
|
|
19
|
+
export interface ItemNode {
|
|
20
|
+
el: HTMLElement;
|
|
21
|
+
css: string;
|
|
22
|
+
/** The display value when shown. */
|
|
23
|
+
display: string;
|
|
24
|
+
/** The item's drop shadow as a CSS filter function, or ''; applyFrame puts it before the blur of a motion. */
|
|
25
|
+
shadow: string;
|
|
26
|
+
/** One span per character when the item types its text; empty otherwise. */
|
|
27
|
+
chars: HTMLElement[];
|
|
28
|
+
/** A text item's block of lines (what layout() measures). */
|
|
29
|
+
block?: HTMLElement;
|
|
30
|
+
img?: HTMLImageElement;
|
|
31
|
+
/** A caption cue that follows the words: its tokens, restyled per frame (words.ts). chars are then its characters. */
|
|
32
|
+
words?: WordNodes;
|
|
33
|
+
}
|
|
34
|
+
export interface StageNodes {
|
|
35
|
+
/** The canvas in the page: layout() measures against it. */
|
|
36
|
+
stage: HTMLElement;
|
|
37
|
+
segments: SegmentNode[];
|
|
38
|
+
overlay: HTMLElement;
|
|
39
|
+
overlayCss: string;
|
|
40
|
+
items: ItemNode[];
|
|
41
|
+
/** The pictures of image bases and image items (decoded once by prepare). Video pictures change with the frame. */
|
|
42
|
+
images: HTMLImageElement[];
|
|
43
|
+
/** Set by applyFrame: a scene on screen may look different on the next frame although the stage's markup is the same. */
|
|
44
|
+
live: boolean;
|
|
45
|
+
}
|
|
46
|
+
/** A CSS string literal. */
|
|
47
|
+
export declare const cssString: (s: string) => string;
|
|
48
|
+
/** @font-face rules of the font materials: one face per file, used for every weight (a static font is not made bolder). */
|
|
49
|
+
export declare const fontFaceCss: (r: Resolved) => string;
|
|
50
|
+
/** Builds viewport > stage > (segment layers, overlay, items) inside root, and the font declarations in head. */
|
|
51
|
+
export declare const buildStage: (doc: Document, root: Element, r: Resolved, scale: number) => StageNodes;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a scene looks like right now, read in the page after a frame was applied: how much room its content needs,
|
|
3
|
+
* and the marked places (data-slot) whose text is not drawn whole. A text fits when its glyphs, the ink itself, stay
|
|
4
|
+
* inside its element's box: the characters' boxes are narrowed to the ascent and descent of the glyphs drawn, measured
|
|
5
|
+
* with the canvas API, so a tight line-height whose font box sticks out of the line does not count as overflow. A
|
|
6
|
+
* text that fits its element can still be cut off by an element around it that hides what lies outside it (a card
|
|
7
|
+
* with a height and overflow: hidden); that is reported too, naming the element and by how many pixels.
|
|
8
|
+
*/
|
|
9
|
+
import type { SceneCue, SceneFact } from './contract';
|
|
10
|
+
import type { StageNodes } from './dom';
|
|
11
|
+
/** The cues a scene declares: window.__popostScene.cues and the JSON of #popost-cues, by time. */
|
|
12
|
+
export declare const sceneCues: (doc: Document) => SceneCue[];
|
|
13
|
+
export declare const sceneFacts: (nodes: StageNodes, segment?: number) => SceneFact[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* layout(): what a text item's lines need, measured in the page after prepare(). Each text item is shown for the
|
|
3
|
+
* measurement in its static state (no motion, no rotation) and put back as it was, so the picture does not change.
|
|
4
|
+
*/
|
|
5
|
+
import type { Resolved } from '../types';
|
|
6
|
+
import type { LayoutFact } from './contract';
|
|
7
|
+
import type { StageNodes } from './dom';
|
|
8
|
+
export declare const layoutOf: (nodes: StageNodes, r: Resolved, scale: number) => LayoutFact[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A scene base in the page: an iframe that shows the scene's HTML file, held on the engine's clock. Every animation
|
|
3
|
+
* of the scene's document is paused when the page is prepared and kept in a list (an animation that has ended drops
|
|
4
|
+
* out of document.getAnimations(), and could not be taken back to an earlier frame otherwise). applyFrame sets all
|
|
5
|
+
* of them to the frame's time and calls the scene's own render(seconds, fps) when it has one. Nothing of a scene is
|
|
6
|
+
* drawn before a frame shows it.
|
|
7
|
+
* A scene may also hand over timelines: anything that can be paused and taken to a time in seconds (seek or time),
|
|
8
|
+
* as the timelines of animation libraries can. They are given as window.__popostScene.timeline, or under
|
|
9
|
+
* window.__timelines (an object of timelines, a convention other tools use). The engine knows no library by name;
|
|
10
|
+
* a scene brings its own as a script file of the project.
|
|
11
|
+
*/
|
|
12
|
+
import type { SceneFailure } from './contract';
|
|
13
|
+
export interface SceneNode {
|
|
14
|
+
frame: HTMLIFrameElement;
|
|
15
|
+
/** The index of the segment whose base it is: a failure names it, since several segments may show one file. */
|
|
16
|
+
segment: number;
|
|
17
|
+
/** Loaded on demand by preview; full rendering still prepares every scene. */
|
|
18
|
+
source?: string;
|
|
19
|
+
ready?: Promise<void>;
|
|
20
|
+
/** Every animation the scene's document had when it was prepared, and any found later. */
|
|
21
|
+
animations: Animation[];
|
|
22
|
+
/** Effective animation times at the previous seek, including their final resting values. */
|
|
23
|
+
clock?: string;
|
|
24
|
+
/** New content for the places the scene marks with data-slot. */
|
|
25
|
+
slots?: Record<string, string>;
|
|
26
|
+
}
|
|
27
|
+
/** What prepare() rejects with when scenes did not load: every failure, so that each is reported at its own segment. */
|
|
28
|
+
export declare class SceneLoadError extends Error {
|
|
29
|
+
name: string;
|
|
30
|
+
readonly failures: SceneFailure[];
|
|
31
|
+
constructor(failures: SceneFailure[]);
|
|
32
|
+
}
|
|
33
|
+
export declare const prepareScene: (scene: SceneNode) => Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* Puts the scene at its segment time. A changed clock must be captured even when it just reached its resting
|
|
36
|
+
* value; later identical resting frames can be reused. A scene that draws itself always needs a capture.
|
|
37
|
+
*/
|
|
38
|
+
export declare const seekScene: (scene: SceneNode, seconds: number, fps: number) => boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The texts a scene shows at the frame applied, read in the page: every element with text of its own, and whether a
|
|
3
|
+
* viewer can see it now. The scene check compares two frames of a shot with these to find text that arrives too late
|
|
4
|
+
* (scene/check.ts). Visible is meant as a person would say it, not as the browser lays it out: an element at a
|
|
5
|
+
* quarter of its opacity, scaled to a speck, outside the canvas or cut off by a box that hides its overflow shows
|
|
6
|
+
* nothing, though it has a box.
|
|
7
|
+
*/
|
|
8
|
+
import type { SceneText } from './contract';
|
|
9
|
+
/** Every element of the scene's body with text of its own, in document order, and whether it can be seen now. */
|
|
10
|
+
export declare const sceneTexts: (doc: Document) => SceneText[];
|