popost 4.6.1 → 4.6.7
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 +20 -7
- package/SKILL.md +48 -131
- package/THIRD_PARTY_NOTICES +524 -0
- package/agents/openai.yaml +2 -2
- 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 +16335 -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/list-cards.html +155 -0
- package/assets/video/examples/motion-blur-streak.html +119 -0
- package/assets/video/examples/object-reveal.html +107 -0
- package/assets/video/examples/page-flip.html +163 -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/assets/video/times.js +59 -0
- package/dist/cli.js +36667 -2526
- package/dist/index.js +36429 -2459
- package/dist/types/args.d.ts +2 -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/cpu-budget.d.ts +43 -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/node-runtime.d.ts +6 -1
- package/dist/types/providers/api.d.ts +9 -0
- 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 +2 -1
- 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.d.ts +16 -1
- package/dist/types/providers/task.d.ts +43 -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-books.d.ts +2 -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 +52 -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-kept.d.ts +10 -0
- package/dist/types/video/eval/readback-run.d.ts +58 -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 +60 -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 +164 -0
- package/dist/types/video/page/css.d.ts +9 -0
- package/dist/types/video/page/dom.d.ts +56 -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/times.d.ts +31 -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 +49 -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 +18 -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 +57 -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/chunked.d.ts +29 -0
- package/dist/types/video/render/chunks.d.ts +39 -0
- package/dist/types/video/render/encode.d.ts +54 -0
- package/dist/types/video/render/index.d.ts +116 -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 +81 -0
- package/dist/types/video/render/shots.d.ts +11 -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/books.d.ts +64 -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 +168 -0
- package/dist/types/video/replication/retiming.d.ts +16 -0
- package/dist/types/video/replication/review.d.ts +50 -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 +5 -0
- package/dist/types/video/retarget/index.d.ts +256 -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 +43 -0
- package/dist/types/video/retarget/takes.d.ts +66 -0
- package/dist/types/video/retarget/tempo.d.ts +42 -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 +46 -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 +53 -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 +54 -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 +82 -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/cache.d.ts +10 -0
- package/dist/types/video/voice/create.d.ts +43 -0
- package/dist/types/video/voice/hosted.d.ts +42 -0
- package/dist/types/video/voice/index.d.ts +85 -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 +45 -0
- package/dist/types/video/work.d.ts +10 -0
- package/dist/types/workflow/post-bundle.d.ts +2 -2
- package/package.json +13 -4
- package/references/image-workflow.md +111 -0
- package/references/onboarding.md +50 -19
- package/references/post-bundle.md +1 -1
- package/references/providers.md +5 -2
- package/references/video-draft-export.md +13 -0
- package/references/video-editing.md +43 -0
- package/references/video-effects.md +613 -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 +96 -0
- package/references/video-project.md +65 -0
- package/references/video-replication.md +305 -0
- package/references/video-scenes.md +416 -0
- package/references/video-sfx.md +109 -0
- package/references/video-sound.md +222 -0
- package/references/video-step-0-machine.md +61 -0
- package/references/video-step-1-read.md +168 -0
- package/references/video-step-2-structure.md +24 -0
- package/references/video-step-3-content.md +117 -0
- package/references/video-step-4-lines.md +88 -0
- package/references/video-step-5-scenes.md +126 -0
- package/references/video-step-6-voice.md +53 -0
- package/references/video-step-7-deliver.md +92 -0
- package/references/video-templates.md +187 -0
- package/references/video-tools.md +562 -0
- package/references/video.md +140 -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,82 @@
|
|
|
1
|
+
import type { Resolved } from '../types';
|
|
2
|
+
import { type SfxCatalogue, type SfxSound } from './catalogue';
|
|
3
|
+
export type Density = 'low' | 'normal' | 'high';
|
|
4
|
+
export declare const DENSITIES: readonly Density[];
|
|
5
|
+
/**
|
|
6
|
+
* The weakest cue (gain 0..1) that still sounds, the gap kept between effects (seconds), how far gains are scaled, and
|
|
7
|
+
* how many effects may start within WINDOW_SECONDS.
|
|
8
|
+
* The scenes' cues lie near 0.3 (ticks, typing), 0.45 (swish, draw, shimmer), 0.5 (whoosh, click) and 0.6-0.7 (pop,
|
|
9
|
+
* glitch, impact): low keeps each shot's main move and the transitions, normal adds the lighter moves, high every tick.
|
|
10
|
+
*/
|
|
11
|
+
export declare const DENSITY: Readonly<Record<Density, {
|
|
12
|
+
least: number;
|
|
13
|
+
gap: number;
|
|
14
|
+
scale: number;
|
|
15
|
+
most: number;
|
|
16
|
+
}>>;
|
|
17
|
+
/** "most" effects at most start within this many seconds (the sound check warns past ten: sfx/levels.ts). */
|
|
18
|
+
export declare const WINDOW_SECONDS = 10;
|
|
19
|
+
/** Light arrives before sound: an effect meets its picture this many frames after it, never before. */
|
|
20
|
+
export declare const LAG_FRAMES = 1;
|
|
21
|
+
/** A repeated cue rotates through at most this many takes. */
|
|
22
|
+
export declare const TAKES = 3;
|
|
23
|
+
/** An event that may get a sound: its frame, its cue name, its weight, and where it comes from. */
|
|
24
|
+
export interface Candidate {
|
|
25
|
+
frame: number;
|
|
26
|
+
cue: string;
|
|
27
|
+
gain: number;
|
|
28
|
+
from: 'scene' | 'transition' | 'caption';
|
|
29
|
+
what: string; /** How long the event lasts, when known (a transition, a typed line). */
|
|
30
|
+
seconds?: number;
|
|
31
|
+
}
|
|
32
|
+
export interface Placed extends Candidate {
|
|
33
|
+
at: number;
|
|
34
|
+
sound: string;
|
|
35
|
+
db: number;
|
|
36
|
+
seconds: number;
|
|
37
|
+
}
|
|
38
|
+
export interface Skipped extends Candidate {
|
|
39
|
+
why: 'quiet' | 'soft' | 'gap' | 'busy' | 'speech' | 'no-sound' | 'marked' | 'late';
|
|
40
|
+
note?: string;
|
|
41
|
+
}
|
|
42
|
+
/** The cues of the scenes, as popost video scene cues lists them. */
|
|
43
|
+
export interface SceneCueIn {
|
|
44
|
+
frame: number;
|
|
45
|
+
cue: string;
|
|
46
|
+
gain: number;
|
|
47
|
+
segment: string;
|
|
48
|
+
effect?: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The candidates of a resolved project: the scenes' cues; each transition no scene cue already marks (within its
|
|
52
|
+
* frames, with a cue of a move that sounds at the density: least is its weakest gain); the captions whose entrance types
|
|
53
|
+
* or pops, when sounded names that cue ('type', 'pop').
|
|
54
|
+
*/
|
|
55
|
+
export declare const candidatesOf: (r: Resolved, cues: readonly SceneCueIn[], sounded: ReadonlySet<string>, least?: number) => {
|
|
56
|
+
candidates: Candidate[];
|
|
57
|
+
skipped: Skipped[];
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* The takes of a cue name for a project: the catalogue's sounds of that cue that fit the length of the event (when it
|
|
61
|
+
* is known and two or more do), else the softer half for a light cue and the louder half for a strong one (when that
|
|
62
|
+
* leaves two or more to rotate); up to TAKES of them from a place the project's seed picks.
|
|
63
|
+
*/
|
|
64
|
+
export declare const takesOf: (cat: SfxCatalogue, cue: string, gain: number, seed: string, seconds?: number, preferred?: readonly SfxSound[]) => SfxSound[];
|
|
65
|
+
export interface PlanInput {
|
|
66
|
+
fps: number;
|
|
67
|
+
total: number;
|
|
68
|
+
candidates: readonly Candidate[];
|
|
69
|
+
/** Frames on which someone speaks (the voice-over's lines, the lines people say in clips). */
|
|
70
|
+
speech: readonly (readonly [number, number])[];
|
|
71
|
+
catalogue: SfxCatalogue;
|
|
72
|
+
/** Keeps the choice of sounds the same for a project from one run to the next. */
|
|
73
|
+
seed: string;
|
|
74
|
+
density: Density;
|
|
75
|
+
/** Sounds used before the catalogue's for their cue (--prefer reference). */
|
|
76
|
+
preferred?: readonly SfxSound[];
|
|
77
|
+
}
|
|
78
|
+
/** The effects to place and the candidates left silent, each with why. */
|
|
79
|
+
export declare const planEffects: (o: PlanInput) => {
|
|
80
|
+
placed: Placed[];
|
|
81
|
+
skipped: Skipped[];
|
|
82
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
import type { Problem, Project } from '../types';
|
|
3
|
+
import { type SfxCatalogue, type SfxSound } from './catalogue';
|
|
4
|
+
/** The material id of a sound brought in by `sfx get`. */
|
|
5
|
+
export declare const effectMaterialId: (id: string) => string;
|
|
6
|
+
export interface PutEffect {
|
|
7
|
+
/** The file in the project, from the project directory. */
|
|
8
|
+
file: string;
|
|
9
|
+
/** The material of video.json that plays it; undefined when the directory has no video.json yet. */
|
|
10
|
+
material?: string;
|
|
11
|
+
/** Whether the material was added now (false: it was there). */
|
|
12
|
+
added: boolean;
|
|
13
|
+
from: 'cache' | 'download';
|
|
14
|
+
}
|
|
15
|
+
/** Lays a sound of the catalogue at file (from the project directory dir, absolute) with its record, through the cache. */
|
|
16
|
+
export declare const layEffect: (rt: Runtime, dir: string, s: SfxSound, file?: string) => Promise<"cache" | "download">;
|
|
17
|
+
/** Brings a sound of the catalogue into the project in dir (absolute): its file, its record and its material. */
|
|
18
|
+
export declare const putEffect: (rt: Runtime, dir: string, s: SfxSound) => Promise<PutEffect>;
|
|
19
|
+
/**
|
|
20
|
+
* The project with the file of every effect material filled in (assets/sfx/<id>.<ext> when it has none), and the
|
|
21
|
+
* problems of the materials that name an effect: one of another kind than audio, an id the catalogue does not have.
|
|
22
|
+
* The catalogue is read only when a material names an effect.
|
|
23
|
+
*/
|
|
24
|
+
export declare const withEffectFiles: (rt: Runtime, project: Project) => Promise<{
|
|
25
|
+
project: Project;
|
|
26
|
+
problems: Problem[];
|
|
27
|
+
}>;
|
|
28
|
+
/**
|
|
29
|
+
* Fetches the sounds of the effect materials whose file is not in the project (dir: absolute) from the cache or the
|
|
30
|
+
* catalogue, with their records; a file that is there and is the catalogue's sound gets its record when it has none.
|
|
31
|
+
* Run on a project withEffectFiles filled in. fetched: the ids fetched now.
|
|
32
|
+
*/
|
|
33
|
+
export declare const fetchEffects: (rt: Runtime, dir: string, project: Project, cat?: SfxCatalogue) => Promise<{
|
|
34
|
+
fetched: string[];
|
|
35
|
+
problems: Problem[];
|
|
36
|
+
}>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
import type { PriceItem, Wallet } from '../wallet';
|
|
3
|
+
import { type SoundMeasure } from './measure';
|
|
4
|
+
import { type SoundAnalysisRecord } from './reading';
|
|
5
|
+
/** What the platform analyses: a 16 kHz, one-channel, 16-bit WAV of at most ten minutes and 20 MB. */
|
|
6
|
+
export declare const MAX_ANALYSIS_SECONDS = 600;
|
|
7
|
+
export declare const MAX_ANALYSIS_BYTES: number;
|
|
8
|
+
/** The sound of a video as the listener hears it (16 kHz, one channel), with its hash and length. */
|
|
9
|
+
export interface HeardSound {
|
|
10
|
+
bytes: Uint8Array;
|
|
11
|
+
sha256: string;
|
|
12
|
+
seconds: number;
|
|
13
|
+
}
|
|
14
|
+
export declare const heardSound: (rt: Runtime, video: string) => Promise<HeardSound>;
|
|
15
|
+
/** The measurement of a file's sound; cuts and motion: the picture's events in seconds. */
|
|
16
|
+
export declare const measureFile: (rt: Runtime, file: string, picture?: {
|
|
17
|
+
cuts?: readonly number[];
|
|
18
|
+
motion?: readonly number[];
|
|
19
|
+
}) => Promise<SoundMeasure>;
|
|
20
|
+
/**
|
|
21
|
+
* What the listener will do for this sound, decided before anything is paid: kept (an earlier reading of the same
|
|
22
|
+
* sound, in the sound.json that is there), to run (with its price), or not at all (with the reason).
|
|
23
|
+
*/
|
|
24
|
+
export type AnalysisPlan = {
|
|
25
|
+
kind: 'kept';
|
|
26
|
+
record: SoundAnalysisRecord;
|
|
27
|
+
} | {
|
|
28
|
+
kind: 'run';
|
|
29
|
+
credits: number;
|
|
30
|
+
item: PriceItem;
|
|
31
|
+
} | {
|
|
32
|
+
kind: 'none';
|
|
33
|
+
record: SoundAnalysisRecord;
|
|
34
|
+
};
|
|
35
|
+
export declare const planAnalysis: (rt: Runtime, sound: HeardSound | undefined, o?: {
|
|
36
|
+
skip?: boolean;
|
|
37
|
+
before?: unknown;
|
|
38
|
+
what?: string;
|
|
39
|
+
}) => Promise<AnalysisPlan>;
|
|
40
|
+
/**
|
|
41
|
+
* Runs the analysis of a sound within `wallet`. A job of the same sound made before is read back or waited for (not
|
|
42
|
+
* charged again); a failed one is followed by a new job under the key after it. A failure of the listener is a record
|
|
43
|
+
* ('failed', with the reason), never the end of the reading: only a refused price stops the command, before anything
|
|
44
|
+
* is charged (the caller's walletFor).
|
|
45
|
+
*/
|
|
46
|
+
export declare const runAnalysis: (rt: Runtime, sound: HeardSound, wallet: Wallet, language?: "en" | "zh") => Promise<SoundAnalysisRecord>;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Music breaks: the moments a reference's music stops on purpose (a drop before the last hook, a tape stop between
|
|
3
|
+
* sections), read from what describe measured (sound/measure.ts: the level every half second and the silences) in a
|
|
4
|
+
* reference a listener heard music in. The re-make's bed stops there too: its track gets "gaps" (timeline/mix.ts),
|
|
5
|
+
* unless the music plan turns them off (references/video-sound.md, "Music breaks"). Pure.
|
|
6
|
+
*
|
|
7
|
+
* A break is a measured silence, or a dip: one to three level steps (0.5 to 1.5 s) that each lie BREAK_DEPTH_DB or
|
|
8
|
+
* more under the median level of the BREAK_AROUND_SECONDS before and after them. Not a break: anything in the first or
|
|
9
|
+
* last BREAK_EDGE_SECONDS (intro, outro), anything outside the music the listener heard (its sections, when it gave
|
|
10
|
+
* them), a quiet stretch longer than DIP_MAX_SECONDS, and a kind of break that comes more often than once every
|
|
11
|
+
* BREAK_RARE_SECONDS (the gaps between the notes of a sparse music, the pauses of a voice over a quiet bed). In a
|
|
12
|
+
* reference with speech (the listener heard some, or a confirmed speech kind other than none) only silences count: a
|
|
13
|
+
* pause of the voice over a quiet bed is a dip too, so dips are left out and counted (dipsUnderSpeech).
|
|
14
|
+
*/
|
|
15
|
+
import { type SoundMeasure } from './measure';
|
|
16
|
+
/**
|
|
17
|
+
* silence: the sound stops altogether (a measured silence); dip: its level falls far under the music around it for a
|
|
18
|
+
* moment. Seconds of the reference. depthDb: how far under the median level of the few seconds around it (for a
|
|
19
|
+
* silence: at least that far, counted from the silence threshold).
|
|
20
|
+
*/
|
|
21
|
+
export interface MusicBreak {
|
|
22
|
+
from: number;
|
|
23
|
+
to: number;
|
|
24
|
+
kind: 'silence' | 'dip';
|
|
25
|
+
depthDb: number;
|
|
26
|
+
}
|
|
27
|
+
/** How far under the music around it a moment lies to be a break, in dB. */
|
|
28
|
+
export declare const BREAK_DEPTH_DB = 12;
|
|
29
|
+
/** The music around a moment: the level steps of this many seconds before it and after it. */
|
|
30
|
+
export declare const BREAK_AROUND_SECONDS = 3;
|
|
31
|
+
/** A dip lasts one level step at least and this long at most; a longer quiet stretch is a part without music. */
|
|
32
|
+
export declare const DIP_MAX_SECONDS = 1.5;
|
|
33
|
+
/** The first and last seconds of a video are its intro and outro: a quiet start or end is not a break. */
|
|
34
|
+
export declare const BREAK_EDGE_SECONDS = 0.5;
|
|
35
|
+
/** Breaks are rare: a kind of break that comes more often than once every this many seconds is the texture of the sound. */
|
|
36
|
+
export declare const BREAK_RARE_SECONDS = 3;
|
|
37
|
+
/**
|
|
38
|
+
* What the reading says of the music: whether a listener heard it, its sections when the listener gave them, and
|
|
39
|
+
* whether the reference has speech (then dips are not breaks).
|
|
40
|
+
*/
|
|
41
|
+
export interface HeardMusic {
|
|
42
|
+
music: string;
|
|
43
|
+
sections?: readonly {
|
|
44
|
+
from: number;
|
|
45
|
+
to: number;
|
|
46
|
+
}[];
|
|
47
|
+
speech?: boolean;
|
|
48
|
+
}
|
|
49
|
+
/** The breaks of a reading, and the dips left out of them because the reference has speech. */
|
|
50
|
+
export interface BreaksRead {
|
|
51
|
+
breaks: MusicBreak[];
|
|
52
|
+
dipsUnderSpeech: number;
|
|
53
|
+
}
|
|
54
|
+
/** Whether speech kinds say the reference has speech: any kind other than none (unknown is no answer). */
|
|
55
|
+
export declare const speaks: (kinds: readonly string[] | undefined) => boolean;
|
|
56
|
+
/**
|
|
57
|
+
* The music breaks of a reference, in time order: none unless a listener heard music (music "yes"); only silences,
|
|
58
|
+
* with the dips counted apart, when it has speech. measured may be partial (a reading written by hand): what is
|
|
59
|
+
* missing gives no break.
|
|
60
|
+
*/
|
|
61
|
+
export declare const readMusicBreaks: (measured: Partial<SoundMeasure> | undefined, heard: HeardMusic) => BreaksRead;
|
|
62
|
+
export declare const musicBreaksOf: (measured: Partial<SoundMeasure> | undefined, heard: HeardMusic) => MusicBreak[];
|
|
63
|
+
/** The breaks in words: "39.3-40.0 s (silence), 12.0-12.5 s (dip, 15 dB)". */
|
|
64
|
+
export declare const breaksSaid: (breaks: readonly MusicBreak[]) => string;
|
|
65
|
+
/** The sentence of the default plan about the breaks. */
|
|
66
|
+
export declare const breaksSentence: (breaks: readonly MusicBreak[]) => string;
|
|
67
|
+
/** Why dips were left out: the reference has speech. */
|
|
68
|
+
export declare const speechNote: (dips: number) => string;
|
|
69
|
+
/** What the default plan says of the breaks and of the dips left out under speech; undefined when there is neither. */
|
|
70
|
+
export declare const breaksSays: (breaks: readonly MusicBreak[], dipsUnderSpeech?: number) => string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* The gaps of the re-make's bed for these breaks (seconds of the reference), in seconds of the video. map: the re-flow
|
|
73
|
+
* of a fill re-timed to its spoken lines (project frames of the reference to project frames of the video): each gap
|
|
74
|
+
* keeps its length and ends where the reference's music comes back, moved with the shots. Without it the reference's
|
|
75
|
+
* times stand. total: the video's length; a gap is cut there.
|
|
76
|
+
*/
|
|
77
|
+
export declare const gapsOf: (breaks: readonly {
|
|
78
|
+
from: number;
|
|
79
|
+
to: number;
|
|
80
|
+
}[], o: {
|
|
81
|
+
fps: number;
|
|
82
|
+
map?: (frame: number) => number;
|
|
83
|
+
total?: number;
|
|
84
|
+
}) => [number, number][];
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a program can measure of a sound without listening to it: its level over time, its silences, its onsets (the
|
|
3
|
+
* moments something new begins: a hit, a note, a word), a tempo with a beat grid, and how the picture's events line up
|
|
4
|
+
* with them. The input is one channel of PCM samples in -1..1 (sound/pcm.ts decodes a file to it with ffmpeg); every
|
|
5
|
+
* result is rounded, so the same samples give the same JSON. No model: what kind of sound it is (music, a voice, an
|
|
6
|
+
* effect) is not decided here; the hosted sound analysis says that (sound/analysis.ts). Pure.
|
|
7
|
+
*/
|
|
8
|
+
/** The rate the measurement works at: enough for onsets and tempo, and half the samples of a 44.1 kHz file. */
|
|
9
|
+
export declare const ANALYSIS_RATE = 22050;
|
|
10
|
+
/** The spectrum is taken over FRAME samples every HOP samples: 46 ms windows, one every 11.6 ms. */
|
|
11
|
+
export declare const FRAME = 1024;
|
|
12
|
+
export declare const HOP = 256;
|
|
13
|
+
/** A level below this is silence: -50 dBFS is under the noise of an ordinary recording and above digital silence. */
|
|
14
|
+
export declare const SILENCE_DB = -50;
|
|
15
|
+
/** A silence is at least this long: shorter gaps are the pauses inside speech and between notes. */
|
|
16
|
+
export declare const SILENCE_SECONDS = 0.3;
|
|
17
|
+
/** The lowest level written: digital silence has none. */
|
|
18
|
+
export declare const FLOOR_DB = -90;
|
|
19
|
+
/** The tempi looked for. Below 50 and above 210 beats a minute a pulse is heard as half or double of one inside. */
|
|
20
|
+
export declare const BPM_RANGE: readonly [50, 210];
|
|
21
|
+
/** How near an event lies to a beat or an onset to count as on it: two frames of a 30 fps video. */
|
|
22
|
+
export declare const ON_BEAT_SECONDS = 0.07;
|
|
23
|
+
/** The RMS level of samples from..to-1 in dBFS (a full-scale sine is -3), never below FLOOR_DB. */
|
|
24
|
+
export declare const rmsDb: (pcm: Float32Array, from?: number, to?: number) => number;
|
|
25
|
+
/** The level of each window of `step` seconds, in dBFS to a tenth. It is an RMS level, not a K-weighted loudness. */
|
|
26
|
+
export declare const levelCurve: (pcm: Float32Array, rate: number, step?: number) => number[];
|
|
27
|
+
/** The spans (seconds) in which the level stays under `db` for at least `least` seconds, read in 50 ms steps. */
|
|
28
|
+
export declare const silencesOf: (pcm: Float32Array, rate: number, db?: number, least?: number) => [number, number][];
|
|
29
|
+
/** Frames of the onset envelope a second, at `rate`. */
|
|
30
|
+
export declare const envelopeRate: (rate: number) => number;
|
|
31
|
+
/**
|
|
32
|
+
* The onset envelope: for every hop, how much the spectrum grew since the hop before (spectral flux of
|
|
33
|
+
* log-compressed magnitudes, the growth only). A hit, a new note and the start of a word each raise it; a held tone
|
|
34
|
+
* does not. Value i belongs to the window that starts at sample i * HOP.
|
|
35
|
+
*/
|
|
36
|
+
export declare const onsetEnvelope: (pcm: Float32Array) => Float32Array;
|
|
37
|
+
export interface Onset {
|
|
38
|
+
t: number;
|
|
39
|
+
strength: number;
|
|
40
|
+
}
|
|
41
|
+
/** The onsets of an envelope: time in seconds, strength 0..1 against the strongest onsets of the sound (its 99.5th percentile). */
|
|
42
|
+
export declare const onsetsOf: (env: Float32Array, rate: number) => Onset[];
|
|
43
|
+
export interface Tempo {
|
|
44
|
+
bpm: number;
|
|
45
|
+
/** 0..1: how strongly the envelope repeats at this period (its autocorrelation there against lag 0). Under 0.2 there is no steady pulse to speak of. */
|
|
46
|
+
confidence: number;
|
|
47
|
+
/** Seconds between beats, and the time of the first beat. */
|
|
48
|
+
period: number;
|
|
49
|
+
first: number;
|
|
50
|
+
/** Other periods that repeat nearly as well (often half or double), strongest first. */
|
|
51
|
+
others: {
|
|
52
|
+
bpm: number;
|
|
53
|
+
confidence: number;
|
|
54
|
+
}[];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The tempo of an envelope by autocorrelation: the lag at which the envelope best matches itself, among the lags of
|
|
58
|
+
* BPM_RANGE, weighted towards 120 beats a minute (one octave either way counts 0.6), since a pulse repeats at its half
|
|
59
|
+
* and its double as well. The grid's first beat is the phase at which the beats collect the most envelope. undefined
|
|
60
|
+
* for a sound too short (under four seconds) or without onsets. A low confidence is information: no default is put in
|
|
61
|
+
* its place.
|
|
62
|
+
*/
|
|
63
|
+
export declare const tempoOf: (env: Float32Array, rate: number) => Tempo | undefined;
|
|
64
|
+
/** The beats of a grid from its first beat to `seconds`. */
|
|
65
|
+
export declare const beatsOf: (tempo: Pick<Tempo, "period" | "first">, seconds: number) => number[];
|
|
66
|
+
export interface Alignment {
|
|
67
|
+
/** The events held against the sound. */
|
|
68
|
+
events: number;
|
|
69
|
+
/** The share of them within ON_BEAT_SECONDS of a beat, and what events placed without regard to the beat would give. */
|
|
70
|
+
onBeat?: number;
|
|
71
|
+
byChance?: number;
|
|
72
|
+
/** The share within ON_BEAT_SECONDS of an onset. */
|
|
73
|
+
onOnset: number;
|
|
74
|
+
}
|
|
75
|
+
/** How events of the picture (cuts, motion events; seconds) line up with the beat grid and with the onsets. */
|
|
76
|
+
export declare const alignmentOf: (events: readonly number[], onsets: readonly Onset[], tempo: Tempo | undefined, tolerance?: number) => Alignment;
|
|
77
|
+
export interface SoundMeasure {
|
|
78
|
+
seconds: number;
|
|
79
|
+
/** RMS level in dBFS of every `step` seconds, its highest value and the level of the whole sound. */
|
|
80
|
+
level: {
|
|
81
|
+
step: number;
|
|
82
|
+
db: number[];
|
|
83
|
+
peakDb: number;
|
|
84
|
+
meanDb: number;
|
|
85
|
+
};
|
|
86
|
+
/** Integrated loudness (EBU R 128, LUFS) when ffmpeg measured it. */
|
|
87
|
+
loudness?: number;
|
|
88
|
+
silences: [number, number][];
|
|
89
|
+
/** The share of the sound that is silence. */
|
|
90
|
+
silentShare: number;
|
|
91
|
+
onsets: Onset[];
|
|
92
|
+
tempo?: Tempo;
|
|
93
|
+
/** The picture against the sound: the cuts, and the motion events of the shots. */
|
|
94
|
+
cuts?: Alignment;
|
|
95
|
+
motion?: Alignment;
|
|
96
|
+
}
|
|
97
|
+
/** Everything above for one sound. cuts and motion: times in seconds of the picture's events, when a measurement of it is at hand. */
|
|
98
|
+
export declare const measureSound: (pcm: Float32Array, rate: number, picture?: {
|
|
99
|
+
cuts?: readonly number[];
|
|
100
|
+
motion?: readonly number[];
|
|
101
|
+
}) => SoundMeasure;
|
|
102
|
+
/**
|
|
103
|
+
* The time of a one-shot sound's hit: the 5 ms window with the highest level, at its middle. An effect is placed so
|
|
104
|
+
* that this moment meets the picture's event (sound/sfx-place.ts).
|
|
105
|
+
*/
|
|
106
|
+
export declare const peakTime: (pcm: Float32Array, rate: number) => number;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The sound of a generated clip, by its role in the video (references/video-sound.md, rules R2 to R4). Every clip
|
|
3
|
+
* request has one of four modes, written ("sound") or inferred: speech (its person is the video's speaker), exhibit
|
|
4
|
+
* (the clip is the thing shown: its whole sound, music included), ambience (the sound of the place, nobody speaks, no
|
|
5
|
+
* music) or silent (made without a sound track where the model can, else stripped). The mode decides the end of the
|
|
6
|
+
* prompt, and it is kept beside the clip (<file>.mode.json) for the mix. Music made inside a clip is the exception:
|
|
7
|
+
* only an exhibit has it by its mode; any other clip has it only on a basis recorded in the project's music plan.
|
|
8
|
+
*/
|
|
9
|
+
import type { Runtime } from '../../runtime';
|
|
10
|
+
import { SOUND_MODES, type Problem, type SoundMode } from '../types';
|
|
11
|
+
export { SOUND_MODES, type SoundMode };
|
|
12
|
+
/**
|
|
13
|
+
* Why a clip may carry music of its own (R4): each a stated exception, recorded in the project with the reading or
|
|
14
|
+
* the user's words it rests on, and shown to the user with the plan.
|
|
15
|
+
*/
|
|
16
|
+
export declare const CLIP_MUSIC_BASES: readonly ["single-clip", "per-segment", "in-scene", "sung", "brand-sting", "own-footage", "user-wish"];
|
|
17
|
+
export type ClipMusicBasis = (typeof CLIP_MUSIC_BASES)[number];
|
|
18
|
+
export declare const BASIS_MEANS: Readonly<Record<ClipMusicBasis, string>>;
|
|
19
|
+
export declare const isSoundMode: (v: unknown) => v is SoundMode;
|
|
20
|
+
export declare const isClipMusicBasis: (v: unknown) => v is ClipMusicBasis;
|
|
21
|
+
/** What the reading of the reference says about the clips of a re-make: whether a narrator speaks over them, and whether the places are heard. */
|
|
22
|
+
export interface ModeContext {
|
|
23
|
+
narrated?: boolean;
|
|
24
|
+
ambience?: 'yes' | 'no' | 'unknown';
|
|
25
|
+
}
|
|
26
|
+
/** The context of a template: narrated when its confirmed speech kinds include narration; the ambience its sound reading heard. */
|
|
27
|
+
export declare const modeContextOf: (t: {
|
|
28
|
+
speech?: {
|
|
29
|
+
kinds: readonly string[];
|
|
30
|
+
};
|
|
31
|
+
sound?: {
|
|
32
|
+
ambience: "yes" | "no" | "unknown";
|
|
33
|
+
};
|
|
34
|
+
}) => ModeContext;
|
|
35
|
+
/**
|
|
36
|
+
* The mode of a request: the one it names; else speech for a clip with lines; else, in a re-make of a narrated
|
|
37
|
+
* reference whose places are not heard (B-roll under a narrator), silent; else ambience.
|
|
38
|
+
*/
|
|
39
|
+
export declare const inferMode: (r: {
|
|
40
|
+
sound?: unknown;
|
|
41
|
+
speech?: unknown;
|
|
42
|
+
}, ctx?: ModeContext) => SoundMode;
|
|
43
|
+
/**
|
|
44
|
+
* The end of a clip's prompt for its mode. music: the clip may carry music on a recorded basis (R4), which takes the
|
|
45
|
+
* sentence about music out. An exhibit is left free: it is the thing shown, with whatever sound it has.
|
|
46
|
+
*/
|
|
47
|
+
export declare const soundTail: (mode: SoundMode, o?: {
|
|
48
|
+
music?: ClipMusicBasis;
|
|
49
|
+
}) => string;
|
|
50
|
+
/** An exception recorded in the project's music plan (music/provenance.ts): its basis and the clip it is for ("all": every clip). */
|
|
51
|
+
export interface RecordedException {
|
|
52
|
+
basis: ClipMusicBasis;
|
|
53
|
+
clip: string;
|
|
54
|
+
}
|
|
55
|
+
/** The basis under which a clip may carry music: the one its request names, else the one the plan records for it or for all. */
|
|
56
|
+
export declare const musicBasisOf: (r: {
|
|
57
|
+
clipMusic?: unknown;
|
|
58
|
+
file?: unknown;
|
|
59
|
+
}, recorded: readonly RecordedException[]) => ClipMusicBasis | undefined;
|
|
60
|
+
/** What is wrong with the sound fields of one request ("sound", "clipMusic"), before anything is paid. recorded: the exceptions of the project's music plan. */
|
|
61
|
+
export declare const modeProblems: (r: {
|
|
62
|
+
sound?: unknown;
|
|
63
|
+
clipMusic?: unknown;
|
|
64
|
+
speech?: unknown;
|
|
65
|
+
file?: unknown;
|
|
66
|
+
}, at: string, recorded: readonly RecordedException[], isVideo: boolean) => Problem[];
|
|
67
|
+
/** What is kept beside a clip about its sound. stripped: its sound track was taken out here (a model that always makes one). */
|
|
68
|
+
export interface ModeReceipt {
|
|
69
|
+
version: 1;
|
|
70
|
+
sound: SoundMode;
|
|
71
|
+
clipMusic?: ClipMusicBasis;
|
|
72
|
+
stripped?: true;
|
|
73
|
+
}
|
|
74
|
+
export declare const writeModeReceipt: (rt: Runtime, clip: string, r: Omit<ModeReceipt, "version">) => Promise<void>;
|
|
75
|
+
export declare const readModeReceipt: (rt: Runtime, clip: string) => Promise<ModeReceipt | undefined>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A file's sound as samples, by ffmpeg: one channel of 32-bit floats for the measurements (sound/measure.ts), the
|
|
3
|
+
* integrated loudness ffmpeg's EBU R 128 meter reads, and PCM written as a WAV file (tests and cut effects).
|
|
4
|
+
*/
|
|
5
|
+
import type { Runtime } from '../../runtime';
|
|
6
|
+
/** The longest sound measured: a reference longer than this is read to here (20 min is 106 MB of samples). */
|
|
7
|
+
export declare const MAX_MEASURED_SECONDS: number;
|
|
8
|
+
/** What ffmpeg says of a file without an audio stream (a clip made without sound) when its sound is asked for. */
|
|
9
|
+
export declare const NO_AUDIO_STREAM: RegExp;
|
|
10
|
+
/**
|
|
11
|
+
* One channel of a file's sound (a video's first audio stream, or a sound file) at `rate`, samples in -1..1; from/length
|
|
12
|
+
* in seconds. A video without an audio stream is silence: no samples.
|
|
13
|
+
*/
|
|
14
|
+
export declare const decodeMono: (rt: Runtime, file: string, rate?: number, span?: {
|
|
15
|
+
from?: number;
|
|
16
|
+
seconds?: number;
|
|
17
|
+
}) => Promise<Float32Array>;
|
|
18
|
+
/** The integrated loudness of a file in LUFS (EBU R 128), or undefined when ffmpeg gives none (a sound shorter than its 0.4 s gate, or silence). */
|
|
19
|
+
export declare const integratedLoudness: (rt: Runtime, file: string) => Promise<number | undefined>;
|
|
20
|
+
/** Samples in -1..1 as a 16-bit, one-channel PCM WAV. */
|
|
21
|
+
export declare const wavOf: (pcm: Float32Array, rate: number) => Uint8Array;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The reading of a reference's sound, as describe writes it (sound.json) and as the card, the template and the plan
|
|
3
|
+
* say it: what a program measured (sound/measure.ts), what a listener said (the hosted sound analysis, when it ran),
|
|
4
|
+
* and what follows for the re-make. Whether the re-make has music, ambience and effects follows this reading, not
|
|
5
|
+
* taste (video-sound.md, rules R2 and R5): music in the reference means one music bed for the whole video; no music
|
|
6
|
+
* means none; a reading that could not tell says so and plans none until someone listens. Pure.
|
|
7
|
+
*/
|
|
8
|
+
import type { SoundAnalysisResult } from '../hosted-api';
|
|
9
|
+
import { type MusicBreak } from './breaks';
|
|
10
|
+
import type { SoundMeasure } from './measure';
|
|
11
|
+
export declare const SOUND_FILE = "sound.json";
|
|
12
|
+
export declare const SOUND_FORMAT = "popost-video-sound";
|
|
13
|
+
/**
|
|
14
|
+
* Why there is, or is not, a listener's reading: done; the video has no sound; --no-sound-analysis; no account is
|
|
15
|
+
* connected; the platform does not offer it (an older server); the sound is longer than it takes; it failed.
|
|
16
|
+
*/
|
|
17
|
+
export type AnalysisStatus = 'done' | 'silent' | 'skipped' | 'no-account' | 'unavailable' | 'too-long' | 'failed';
|
|
18
|
+
export interface SoundAnalysisRecord {
|
|
19
|
+
status: AnalysisStatus;
|
|
20
|
+
why?: string;
|
|
21
|
+
id?: string;
|
|
22
|
+
chargedCredits?: number;
|
|
23
|
+
result?: SoundAnalysisResult;
|
|
24
|
+
}
|
|
25
|
+
export type Known = 'yes' | 'no' | 'unknown';
|
|
26
|
+
/** What the re-make is held to: the facts of the reference's sound in a few fields, each with how it is known. */
|
|
27
|
+
export interface SoundFacts {
|
|
28
|
+
/** yes and no: a listener said so (or the video is silent). likely: only measured (a steady pulse through the sound). unknown: nobody listened. */
|
|
29
|
+
music: Known | 'likely';
|
|
30
|
+
/** One line of style when a listener gave one: genre, mood, instruments. */
|
|
31
|
+
style?: string;
|
|
32
|
+
tempo?: 'slow' | 'medium' | 'fast';
|
|
33
|
+
/** Beats a minute: the listener's when given, else the measured grid's when its confidence is at least TEMPO_SURE. */
|
|
34
|
+
bpm?: number;
|
|
35
|
+
vocals?: 'none' | 'sung' | 'spoken-sample' | 'rap';
|
|
36
|
+
sections?: {
|
|
37
|
+
from: number;
|
|
38
|
+
to: number;
|
|
39
|
+
what: string;
|
|
40
|
+
}[];
|
|
41
|
+
/** Where the music stops on purpose for a moment (sound/breaks.ts), in seconds; absent when it never does or nobody heard music. */
|
|
42
|
+
musicBreaks?: MusicBreak[];
|
|
43
|
+
/** Dips of the level not taken for music breaks because the reference has speech (sound/breaks.ts); absent when none. */
|
|
44
|
+
dipsUnderSpeech?: number;
|
|
45
|
+
ambience: Known;
|
|
46
|
+
ambienceWhat?: string;
|
|
47
|
+
/** One-shot effects a listener named, with their times in seconds. */
|
|
48
|
+
effects: {
|
|
49
|
+
at: number;
|
|
50
|
+
what: string;
|
|
51
|
+
kind: string;
|
|
52
|
+
}[];
|
|
53
|
+
/** Whether the effects are known: yes with some, no when a listener heard none, unknown when nobody listened. */
|
|
54
|
+
sfx: Known;
|
|
55
|
+
/** The share of the picture's cuts that lie on a beat, with what cuts placed without regard to the beat would give. */
|
|
56
|
+
cutsOnBeat?: {
|
|
57
|
+
share: number;
|
|
58
|
+
byChance: number;
|
|
59
|
+
bpm: number;
|
|
60
|
+
};
|
|
61
|
+
/** The default sound plan of the re-make (R2, R5). */
|
|
62
|
+
plan: SoundPlanDefault;
|
|
63
|
+
}
|
|
64
|
+
/** bed: one music track under the whole video. none: no music. ask: the reading cannot tell; nothing is planned until someone listens or the user says. */
|
|
65
|
+
export interface SoundPlanDefault {
|
|
66
|
+
music: 'bed' | 'none' | 'ask';
|
|
67
|
+
sfx: Known;
|
|
68
|
+
ambience: Known;
|
|
69
|
+
says: string[];
|
|
70
|
+
}
|
|
71
|
+
export interface SoundFile {
|
|
72
|
+
format: typeof SOUND_FORMAT;
|
|
73
|
+
version: 1;
|
|
74
|
+
/** The hash of the sound as it was read (16 kHz, one channel), so that the same sound is not analysed, or paid for, twice. */
|
|
75
|
+
audioSha256?: string;
|
|
76
|
+
measured?: SoundMeasure;
|
|
77
|
+
analysis: SoundAnalysisRecord;
|
|
78
|
+
facts: SoundFacts;
|
|
79
|
+
}
|
|
80
|
+
/** A measured tempo counts as the sound's from this confidence on; below it the grid is a guess and is called one. */
|
|
81
|
+
export declare const TEMPO_SURE = 0.3;
|
|
82
|
+
/** Music is "likely" from a measurement alone with a sure tempo and at least this many onsets a second. */
|
|
83
|
+
export declare const LIKELY_MUSIC_ONSETS = 1;
|
|
84
|
+
/** Cuts follow the beat when their share on it is at least twice what chance gives, and at least a half. */
|
|
85
|
+
export declare const CUTS_FOLLOW: {
|
|
86
|
+
readonly timesChance: 2;
|
|
87
|
+
readonly share: 0.5;
|
|
88
|
+
};
|
|
89
|
+
export declare const planOf: (f: Omit<SoundFacts, "plan">, status: AnalysisStatus) => SoundPlanDefault;
|
|
90
|
+
/**
|
|
91
|
+
* The facts of a reading. hasAudio false: a silent video, where everything is a plain no. Speech the listener heard
|
|
92
|
+
* leaves the dips out of the music breaks; confirmed speech kinds do the same later (factsUnderSpeech).
|
|
93
|
+
*/
|
|
94
|
+
export declare const factsOf: (o: {
|
|
95
|
+
hasAudio: boolean;
|
|
96
|
+
measured?: SoundMeasure;
|
|
97
|
+
analysis: SoundAnalysisRecord;
|
|
98
|
+
}) => SoundFacts;
|
|
99
|
+
export declare const soundFileOf: (o: {
|
|
100
|
+
hasAudio: boolean;
|
|
101
|
+
audioSha256?: string;
|
|
102
|
+
measured?: SoundMeasure;
|
|
103
|
+
analysis: SoundAnalysisRecord;
|
|
104
|
+
}) => SoundFile;
|
|
105
|
+
/**
|
|
106
|
+
* The facts of a sound.json; one written before music breaks were read gets them from what it measured (the same rule,
|
|
107
|
+
* so the same reading gives the same breaks).
|
|
108
|
+
*/
|
|
109
|
+
export declare const factsWithBreaks: (file: SoundFile) => SoundFacts;
|
|
110
|
+
/**
|
|
111
|
+
* The facts once the kinds of the reference's speech are confirmed (describe, template save, the music plan, a fill):
|
|
112
|
+
* with speech, the dips are taken out of the music breaks and counted, the silences stay, and the plan says so. Facts
|
|
113
|
+
* without dips are returned as they are.
|
|
114
|
+
*/
|
|
115
|
+
export declare const factsUnderSpeech: (f: SoundFacts, kinds: readonly string[] | undefined) => SoundFacts;
|
|
116
|
+
export declare const isSoundFile: (v: unknown) => v is SoundFile;
|
|
117
|
+
/** Whether the picture's cuts follow the beat (CUTS_FOLLOW). */
|
|
118
|
+
export declare const cutsFollowBeat: (c: SoundFacts["cutsOnBeat"]) => boolean;
|
|
119
|
+
/** The music in one line: present or not, how it is known, its style and tempo. */
|
|
120
|
+
export declare const musicLine: (f: SoundFacts, status: AnalysisStatus) => string;
|
|
121
|
+
/** The lines of REFERENCE.md about the sound (without a leading "- "): music, ambience, effects, the beat and the cuts, the default plan. */
|
|
122
|
+
export declare const soundLines: (file: SoundFile) => string[];
|
|
123
|
+
/** The section of timeline.md: effects and sections with their times, the onsets the strongest first, the beats. */
|
|
124
|
+
export declare const soundSection: (file: SoundFile) => string[];
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
import { type Transcriber } from '../speech/index';
|
|
3
|
+
import type { Problem } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* The share of the script's words a clip must say, in order, to pass. A general value, not calibrated on any set:
|
|
6
|
+
* a recogniser mishears a word in ten of clean speech now and then, and a clip that drops a clause loses more.
|
|
7
|
+
*/
|
|
8
|
+
export declare const MATCH_FLOOR = 0.8;
|
|
9
|
+
/** Words closer than this are one stretch of speech: a pause of a third of a second is inside a sentence. */
|
|
10
|
+
export declare const SPAN_GAP_SECONDS = 0.35;
|
|
11
|
+
/** The words of a text as they are compared: Latin words in lower case without punctuation, CJK one character each. */
|
|
12
|
+
export declare const comparedWords: (text: string) => string[];
|
|
13
|
+
export interface SpeechMatch {
|
|
14
|
+
/** Words of the script, words heard, and how many of the script's were heard in order. */
|
|
15
|
+
script: number;
|
|
16
|
+
heard: number;
|
|
17
|
+
matched: number;
|
|
18
|
+
/** matched / script; 1 for an empty script. */
|
|
19
|
+
share: number;
|
|
20
|
+
/** Words of the script not heard, and words heard that the script does not have, in order (the first 12 of each). */
|
|
21
|
+
missing: string[];
|
|
22
|
+
extra: string[];
|
|
23
|
+
}
|
|
24
|
+
/** The script's words against the heard words: how many were said in order, and what is missing or extra. */
|
|
25
|
+
export declare const matchSpeech: (script: string, heard: string) => SpeechMatch;
|
|
26
|
+
/**
|
|
27
|
+
* When each line of the script was said, from the heard words matched to its words (seconds of the clip); null for a
|
|
28
|
+
* line none of whose words was heard. The captions of a clip's lines follow these times (template fill).
|
|
29
|
+
*/
|
|
30
|
+
export declare const lineTimes: (lines: readonly string[], words: readonly {
|
|
31
|
+
text: string;
|
|
32
|
+
start: number;
|
|
33
|
+
end: number;
|
|
34
|
+
}[]) => ({
|
|
35
|
+
at: number;
|
|
36
|
+
to: number;
|
|
37
|
+
} | null)[];
|
|
38
|
+
/** Words in seconds as stretches of speech: joined where they lie closer than SPAN_GAP_SECONDS. */
|
|
39
|
+
export declare const spokenSpans: (words: readonly {
|
|
40
|
+
start: number;
|
|
41
|
+
end: number;
|
|
42
|
+
}[], gap?: number) => [number, number][];
|
|
43
|
+
export interface MeasuredSpeech {
|
|
44
|
+
/** The hash of the clip the words were heard in: a clip made again is measured again. */
|
|
45
|
+
videoSha256: string;
|
|
46
|
+
language: string;
|
|
47
|
+
words: {
|
|
48
|
+
text: string;
|
|
49
|
+
start: number;
|
|
50
|
+
end: number;
|
|
51
|
+
}[];
|
|
52
|
+
spans: [number, number][];
|
|
53
|
+
match: SpeechMatch;
|
|
54
|
+
/** When each line of the receipt was said (seconds of the clip), in the order of its lines; null for a line not heard. */
|
|
55
|
+
lines?: ({
|
|
56
|
+
at: number;
|
|
57
|
+
to: number;
|
|
58
|
+
} | null)[];
|
|
59
|
+
/** The clip has no audio stream (it came back without sound): it says nothing, and nothing was transcribed. */
|
|
60
|
+
silent?: true;
|
|
61
|
+
}
|
|
62
|
+
export declare const SPEECH_PROBLEM = "speech-not-as-written";
|
|
63
|
+
/** The problems of a measured clip: under the floor an error that offers a remake; any missing word a warning. */
|
|
64
|
+
export declare const speechMatchProblems: (file: string, m: SpeechMatch, key?: string) => Problem[];
|
|
65
|
+
/** The problem of a speaking clip that came back without an audio stream: none of its lines is heard. */
|
|
66
|
+
export declare const silentClipProblems: (file: string) => Problem[];
|
|
67
|
+
/** The measurement a receipt keeps for this very clip (its hash), or undefined when it was never measured or the clip changed. */
|
|
68
|
+
export declare const keptMeasurement: (rt: Runtime, dir: string, file: string) => Promise<MeasuredSpeech | undefined>;
|
|
69
|
+
/** The clips under assets/ of a project that were asked to say a script (a speech receipt with its text), as project paths. */
|
|
70
|
+
export declare const speakingClips: (rt: Runtime, dir: string, sub?: string, depth?: number) => Promise<string[]>;
|
|
71
|
+
/**
|
|
72
|
+
* Transcribes a speaking clip of a project and writes what was measured into its receipt. Returns undefined for a
|
|
73
|
+
* clip without a speech receipt (nobody was asked to speak in it), and the receipt's own measurement when the clip
|
|
74
|
+
* was measured before (nothing is transcribed, or charged, twice). A clip that needs hearing and no transcriber throws.
|
|
75
|
+
*/
|
|
76
|
+
export declare const measureClipSpeech: (rt: Runtime, dir: string, file: string, transcriber?: Transcriber) => Promise<MeasuredSpeech | undefined>;
|