popost 4.6.1 → 4.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +59 -3
- package/README.md +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 +16221 -0
- package/assets/video/examples/counter-stat.html +155 -0
- package/assets/video/examples/folding-doors.html +94 -0
- package/assets/video/examples/glitch-title.html +120 -0
- package/assets/video/examples/goo-blobs.html +127 -0
- package/assets/video/examples/grid-reveal.html +151 -0
- package/assets/video/examples/hf/agent-cursor.html +781 -0
- package/assets/video/examples/hf/ai-answer-rank.html +767 -0
- package/assets/video/examples/hf/ai-chat-reveal.html +1260 -0
- package/assets/video/examples/hf/animated-bar-chart.html +312 -0
- package/assets/video/examples/hf/app-showcase.html +1115 -0
- package/assets/video/examples/hf/apple-money-count.html +453 -0
- package/assets/video/examples/hf/arc-motion-path.html +303 -0
- package/assets/video/examples/hf/ascii-render-pass.html +728 -0
- package/assets/video/examples/hf/ascii-trail-reveal.html +595 -0
- package/assets/video/examples/hf/aurora-drift.html +439 -0
- package/assets/video/examples/hf/aurora.html +258 -0
- package/assets/video/examples/hf/avatar-cloud.html +667 -0
- package/assets/video/examples/hf/avatar-group-hover.html +342 -0
- package/assets/video/examples/hf/badge-pop.html +400 -0
- package/assets/video/examples/hf/bar-chart-race.html +795 -0
- package/assets/video/examples/hf/beat-accent.html +507 -0
- package/assets/video/examples/hf/beat-freeze-cut.html +1050 -0
- package/assets/video/examples/hf/beat-pulse-background.html +422 -0
- package/assets/video/examples/hf/beat-timeline.html +488 -0
- package/assets/video/examples/hf/before-after-wipe.html +681 -0
- package/assets/video/examples/hf/blob.html +258 -0
- package/assets/video/examples/hf/blue-sweater-intro-video.html +1656 -0
- package/assets/video/examples/hf/blur-in.html +624 -0
- package/assets/video/examples/hf/blur-out-up.html +350 -0
- package/assets/video/examples/hf/bottom-up-letters.html +335 -0
- package/assets/video/examples/hf/browser-device-stage.html +847 -0
- package/assets/video/examples/hf/camcorder-hud.html +371 -0
- package/assets/video/examples/hf/camera-dolly-zoom.html +485 -0
- package/assets/video/examples/hf/camera-rig-depth-stack.html +246 -0
- package/assets/video/examples/hf/camera-scan-gate.html +708 -0
- package/assets/video/examples/hf/camera-shake.html +989 -0
- package/assets/video/examples/hf/canopy-part-title.html +2549 -0
- package/assets/video/examples/hf/caption-blend-difference.html +247 -0
- package/assets/video/examples/hf/caption-camera-follow.html +537 -0
- package/assets/video/examples/hf/caption-clip-wipe.html +363 -0
- package/assets/video/examples/hf/caption-editorial-emphasis.html +615 -0
- package/assets/video/examples/hf/caption-emoji-pop.html +623 -0
- package/assets/video/examples/hf/caption-glitch-rgb.html +475 -0
- package/assets/video/examples/hf/caption-gradient-fill.html +392 -0
- package/assets/video/examples/hf/caption-highlight.html +433 -0
- package/assets/video/examples/hf/caption-kinetic-slam.html +334 -0
- package/assets/video/examples/hf/caption-matrix-decode.html +399 -0
- package/assets/video/examples/hf/caption-neon-accent.html +684 -0
- package/assets/video/examples/hf/caption-neon-glow.html +373 -0
- package/assets/video/examples/hf/caption-parallax-layers.html +530 -0
- package/assets/video/examples/hf/caption-particle-burst.html +454 -0
- package/assets/video/examples/hf/caption-pill-karaoke.html +517 -0
- package/assets/video/examples/hf/caption-texture.html +368 -0
- package/assets/video/examples/hf/caption-weight-shift.html +566 -0
- package/assets/video/examples/hf/card-resize.html +435 -0
- package/assets/video/examples/hf/caret-swap.html +601 -0
- package/assets/video/examples/hf/carousel-circle-1.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-2.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-3.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-4.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-5.html +1175 -0
- package/assets/video/examples/hf/carousel-orbit-1.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-2.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-3.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-4.html +1214 -0
- package/assets/video/examples/hf/carousel-orbit-5.html +1198 -0
- package/assets/video/examples/hf/carousel-path-1.html +1219 -0
- package/assets/video/examples/hf/carousel-path-2.html +1176 -0
- package/assets/video/examples/hf/carousel-path-3.html +1190 -0
- package/assets/video/examples/hf/carousel-path-4.html +1219 -0
- package/assets/video/examples/hf/carousel-path-5.html +1218 -0
- package/assets/video/examples/hf/carousel-vision-1.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-2.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-3.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-4.html +1187 -0
- package/assets/video/examples/hf/carousel-vision-5.html +1180 -0
- package/assets/video/examples/hf/char-slam-explode.html +546 -0
- package/assets/video/examples/hf/chart-story.html +973 -0
- package/assets/video/examples/hf/chat-message.html +635 -0
- package/assets/video/examples/hf/chat-thread.html +953 -0
- package/assets/video/examples/hf/chatgpt-exchange.html +1620 -0
- package/assets/video/examples/hf/chromatic-radial-split.html +613 -0
- package/assets/video/examples/hf/chrome-orb.html +258 -0
- package/assets/video/examples/hf/cinemagraph.html +422 -0
- package/assets/video/examples/hf/cinematic-zoom.html +613 -0
- package/assets/video/examples/hf/claude-exchange.html +1845 -0
- package/assets/video/examples/hf/code-3d-extrude.html +755 -0
- package/assets/video/examples/hf/code-diff.html +956 -0
- package/assets/video/examples/hf/code-highlight.html +885 -0
- package/assets/video/examples/hf/code-morph.html +1357 -0
- package/assets/video/examples/hf/code-particle-assemble.html +622 -0
- package/assets/video/examples/hf/code-scroll.html +1700 -0
- package/assets/video/examples/hf/code-shader-dissolve.html +677 -0
- package/assets/video/examples/hf/code-slice-hero.html +1276 -0
- package/assets/video/examples/hf/code-snippet-apple-terminal-pro.html +388 -0
- package/assets/video/examples/hf/code-snippet-dark-2026.html +1231 -0
- package/assets/video/examples/hf/code-snippet-dark-modern.html +1227 -0
- package/assets/video/examples/hf/code-terminal-run.html +766 -0
- package/assets/video/examples/hf/code-typing.html +903 -0
- package/assets/video/examples/hf/color-wheel.html +258 -0
- package/assets/video/examples/hf/colorama-wipe.html +503 -0
- package/assets/video/examples/hf/comparison-split.html +657 -0
- package/assets/video/examples/hf/confetti.html +349 -0
- package/assets/video/examples/hf/conic-progress-ring.html +441 -0
- package/assets/video/examples/hf/constellation-hub.html +662 -0
- package/assets/video/examples/hf/cosmic-orb.html +643 -0
- package/assets/video/examples/hf/count-up.html +552 -0
- package/assets/video/examples/hf/cross-warp-morph.html +624 -0
- package/assets/video/examples/hf/cta-close.html +492 -0
- package/assets/video/examples/hf/cta-lockup.html +470 -0
- package/assets/video/examples/hf/cuboid-carousel.html +2385 -0
- package/assets/video/examples/hf/cursor-annotate.html +827 -0
- package/assets/video/examples/hf/cursor-context-menu.html +757 -0
- package/assets/video/examples/hf/cursor-drag-drop.html +656 -0
- package/assets/video/examples/hf/cursor-glyph-trail.html +904 -0
- package/assets/video/examples/hf/cursor-marquee-select.html +1266 -0
- package/assets/video/examples/hf/cursor-text-select.html +638 -0
- package/assets/video/examples/hf/cursor-zoom-follow.html +973 -0
- package/assets/video/examples/hf/curtain-reveal.html +590 -0
- package/assets/video/examples/hf/cut-the-curve.html +715 -0
- package/assets/video/examples/hf/dart-cursor.html +863 -0
- package/assets/video/examples/hf/data-chart.html +666 -0
- package/assets/video/examples/hf/decision-tree.html +655 -0
- package/assets/video/examples/hf/decline-chart.html +485 -0
- package/assets/video/examples/hf/device-frame-stage.html +661 -0
- package/assets/video/examples/hf/domain-warp-dissolve.html +627 -0
- package/assets/video/examples/hf/drift-hold.html +392 -0
- package/assets/video/examples/hf/dynamic-grid.html +336 -0
- package/assets/video/examples/hf/echo-smear.html +994 -0
- package/assets/video/examples/hf/echo-trail.html +557 -0
- package/assets/video/examples/hf/editorial-flash-overlay.html +337 -0
- package/assets/video/examples/hf/exploded-stack.html +761 -0
- package/assets/video/examples/hf/extended-keyframe.html +715 -0
- package/assets/video/examples/hf/extruded-logo.html +757 -0
- package/assets/video/examples/hf/facet-morph.html +746 -0
- package/assets/video/examples/hf/fade-through.html +443 -0
- package/assets/video/examples/hf/falling-lines.html +259 -0
- package/assets/video/examples/hf/filmed-screen.html +1065 -0
- package/assets/video/examples/hf/flash-through-white.html +613 -0
- package/assets/video/examples/hf/flowchart-vertical.html +631 -0
- package/assets/video/examples/hf/flowchart.html +630 -0
- package/assets/video/examples/hf/flowing-gradient.html +258 -0
- package/assets/video/examples/hf/focus-blur-resolve.html +321 -0
- package/assets/video/examples/hf/focus-rack.html +542 -0
- package/assets/video/examples/hf/focus-swap.html +496 -0
- package/assets/video/examples/hf/fractal-noise.html +258 -0
- package/assets/video/examples/hf/freeze-frame-dressing.html +357 -0
- package/assets/video/examples/hf/frost.html +258 -0
- package/assets/video/examples/hf/gabor-noise.html +258 -0
- package/assets/video/examples/hf/gallery-tunnel.html +652 -0
- package/assets/video/examples/hf/gesture-tap.html +604 -0
- package/assets/video/examples/hf/glass-hero.html +505 -0
- package/assets/video/examples/hf/glass-shard-title.html +1618 -0
- package/assets/video/examples/hf/glitch.html +613 -0
- package/assets/video/examples/hf/gloss-sweep.html +418 -0
- package/assets/video/examples/hf/godrays.html +257 -0
- package/assets/video/examples/hf/goo.html +258 -0
- package/assets/video/examples/hf/gooey-split.html +1092 -0
- package/assets/video/examples/hf/grain-field.html +377 -0
- package/assets/video/examples/hf/grain-overlay.html +295 -0
- package/assets/video/examples/hf/gravitational-lens.html +612 -0
- package/assets/video/examples/hf/grid-card-assemble.html +671 -0
- package/assets/video/examples/hf/grid-pixelate-wipe.html +314 -0
- package/assets/video/examples/hf/halftone-dissolve.html +696 -0
- package/assets/video/examples/hf/halftone-field.html +598 -0
- package/assets/video/examples/hf/headline-slam.html +455 -0
- package/assets/video/examples/hf/heatmap.html +258 -0
- package/assets/video/examples/hf/heygen-avatar-promo-card.html +627 -0
- package/assets/video/examples/hf/hologram.html +258 -0
- package/assets/video/examples/hf/holographic.html +258 -0
- package/assets/video/examples/hf/hw-arrow.html +835 -0
- package/assets/video/examples/hf/hw-boil.html +632 -0
- package/assets/video/examples/hf/hw-box-label.html +741 -0
- package/assets/video/examples/hf/hw-callout-circle.html +820 -0
- package/assets/video/examples/hf/hw-frame.html +455 -0
- package/assets/video/examples/hf/hw-path-text.html +349 -0
- package/assets/video/examples/hf/hw-pipeline.html +472 -0
- package/assets/video/examples/hf/hw-scribble-transition.html +291 -0
- package/assets/video/examples/hf/hw-text-cloud.html +439 -0
- package/assets/video/examples/hf/hw-title.html +412 -0
- package/assets/video/examples/hf/hw-underline.html +403 -0
- package/assets/video/examples/hf/hw-write-title.html +1389 -0
- package/assets/video/examples/hf/icon-morph-beat.html +463 -0
- package/assets/video/examples/hf/icon-swap.html +380 -0
- package/assets/video/examples/hf/ink-bleed-reveal.html +659 -0
- package/assets/video/examples/hf/inline-highlight.html +322 -0
- package/assets/video/examples/hf/input-feedback.html +419 -0
- package/assets/video/examples/hf/instagram-follow.html +460 -0
- package/assets/video/examples/hf/ios26-liquid-glass.html +1597 -0
- package/assets/video/examples/hf/iris-reveal.html +684 -0
- package/assets/video/examples/hf/keyframe-scrub-stack.html +326 -0
- package/assets/video/examples/hf/kinetic-center-build.html +538 -0
- package/assets/video/examples/hf/kinetic-type-swap.html +610 -0
- package/assets/video/examples/hf/kinetic-type.html +862 -0
- package/assets/video/examples/hf/lens-flare.html +258 -0
- package/assets/video/examples/hf/light-edge.html +259 -0
- package/assets/video/examples/hf/light-leak.html +612 -0
- package/assets/video/examples/hf/light-sweep-pass.html +684 -0
- package/assets/video/examples/hf/line-by-line-slide.html +345 -0
- package/assets/video/examples/hf/line-swap.html +526 -0
- package/assets/video/examples/hf/liquid-glass-notification.html +1898 -0
- package/assets/video/examples/hf/liquid-glass-widgets.html +2175 -0
- package/assets/video/examples/hf/liquid-metal.html +259 -0
- package/assets/video/examples/hf/locked-nucleus-orbit.html +564 -0
- package/assets/video/examples/hf/logo-brand-close.html +598 -0
- package/assets/video/examples/hf/logo-outro.html +397 -0
- package/assets/video/examples/hf/logo-sting.html +378 -0
- package/assets/video/examples/hf/logo-wall.html +502 -0
- package/assets/video/examples/hf/lottie-character-walk.html +407 -0
- package/assets/video/examples/hf/lt-accent-underline.html +247 -0
- package/assets/video/examples/hf/lt-bold-block.html +249 -0
- package/assets/video/examples/hf/lt-clean-bar.html +251 -0
- package/assets/video/examples/hf/lt-color-block.html +241 -0
- package/assets/video/examples/hf/lt-dark-card.html +251 -0
- package/assets/video/examples/hf/lt-kicker-name.html +254 -0
- package/assets/video/examples/hf/lt-mask-reveal.html +260 -0
- package/assets/video/examples/hf/lt-neon-border.html +604 -0
- package/assets/video/examples/hf/lt-side-rule.html +254 -0
- package/assets/video/examples/hf/lt-soft-pill.html +259 -0
- package/assets/video/examples/hf/lt-stack-bars.html +249 -0
- package/assets/video/examples/hf/macos-notification.html +372 -0
- package/assets/video/examples/hf/macos-tahoe-liquid-glass.html +1701 -0
- package/assets/video/examples/hf/magnetic-cursor.html +684 -0
- package/assets/video/examples/hf/marble.html +257 -0
- package/assets/video/examples/hf/marker-checklist-card.html +727 -0
- package/assets/video/examples/hf/marker-highlight.html +589 -0
- package/assets/video/examples/hf/match-cut.html +505 -0
- package/assets/video/examples/hf/matrix-decode.html +363 -0
- package/assets/video/examples/hf/menu-morph.html +420 -0
- package/assets/video/examples/hf/mesh-gradient-bg.html +329 -0
- package/assets/video/examples/hf/mesh-gradient.html +257 -0
- package/assets/video/examples/hf/message-thread-reveal.html +1913 -0
- package/assets/video/examples/hf/micro-transitions.html +631 -0
- package/assets/video/examples/hf/mk-background.html +376 -0
- package/assets/video/examples/hf/mk-callout-highlight.html +322 -0
- package/assets/video/examples/hf/mk-clone-wall-transition.html +364 -0
- package/assets/video/examples/hf/mk-emphasis-type.html +235 -0
- package/assets/video/examples/hf/mk-line-graph.html +432 -0
- package/assets/video/examples/hf/mk-placeholder-grid.html +373 -0
- package/assets/video/examples/hf/mk-progress-stat.html +324 -0
- package/assets/video/examples/hf/mk-specs-list.html +362 -0
- package/assets/video/examples/hf/mk-usage-arc.html +297 -0
- package/assets/video/examples/hf/modal-morph.html +727 -0
- package/assets/video/examples/hf/morph-swap.html +590 -0
- package/assets/video/examples/hf/morph-text.html +409 -0
- package/assets/video/examples/hf/multi-device-splay.html +934 -0
- package/assets/video/examples/hf/multiplayer-cursors.html +642 -0
- package/assets/video/examples/hf/native-notification-pop.html +670 -0
- package/assets/video/examples/hf/nebula.html +258 -0
- package/assets/video/examples/hf/news-ticker.html +548 -0
- package/assets/video/examples/hf/north-korea-locked-down.html +447 -0
- package/assets/video/examples/hf/notes-reveal.html +2028 -0
- package/assets/video/examples/hf/notes-typing.html +631 -0
- package/assets/video/examples/hf/notification-cascade.html +740 -0
- package/assets/video/examples/hf/notification-pileup.html +667 -0
- package/assets/video/examples/hf/notification-stack.html +610 -0
- package/assets/video/examples/hf/number-pop-in.html +362 -0
- package/assets/video/examples/hf/number-wheel.html +378 -0
- package/assets/video/examples/hf/nyc-paris-flight.html +659 -0
- package/assets/video/examples/hf/nyt-graph.html +715 -0
- package/assets/video/examples/hf/obsidian.html +258 -0
- package/assets/video/examples/hf/offset-path-traveler.html +511 -0
- package/assets/video/examples/hf/onboarding-stepper-flow.html +292 -0
- package/assets/video/examples/hf/orbit-card.html +2457 -0
- package/assets/video/examples/hf/ordered-dither-pass.html +753 -0
- package/assets/video/examples/hf/organic-light-leak-overlay.html +336 -0
- package/assets/video/examples/hf/oscilloscope-trace.html +718 -0
- package/assets/video/examples/hf/outline-draw.html +394 -0
- package/assets/video/examples/hf/oversized-cursor.html +851 -0
- package/assets/video/examples/hf/overwhelm-surround.html +557 -0
- package/assets/video/examples/hf/page-slide.html +377 -0
- package/assets/video/examples/hf/pan-stations.html +555 -0
- package/assets/video/examples/hf/panel-reveal.html +370 -0
- package/assets/video/examples/hf/paper-collage-reveal.html +737 -0
- package/assets/video/examples/hf/parallax-device-dive.html +647 -0
- package/assets/video/examples/hf/parallax-unzoom.html +499 -0
- package/assets/video/examples/hf/parallax-zoom.html +515 -0
- package/assets/video/examples/hf/particle-image-reveal.html +595 -0
- package/assets/video/examples/hf/particle-text-dissolve.html +615 -0
- package/assets/video/examples/hf/path-traced-3d.html +508 -0
- package/assets/video/examples/hf/pendulum-swing.html +364 -0
- package/assets/video/examples/hf/per-word-crossfade.html +398 -0
- package/assets/video/examples/hf/per-word-rise.html +556 -0
- package/assets/video/examples/hf/perspective-marquee.html +366 -0
- package/assets/video/examples/hf/physical-exit.html +459 -0
- package/assets/video/examples/hf/plasma.html +258 -0
- package/assets/video/examples/hf/plastic.html +258 -0
- package/assets/video/examples/hf/play-mode.html +1035 -0
- package/assets/video/examples/hf/press-ripple.html +675 -0
- package/assets/video/examples/hf/prism.html +258 -0
- package/assets/video/examples/hf/product-promo.html +1311 -0
- package/assets/video/examples/hf/product-turntable.html +4569 -0
- package/assets/video/examples/hf/pull-back-reveal.html +546 -0
- package/assets/video/examples/hf/pull-to-refresh.html +861 -0
- package/assets/video/examples/hf/push-in.html +379 -0
- package/assets/video/examples/hf/rack-focus.html +779 -0
- package/assets/video/examples/hf/radial-surround.html +653 -0
- package/assets/video/examples/hf/reddit-post.html +515 -0
- package/assets/video/examples/hf/rgb-glitch-text.html +353 -0
- package/assets/video/examples/hf/ridged-burn.html +624 -0
- package/assets/video/examples/hf/ripple-waves.html +613 -0
- package/assets/video/examples/hf/ripples.html +259 -0
- package/assets/video/examples/hf/rubber-band-bumper.html +534 -0
- package/assets/video/examples/hf/scan-band.html +415 -0
- package/assets/video/examples/hf/scramble-reveal.html +510 -0
- package/assets/video/examples/hf/screen-flow-carousel.html +779 -0
- package/assets/video/examples/hf/scroll-camera-story.html +988 -0
- package/assets/video/examples/hf/scroll-feed.html +602 -0
- package/assets/video/examples/hf/sdf-iris.html +613 -0
- package/assets/video/examples/hf/segmentation-flood.html +748 -0
- package/assets/video/examples/hf/separator.html +620 -0
- package/assets/video/examples/hf/settings-toggle-flow.html +286 -0
- package/assets/video/examples/hf/share-sheet-carousel.html +591 -0
- package/assets/video/examples/hf/shared-axis-y.html +370 -0
- package/assets/video/examples/hf/shared-axis-z.html +514 -0
- package/assets/video/examples/hf/sheet-spring-up.html +681 -0
- package/assets/video/examples/hf/shimmer-sweep.html +301 -0
- package/assets/video/examples/hf/signup-flow.html +276 -0
- package/assets/video/examples/hf/sine-wave.html +258 -0
- package/assets/video/examples/hf/skeleton-reveal.html +373 -0
- package/assets/video/examples/hf/slack-notification-ad.html +901 -0
- package/assets/video/examples/hf/slit-scan-reveal.html +540 -0
- package/assets/video/examples/hf/slot-machine-roll.html +391 -0
- package/assets/video/examples/hf/snow.html +499 -0
- package/assets/video/examples/hf/social-proof-card.html +534 -0
- package/assets/video/examples/hf/soft-blur-in.html +322 -0
- package/assets/video/examples/hf/spain-map.html +583 -0
- package/assets/video/examples/hf/spiral-galaxy.html +507 -0
- package/assets/video/examples/hf/spiral.html +258 -0
- package/assets/video/examples/hf/split-flap-board.html +537 -0
- package/assets/video/examples/hf/split-tilt-cards.html +775 -0
- package/assets/video/examples/hf/spotify-card.html +470 -0
- package/assets/video/examples/hf/spotlight-card.html +328 -0
- package/assets/video/examples/hf/spring-pop.html +406 -0
- package/assets/video/examples/hf/spring-stack-shuffle.html +791 -0
- package/assets/video/examples/hf/stagger-cascade.html +465 -0
- package/assets/video/examples/hf/stagger-lattice.html +278 -0
- package/assets/video/examples/hf/staggered-fade-up.html +368 -0
- package/assets/video/examples/hf/star-rating-fill.html +511 -0
- package/assets/video/examples/hf/starfield.html +450 -0
- package/assets/video/examples/hf/state-chip-rail.html +585 -0
- package/assets/video/examples/hf/sticky-mock-swap.html +664 -0
- package/assets/video/examples/hf/stitched-text-draw.html +1053 -0
- package/assets/video/examples/hf/stop-motion-cadence.html +670 -0
- package/assets/video/examples/hf/store-badge-lockup.html +521 -0
- package/assets/video/examples/hf/strands.html +258 -0
- package/assets/video/examples/hf/streaming-text.html +581 -0
- package/assets/video/examples/hf/strikethrough-replace.html +356 -0
- package/assets/video/examples/hf/stripes.html +258 -0
- package/assets/video/examples/hf/success-check.html +390 -0
- package/assets/video/examples/hf/sun-burst.html +258 -0
- package/assets/video/examples/hf/svg-line-draw-loader.html +257 -0
- package/assets/video/examples/hf/svg-mask-reveal.html +523 -0
- package/assets/video/examples/hf/svg-stroke-trace.html +465 -0
- package/assets/video/examples/hf/swipe-rail.html +564 -0
- package/assets/video/examples/hf/swirl-vortex.html +623 -0
- package/assets/video/examples/hf/swirl.html +258 -0
- package/assets/video/examples/hf/swiss-grid.html +837 -0
- package/assets/video/examples/hf/tabs-slide-indicator.html +424 -0
- package/assets/video/examples/hf/telemetry-hud.html +760 -0
- package/assets/video/examples/hf/terminal-simulator.html +293 -0
- package/assets/video/examples/hf/testimonial-card.html +545 -0
- package/assets/video/examples/hf/testimonial-proof-card.html +720 -0
- package/assets/video/examples/hf/text-match-cut.html +1345 -0
- package/assets/video/examples/hf/text-shimmer.html +394 -0
- package/assets/video/examples/hf/text-stagger.html +373 -0
- package/assets/video/examples/hf/text-state-swap.html +421 -0
- package/assets/video/examples/hf/thermal-distortion.html +624 -0
- package/assets/video/examples/hf/thin-film.html +258 -0
- package/assets/video/examples/hf/thread-message-stack.html +377 -0
- package/assets/video/examples/hf/three-orbiting-cards.html +322 -0
- package/assets/video/examples/hf/ticker-takeover.html +534 -0
- package/assets/video/examples/hf/tiktok-follow.html +435 -0
- package/assets/video/examples/hf/tilt-card.html +406 -0
- package/assets/video/examples/hf/titlecard-calm.html +388 -0
- package/assets/video/examples/hf/titlecard-lockup.html +546 -0
- package/assets/video/examples/hf/toggle-flip.html +601 -0
- package/assets/video/examples/hf/top-down-letters.html +326 -0
- package/assets/video/examples/hf/torn-paper-rip.html +762 -0
- package/assets/video/examples/hf/touch-indicator.html +777 -0
- package/assets/video/examples/hf/tracing-beam.html +608 -0
- package/assets/video/examples/hf/tracking-in.html +317 -0
- package/assets/video/examples/hf/transitions-3d.html +434 -0
- package/assets/video/examples/hf/transitions-blur.html +524 -0
- package/assets/video/examples/hf/transitions-cover.html +508 -0
- package/assets/video/examples/hf/transitions-destruction.html +551 -0
- package/assets/video/examples/hf/transitions-dissolve.html +529 -0
- package/assets/video/examples/hf/transitions-distortion.html +522 -0
- package/assets/video/examples/hf/transitions-grid.html +442 -0
- package/assets/video/examples/hf/transitions-light.html +528 -0
- package/assets/video/examples/hf/transitions-mechanical.html +560 -0
- package/assets/video/examples/hf/transitions-other.html +532 -0
- package/assets/video/examples/hf/transitions-push.html +520 -0
- package/assets/video/examples/hf/transitions-radial.html +492 -0
- package/assets/video/examples/hf/transitions-scale.html +487 -0
- package/assets/video/examples/hf/trust-strip.html +445 -0
- package/assets/video/examples/hf/typed-prompt.html +619 -0
- package/assets/video/examples/hf/typewriter.html +350 -0
- package/assets/video/examples/hf/typing-indicator.html +702 -0
- package/assets/video/examples/hf/ui-3d-reveal.html +2929 -0
- package/assets/video/examples/hf/ui-focus-zoom.html +786 -0
- package/assets/video/examples/hf/us-map-bubble.html +669 -0
- package/assets/video/examples/hf/us-map-flow.html +621 -0
- package/assets/video/examples/hf/us-map-hex.html +733 -0
- package/assets/video/examples/hf/us-map.html +591 -0
- package/assets/video/examples/hf/variable-font-flex.html +538 -0
- package/assets/video/examples/hf/vector-editor-rig.html +977 -0
- package/assets/video/examples/hf/vfx-anamorphic-flare.html +572 -0
- package/assets/video/examples/hf/vfx-iphone-device.html +1089 -0
- package/assets/video/examples/hf/vfx-liquid-background.html +1479 -0
- package/assets/video/examples/hf/vfx-liquid-glass.html +2054 -0
- package/assets/video/examples/hf/vfx-magnetic.html +660 -0
- package/assets/video/examples/hf/vfx-portal.html +1090 -0
- package/assets/video/examples/hf/vfx-shatter.html +1382 -0
- package/assets/video/examples/hf/vignette.html +385 -0
- package/assets/video/examples/hf/voronoi.html +258 -0
- package/assets/video/examples/hf/vox-annotate.html +707 -0
- package/assets/video/examples/hf/vpn-youtube-spot.html +1118 -0
- package/assets/video/examples/hf/water.html +258 -0
- package/assets/video/examples/hf/waveform.html +258 -0
- package/assets/video/examples/hf/week-in-merges.html +673 -0
- package/assets/video/examples/hf/weight-wave.html +531 -0
- package/assets/video/examples/hf/whip-pan-cut.html +668 -0
- package/assets/video/examples/hf/whip-pan.html +613 -0
- package/assets/video/examples/hf/whiteboard-ink.html +763 -0
- package/assets/video/examples/hf/wireframe-portal-title.html +3840 -0
- package/assets/video/examples/hf/wordmark-tiles.html +559 -0
- package/assets/video/examples/hf/world-map.html +623 -0
- package/assets/video/examples/hf/worley-noise.html +259 -0
- package/assets/video/examples/hf/x-follow-card.html +286 -0
- package/assets/video/examples/hf/x-post.html +611 -0
- package/assets/video/examples/hf/yt-camera-move.html +308 -0
- package/assets/video/examples/hf/yt-circle-pointer.html +301 -0
- package/assets/video/examples/hf/yt-comment-card.html +458 -0
- package/assets/video/examples/hf/yt-feather-highlight.html +279 -0
- package/assets/video/examples/hf/yt-lcd-background.html +446 -0
- package/assets/video/examples/hf/yt-logo-intro.html +390 -0
- package/assets/video/examples/hf/yt-lower-third.html +414 -0
- package/assets/video/examples/hf/yt-prism-title.html +343 -0
- package/assets/video/examples/hf/yt-screen-warp.html +257 -0
- package/assets/video/examples/hf/yt-vertical-fill.html +367 -0
- package/assets/video/examples/kinetic-type.html +137 -0
- package/assets/video/examples/motion-blur-streak.html +119 -0
- package/assets/video/examples/object-reveal.html +107 -0
- package/assets/video/examples/parallax-layers.html +130 -0
- package/assets/video/examples/particle-burst.html +157 -0
- package/assets/video/examples/pen-draw.html +146 -0
- package/assets/video/examples/shape-morph.html +151 -0
- package/assets/video/examples/slam-title.html +125 -0
- package/assets/video/examples/speed-lines.html +123 -0
- package/assets/video/examples/spring-pop.html +129 -0
- package/assets/video/examples/streak-wipe.html +78 -0
- package/assets/video/examples/three-chrome-knot.html +155 -0
- package/assets/video/examples/three-clay.html +138 -0
- package/assets/video/examples/three-cube-wave.html +140 -0
- package/assets/video/examples/three-extruded-shape.html +148 -0
- package/assets/video/examples/type-on.html +128 -0
- package/assets/video/motion.js +991 -0
- package/assets/video/screen.js +298 -0
- package/assets/video/sfx/catalogue.json +2283 -0
- package/dist/cli.js +35440 -2563
- package/dist/index.js +35143 -2437
- 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.d.ts +2 -0
- package/dist/types/video/commands/sfx-extract.d.ts +2 -0
- package/dist/types/video/commands/sfx-place.d.ts +3 -0
- package/dist/types/video/commands/sfx.d.ts +2 -0
- package/dist/types/video/commands/shared.d.ts +39 -0
- package/dist/types/video/commands/source.d.ts +2 -0
- package/dist/types/video/commands/speech-check.d.ts +1 -0
- package/dist/types/video/commands/speech-kind.d.ts +6 -0
- package/dist/types/video/commands/template.d.ts +10 -0
- package/dist/types/video/commands/voice-profile.d.ts +2 -0
- package/dist/types/video/commands/voice-sample.d.ts +1 -0
- package/dist/types/video/compile/footage.d.ts +36 -0
- package/dist/types/video/compile/index.d.ts +30 -0
- package/dist/types/video/compile/page-bundle.d.ts +1 -0
- package/dist/types/video/compile/page.d.ts +10 -0
- package/dist/types/video/compile/words.d.ts +9 -0
- package/dist/types/video/describe/aim.d.ts +20 -0
- package/dist/types/video/describe/beats.d.ts +53 -0
- package/dist/types/video/describe/curves.d.ts +27 -0
- package/dist/types/video/describe/frames.d.ts +62 -0
- package/dist/types/video/describe/index.d.ts +34 -0
- package/dist/types/video/describe/inset.d.ts +83 -0
- package/dist/types/video/describe/kind.d.ts +29 -0
- package/dist/types/video/describe/known.d.ts +31 -0
- package/dist/types/video/describe/movement.d.ts +17 -0
- package/dist/types/video/describe/parts.d.ts +50 -0
- package/dist/types/video/describe/paths.d.ts +21 -0
- package/dist/types/video/describe/speech-kind.d.ts +144 -0
- package/dist/types/video/describe/unrecovered.d.ts +29 -0
- package/dist/types/video/draft/build.d.ts +34 -0
- package/dist/types/video/draft/export.d.ts +19 -0
- package/dist/types/video/draft/lifecycle.d.ts +9 -0
- package/dist/types/video/draft/native.d.ts +27 -0
- package/dist/types/video/draft/schema.d.ts +316 -0
- package/dist/types/video/draft/targets.d.ts +19 -0
- package/dist/types/video/elements/caption-reading.d.ts +9 -0
- package/dist/types/video/elements/caption-roles.d.ts +6 -0
- package/dist/types/video/elements/carry.d.ts +45 -0
- package/dist/types/video/elements/check.d.ts +14 -0
- package/dist/types/video/elements/findings.d.ts +49 -0
- package/dist/types/video/elements/main.d.ts +54 -0
- package/dist/types/video/elements/picture.d.ts +31 -0
- package/dist/types/video/elements/questions.d.ts +35 -0
- package/dist/types/video/elements/read.d.ts +14 -0
- package/dist/types/video/elements/status.d.ts +23 -0
- package/dist/types/video/elements/types.d.ts +120 -0
- package/dist/types/video/eval/contrast.d.ts +136 -0
- package/dist/types/video/eval/dataset.d.ts +21 -0
- package/dist/types/video/eval/floor.d.ts +27 -0
- package/dist/types/video/eval/ledger.d.ts +27 -0
- package/dist/types/video/eval/legibility.d.ts +33 -0
- package/dist/types/video/eval/readback-frames.d.ts +41 -0
- package/dist/types/video/eval/readback-run.d.ts +54 -0
- package/dist/types/video/eval/readback.d.ts +48 -0
- package/dist/types/video/eval/roundtrip.d.ts +71 -0
- package/dist/types/video/generate/approved.d.ts +74 -0
- package/dist/types/video/generate/cast.d.ts +56 -0
- package/dist/types/video/generate/character.d.ts +14 -0
- package/dist/types/video/generate/clip-sound.d.ts +63 -0
- package/dist/types/video/generate/cloud-image.d.ts +12 -0
- package/dist/types/video/generate/cloud.d.ts +67 -0
- package/dist/types/video/generate/dialogue.d.ts +116 -0
- package/dist/types/video/generate/index.d.ts +265 -0
- package/dist/types/video/generate/provenance.d.ts +11 -0
- package/dist/types/video/generate/speech-lock.d.ts +4 -0
- package/dist/types/video/generate/speech.d.ts +20 -0
- package/dist/types/video/host.d.ts +42 -0
- package/dist/types/video/hosted-api.d.ts +161 -0
- package/dist/types/video/look/index.d.ts +67 -0
- package/dist/types/video/look/like.d.ts +18 -0
- package/dist/types/video/look/sheets.d.ts +58 -0
- package/dist/types/video/measure/align.d.ts +33 -0
- package/dist/types/video/measure/amount.d.ts +52 -0
- package/dist/types/video/measure/bars.d.ts +22 -0
- package/dist/types/video/measure/boundaries.d.ts +18 -0
- package/dist/types/video/measure/cache.d.ts +6 -0
- package/dist/types/video/measure/camera.d.ts +21 -0
- package/dist/types/video/measure/colour.d.ts +12 -0
- package/dist/types/video/measure/curve.d.ts +29 -0
- package/dist/types/video/measure/cuts.d.ts +17 -0
- package/dist/types/video/measure/easing.d.ts +52 -0
- package/dist/types/video/measure/fill.d.ts +20 -0
- package/dist/types/video/measure/fits.d.ts +80 -0
- package/dist/types/video/measure/gradual.d.ts +23 -0
- package/dist/types/video/measure/index.d.ts +28 -0
- package/dist/types/video/measure/kinds.d.ts +71 -0
- package/dist/types/video/measure/motion.d.ts +26 -0
- package/dist/types/video/measure/move.d.ts +90 -0
- package/dist/types/video/measure/moves.d.ts +22 -0
- package/dist/types/video/measure/orientation.d.ts +11 -0
- package/dist/types/video/measure/pixels.d.ts +41 -0
- package/dist/types/video/measure/profile.d.ts +53 -0
- package/dist/types/video/measure/reveal.d.ts +48 -0
- package/dist/types/video/measure/rhythm.d.ts +7 -0
- package/dist/types/video/measure/robust.d.ts +18 -0
- package/dist/types/video/measure/signals.d.ts +48 -0
- package/dist/types/video/measure/signature.d.ts +10 -0
- package/dist/types/video/measure/span.d.ts +28 -0
- package/dist/types/video/measure/still-shots.d.ts +40 -0
- package/dist/types/video/measure/switch.d.ts +101 -0
- package/dist/types/video/measure/tracks.d.ts +20 -0
- package/dist/types/video/measure/unmix.d.ts +20 -0
- package/dist/types/video/media/decode.d.ts +59 -0
- package/dist/types/video/media/ffmpeg.d.ts +48 -0
- package/dist/types/video/media/footage.d.ts +53 -0
- package/dist/types/video/media/screenshot.d.ts +26 -0
- package/dist/types/video/media/selection.d.ts +4 -0
- package/dist/types/video/media/wav.d.ts +26 -0
- package/dist/types/video/music/hosted.d.ts +110 -0
- package/dist/types/video/music/plan.d.ts +103 -0
- package/dist/types/video/music/provenance.d.ts +86 -0
- package/dist/types/video/page/apply.d.ts +9 -0
- package/dist/types/video/page/contract.d.ts +150 -0
- package/dist/types/video/page/css.d.ts +9 -0
- package/dist/types/video/page/dom.d.ts +51 -0
- package/dist/types/video/page/fit.d.ts +13 -0
- package/dist/types/video/page/layout.d.ts +8 -0
- package/dist/types/video/page/main.d.ts +1 -0
- package/dist/types/video/page/scene.d.ts +38 -0
- package/dist/types/video/page/texts.d.ts +10 -0
- package/dist/types/video/page/words.d.ts +39 -0
- package/dist/types/video/paid-download.d.ts +19 -0
- package/dist/types/video/plan/ask.d.ts +77 -0
- package/dist/types/video/plan/generated.d.ts +29 -0
- package/dist/types/video/plan/index.d.ts +6 -0
- package/dist/types/video/plan/materials.d.ts +22 -0
- package/dist/types/video/plan/model.d.ts +59 -0
- package/dist/types/video/plan/prompt.d.ts +41 -0
- package/dist/types/video/plan/see.d.ts +35 -0
- package/dist/types/video/presets/camera.d.ts +27 -0
- package/dist/types/video/presets/easing.d.ts +11 -0
- package/dist/types/video/presets/fill.d.ts +16 -0
- package/dist/types/video/presets/loop.d.ts +20 -0
- package/dist/types/video/presets/motion.d.ts +47 -0
- package/dist/types/video/presets/spoken.d.ts +35 -0
- package/dist/types/video/presets/text-styles.d.ts +44 -0
- package/dist/types/video/presets/transition.d.ts +66 -0
- package/dist/types/video/preview/cloud.d.ts +13 -0
- package/dist/types/video/preview/edit/check.d.ts +15 -0
- package/dist/types/video/preview/edit/editor.d.ts +52 -0
- package/dist/types/video/preview/edit/ops.d.ts +52 -0
- package/dist/types/video/preview/edit/render.d.ts +11 -0
- package/dist/types/video/preview/edit/retime.d.ts +2 -0
- package/dist/types/video/preview/edit/routes.d.ts +1106 -0
- package/dist/types/video/preview/export-settings.d.ts +25 -0
- package/dist/types/video/preview/files.d.ts +25 -0
- package/dist/types/video/preview/html.d.ts +9 -0
- package/dist/types/video/preview/index.d.ts +20 -0
- package/dist/types/video/preview/project.d.ts +48 -0
- package/dist/types/video/preview/protocol.d.ts +91 -0
- package/dist/types/video/preview/server.d.ts +21 -0
- package/dist/types/video/preview/shell/app.d.ts +81 -0
- package/dist/types/video/preview/shell/dom.d.ts +40 -0
- package/dist/types/video/preview/shell/edit/controller.d.ts +32 -0
- package/dist/types/video/preview/shell/edit/fields.d.ts +49 -0
- package/dist/types/video/preview/shell/edit/form-parts.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/form.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/inline.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/lanes-edit.d.ts +31 -0
- package/dist/types/video/preview/shell/edit/layer-order.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/remove.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/reveal.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/scenes.d.ts +7 -0
- package/dist/types/video/preview/shell/edit/schema.d.ts +30 -0
- package/dist/types/video/preview/shell/edit/source.d.ts +83 -0
- package/dist/types/video/preview/shell/edit/split.d.ts +8 -0
- package/dist/types/video/preview/shell/edit/stage-edit.d.ts +21 -0
- package/dist/types/video/preview/shell/edit/text-fit.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/toolbar.d.ts +14 -0
- package/dist/types/video/preview/shell/footage.d.ts +6 -0
- package/dist/types/video/preview/shell/i18n.d.ts +176 -0
- package/dist/types/video/preview/shell/lanes.d.ts +2 -0
- package/dist/types/video/preview/shell/main.d.ts +1 -0
- package/dist/types/video/preview/shell/model.d.ts +85 -0
- package/dist/types/video/preview/shell/panel.d.ts +3 -0
- package/dist/types/video/preview/shell/readonly.d.ts +1 -0
- package/dist/types/video/preview/shell/stage.d.ts +7 -0
- package/dist/types/video/preview/shell/studio/audio.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/cloud.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/code.d.ts +6 -0
- package/dist/types/video/preview/shell/studio/copy.d.ts +159 -0
- package/dist/types/video/preview/shell/studio/draft-result.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/export.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/scene-selection.d.ts +19 -0
- package/dist/types/video/preview/shell/studio/sidebar.d.ts +27 -0
- package/dist/types/video/preview/shell/studio/style.d.ts +2 -0
- package/dist/types/video/preview/shell/studio/timeline.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/ui.d.ts +16 -0
- package/dist/types/video/preview/shell/studio/workspace.d.ts +11 -0
- package/dist/types/video/preview/shell/style.d.ts +5 -0
- package/dist/types/video/preview/shell/transport.d.ts +6 -0
- package/dist/types/video/preview/shell-bundle.d.ts +1 -0
- package/dist/types/video/preview/studio-actions.d.ts +4 -0
- package/dist/types/video/preview/studio-data.d.ts +32 -0
- package/dist/types/video/preview/thumbnails.d.ts +5 -0
- package/dist/types/video/preview/watch.d.ts +23 -0
- package/dist/types/video/progress.d.ts +28 -0
- package/dist/types/video/project/check-camera.d.ts +8 -0
- package/dist/types/video/project/check-caption.d.ts +8 -0
- package/dist/types/video/project/check-common.d.ts +25 -0
- package/dist/types/video/project/check-footage.d.ts +22 -0
- package/dist/types/video/project/check-look.d.ts +19 -0
- package/dist/types/video/project/check-sound.d.ts +54 -0
- package/dist/types/video/project/check-span.d.ts +11 -0
- package/dist/types/video/project/check-tracks.d.ts +8 -0
- package/dist/types/video/project/check-transition.d.ts +11 -0
- package/dist/types/video/project/check-words.d.ts +32 -0
- package/dist/types/video/project/check.d.ts +42 -0
- package/dist/types/video/project/issues.d.ts +43 -0
- package/dist/types/video/project/schema.d.ts +2074 -0
- package/dist/types/video/project/suggest.d.ts +4 -0
- package/dist/types/video/project/words.d.ts +6 -0
- package/dist/types/video/render/browser-step.d.ts +5 -0
- package/dist/types/video/render/encode.d.ts +49 -0
- package/dist/types/video/render/index.d.ts +90 -0
- package/dist/types/video/render/layout.d.ts +26 -0
- package/dist/types/video/render/record.d.ts +80 -0
- package/dist/types/video/render/session.d.ts +64 -0
- package/dist/types/video/render/verify.d.ts +16 -0
- package/dist/types/video/replication/audio-provenance.d.ts +36 -0
- package/dist/types/video/replication/browser.d.ts +1 -0
- package/dist/types/video/replication/check.d.ts +19 -0
- package/dist/types/video/replication/contract.d.ts +683 -0
- package/dist/types/video/replication/io.d.ts +22 -0
- package/dist/types/video/replication/motion-bundle.d.ts +1 -0
- package/dist/types/video/replication/motion.d.ts +109 -0
- package/dist/types/video/replication/pairs.d.ts +69 -0
- package/dist/types/video/replication/prefill.d.ts +34 -0
- package/dist/types/video/replication/production.d.ts +163 -0
- package/dist/types/video/replication/revision.d.ts +2 -0
- package/dist/types/video/replication/schema.d.ts +56 -0
- package/dist/types/video/replication/source-clock.d.ts +24 -0
- package/dist/types/video/replication/speech-observed.d.ts +121 -0
- package/dist/types/video/replication/voice-spans.d.ts +3 -0
- package/dist/types/video/retarget/caption-look.d.ts +14 -0
- package/dist/types/video/retarget/fps.d.ts +7 -0
- package/dist/types/video/retarget/index.d.ts +248 -0
- package/dist/types/video/retarget/items.d.ts +44 -0
- package/dist/types/video/retarget/marks.d.ts +12 -0
- package/dist/types/video/retarget/pace.d.ts +36 -0
- package/dist/types/video/retarget/speak.d.ts +41 -0
- package/dist/types/video/retarget/tempo.d.ts +40 -0
- package/dist/types/video/retarget/titles.d.ts +76 -0
- package/dist/types/video/retarget/words.d.ts +39 -0
- package/dist/types/video/scene/author.d.ts +74 -0
- package/dist/types/video/scene/check.d.ts +64 -0
- package/dist/types/video/scene/copied.d.ts +30 -0
- package/dist/types/video/scene/cues.d.ts +40 -0
- package/dist/types/video/scene/examples.d.ts +129 -0
- package/dist/types/video/scene/findings.d.ts +71 -0
- package/dist/types/video/scene/fonts.d.ts +19 -0
- package/dist/types/video/scene/items.d.ts +23 -0
- package/dist/types/video/scene/library.d.ts +41 -0
- package/dist/types/video/scene/lint.d.ts +15 -0
- package/dist/types/video/scene/numbers.d.ts +39 -0
- package/dist/types/video/scene/pictures.d.ts +12 -0
- package/dist/types/video/scene/write.d.ts +41 -0
- package/dist/types/video/score/index.d.ts +13 -0
- package/dist/types/video/score/pair.d.ts +43 -0
- package/dist/types/video/score/picture.d.ts +14 -0
- package/dist/types/video/score/project-windows.d.ts +9 -0
- package/dist/types/video/score/shot-transition.d.ts +62 -0
- package/dist/types/video/score/shots.d.ts +101 -0
- package/dist/types/video/score/time.d.ts +22 -0
- package/dist/types/video/score/tracks.d.ts +42 -0
- package/dist/types/video/score/weights.d.ts +19 -0
- package/dist/types/video/sfx/cache.d.ts +16 -0
- package/dist/types/video/sfx/catalogue.d.ts +64 -0
- package/dist/types/video/sfx/extract.d.ts +65 -0
- package/dist/types/video/sfx/levels.d.ts +39 -0
- package/dist/types/video/sfx/library.d.ts +26 -0
- package/dist/types/video/sfx/place.d.ts +82 -0
- package/dist/types/video/sfx/project.d.ts +36 -0
- package/dist/types/video/sound/analysis.d.ts +46 -0
- package/dist/types/video/sound/breaks.d.ts +84 -0
- package/dist/types/video/sound/measure.d.ts +106 -0
- package/dist/types/video/sound/modes.d.ts +75 -0
- package/dist/types/video/sound/pcm.d.ts +21 -0
- package/dist/types/video/sound/reading.d.ts +124 -0
- package/dist/types/video/sound/speech-check.d.ts +76 -0
- package/dist/types/video/source/collect.d.ts +64 -0
- package/dist/types/video/source/read.d.ts +57 -0
- package/dist/types/video/source/used.d.ts +4 -0
- package/dist/types/video/speech/hosted.d.ts +36 -0
- package/dist/types/video/speech/index.d.ts +83 -0
- package/dist/types/video/speech/types.d.ts +41 -0
- package/dist/types/video/submit-retry.d.ts +15 -0
- package/dist/types/video/synth/generate.d.ts +53 -0
- package/dist/types/video/synth/truth.d.ts +8 -0
- package/dist/types/video/synth/write.d.ts +13 -0
- package/dist/types/video/template/capacity.d.ts +37 -0
- package/dist/types/video/template/card-elements.d.ts +17 -0
- package/dist/types/video/template/card.d.ts +22 -0
- package/dist/types/video/template/check-captions.d.ts +11 -0
- package/dist/types/video/template/check.d.ts +40 -0
- package/dist/types/video/template/facts.d.ts +90 -0
- package/dist/types/video/template/fill.d.ts +51 -0
- package/dist/types/video/template/fingerprint.d.ts +2 -0
- package/dist/types/video/template/fit.d.ts +60 -0
- package/dist/types/video/template/index.d.ts +8 -0
- package/dist/types/video/template/project.d.ts +21 -0
- package/dist/types/video/template/save.d.ts +52 -0
- package/dist/types/video/template/slots.d.ts +26 -0
- package/dist/types/video/template/speech-rules.d.ts +61 -0
- package/dist/types/video/template/split.d.ts +10 -0
- package/dist/types/video/template/structure.d.ts +81 -0
- package/dist/types/video/template/swap.d.ts +33 -0
- package/dist/types/video/template/types.d.ts +387 -0
- package/dist/types/video/text/bar.d.ts +63 -0
- package/dist/types/video/text/change.d.ts +19 -0
- package/dist/types/video/text/core.d.ts +25 -0
- package/dist/types/video/text/cues.d.ts +26 -0
- package/dist/types/video/text/fold.d.ts +9 -0
- package/dist/types/video/text/frame.d.ts +41 -0
- package/dist/types/video/text/highlight.d.ts +19 -0
- package/dist/types/video/text/index.d.ts +67 -0
- package/dist/types/video/text/letters.d.ts +85 -0
- package/dist/types/video/text/look.d.ts +53 -0
- package/dist/types/video/text/reader-command.d.ts +26 -0
- package/dist/types/video/text/reveal.d.ts +37 -0
- package/dist/types/video/text/rings.d.ts +39 -0
- package/dist/types/video/text/shadow.d.ts +44 -0
- package/dist/types/video/text/share.d.ts +2 -0
- package/dist/types/video/text/speech.d.ts +15 -0
- package/dist/types/video/text/strokes.d.ts +30 -0
- package/dist/types/video/text/types.d.ts +147 -0
- package/dist/types/video/timeline/cue-words.d.ts +27 -0
- package/dist/types/video/timeline/footage.d.ts +25 -0
- package/dist/types/video/timeline/frame.d.ts +55 -0
- package/dist/types/video/timeline/items.d.ts +28 -0
- package/dist/types/video/timeline/mix.d.ts +67 -0
- package/dist/types/video/timeline/resolve.d.ts +20 -0
- package/dist/types/video/timeline/spans.d.ts +32 -0
- package/dist/types/video/timeline/words.d.ts +64 -0
- package/dist/types/video/tool.d.ts +29 -0
- package/dist/types/video/types.d.ts +1057 -0
- package/dist/types/video/voice/create.d.ts +43 -0
- package/dist/types/video/voice/hosted.d.ts +36 -0
- package/dist/types/video/voice/index.d.ts +61 -0
- package/dist/types/video/voice/pace.d.ts +37 -0
- package/dist/types/video/voice/profile.d.ts +26 -0
- package/dist/types/video/voice/sample.d.ts +46 -0
- package/dist/types/video/wallet.d.ts +38 -0
- package/dist/types/video/work.d.ts +10 -0
- package/dist/types/workflow/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 +605 -0
- package/references/video-elements.md +199 -0
- package/references/video-examples/showcase/assets/pattern.svg +18 -0
- package/references/video-examples/showcase/assets/voice.sbg +4 -0
- package/references/video-examples/showcase/assets/voice.words.json +68 -0
- package/references/video-examples/showcase/video.json +550 -0
- package/references/video-examples/template-demo/TEMPLATE.md +30 -0
- package/references/video-examples/template-demo/fill.json +29 -0
- package/references/video-examples/template-demo/slots.json +210 -0
- package/references/video-examples/template-demo/template.json +105 -0
- package/references/video-motion.md +315 -0
- package/references/video-native-observation.md +37 -0
- package/references/video-performers.md +86 -0
- package/references/video-project.md +63 -0
- package/references/video-replication.md +276 -0
- package/references/video-scenes.md +366 -0
- package/references/video-sfx.md +109 -0
- package/references/video-sound.md +207 -0
- package/references/video-templates.md +177 -0
- package/references/video-tools.md +560 -0
- package/references/video.md +756 -0
- package/templates/community/README.md +274 -1
- package/templates/community/index.json +3829 -0
- package/templates/community/instagram-age-expectations/README.md +14 -0
- package/templates/community/instagram-age-expectations/SKILL.md +52 -0
- package/templates/community/instagram-age-expectations/source.json +9 -0
- package/templates/community/instagram-age-expectations/template.json +53 -0
- package/templates/community/instagram-artwork-detail/README.md +19 -0
- package/templates/community/instagram-artwork-detail/SKILL.md +53 -0
- package/templates/community/instagram-artwork-detail/source.json +9 -0
- package/templates/community/instagram-artwork-detail/template.json +61 -0
- package/templates/community/instagram-balanced-traits/README.md +12 -0
- package/templates/community/instagram-balanced-traits/SKILL.md +52 -0
- package/templates/community/instagram-balanced-traits/source.json +9 -0
- package/templates/community/instagram-balanced-traits/template.json +53 -0
- package/templates/community/instagram-behind-the-scenes/README.md +12 -0
- package/templates/community/instagram-behind-the-scenes/SKILL.md +53 -0
- package/templates/community/instagram-behind-the-scenes/source.json +9 -0
- package/templates/community/instagram-behind-the-scenes/template.json +52 -0
- package/templates/community/instagram-brand-personification/README.md +26 -0
- package/templates/community/instagram-brand-personification/SKILL.md +53 -0
- package/templates/community/instagram-brand-personification/source.json +9 -0
- package/templates/community/instagram-brand-personification/template.json +66 -0
- package/templates/community/instagram-brand-system/README.md +17 -0
- package/templates/community/instagram-brand-system/SKILL.md +53 -0
- package/templates/community/instagram-brand-system/source.json +9 -0
- package/templates/community/instagram-brand-system/template.json +60 -0
- package/templates/community/instagram-calendar-cheat-sheet/README.md +8 -0
- package/templates/community/instagram-calendar-cheat-sheet/SKILL.md +53 -0
- package/templates/community/instagram-calendar-cheat-sheet/source.json +9 -0
- package/templates/community/instagram-calendar-cheat-sheet/template.json +47 -0
- package/templates/community/instagram-capacity-planning/README.md +12 -0
- package/templates/community/instagram-capacity-planning/SKILL.md +53 -0
- package/templates/community/instagram-capacity-planning/source.json +9 -0
- package/templates/community/instagram-capacity-planning/template.json +55 -0
- package/templates/community/instagram-category-use-guide/README.md +14 -0
- package/templates/community/instagram-category-use-guide/SKILL.md +53 -0
- package/templates/community/instagram-category-use-guide/source.json +9 -0
- package/templates/community/instagram-category-use-guide/template.json +55 -0
- package/templates/community/instagram-character-led-tour/README.md +17 -0
- package/templates/community/instagram-character-led-tour/SKILL.md +53 -0
- package/templates/community/instagram-character-led-tour/source.json +9 -0
- package/templates/community/instagram-character-led-tour/template.json +56 -0
- package/templates/community/instagram-comic-dialogue/README.md +16 -0
- package/templates/community/instagram-comic-dialogue/SKILL.md +53 -0
- package/templates/community/instagram-comic-dialogue/source.json +9 -0
- package/templates/community/instagram-comic-dialogue/template.json +59 -0
- package/templates/community/instagram-command-shortcuts/README.md +13 -0
- package/templates/community/instagram-command-shortcuts/SKILL.md +53 -0
- package/templates/community/instagram-command-shortcuts/source.json +9 -0
- package/templates/community/instagram-command-shortcuts/template.json +52 -0
- package/templates/community/instagram-context-changes-meaning/README.md +11 -0
- package/templates/community/instagram-context-changes-meaning/SKILL.md +53 -0
- package/templates/community/instagram-context-changes-meaning/source.json +9 -0
- package/templates/community/instagram-context-changes-meaning/template.json +54 -0
- package/templates/community/instagram-continuous-canvas/README.md +16 -0
- package/templates/community/instagram-continuous-canvas/SKILL.md +52 -0
- package/templates/community/instagram-continuous-canvas/source.json +9 -0
- package/templates/community/instagram-continuous-canvas/template.json +59 -0
- package/templates/community/instagram-conversation-questions/README.md +12 -0
- package/templates/community/instagram-conversation-questions/SKILL.md +52 -0
- package/templates/community/instagram-conversation-questions/source.json +9 -0
- package/templates/community/instagram-conversation-questions/template.json +51 -0
- package/templates/community/instagram-copy-alternatives/README.md +11 -0
- package/templates/community/instagram-copy-alternatives/SKILL.md +53 -0
- package/templates/community/instagram-copy-alternatives/source.json +9 -0
- package/templates/community/instagram-copy-alternatives/template.json +50 -0
- package/templates/community/instagram-copyable-notes/README.md +13 -0
- package/templates/community/instagram-copyable-notes/SKILL.md +52 -0
- package/templates/community/instagram-copyable-notes/source.json +9 -0
- package/templates/community/instagram-copyable-notes/template.json +51 -0
- package/templates/community/instagram-curated-resources/README.md +13 -0
- package/templates/community/instagram-curated-resources/SKILL.md +52 -0
- package/templates/community/instagram-curated-resources/source.json +9 -0
- package/templates/community/instagram-curated-resources/template.json +54 -0
- package/templates/community/instagram-destination-costs/README.md +17 -0
- package/templates/community/instagram-destination-costs/SKILL.md +52 -0
- package/templates/community/instagram-destination-costs/source.json +9 -0
- package/templates/community/instagram-destination-costs/template.json +56 -0
- package/templates/community/instagram-diagram-reference/README.md +10 -0
- package/templates/community/instagram-diagram-reference/SKILL.md +53 -0
- package/templates/community/instagram-diagram-reference/source.json +9 -0
- package/templates/community/instagram-diagram-reference/template.json +52 -0
- package/templates/community/instagram-different-perspectives/README.md +15 -0
- package/templates/community/instagram-different-perspectives/SKILL.md +53 -0
- package/templates/community/instagram-different-perspectives/source.json +9 -0
- package/templates/community/instagram-different-perspectives/template.json +55 -0
- package/templates/community/instagram-document-reveal/README.md +8 -0
- package/templates/community/instagram-document-reveal/SKILL.md +53 -0
- package/templates/community/instagram-document-reveal/source.json +9 -0
- package/templates/community/instagram-document-reveal/template.json +46 -0
- package/templates/community/instagram-effect-breakdown/README.md +14 -0
- package/templates/community/instagram-effect-breakdown/SKILL.md +53 -0
- package/templates/community/instagram-effect-breakdown/source.json +9 -0
- package/templates/community/instagram-effect-breakdown/template.json +55 -0
- package/templates/community/instagram-effort-and-outcome/README.md +13 -0
- package/templates/community/instagram-effort-and-outcome/SKILL.md +52 -0
- package/templates/community/instagram-effort-and-outcome/source.json +9 -0
- package/templates/community/instagram-effort-and-outcome/template.json +54 -0
- package/templates/community/instagram-emotion-and-meaning/README.md +16 -0
- package/templates/community/instagram-emotion-and-meaning/SKILL.md +52 -0
- package/templates/community/instagram-emotion-and-meaning/source.json +9 -0
- package/templates/community/instagram-emotion-and-meaning/template.json +56 -0
- package/templates/community/instagram-everyday-interface-story/README.md +12 -0
- package/templates/community/instagram-everyday-interface-story/SKILL.md +53 -0
- package/templates/community/instagram-everyday-interface-story/source.json +9 -0
- package/templates/community/instagram-everyday-interface-story/template.json +51 -0
- package/templates/community/instagram-everyday-photo-diary/README.md +16 -0
- package/templates/community/instagram-everyday-photo-diary/SKILL.md +52 -0
- package/templates/community/instagram-everyday-photo-diary/source.json +9 -0
- package/templates/community/instagram-everyday-photo-diary/template.json +61 -0
- package/templates/community/instagram-evidence-to-method/README.md +13 -0
- package/templates/community/instagram-evidence-to-method/SKILL.md +53 -0
- package/templates/community/instagram-evidence-to-method/source.json +9 -0
- package/templates/community/instagram-evidence-to-method/template.json +56 -0
- package/templates/community/instagram-expectation-reality-review/README.md +18 -0
- package/templates/community/instagram-expectation-reality-review/SKILL.md +53 -0
- package/templates/community/instagram-expectation-reality-review/source.json +9 -0
- package/templates/community/instagram-expectation-reality-review/template.json +57 -0
- package/templates/community/instagram-experiment-story/README.md +20 -0
- package/templates/community/instagram-experiment-story/SKILL.md +54 -0
- package/templates/community/instagram-experiment-story/source.json +9 -0
- package/templates/community/instagram-experiment-story/template.json +58 -0
- package/templates/community/instagram-fill-in-speech/README.md +14 -0
- package/templates/community/instagram-fill-in-speech/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-speech/source.json +9 -0
- package/templates/community/instagram-fill-in-speech/template.json +53 -0
- package/templates/community/instagram-fill-in-workbook/README.md +16 -0
- package/templates/community/instagram-fill-in-workbook/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-workbook/source.json +9 -0
- package/templates/community/instagram-fill-in-workbook/template.json +57 -0
- package/templates/community/instagram-font-pairing/README.md +14 -0
- package/templates/community/instagram-font-pairing/SKILL.md +52 -0
- package/templates/community/instagram-font-pairing/source.json +9 -0
- package/templates/community/instagram-font-pairing/template.json +53 -0
- package/templates/community/instagram-goal-benchmarks/README.md +12 -0
- package/templates/community/instagram-goal-benchmarks/SKILL.md +53 -0
- package/templates/community/instagram-goal-benchmarks/source.json +9 -0
- package/templates/community/instagram-goal-benchmarks/template.json +51 -0
- package/templates/community/instagram-identity-match/README.md +19 -0
- package/templates/community/instagram-identity-match/SKILL.md +52 -0
- package/templates/community/instagram-identity-match/source.json +9 -0
- package/templates/community/instagram-identity-match/template.json +64 -0
- package/templates/community/instagram-illustrated-opinion/README.md +16 -0
- package/templates/community/instagram-illustrated-opinion/SKILL.md +52 -0
- package/templates/community/instagram-illustrated-opinion/source.json +9 -0
- package/templates/community/instagram-illustrated-opinion/template.json +56 -0
- package/templates/community/instagram-illustrated-story-explainer/README.md +14 -0
- package/templates/community/instagram-illustrated-story-explainer/SKILL.md +53 -0
- package/templates/community/instagram-illustrated-story-explainer/source.json +9 -0
- package/templates/community/instagram-illustrated-story-explainer/template.json +55 -0
- package/templates/community/instagram-image-to-palette/README.md +17 -0
- package/templates/community/instagram-image-to-palette/SKILL.md +53 -0
- package/templates/community/instagram-image-to-palette/source.json +9 -0
- package/templates/community/instagram-image-to-palette/template.json +58 -0
- package/templates/community/instagram-incremental-assembly/README.md +15 -0
- package/templates/community/instagram-incremental-assembly/SKILL.md +52 -0
- package/templates/community/instagram-incremental-assembly/source.json +9 -0
- package/templates/community/instagram-incremental-assembly/template.json +55 -0
- package/templates/community/instagram-interview-storyboard/README.md +25 -0
- package/templates/community/instagram-interview-storyboard/SKILL.md +53 -0
- package/templates/community/instagram-interview-storyboard/source.json +9 -0
- package/templates/community/instagram-interview-storyboard/template.json +65 -0
- package/templates/community/instagram-launch-news/README.md +9 -0
- package/templates/community/instagram-launch-news/SKILL.md +53 -0
- package/templates/community/instagram-launch-news/source.json +9 -0
- package/templates/community/instagram-launch-news/template.json +55 -0
- package/templates/community/instagram-layout-anatomy/README.md +12 -0
- package/templates/community/instagram-layout-anatomy/SKILL.md +53 -0
- package/templates/community/instagram-layout-anatomy/source.json +9 -0
- package/templates/community/instagram-layout-anatomy/template.json +54 -0
- package/templates/community/instagram-learning-path/README.md +14 -0
- package/templates/community/instagram-learning-path/SKILL.md +53 -0
- package/templates/community/instagram-learning-path/source.json +9 -0
- package/templates/community/instagram-learning-path/template.json +55 -0
- package/templates/community/instagram-local-picks/README.md +16 -0
- package/templates/community/instagram-local-picks/SKILL.md +52 -0
- package/templates/community/instagram-local-picks/source.json +9 -0
- package/templates/community/instagram-local-picks/template.json +55 -0
- package/templates/community/instagram-matched-test/README.md +10 -0
- package/templates/community/instagram-matched-test/SKILL.md +53 -0
- package/templates/community/instagram-matched-test/source.json +9 -0
- package/templates/community/instagram-matched-test/template.json +49 -0
- package/templates/community/instagram-metric-formulas/README.md +15 -0
- package/templates/community/instagram-metric-formulas/SKILL.md +53 -0
- package/templates/community/instagram-metric-formulas/source.json +9 -0
- package/templates/community/instagram-metric-formulas/template.json +55 -0
- package/templates/community/instagram-milestones-and-feelings/README.md +13 -0
- package/templates/community/instagram-milestones-and-feelings/SKILL.md +52 -0
- package/templates/community/instagram-milestones-and-feelings/source.json +9 -0
- package/templates/community/instagram-milestones-and-feelings/template.json +56 -0
- package/templates/community/instagram-mistakes-and-alternatives/README.md +12 -0
- package/templates/community/instagram-mistakes-and-alternatives/SKILL.md +52 -0
- package/templates/community/instagram-mistakes-and-alternatives/source.json +9 -0
- package/templates/community/instagram-mistakes-and-alternatives/template.json +53 -0
- package/templates/community/instagram-myth-and-fact/README.md +12 -0
- package/templates/community/instagram-myth-and-fact/SKILL.md +53 -0
- package/templates/community/instagram-myth-and-fact/source.json +9 -0
- package/templates/community/instagram-myth-and-fact/template.json +51 -0
- package/templates/community/instagram-news-digest/README.md +13 -0
- package/templates/community/instagram-news-digest/SKILL.md +53 -0
- package/templates/community/instagram-news-digest/source.json +9 -0
- package/templates/community/instagram-news-digest/template.json +52 -0
- package/templates/community/instagram-numbers-at-human-scale/README.md +12 -0
- package/templates/community/instagram-numbers-at-human-scale/SKILL.md +53 -0
- package/templates/community/instagram-numbers-at-human-scale/source.json +9 -0
- package/templates/community/instagram-numbers-at-human-scale/template.json +52 -0
- package/templates/community/instagram-object-led-activities/README.md +16 -0
- package/templates/community/instagram-object-led-activities/SKILL.md +53 -0
- package/templates/community/instagram-object-led-activities/source.json +9 -0
- package/templates/community/instagram-object-led-activities/template.json +56 -0
- package/templates/community/instagram-object-name-origins/README.md +11 -0
- package/templates/community/instagram-object-name-origins/SKILL.md +52 -0
- package/templates/community/instagram-object-name-origins/source.json +9 -0
- package/templates/community/instagram-object-name-origins/template.json +52 -0
- package/templates/community/instagram-one-input-many-results/README.md +14 -0
- package/templates/community/instagram-one-input-many-results/SKILL.md +53 -0
- package/templates/community/instagram-one-input-many-results/source.json +9 -0
- package/templates/community/instagram-one-input-many-results/template.json +52 -0
- package/templates/community/instagram-one-variable-comparison/README.md +11 -0
- package/templates/community/instagram-one-variable-comparison/SKILL.md +53 -0
- package/templates/community/instagram-one-variable-comparison/source.json +9 -0
- package/templates/community/instagram-one-variable-comparison/template.json +52 -0
- package/templates/community/instagram-opportunity-guide/README.md +18 -0
- package/templates/community/instagram-opportunity-guide/SKILL.md +53 -0
- package/templates/community/instagram-opportunity-guide/source.json +9 -0
- package/templates/community/instagram-opportunity-guide/template.json +57 -0
- package/templates/community/instagram-palette-application-board/README.md +11 -0
- package/templates/community/instagram-palette-application-board/SKILL.md +52 -0
- package/templates/community/instagram-palette-application-board/source.json +9 -0
- package/templates/community/instagram-palette-application-board/template.json +52 -0
- package/templates/community/instagram-personal-budget-case/README.md +14 -0
- package/templates/community/instagram-personal-budget-case/SKILL.md +53 -0
- package/templates/community/instagram-personal-budget-case/source.json +9 -0
- package/templates/community/instagram-personal-budget-case/template.json +53 -0
- package/templates/community/instagram-personal-experiment/README.md +11 -0
- package/templates/community/instagram-personal-experiment/SKILL.md +53 -0
- package/templates/community/instagram-personal-experiment/source.json +9 -0
- package/templates/community/instagram-personal-experiment/template.json +52 -0
- package/templates/community/instagram-photo-and-technical-sketch/README.md +10 -0
- package/templates/community/instagram-photo-and-technical-sketch/SKILL.md +53 -0
- package/templates/community/instagram-photo-and-technical-sketch/source.json +9 -0
- package/templates/community/instagram-photo-and-technical-sketch/template.json +49 -0
- package/templates/community/instagram-photo-moment-story/README.md +12 -0
- package/templates/community/instagram-photo-moment-story/SKILL.md +53 -0
- package/templates/community/instagram-photo-moment-story/source.json +9 -0
- package/templates/community/instagram-photo-moment-story/template.json +53 -0
- package/templates/community/instagram-product-change/README.md +9 -0
- package/templates/community/instagram-product-change/SKILL.md +53 -0
- package/templates/community/instagram-product-change/source.json +10 -0
- package/templates/community/instagram-product-change/template.json +53 -0
- package/templates/community/instagram-prompt-result-reference/README.md +26 -0
- package/templates/community/instagram-prompt-result-reference/SKILL.md +53 -0
- package/templates/community/instagram-prompt-result-reference/source.json +9 -0
- package/templates/community/instagram-prompt-result-reference/template.json +68 -0
- package/templates/community/instagram-public-follow-up/README.md +15 -0
- package/templates/community/instagram-public-follow-up/SKILL.md +53 -0
- package/templates/community/instagram-public-follow-up/source.json +9 -0
- package/templates/community/instagram-public-follow-up/template.json +54 -0
- package/templates/community/instagram-reader-question-answer/README.md +10 -0
- package/templates/community/instagram-reader-question-answer/SKILL.md +53 -0
- package/templates/community/instagram-reader-question-answer/source.json +9 -0
- package/templates/community/instagram-reader-question-answer/template.json +48 -0
- package/templates/community/instagram-remaining-capacity/README.md +11 -0
- package/templates/community/instagram-remaining-capacity/SKILL.md +52 -0
- package/templates/community/instagram-remaining-capacity/source.json +9 -0
- package/templates/community/instagram-remaining-capacity/template.json +52 -0
- package/templates/community/instagram-research-brief/README.md +16 -0
- package/templates/community/instagram-research-brief/SKILL.md +53 -0
- package/templates/community/instagram-research-brief/source.json +9 -0
- package/templates/community/instagram-research-brief/template.json +54 -0
- package/templates/community/instagram-result-and-recipe/README.md +17 -0
- package/templates/community/instagram-result-and-recipe/SKILL.md +53 -0
- package/templates/community/instagram-result-and-recipe/source.json +9 -0
- package/templates/community/instagram-result-and-recipe/template.json +56 -0
- package/templates/community/instagram-result-to-steps/README.md +13 -0
- package/templates/community/instagram-result-to-steps/SKILL.md +53 -0
- package/templates/community/instagram-result-to-steps/source.json +9 -0
- package/templates/community/instagram-result-to-steps/template.json +51 -0
- package/templates/community/instagram-reverse-instruction/README.md +15 -0
- package/templates/community/instagram-reverse-instruction/SKILL.md +53 -0
- package/templates/community/instagram-reverse-instruction/source.json +9 -0
- package/templates/community/instagram-reverse-instruction/template.json +54 -0
- package/templates/community/instagram-said-and-meant/README.md +9 -0
- package/templates/community/instagram-said-and-meant/SKILL.md +52 -0
- package/templates/community/instagram-said-and-meant/source.json +10 -0
- package/templates/community/instagram-said-and-meant/template.json +46 -0
- package/templates/community/instagram-same-budget-choices/README.md +12 -0
- package/templates/community/instagram-same-budget-choices/SKILL.md +53 -0
- package/templates/community/instagram-same-budget-choices/source.json +9 -0
- package/templates/community/instagram-same-budget-choices/template.json +52 -0
- package/templates/community/instagram-screenshot-walkthrough/README.md +12 -0
- package/templates/community/instagram-screenshot-walkthrough/SKILL.md +53 -0
- package/templates/community/instagram-screenshot-walkthrough/source.json +9 -0
- package/templates/community/instagram-screenshot-walkthrough/template.json +58 -0
- package/templates/community/instagram-searchable-asset-index/README.md +13 -0
- package/templates/community/instagram-searchable-asset-index/SKILL.md +52 -0
- package/templates/community/instagram-searchable-asset-index/source.json +9 -0
- package/templates/community/instagram-searchable-asset-index/template.json +53 -0
- package/templates/community/instagram-similar-concepts/README.md +15 -0
- package/templates/community/instagram-similar-concepts/SKILL.md +52 -0
- package/templates/community/instagram-similar-concepts/source.json +9 -0
- package/templates/community/instagram-similar-concepts/template.json +54 -0
- package/templates/community/instagram-single-event-news/README.md +14 -0
- package/templates/community/instagram-single-event-news/SKILL.md +53 -0
- package/templates/community/instagram-single-event-news/source.json +9 -0
- package/templates/community/instagram-single-event-news/template.json +56 -0
- package/templates/community/instagram-style-assembly/README.md +13 -0
- package/templates/community/instagram-style-assembly/SKILL.md +53 -0
- package/templates/community/instagram-style-assembly/source.json +9 -0
- package/templates/community/instagram-style-assembly/template.json +53 -0
- package/templates/community/instagram-style-choice/README.md +14 -0
- package/templates/community/instagram-style-choice/SKILL.md +53 -0
- package/templates/community/instagram-style-choice/source.json +9 -0
- package/templates/community/instagram-style-choice/template.json +58 -0
- package/templates/community/instagram-symbolism-in-artifact/README.md +9 -0
- package/templates/community/instagram-symbolism-in-artifact/SKILL.md +52 -0
- package/templates/community/instagram-symbolism-in-artifact/source.json +9 -0
- package/templates/community/instagram-symbolism-in-artifact/template.json +47 -0
- package/templates/community/instagram-taste-matched-recommendations/README.md +17 -0
- package/templates/community/instagram-taste-matched-recommendations/SKILL.md +52 -0
- package/templates/community/instagram-taste-matched-recommendations/source.json +9 -0
- package/templates/community/instagram-taste-matched-recommendations/template.json +56 -0
- package/templates/community/instagram-then-now-pairs/README.md +14 -0
- package/templates/community/instagram-then-now-pairs/SKILL.md +52 -0
- package/templates/community/instagram-then-now-pairs/source.json +9 -0
- package/templates/community/instagram-then-now-pairs/template.json +52 -0
- package/templates/community/instagram-timed-action-plan/README.md +15 -0
- package/templates/community/instagram-timed-action-plan/SKILL.md +53 -0
- package/templates/community/instagram-timed-action-plan/source.json +9 -0
- package/templates/community/instagram-timed-action-plan/template.json +60 -0
- package/templates/community/instagram-tools-by-task/README.md +13 -0
- package/templates/community/instagram-tools-by-task/SKILL.md +53 -0
- package/templates/community/instagram-tools-by-task/source.json +9 -0
- package/templates/community/instagram-tools-by-task/template.json +57 -0
- package/templates/community/instagram-two-perspectives/README.md +8 -0
- package/templates/community/instagram-two-perspectives/SKILL.md +52 -0
- package/templates/community/instagram-two-perspectives/source.json +9 -0
- package/templates/community/instagram-two-perspectives/template.json +47 -0
- package/templates/community/instagram-two-views-one-dataset/README.md +8 -0
- package/templates/community/instagram-two-views-one-dataset/SKILL.md +53 -0
- package/templates/community/instagram-two-views-one-dataset/source.json +9 -0
- package/templates/community/instagram-two-views-one-dataset/template.json +51 -0
- package/templates/community/instagram-version-change-audit/README.md +10 -0
- package/templates/community/instagram-version-change-audit/SKILL.md +53 -0
- package/templates/community/instagram-version-change-audit/source.json +9 -0
- package/templates/community/instagram-version-change-audit/template.json +51 -0
- package/templates/community/instagram-visual-analogy/README.md +13 -0
- package/templates/community/instagram-visual-analogy/SKILL.md +53 -0
- package/templates/community/instagram-visual-analogy/source.json +9 -0
- package/templates/community/instagram-visual-analogy/template.json +53 -0
- package/templates/community/instagram-visual-guess/README.md +15 -0
- package/templates/community/instagram-visual-guess/SKILL.md +53 -0
- package/templates/community/instagram-visual-guess/source.json +9 -0
- package/templates/community/instagram-visual-guess/template.json +54 -0
- package/templates/community/instagram-visual-technique-reference/README.md +18 -0
- package/templates/community/instagram-visual-technique-reference/SKILL.md +53 -0
- package/templates/community/instagram-visual-technique-reference/source.json +9 -0
- package/templates/community/instagram-visual-technique-reference/template.json +60 -0
- package/templates/community/instagram-worked-examples/README.md +13 -0
- package/templates/community/instagram-worked-examples/SKILL.md +52 -0
- package/templates/community/instagram-worked-examples/source.json +9 -0
- package/templates/community/instagram-worked-examples/template.json +57 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What the video engine needs from the place it runs in, beyond files and a browser: local programs (ffmpeg, and the
|
|
3
|
+
* tools the user names in the environment) and scratch directories on the real disk. A host over a virtual disk has
|
|
4
|
+
* neither, and the video commands say so instead of failing half-way.
|
|
5
|
+
*/
|
|
6
|
+
import { type CpuBudget } from '../cpu-budget';
|
|
7
|
+
import type { LocalPrograms, Runtime } from '../runtime';
|
|
8
|
+
/** A video command was run where it cannot work, or a program it needs is missing. The message says what to do. */
|
|
9
|
+
export declare class VideoUnavailableError extends Error {
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const programsOf: (rt: Runtime) => LocalPrograms;
|
|
13
|
+
/**
|
|
14
|
+
* The CPU budget of the video engine: POPOST_CPUS when it is set in the runtime's environment, else what the host
|
|
15
|
+
* reports (the Node runtime: the affinity and the cgroup quota of the process; see cpu-budget.ts). Everything that
|
|
16
|
+
* decides how much runs at once derives from it; nothing in the engine asks the machine for its processor count.
|
|
17
|
+
*/
|
|
18
|
+
export declare const cpuBudgetOf: (rt: Runtime) => CpuBudget;
|
|
19
|
+
/**
|
|
20
|
+
* Parts that each keep several processors busy (describe's measurement, reader and transcriber) run side by side from
|
|
21
|
+
* this budget up, and one after another below it. Measured on a 30 s clip with both tools: side by side 27 s on four
|
|
22
|
+
* processors; one after another 37 s on two and 53 s on one.
|
|
23
|
+
*/
|
|
24
|
+
export declare const SIDE_BY_SIDE_FROM = 4;
|
|
25
|
+
export declare const partsSideBySide: (rt: Runtime) => boolean;
|
|
26
|
+
/**
|
|
27
|
+
* How many heavy jobs of a batch (an ffmpeg each: frames to cut out, pictures to make, files to read) run at once:
|
|
28
|
+
* one per two processors of the budget, at least one. Each job's own threads come from the budget too.
|
|
29
|
+
*/
|
|
30
|
+
export declare const heavyJobs: (rt: Runtime) => number;
|
|
31
|
+
/**
|
|
32
|
+
* `f` over `items` with at most `limit` running at once; the results in the order of the items. After a failure no
|
|
33
|
+
* new item starts, and the first failure is thrown once the running ones have ended.
|
|
34
|
+
*/
|
|
35
|
+
export declare const mapLimit: <T, R>(items: readonly T[], limit: number, f: (item: T, i: number) => Promise<R>) => Promise<R[]>;
|
|
36
|
+
/** Runs `work` with a new scratch directory and removes the directory afterwards, also when `work` throws. */
|
|
37
|
+
export declare const withTempDir: <T>(rt: Runtime, prefix: string, work: (dir: string) => Promise<T>) => Promise<T>;
|
|
38
|
+
/**
|
|
39
|
+
* A tool the user named in an environment variable (`POPOST_OCR_CMD`, `POPOST_ASR_CMD`, `POPOST_TTS_CMD`,
|
|
40
|
+
* `POPOST_GEN_CMD`): the program and its leading arguments, split on spaces. `undefined` when the variable is unset.
|
|
41
|
+
*/
|
|
42
|
+
export declare const toolCommand: (rt: Runtime, variable: string) => string[] | undefined;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { PopostClient } from '../providers/api';
|
|
2
|
+
import type { Runtime } from '../runtime';
|
|
3
|
+
export declare const platform: (rt: Runtime, timeoutSec?: number) => PopostClient;
|
|
4
|
+
/** A stable operation key (a version-4 UUID shape) for what `parts` describes: the same request sent again is the same operation. */
|
|
5
|
+
export declare const operationKeyOf: (parts: unknown) => string;
|
|
6
|
+
/** A word and its time in seconds; confidence (0..1) only when the platform gives one. */
|
|
7
|
+
export interface WordTime {
|
|
8
|
+
text: string;
|
|
9
|
+
start: number;
|
|
10
|
+
end: number;
|
|
11
|
+
confidence?: number;
|
|
12
|
+
}
|
|
13
|
+
/** The words of an answer that have a text and a time; anything else in the list is left out. */
|
|
14
|
+
export declare const wordTimesOf: (value: unknown) => WordTime[];
|
|
15
|
+
/** The account's credit balance (GET /me, free), or undefined when it cannot be read. */
|
|
16
|
+
export declare const accountBalance: (rt: Runtime) => Promise<number | undefined>;
|
|
17
|
+
/** A popost.ai account is connected (an API key, or the login of popost auth login). */
|
|
18
|
+
export declare const connected: (rt: Runtime) => boolean;
|
|
19
|
+
export interface SpeechAnswer {
|
|
20
|
+
audioUrl: string;
|
|
21
|
+
chargedCredits: number;
|
|
22
|
+
words: WordTime[];
|
|
23
|
+
}
|
|
24
|
+
export declare const speechAnswerOf: (data: unknown) => SpeechAnswer;
|
|
25
|
+
export interface NewVoice {
|
|
26
|
+
operationKey: string;
|
|
27
|
+
name: string;
|
|
28
|
+
language?: 'zh' | 'en';
|
|
29
|
+
description?: string;
|
|
30
|
+
sizeBytes: number;
|
|
31
|
+
}
|
|
32
|
+
/** Asks for a new personal voice. uploadUrl null: this operation key already made its voice. */
|
|
33
|
+
export declare const startVoice: (rt: Runtime, v: NewVoice) => Promise<{
|
|
34
|
+
id: string;
|
|
35
|
+
uploadUrl: string | null;
|
|
36
|
+
}>;
|
|
37
|
+
/** Says the sample is uploaded; the answer is the voice as the catalog lists it. */
|
|
38
|
+
export declare const finishVoice: (rt: Runtime, id: string) => Promise<Record<string, unknown> & {
|
|
39
|
+
id: string;
|
|
40
|
+
}>;
|
|
41
|
+
export interface TranscriptionJob {
|
|
42
|
+
id: string;
|
|
43
|
+
uploadUrl: string | null;
|
|
44
|
+
state: string;
|
|
45
|
+
}
|
|
46
|
+
export declare const startTranscription: (rt: Runtime, o: {
|
|
47
|
+
operationKey: string;
|
|
48
|
+
sizeBytes: number;
|
|
49
|
+
language?: string;
|
|
50
|
+
}) => Promise<TranscriptionJob>;
|
|
51
|
+
/** Credits a transcription of this many seconds of sound costs. Free. */
|
|
52
|
+
export declare const quoteTranscription: (rt: Runtime, seconds: number) => Promise<number>;
|
|
53
|
+
export interface Transcription {
|
|
54
|
+
id: string;
|
|
55
|
+
state: string;
|
|
56
|
+
language: string;
|
|
57
|
+
seconds: number;
|
|
58
|
+
chargedCredits: number;
|
|
59
|
+
words: WordTime[];
|
|
60
|
+
}
|
|
61
|
+
/** Runs an uploaded transcription, charging at most maxCredits (once per job). An unknown outcome is asked again (paidPost), then throws AmbiguousSubmitError. */
|
|
62
|
+
export declare const runTranscription: (rt: Runtime, id: string, maxCredits: number, hint: string) => Promise<Transcription>;
|
|
63
|
+
/** A transcription as it is now; reading it never charges. */
|
|
64
|
+
export declare const readTranscription: (rt: Runtime, id: string) => Promise<Transcription>;
|
|
65
|
+
/** Uploads a WAV to the signed address of a new voice or a transcription. */
|
|
66
|
+
export declare const uploadWav: (rt: Runtime, url: string, bytes: Uint8Array, what: string) => Promise<void>;
|
|
67
|
+
/** What a generated track of a length costs, and what makes it: the tier (when the generator returns a whole track) and its longest track. */
|
|
68
|
+
export interface MusicQuote {
|
|
69
|
+
credits: number;
|
|
70
|
+
model: string | null;
|
|
71
|
+
maxTrackSeconds: number | null;
|
|
72
|
+
}
|
|
73
|
+
/** The price of a generated track of this many seconds, with its tier. Free. */
|
|
74
|
+
export declare const quoteMusicTrack: (rt: Runtime, seconds: number) => Promise<MusicQuote>;
|
|
75
|
+
/** Credits a generated track of this many seconds costs. Free. */
|
|
76
|
+
export declare const quoteMusic: (rt: Runtime, seconds: number) => Promise<number>;
|
|
77
|
+
export interface Music {
|
|
78
|
+
id: string;
|
|
79
|
+
state: string;
|
|
80
|
+
seconds: number;
|
|
81
|
+
chargedCredits: number;
|
|
82
|
+
audioUrl: string | null;
|
|
83
|
+
/** Of a failed job: 'rejected' (the prompt was refused) or 'unavailable' (the generator failed). */
|
|
84
|
+
failure: string | null;
|
|
85
|
+
/** With 'rejected': the prompt rewritten so that it passes, when the platform has one. */
|
|
86
|
+
suggestion: string | null;
|
|
87
|
+
/** The tier that made the track when the generator returns a whole track (longer than asked: it is cut here); null otherwise. */
|
|
88
|
+
model: string | null;
|
|
89
|
+
/** The longest track that tier makes, in seconds. */
|
|
90
|
+
maxTrackSeconds: number | null;
|
|
91
|
+
}
|
|
92
|
+
export interface MusicRequest {
|
|
93
|
+
operationKey: string;
|
|
94
|
+
prompt: string;
|
|
95
|
+
seconds: number;
|
|
96
|
+
instrumental: boolean;
|
|
97
|
+
maxCredits: number;
|
|
98
|
+
}
|
|
99
|
+
/** Asks for a track, charging at most maxCredits (once per operation key). An unknown outcome is asked again (paidPost), then throws AmbiguousSubmitError. */
|
|
100
|
+
export declare const startMusic: (rt: Runtime, o: MusicRequest, hint: string) => Promise<Music>;
|
|
101
|
+
/** A music job as it is now; reading it never charges. */
|
|
102
|
+
export declare const readMusic: (rt: Runtime, id: string) => Promise<Music>;
|
|
103
|
+
/** What a listener says of a sound: its music, its ambience, its one-shot effects and the kind of its speech. */
|
|
104
|
+
export interface SoundAnalysisResult {
|
|
105
|
+
music: {
|
|
106
|
+
present: boolean;
|
|
107
|
+
description: string;
|
|
108
|
+
genre: string;
|
|
109
|
+
mood: string;
|
|
110
|
+
tempo: 'slow' | 'medium' | 'fast' | null;
|
|
111
|
+
bpm: number | null;
|
|
112
|
+
instruments: string[];
|
|
113
|
+
vocals: 'none' | 'sung' | 'spoken-sample' | 'rap';
|
|
114
|
+
energy: string;
|
|
115
|
+
sections: {
|
|
116
|
+
from: number;
|
|
117
|
+
to: number;
|
|
118
|
+
what: string;
|
|
119
|
+
}[];
|
|
120
|
+
};
|
|
121
|
+
ambience: {
|
|
122
|
+
present: boolean;
|
|
123
|
+
description: string;
|
|
124
|
+
};
|
|
125
|
+
effects: {
|
|
126
|
+
at: number;
|
|
127
|
+
what: string;
|
|
128
|
+
kind: string;
|
|
129
|
+
}[];
|
|
130
|
+
speech: {
|
|
131
|
+
present: boolean;
|
|
132
|
+
kind: 'none' | 'narration' | 'on-camera-or-dialogue' | 'sung' | 'fragments';
|
|
133
|
+
languages: string[];
|
|
134
|
+
};
|
|
135
|
+
summary: string;
|
|
136
|
+
}
|
|
137
|
+
export interface SoundAnalysis {
|
|
138
|
+
id: string;
|
|
139
|
+
state: string;
|
|
140
|
+
seconds: number;
|
|
141
|
+
chargedCredits: number;
|
|
142
|
+
failure: string | null;
|
|
143
|
+
result: SoundAnalysisResult | null;
|
|
144
|
+
}
|
|
145
|
+
/** The result of an analysis with every field in its place; a field the platform left out is empty, never invented. */
|
|
146
|
+
export declare const soundResultOf: (data: unknown) => SoundAnalysisResult | null;
|
|
147
|
+
export declare const startSoundAnalysis: (rt: Runtime, o: {
|
|
148
|
+
operationKey: string;
|
|
149
|
+
sizeBytes: number;
|
|
150
|
+
language?: "en" | "zh";
|
|
151
|
+
}) => Promise<{
|
|
152
|
+
id: string;
|
|
153
|
+
uploadUrl: string | null;
|
|
154
|
+
state: string;
|
|
155
|
+
}>;
|
|
156
|
+
/** Credits an analysis of this many seconds of sound costs. Free. */
|
|
157
|
+
export declare const quoteSoundAnalysis: (rt: Runtime, seconds: number) => Promise<number>;
|
|
158
|
+
/** Runs an uploaded analysis, charging at most maxCredits (once per job); it answers when the analysis is done. An unknown outcome is asked again (paidPost), then throws AmbiguousSubmitError. */
|
|
159
|
+
export declare const runSoundAnalysis: (rt: Runtime, id: string, maxCredits: number, hint: string) => Promise<SoundAnalysis>;
|
|
160
|
+
/** An analysis as it is now; reading it never charges. */
|
|
161
|
+
export declare const readSoundAnalysis: (rt: Runtime, id: string) => Promise<SoundAnalysis>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pictures of a video for whoever looks at them, now usually the agent that writes the fill and the scenes: three
|
|
3
|
+
* frames of every shot and a sheet with the three side by side, or the frames at given moments. With a second video,
|
|
4
|
+
* each picture is the first video's frame beside the other's frame at the same share of its length, labelled A and B,
|
|
5
|
+
* so that a re-creation can be held against its reference although their lengths differ (or beside the other's frame
|
|
6
|
+
* at a moment of its own, the matching moment compare names). Frames come from
|
|
7
|
+
* one exact source-frame extraction per video; ffmpeg joins them. Prints nothing: the caller reports the files.
|
|
8
|
+
*/
|
|
9
|
+
import type { Runtime } from '../../runtime';
|
|
10
|
+
export type Part = 'a' | 'b' | 'c';
|
|
11
|
+
/**
|
|
12
|
+
* One frame to show: the file name it gets (without extension) and where it is in the first video; against: the
|
|
13
|
+
* other video's frame to show beside it, when it is not the one at the same share of its length.
|
|
14
|
+
*/
|
|
15
|
+
export interface LookMoment {
|
|
16
|
+
name: string;
|
|
17
|
+
frame: number;
|
|
18
|
+
shot?: number;
|
|
19
|
+
part?: Part;
|
|
20
|
+
against?: number;
|
|
21
|
+
}
|
|
22
|
+
export interface LookPicture {
|
|
23
|
+
file: string;
|
|
24
|
+
/** The frame of the first video, and its time in seconds. */
|
|
25
|
+
frame: number;
|
|
26
|
+
second: number;
|
|
27
|
+
/** The shot (from 1) and which of its three frames, for a shot's pictures. */
|
|
28
|
+
shot?: number;
|
|
29
|
+
part?: Part;
|
|
30
|
+
/** With a second video: its frame at the same share of its length (B, on the right). */
|
|
31
|
+
against?: {
|
|
32
|
+
frame: number;
|
|
33
|
+
second: number;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export interface LookSheet {
|
|
37
|
+
file: string;
|
|
38
|
+
shot: number;
|
|
39
|
+
pictures: string[];
|
|
40
|
+
}
|
|
41
|
+
export interface LookResult {
|
|
42
|
+
pictures: LookPicture[];
|
|
43
|
+
sheets: LookSheet[];
|
|
44
|
+
}
|
|
45
|
+
export interface LookOptions {
|
|
46
|
+
video: string;
|
|
47
|
+
outDir: string;
|
|
48
|
+
moments: LookMoment[];
|
|
49
|
+
/** Shown beside every frame, at the same share of its length. */
|
|
50
|
+
against?: string;
|
|
51
|
+
/** Width of one frame in pixels. Default 480. */
|
|
52
|
+
width?: number;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Three moments of every shot (frames start .. end-1), at the times the plan step looks at: a quarter, a half and three
|
|
56
|
+
* quarters of the way through, away from the transitions at its two ends. Named shot-NN-a, -b, -c (NN from 01).
|
|
57
|
+
*/
|
|
58
|
+
export declare const shotMoments: (shots: readonly {
|
|
59
|
+
start: number;
|
|
60
|
+
end: number;
|
|
61
|
+
}[]) => LookMoment[];
|
|
62
|
+
/** The frames at these seconds of a video of `frames` frames at `fps`, named at-01, at-02 … in the order given. */
|
|
63
|
+
export declare const secondMoments: (seconds: readonly number[], fps: number, frames: number) => LookMoment[];
|
|
64
|
+
/** drawbox filters that write a white letter on a dark square in the top left corner of a picture `height` high. */
|
|
65
|
+
export declare const labelFilter: (letter: "A" | "B", height: number) => string;
|
|
66
|
+
/** Writes one JPEG per moment into outDir (a pair with `against`), and a sheet for every shot that has all three frames. */
|
|
67
|
+
export declare const lookAt: (rt: Runtime, o: LookOptions) => Promise<LookResult>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pictures describe wrote of a reference (describe/frames.ts), made again of another video at the matching moments:
|
|
3
|
+
* a render put beside its reference sheet by sheet, the same names in another directory. The other video is placed by
|
|
4
|
+
* share of length (its frame n of N against the reference's frame m of M), as look --against places its frames, so a
|
|
5
|
+
* render of the same length is read at the same frames, and one that is longer or shorter at the same share of it. Its
|
|
6
|
+
* frames are drawn as wide as the reference's, each with its own time.
|
|
7
|
+
*/
|
|
8
|
+
import type { Runtime } from '../../runtime';
|
|
9
|
+
import type { Measure } from '../types';
|
|
10
|
+
import { type SheetResult } from './sheets';
|
|
11
|
+
export interface LikeResult {
|
|
12
|
+
sheets: SheetResult[];
|
|
13
|
+
/** Frames of the other video per frame of the reference. */
|
|
14
|
+
scale: number;
|
|
15
|
+
notes: string[];
|
|
16
|
+
}
|
|
17
|
+
/** Writes opening.jpg, shots/NN-frames.jpg and transitions/NN.jpg of video into outDir, at the moments of the reference's. */
|
|
18
|
+
export declare const sheetsLike: (rt: Runtime, video: string, reference: Measure, outDir: string) => Promise<LikeResult>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contact sheets of a video: runs of its frames laid out in one picture, each frame with its time under it, so that
|
|
3
|
+
* whoever looks sees an effect across its frames rather than a few moments of a shot. One pass of ffmpeg decodes every
|
|
4
|
+
* frame any sheet needs, picked by number (the measurement's numbering, as extractFrame counts) at the size of a tile;
|
|
5
|
+
* each sheet is drawn as its frames arrive and written as a JPEG once its last frame is in, so memory holds the sheets
|
|
6
|
+
* being drawn, never the decoded video. Frames the caller wants as they are (the frame around the content reads a few
|
|
7
|
+
* a second) come out of the same pass.
|
|
8
|
+
*/
|
|
9
|
+
import type { Runtime } from '../../runtime';
|
|
10
|
+
import type { FootageColour } from '../media/footage';
|
|
11
|
+
import type { Probe } from '../types';
|
|
12
|
+
export { pickExpression } from '../media/selection';
|
|
13
|
+
/** One sheet to draw: where it goes (relative to the output directory) and the frames it shows, in order. */
|
|
14
|
+
export interface SheetSpec {
|
|
15
|
+
file: string;
|
|
16
|
+
frames: number[];
|
|
17
|
+
/** Frame ranges (first, last; inclusive) inside a measured transition: their times are written on an orange band. */
|
|
18
|
+
marked?: readonly (readonly [number, number])[];
|
|
19
|
+
}
|
|
20
|
+
/** A sheet as written: its file, its frames with their times (seconds), and its grid. */
|
|
21
|
+
export interface SheetResult {
|
|
22
|
+
file: string;
|
|
23
|
+
frames: number[];
|
|
24
|
+
seconds: number[];
|
|
25
|
+
columns: number;
|
|
26
|
+
rows: number;
|
|
27
|
+
width: number;
|
|
28
|
+
height: number;
|
|
29
|
+
}
|
|
30
|
+
export interface SheetOptions {
|
|
31
|
+
/** Width of one frame in pixels; the height keeps the video's proportions (thumbSize). */
|
|
32
|
+
width: number;
|
|
33
|
+
outDir: string;
|
|
34
|
+
/** Seconds written under a frame (default: its number over the video's rate). */
|
|
35
|
+
secondsOf?: (frame: number) => number;
|
|
36
|
+
/** Frames to hand back as they are (rgb24 at the tile size), decoded in the same pass. */
|
|
37
|
+
keep?: readonly number[];
|
|
38
|
+
probe?: Probe;
|
|
39
|
+
colour?: FootageColour;
|
|
40
|
+
}
|
|
41
|
+
export interface SheetsWritten {
|
|
42
|
+
sheets: SheetResult[];
|
|
43
|
+
/** The frames asked for with keep, by number, and their size. */
|
|
44
|
+
kept: Map<number, Uint8Array>;
|
|
45
|
+
size: {
|
|
46
|
+
width: number;
|
|
47
|
+
height: number;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
/** Rows and columns for n tiles of a given width: as few rows as the widest sheet allows, the tiles spread evenly over them. */
|
|
51
|
+
export declare const gridOf: (n: number, tileWidth: number) => {
|
|
52
|
+
columns: number;
|
|
53
|
+
rows: number;
|
|
54
|
+
};
|
|
55
|
+
/** The time written under a frame: seconds to a hundredth, as "12.34s". */
|
|
56
|
+
export declare const timeLabel: (seconds: number) => string;
|
|
57
|
+
/** Writes every sheet into outDir in one decoding pass; returns them with their frames and times, and the frames kept. */
|
|
58
|
+
export declare const writeSheets: (rt: Runtime, video: string, specs: readonly SheetSpec[], o: SheetOptions) => Promise<SheetsWritten>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Global motion between two gray frames: the similarity (scale, rotation and shift about the centre) that carries
|
|
3
|
+
* the first picture onto the second. Fitted by Gauss-Newton on an image pyramid with Huber weights, so an element
|
|
4
|
+
* that moves on its own does not drag the fit; an optional coarse search finds large moves first.
|
|
5
|
+
* Units: tx, ty in pixels of the given frames; angle in radians, clockwise on screen (y grows downwards).
|
|
6
|
+
*/
|
|
7
|
+
export interface Similarity {
|
|
8
|
+
scale: number;
|
|
9
|
+
angle: number;
|
|
10
|
+
tx: number;
|
|
11
|
+
ty: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const IDENTITY: Similarity;
|
|
14
|
+
export interface Alignment extends Similarity {
|
|
15
|
+
/** Mean |b(W(p)) - a(p)| over the pixels of a that land inside b, after alignment, in levels. */
|
|
16
|
+
residual: number;
|
|
17
|
+
/** Mean |b(p) - a(p)| over the same pixels: the difference that no motion explains. */
|
|
18
|
+
before: number;
|
|
19
|
+
/** Share of a's pixels that land inside b. */
|
|
20
|
+
coverage: number;
|
|
21
|
+
/** Mean absolute gradient of a, in levels per pixel: how much there is to track. */
|
|
22
|
+
texture: number;
|
|
23
|
+
}
|
|
24
|
+
export interface AlignOptions {
|
|
25
|
+
init?: Similarity;
|
|
26
|
+
/** Try a grid of shifts and scales on the coarsest level first (for moves larger than a few pixels). */
|
|
27
|
+
search?: boolean;
|
|
28
|
+
rotation?: boolean;
|
|
29
|
+
}
|
|
30
|
+
/** Fits the global motion from frame a to frame b (both gray, w x h). */
|
|
31
|
+
export declare const align: (a: ArrayLike<number>, b: ArrayLike<number>, w: number, h: number, opts?: AlignOptions) => Alignment;
|
|
32
|
+
/** True when b is mostly a moved, scaled or turned copy of a: the change between them is movement, not new picture. */
|
|
33
|
+
export declare const motionExplains: (m: Alignment) => boolean;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The motion amount: how much the picture changes between frames about 1/15 s apart, as the mean absolute difference
|
|
3
|
+
* of the gray thumbnails in levels of 255, scaled to exactly 1/15 s. 0 is a still picture. It rises with everything
|
|
4
|
+
* that moves the picture: the camera, the subject, footage played faster. It is a measurement of the picture, never a
|
|
5
|
+
* verdict on how the footage was made, and it is only compared between videos measured the same way (two measurements
|
|
6
|
+
* of this program: the thumbnails have the same area whatever the source's size).
|
|
7
|
+
*
|
|
8
|
+
* The curve holds one value every 'step' frames. A value whose two frames lie on either side of a change of shot, or
|
|
9
|
+
* inside a transition, measures the change and not the motion: amountIn leaves it out.
|
|
10
|
+
*/
|
|
11
|
+
import type { Measure } from '../types';
|
|
12
|
+
/** The rate the amount is stated at; the frames compared are the nearest whole number of source frames apart. */
|
|
13
|
+
export declare const AMOUNT_FPS = 15;
|
|
14
|
+
export type MotionCurve = NonNullable<Measure['motion']>;
|
|
15
|
+
export declare const amountStep: (fps: number) => number;
|
|
16
|
+
export declare const measureAmount: (gray: readonly Uint8Array[], fps: number) => MotionCurve;
|
|
17
|
+
/**
|
|
18
|
+
* The mean amount on frames from .. to (to excluded) of a measurement, over the values that lie wholly inside and do
|
|
19
|
+
* not touch a change of shot; undefined when the measurement has no curve or the span holds no such value.
|
|
20
|
+
*/
|
|
21
|
+
export declare const amountIn: (m: Pick<Measure, "motion" | "boundaries">, from: number, to: number) => number | undefined;
|
|
22
|
+
/** The amount of shot i (from 0): its frames clear of the changes into and out of it. */
|
|
23
|
+
export declare const shotAmount: (m: Pick<Measure, "motion" | "boundaries" | "shots">, i: number) => number | undefined;
|
|
24
|
+
/** The amount of the whole video, the changes of shot left out. */
|
|
25
|
+
export declare const videoAmount: (m: Pick<Measure, "motion" | "boundaries" | "source">) => number | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* A pair of frames whose amount is at or above this moves; below it the picture reads as still (an encoder alone
|
|
28
|
+
* moves a still picture by a few tenths of a level).
|
|
29
|
+
*/
|
|
30
|
+
export declare const MOVING_FLOOR = 0.4;
|
|
31
|
+
/** A shot moves throughout when this share of its frame pairs moves. */
|
|
32
|
+
export declare const THROUGHOUT_SHARE = 0.6;
|
|
33
|
+
/** Under this share a shot is still. */
|
|
34
|
+
export declare const STILL_SHARE = 0.1;
|
|
35
|
+
export type ActivityKind = 'moves throughout' | 'enters then holds' | 'moves in parts' | 'still';
|
|
36
|
+
/**
|
|
37
|
+
* When a stretch of a video moves: the share of its frame pairs above MOVING_FLOOR, and how that is spread.
|
|
38
|
+
* - moves throughout: THROUGHOUT_SHARE of the pairs or more move;
|
|
39
|
+
* - enters then holds: three quarters or more of the moving pairs lie in the first 40% of the stretch (things come in,
|
|
40
|
+
* then the picture stands);
|
|
41
|
+
* - still: under STILL_SHARE; moves in parts: all else.
|
|
42
|
+
* stillFrom: seconds from the start of the stretch after which no pair moves (absent when the last pair moves).
|
|
43
|
+
*/
|
|
44
|
+
export interface Activity {
|
|
45
|
+
kind: ActivityKind;
|
|
46
|
+
moving: number;
|
|
47
|
+
pairs: number;
|
|
48
|
+
stillFrom?: number;
|
|
49
|
+
}
|
|
50
|
+
export declare const activityIn: (m: Pick<Measure, "motion" | "boundaries" | "source">, from: number, to: number) => Activity | undefined;
|
|
51
|
+
/** The activity of shot i (from 0), clear of the changes into and out of it. */
|
|
52
|
+
export declare const shotActivity: (m: Pick<Measure, "motion" | "boundaries" | "shots" | "source">, i: number) => Activity | undefined;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bars round the picture: bands along the edges that never change through the whole video, as when a picture of other
|
|
3
|
+
* proportions is letterboxed or pillarboxed (black bars, or a flat ground), with whatever stays drawn on them (a title
|
|
4
|
+
* strip, a logo). A band's rows need not each be flat: a still title in the top bar kept 41% of a 9:16 frame of black
|
|
5
|
+
* and white around a 16:9 window, which then held too little of the box for any of its cuts to show. The band as a whole
|
|
6
|
+
* is mostly one flat level, though: a still picture round an element that pops in is no bar. The cuts are judged inside the box
|
|
7
|
+
* the bands leave: averaged over the whole frame, a change inside a third of it stays under every threshold (a 16:9
|
|
8
|
+
* picture of four shots between the bars of a 9:16 frame: none of the three cuts was found). Found from measure's own
|
|
9
|
+
* thumbnails, before there are shots. No bands, bands of less than MIN_BARS of the frame, or a box of less than
|
|
10
|
+
* MIN_LIVE of it leave the frame whole, and the measure as it was.
|
|
11
|
+
*/
|
|
12
|
+
import type { Thumbs } from './pixels';
|
|
13
|
+
export interface LiveBox {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
}
|
|
19
|
+
/** The box of the picture inside the bars, in thumbnail pixels; undefined when the frame is to be judged whole. */
|
|
20
|
+
export declare const liveBox: (t: Thumbs) => LiveBox | undefined;
|
|
21
|
+
/** The thumbnails cut to a box. */
|
|
22
|
+
export declare const cropThumbs: (t: Thumbs, b: LiveBox) => Thumbs;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shot boundaries: hard cuts and gradual transitions found on the thumbnails, each with its span (start = last purely
|
|
3
|
+
* old frame, end = first purely new frame, frame = where the new shot takes over) and its kind.
|
|
4
|
+
*/
|
|
5
|
+
import type { Boundary } from '../types';
|
|
6
|
+
import type { Thumbs } from './pixels';
|
|
7
|
+
import type { Signals } from './signals';
|
|
8
|
+
import type { CutCandidate } from './cuts';
|
|
9
|
+
export interface Candidate {
|
|
10
|
+
s: number;
|
|
11
|
+
e: number;
|
|
12
|
+
cuts: CutCandidate[];
|
|
13
|
+
ramp: boolean;
|
|
14
|
+
}
|
|
15
|
+
/** The merged candidate spans before they are described (for inspection and tests). */
|
|
16
|
+
export declare const candidates: (t: Thumbs, sg: Signals) => Candidate[];
|
|
17
|
+
/** Finds and describes every boundary of a video from its thumbnails (every frame, in order). */
|
|
18
|
+
export declare const detectBoundaries: (t: Thumbs, sg?: Signals) => Boundary[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Reuse unchanged video measurements across describe, compare and review commands; never trust a path or mtime. */
|
|
2
|
+
import type { Runtime } from '../../runtime';
|
|
3
|
+
import type { Measure } from '../types';
|
|
4
|
+
import { type MeasureOptions } from './index';
|
|
5
|
+
/** Cache failure only removes the optimization. The original measurement and all quality checks still run. */
|
|
6
|
+
export declare const measureCached: (rt: Runtime, file: string, opts?: MeasureOptions) => Promise<Measure>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Camera movement inside a shot: the global similarity between frames a third of a second apart (align.ts), chained
|
|
3
|
+
* from the shot's first clean frame to its last, then fitted with the conventions of CameraSpec: the scale grows as
|
|
4
|
+
* 1 + zoom x seconds (a pull-out ends at scale 1), and the picture travels pan x canvas per second.
|
|
5
|
+
*/
|
|
6
|
+
import type { CameraMeasure } from '../types';
|
|
7
|
+
import { median } from './pixels';
|
|
8
|
+
/**
|
|
9
|
+
* Gray frames of one shot's clean interior with the time of each, seconds from the first. With frames (the native
|
|
10
|
+
* frame of each) and seconds (the whole shot's length), a keyframed move is looked for first (moves.ts).
|
|
11
|
+
*/
|
|
12
|
+
export interface CameraInput {
|
|
13
|
+
width: number;
|
|
14
|
+
height: number;
|
|
15
|
+
gray: readonly Uint8Array[];
|
|
16
|
+
times: readonly number[];
|
|
17
|
+
frames?: readonly number[];
|
|
18
|
+
seconds?: number;
|
|
19
|
+
}
|
|
20
|
+
export declare const measureCamera: (c: CameraInput) => CameraMeasure;
|
|
21
|
+
export { median };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ColourResult {
|
|
2
|
+
background: string;
|
|
3
|
+
palette: {
|
|
4
|
+
hex: string;
|
|
5
|
+
share: number;
|
|
6
|
+
}[];
|
|
7
|
+
}
|
|
8
|
+
/** sRGB (0..255) to CIE Lab (D65). */
|
|
9
|
+
export declare const toLab: (rgb: readonly number[]) => [number, number, number];
|
|
10
|
+
export declare const deltaE: (a: readonly number[], b: readonly number[]) => number;
|
|
11
|
+
export declare const hexToRgb: (hex: string) => [number, number, number];
|
|
12
|
+
export declare const measureColour: (frames: readonly Uint8Array[], w: number, h: number) => ColourResult;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* measureCurve: one element in one region over one range of frames, measured on demand at a larger size than the
|
|
3
|
+
* full pass: when it starts and stops changing, how (scale, slide, fade), its direction, overshoot and easing.
|
|
4
|
+
*/
|
|
5
|
+
import type { Runtime } from '../../runtime';
|
|
6
|
+
import type { Box, Direction, Ease } from '../types';
|
|
7
|
+
export interface CurveOptions {
|
|
8
|
+
/** Native frames: the element is at rest on startFrame (before) and on endFrame (after). */
|
|
9
|
+
startFrame: number;
|
|
10
|
+
endFrame: number;
|
|
11
|
+
/** Region to look at, fractions of the frame; it should hold the element's whole path. */
|
|
12
|
+
box: Box;
|
|
13
|
+
/** Decode width; default 360 pixels. */
|
|
14
|
+
width?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface Curve {
|
|
17
|
+
/** First frame that differs from startFrame, and one past the first frame in the final state (native frames). */
|
|
18
|
+
start: number;
|
|
19
|
+
end: number;
|
|
20
|
+
/** end - start: the length to give a motion preset. */
|
|
21
|
+
frames: number;
|
|
22
|
+
overshoot: number;
|
|
23
|
+
ease: Ease | 'instant';
|
|
24
|
+
direction?: Direction;
|
|
25
|
+
kind: 'scale' | 'slide' | 'fade' | 'unknown';
|
|
26
|
+
/** Progress 0..1 of each frame from start - 1 to end - 1. */
|
|
27
|
+
progress: number[];
|
|
28
|
+
}
|
|
29
|
+
export declare const measureCurve: (rt: Runtime, file: string, opts: CurveOptions) => Promise<Curve>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hard cut candidates: frames that differ from the one before far more than the shot around them usually changes,
|
|
3
|
+
* over most of the picture. Thresholds follow the local activity, so fast motion and flicker do not fire; an element
|
|
4
|
+
* popping in changes too few cells of the grid to count.
|
|
5
|
+
*/
|
|
6
|
+
import type { Signals } from './signals';
|
|
7
|
+
export interface CutCandidate {
|
|
8
|
+
/** First frame of the new picture. */
|
|
9
|
+
frame: number;
|
|
10
|
+
/** 0..1: how far the jump stands out. */
|
|
11
|
+
strength: number;
|
|
12
|
+
/** The picture comes back to what it was within three frames (a flash, a flicker, one beat of a glitch). */
|
|
13
|
+
returns: boolean;
|
|
14
|
+
/** A cut between two still pictures of one layout, found by how widely the change spreads (see stillJump). */
|
|
15
|
+
still?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const findCuts: (s: Signals) => CutCandidate[];
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The closest named easing of a measured move. The move's progress (0 at its first frame, 1 where it comes to rest)
|
|
3
|
+
* is held against a named set by least squares: linear, power1-4 in / out / inOut, sine, expo, circ, back.out with
|
|
4
|
+
* its overshoot amount, elastic.out, bounce.out, and a spring with its damping ratio and stiffness. A spring is a
|
|
5
|
+
* closed form of the time, so any frame can be drawn on its own.
|
|
6
|
+
*
|
|
7
|
+
* The idea and the set of power, back and elastic curves follow the `measure curve` command of HyperFrames
|
|
8
|
+
* (https://github.com/heygen-com/hyperframes, packages/cli/src/measure/curve.ts, Copyright HeyGen, Apache-2.0),
|
|
9
|
+
* adapted to this engine's Runtime; bounce, expo.in / inOut and the spring family with its fitted damping are added
|
|
10
|
+
* here, with the names of the Skill's motion helper (assets/video/motion.js) beside GSAP's.
|
|
11
|
+
*/
|
|
12
|
+
export type EaseFn = (u: number) => number;
|
|
13
|
+
export interface NamedEase {
|
|
14
|
+
/** The name the Skill's motion helper takes: popostMotion.ease(name). */
|
|
15
|
+
name: string;
|
|
16
|
+
/** The nearest GSAP ease string. exact: GSAP has this curve; false: the nearest built-in. */
|
|
17
|
+
gsap: string;
|
|
18
|
+
exact: boolean;
|
|
19
|
+
f: EaseFn;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A spring from rest at 0 to rest at 1, mass 1, time in units of the move's length: damping is the damping ratio
|
|
23
|
+
* (1 never overshoots, 0.5 overshoots by 16%, 0.2 rings), stiffness the spring constant (the natural frequency is
|
|
24
|
+
* its square root, in radians per move length: 100 gives about one and a half swings).
|
|
25
|
+
*/
|
|
26
|
+
export declare const spring: (damping: number, stiffness: number) => EaseFn;
|
|
27
|
+
export declare const bounceOut: EaseFn;
|
|
28
|
+
export declare const backOut: (s: number) => EaseFn;
|
|
29
|
+
export declare const elasticOut: (p: number) => EaseFn;
|
|
30
|
+
/** The named set, in the order ties are broken: the plain curves first. */
|
|
31
|
+
export declare const EASES: readonly NamedEase[];
|
|
32
|
+
/** The ease of a name of the set (also any spring(damping,stiffness) and back.out(s)); undefined for a name it does not know. */
|
|
33
|
+
export declare const easeNamed: (name: string) => EaseFn | undefined;
|
|
34
|
+
export interface EaseFit {
|
|
35
|
+
/** The helper's name of the closest ease, and the GSAP string to paste (gsapExact: false when it is only the nearest built-in). */
|
|
36
|
+
ease: string;
|
|
37
|
+
gsap: string;
|
|
38
|
+
gsapExact: boolean;
|
|
39
|
+
/** Root mean square error of the fit, in units of the move (0.02 is a close fit, 0.1 a loose one). */
|
|
40
|
+
error: number;
|
|
41
|
+
/** The next two, with their errors, to see how clear the choice is. */
|
|
42
|
+
next: {
|
|
43
|
+
ease: string;
|
|
44
|
+
error: number;
|
|
45
|
+
}[];
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The closest ease of a move's progress, sampled evenly over its length (first value 0, last 1). A family is
|
|
49
|
+
* preferred to a neighbour only when it fits clearly better: a spring must beat the best plain curve by a tenth of
|
|
50
|
+
* its error, so that an ordinary ease-out is not called a spring.
|
|
51
|
+
*/
|
|
52
|
+
export declare const fitEase: (progress: readonly number[]) => EaseFit;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A part of the picture that stands out whatever its pixels: a rectangle [x, y, width, height] in fractions of the
|
|
3
|
+
* picture, with round corners (radius in pixels) or the ellipse inside it. The scene check gives the clips and pictures
|
|
4
|
+
* a project lays over a scene: footage shades smoothly into the frame it sits in, as photographs do, and the ground
|
|
5
|
+
* would grow into it.
|
|
6
|
+
*/
|
|
7
|
+
export interface Region {
|
|
8
|
+
box: readonly [number, number, number, number];
|
|
9
|
+
radius?: number;
|
|
10
|
+
ellipse?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/** Whether the point (x, y), in pixels of a picture width x height, lies in the region. */
|
|
13
|
+
export declare const inRegion: (r: Region, x: number, y: number, width: number, height: number) => boolean;
|
|
14
|
+
/**
|
|
15
|
+
* The share of a PNG's picture, 0..1, that is not ground; undefined for a PNG of a kind it does not read. regions: parts
|
|
16
|
+
* that count as not ground whatever their pixels.
|
|
17
|
+
*/
|
|
18
|
+
export declare const fillOfPng: (png: Uint8Array, regions?: readonly Region[]) => number | undefined;
|
|
19
|
+
/** The same share of a picture given as RGB bytes, row by row (a decoded frame); undefined when the bytes are too few. */
|
|
20
|
+
export declare const fillOfRgb: (width: number, height: number, rgb: Uint8Array) => number | undefined;
|