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,56 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
export interface CastVisualEvidence {
|
|
3
|
+
kind: 'observed' | 'measured' | 'user' | 'unknown';
|
|
4
|
+
detail: string;
|
|
5
|
+
source?: string;
|
|
6
|
+
file?: string;
|
|
7
|
+
sha256?: string;
|
|
8
|
+
media?: 'frame' | 'audio' | 'video' | 'data';
|
|
9
|
+
frame?: number;
|
|
10
|
+
/** Seconds on the evidence file, consistent with the replication contract. */
|
|
11
|
+
at?: [number, number];
|
|
12
|
+
}
|
|
13
|
+
export interface CastVisual {
|
|
14
|
+
/** Open vocabulary: live action, cel animation, ink illustration, clay 3D, and other media are all valid. */
|
|
15
|
+
medium?: string;
|
|
16
|
+
style?: string[];
|
|
17
|
+
/** Observed presentation traits, kept separately from a real person's identity. */
|
|
18
|
+
archetype?: {
|
|
19
|
+
ageFeel?: string;
|
|
20
|
+
build?: string;
|
|
21
|
+
wardrobe?: string;
|
|
22
|
+
presence?: string;
|
|
23
|
+
};
|
|
24
|
+
evidence?: CastVisualEvidence[];
|
|
25
|
+
}
|
|
26
|
+
export interface CastRole {
|
|
27
|
+
id: string;
|
|
28
|
+
description: string;
|
|
29
|
+
identity?: 'new' | 'user' | 'reference';
|
|
30
|
+
/** Required only when the user explicitly requests the reference person's identity. */
|
|
31
|
+
permission?: string;
|
|
32
|
+
/** A layout/presenter instruction alone never selects the reference person's face. */
|
|
33
|
+
referenceSelection?: 'same-person';
|
|
34
|
+
image?: string;
|
|
35
|
+
sha256?: string;
|
|
36
|
+
provenance?: string;
|
|
37
|
+
/** Shot ids when one generated file contains several shots of this role. */
|
|
38
|
+
shots?: string[];
|
|
39
|
+
/** Omitted in legacy manifests; their photographic reference preparation remains unchanged. */
|
|
40
|
+
visual?: CastVisual;
|
|
41
|
+
}
|
|
42
|
+
export interface CastManifest {
|
|
43
|
+
version: 1;
|
|
44
|
+
roles: CastRole[];
|
|
45
|
+
}
|
|
46
|
+
export declare const CAST_FILE = "cast.json";
|
|
47
|
+
export declare const personPrompt: RegExp;
|
|
48
|
+
export declare const castVisualInstruction: (role: CastRole) => string;
|
|
49
|
+
export declare const castPrompt: (role: CastRole) => string;
|
|
50
|
+
export declare const readCast: (rt: Runtime, dir: string) => Promise<CastManifest>;
|
|
51
|
+
export declare const castImages: (rt: Runtime, dir: string, ids: string[], uses?: ReadonlyMap<string, number>) => Promise<{
|
|
52
|
+
images: string[];
|
|
53
|
+
instruction: string;
|
|
54
|
+
legacyInstructions?: string[];
|
|
55
|
+
}>;
|
|
56
|
+
export declare const completeCast: (rt: Runtime, dir: string, id: string, from: string, provenance: string) => Promise<CastRole>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A character of the user's popost.ai character library as the anchor of a video's clips: GET /characters/{id} on the
|
|
3
|
+
* Open API (the account and address every platform command uses) answers its name, its description and a short-lived
|
|
4
|
+
* signed link to its picture. The picture is downloaded into the project, where the generator reads it as a reference
|
|
5
|
+
* picture like any other file; nothing else of the character is kept.
|
|
6
|
+
*/
|
|
7
|
+
import { type PopostClient } from '../../providers/api';
|
|
8
|
+
import type { Runtime } from '../../runtime';
|
|
9
|
+
import type { AnchorPicture } from './index';
|
|
10
|
+
/**
|
|
11
|
+
* Reads the character and puts its picture at <project>/assets/character-<id>.<ext>. A character that is still being
|
|
12
|
+
* made, failed or has no picture is refused with what to do; so is an id that is not the user's (NOT_FOUND from the API).
|
|
13
|
+
*/
|
|
14
|
+
export declare const characterAnchor: (rt: Runtime, client: PopostClient, id: string, projectDir: string) => Promise<AnchorPicture>;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The sound of the clips of one materials run (references/video-sound.md): each clip's mode (sound/modes.ts), the
|
|
3
|
+
* recorded exception under which it may carry music, the end of its prompt, the voice samples of its speakers, and
|
|
4
|
+
* what the run says about all of it. makeMaterials asks; this module decides.
|
|
5
|
+
*/
|
|
6
|
+
import type { Runtime } from '../../runtime';
|
|
7
|
+
import { type ClipMusicException } from '../music/provenance';
|
|
8
|
+
import { type ClipMusicBasis, type ModeContext, type SoundMode } from '../sound/modes';
|
|
9
|
+
import type { VoiceProfile } from '../voice/profile';
|
|
10
|
+
/** What a request needs here: its file, its prompt's sound fields and its speech. */
|
|
11
|
+
interface Asked {
|
|
12
|
+
file: string;
|
|
13
|
+
sound?: SoundMode;
|
|
14
|
+
clipMusic?: ClipMusicBasis;
|
|
15
|
+
speech?: unknown;
|
|
16
|
+
}
|
|
17
|
+
/** A clip of the run that carries music under a recorded exception: shown to the user with the price. */
|
|
18
|
+
export interface ClipMusicUse {
|
|
19
|
+
file: string;
|
|
20
|
+
basis: ClipMusicBasis;
|
|
21
|
+
means: string;
|
|
22
|
+
why: string;
|
|
23
|
+
}
|
|
24
|
+
export interface ClipSound {
|
|
25
|
+
/** The exceptions the project's music plan records. */
|
|
26
|
+
exceptions: readonly ClipMusicException[];
|
|
27
|
+
/** The mode of a request, or undefined for a picture, or for a strict re-make whose request names none. */
|
|
28
|
+
modeOf: (r: Asked & {
|
|
29
|
+
file: string;
|
|
30
|
+
}) => SoundMode | undefined;
|
|
31
|
+
/** The exception under which a clip may carry music (its request's, else the plan's for it or for all). */
|
|
32
|
+
basisOf: (r: Asked) => ClipMusicBasis | undefined;
|
|
33
|
+
/** The end of a clip's prompt for its mode. */
|
|
34
|
+
tailOf: (r: Asked, mode: SoundMode) => string;
|
|
35
|
+
/** The clips of these requests that carry music under an exception. */
|
|
36
|
+
uses: (requests: readonly Asked[]) => ClipMusicUse[];
|
|
37
|
+
/** What the run says about the sound of its clips (notes of materials). */
|
|
38
|
+
notes: string[];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* The sound of a run. strict: a strict re-make of a reference keeps the sound its contract plans, so the modes apply
|
|
42
|
+
* only where a request names one. clips: the run makes or has clips. modes: what the reading says (narrated, ambience).
|
|
43
|
+
*/
|
|
44
|
+
export declare const clipSoundOf: (rt: Runtime, dir: string, o: {
|
|
45
|
+
strict: boolean;
|
|
46
|
+
clips: boolean;
|
|
47
|
+
modes?: ModeContext;
|
|
48
|
+
}) => Promise<ClipSound>;
|
|
49
|
+
/** Takes the sound track out of a clip, in place (the pictures are copied as they are). */
|
|
50
|
+
export declare const stripSound: (rt: Runtime, clip: string) => Promise<true>;
|
|
51
|
+
/**
|
|
52
|
+
* The voice samples of a clip's speakers (voice/sample.ts), as paths in the project, with the speakers that have one.
|
|
53
|
+
* A speaker whose registered voice is too short for a sample speaks with the model's own voice, which is said in
|
|
54
|
+
* `notes`, never refused.
|
|
55
|
+
*/
|
|
56
|
+
export declare const speakerSamples: (rt: Runtime, dir: string, file: string, refs: readonly {
|
|
57
|
+
id: string;
|
|
58
|
+
profile: VoiceProfile;
|
|
59
|
+
}[], notes: string[]) => Promise<{
|
|
60
|
+
ids: string[];
|
|
61
|
+
samples: string[];
|
|
62
|
+
}>;
|
|
63
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type JsonRecord } from '../../providers/base';
|
|
2
|
+
import type { Runtime } from '../../runtime';
|
|
3
|
+
import { type CloudSettings } from './cloud';
|
|
4
|
+
import { type GenerateRequest } from './index';
|
|
5
|
+
/** What a made picture says: what it cost, what this call charged (0 when it was paid before) and its request key. */
|
|
6
|
+
export interface MadePicture {
|
|
7
|
+
credits?: number;
|
|
8
|
+
chargedCredits: number;
|
|
9
|
+
key: string;
|
|
10
|
+
}
|
|
11
|
+
/** Makes the picture a request asks for at out, on popost.ai; resolves with what it cost and what this call charged. */
|
|
12
|
+
export declare const makePicture: (rt: Runtime, s: CloudSettings, config: JsonRecord, request: GenerateRequest, out: string) => Promise<MadePicture>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { type PopostClient } from '../../providers/api';
|
|
2
|
+
import { type JsonRecord } from '../../providers/base';
|
|
3
|
+
import type { Runtime } from '../../runtime';
|
|
4
|
+
import { type ClipGate, type UnplannedClip } from './approved';
|
|
5
|
+
import { type GenerateKind, type GenerateRequest, type PriceToConfirm } from './index';
|
|
6
|
+
/** A failure of the generator, with the exit code it ends with (1: refused or failed; 2: the request or the setup needs fixing). */
|
|
7
|
+
export declare class GenerateError extends Error {
|
|
8
|
+
readonly exitCode: number;
|
|
9
|
+
name: string;
|
|
10
|
+
constructor(message: string, exitCode?: number);
|
|
11
|
+
}
|
|
12
|
+
export interface CloudSettings {
|
|
13
|
+
readonly videoModel?: string;
|
|
14
|
+
readonly resolution?: string;
|
|
15
|
+
readonly imageModel?: string;
|
|
16
|
+
/** --confirm --max-credits N, else POPOST_GEN_MAX_CREDITS: the most this call may cost without asking. */
|
|
17
|
+
readonly maxCredits?: number;
|
|
18
|
+
/** POPOST_GEN_WAIT_MIN: how long a clip is waited for. */
|
|
19
|
+
readonly waitMinutes: number;
|
|
20
|
+
/** --no-wait or POPOST_GEN_NO_WAIT=1: a clip or picture that is not done once it is sent is reported as pending (StillMaking). */
|
|
21
|
+
readonly noWait?: boolean;
|
|
22
|
+
/** --yes: the user has agreed to the price. */
|
|
23
|
+
readonly yes: boolean;
|
|
24
|
+
/** Where the agreement of the clip is looked for (approved.ts); project undefined: the folders above the output file. */
|
|
25
|
+
readonly gate: Omit<ClipGate, 'project'> & {
|
|
26
|
+
readonly project?: string;
|
|
27
|
+
};
|
|
28
|
+
/** POPOST_GEN_WHAT: the clip in its request's own words (materials), for the agreed list; else the prompt as sent. */
|
|
29
|
+
readonly what?: string;
|
|
30
|
+
}
|
|
31
|
+
/** What the command line adds to the environment: --confirm --max-credits N, --yes, --approve-unplanned, --project. */
|
|
32
|
+
export interface CloudFlags {
|
|
33
|
+
readonly yes: boolean;
|
|
34
|
+
readonly noWait?: boolean;
|
|
35
|
+
readonly maxCredits?: number;
|
|
36
|
+
readonly approve?: readonly string[];
|
|
37
|
+
readonly project?: string;
|
|
38
|
+
}
|
|
39
|
+
export declare const RETRY_HINT = "Run the same command again: it sends the same idempotency key, so it is never paid twice.";
|
|
40
|
+
/**
|
|
41
|
+
* The settings of the environment and the command line; the request has no say in them. materials passes its part
|
|
42
|
+
* through the environment: POPOST_GEN_MAX_CREDITS (what is left of its budget), POPOST_GEN_PROJECT, POPOST_GEN_FILE
|
|
43
|
+
* and POPOST_GEN_REQUEST (the clip in the project and the hash of its request as written), POPOST_GEN_WHAT (the clip
|
|
44
|
+
* in its request's own words, without the sentences materials adds), POPOST_GEN_APPROVE.
|
|
45
|
+
*/
|
|
46
|
+
export declare const cloudSettings: (rt: Runtime, flags: CloudFlags) => CloudSettings;
|
|
47
|
+
/**
|
|
48
|
+
* Goes on only with the user's agreement to the price: within the budget of the call when one is set (--max-credits,
|
|
49
|
+
* POPOST_GEN_MAX_CREDITS; --yes never passes it), else with --yes. A balance that cannot pay is said first: there is
|
|
50
|
+
* nothing to agree to then. An unplanned clip is asked about next, whatever the budget.
|
|
51
|
+
*/
|
|
52
|
+
export declare const agreeToPrice: (s: CloudSettings, price: PriceToConfirm, unplanned?: UnplannedClip) => void;
|
|
53
|
+
/** The idempotency key of a request: what it asks for, with its references by content. The same request, the same key. */
|
|
54
|
+
export declare const requestKey: (kind: GenerateKind, fields: JsonRecord) => string;
|
|
55
|
+
export type MediaKind = 'image' | 'video' | 'audio';
|
|
56
|
+
/** The type of a reference file by its first bytes (the extension is not trusted); null when the platform does not take it. */
|
|
57
|
+
export declare const mediaType: (kind: MediaKind, head: Uint8Array) => string | null;
|
|
58
|
+
/** What a made clip says: what it cost, what this call charged (0 when it was paid before) and its request key. */
|
|
59
|
+
export interface MadeClip {
|
|
60
|
+
credits?: number;
|
|
61
|
+
chargedCredits: number;
|
|
62
|
+
key: string;
|
|
63
|
+
}
|
|
64
|
+
/** Makes the clip a request asks for at out, on popost.ai; resolves with the credits it cost and was charged now. */
|
|
65
|
+
export declare const makeClip: (rt: Runtime, client: PopostClient, s: CloudSettings, request: GenerateRequest, out: string) => Promise<MadeClip>;
|
|
66
|
+
/** GET /videos/models: the models a clip can be made with, and the one used when POPOST_VIDEO_MODEL is unset. */
|
|
67
|
+
export declare const listModels: (client: PopostClient) => Promise<JsonRecord>;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lines a person says in a generated clip, with their times. The integrated video models speak lines written into
|
|
3
|
+
* the prompt, with matching mouths, and keep to times given as "0.0-2.3 s ... says": so a request names the lines, who
|
|
4
|
+
* says each, and their language, and this program writes the times and the dialogue block of the prompt. The times
|
|
5
|
+
* come from the template: a line names the beat it re-makes ("beat"), the clip starts where a shot of the template
|
|
6
|
+
* starts ("shot", from 1; default: the shot in which the first named beat begins), and a line's slot is its beat's
|
|
7
|
+
* time counted from that shot's start. A fill then shows the clip from "in": 0 in that shot, and the person speaks
|
|
8
|
+
* where the reference's did. Seconds written by hand ("at", "to") are for a project without a template's beats only.
|
|
9
|
+
* Everything here is checked before a clip is paid for. Pure.
|
|
10
|
+
*/
|
|
11
|
+
import { type Pace } from '../retarget/pace';
|
|
12
|
+
import type { Problem } from '../types';
|
|
13
|
+
/** One line of a request: who says what, in which beat of the template (or, without beats, from when to when in the clip). */
|
|
14
|
+
export interface SpeechLine {
|
|
15
|
+
speaker: string;
|
|
16
|
+
text: string;
|
|
17
|
+
beat?: number;
|
|
18
|
+
at?: number;
|
|
19
|
+
to?: number;
|
|
20
|
+
}
|
|
21
|
+
/** Native speech with timed lines: the model speaks them, lips and voice made together. */
|
|
22
|
+
export interface DialogueSpeech {
|
|
23
|
+
mode: 'native';
|
|
24
|
+
language: string;
|
|
25
|
+
lines: SpeechLine[];
|
|
26
|
+
shot?: number;
|
|
27
|
+
}
|
|
28
|
+
/** A line with its slot in the clip, in seconds from the clip's first frame. */
|
|
29
|
+
export interface TimedLine {
|
|
30
|
+
speaker: string;
|
|
31
|
+
text: string;
|
|
32
|
+
at: number;
|
|
33
|
+
to: number;
|
|
34
|
+
beat?: number;
|
|
35
|
+
}
|
|
36
|
+
export interface TimedDialogue {
|
|
37
|
+
mode: 'native';
|
|
38
|
+
language: string;
|
|
39
|
+
lines: TimedLine[];
|
|
40
|
+
}
|
|
41
|
+
/** What the times are read from: the template's shots and beats on its clock, and how fast its speaker spoke. */
|
|
42
|
+
export interface BeatTimes {
|
|
43
|
+
fps: number;
|
|
44
|
+
/** The frame each shot starts at. */
|
|
45
|
+
shots: readonly number[];
|
|
46
|
+
beats: readonly {
|
|
47
|
+
start: number;
|
|
48
|
+
end: number;
|
|
49
|
+
speech?: 'on-camera';
|
|
50
|
+
}[];
|
|
51
|
+
/** true: the template says which beats are said on camera (a template saved with the kinds of its speech). */
|
|
52
|
+
kinds: boolean;
|
|
53
|
+
pace?: Pace;
|
|
54
|
+
}
|
|
55
|
+
export declare const isDialogue: (v: unknown) => v is DialogueSpeech;
|
|
56
|
+
/** A language tag in plain words ("en-US": "American English"); a tag the list does not know is said as it is. */
|
|
57
|
+
export declare const languageName: (tag: string) => string;
|
|
58
|
+
/**
|
|
59
|
+
* The fastest a line may have to be said: OVERRUN times the reference speaker's pace when it was measured in the
|
|
60
|
+
* line's script, else OVERRUN times an ordinary pace (characters a second, counted as spokenChars counts them).
|
|
61
|
+
*/
|
|
62
|
+
export declare const ORDINARY_PACE: {
|
|
63
|
+
readonly wide: 5;
|
|
64
|
+
readonly latin: 15;
|
|
65
|
+
};
|
|
66
|
+
export declare const fastestPace: (text: string, pace?: Pace) => number;
|
|
67
|
+
/**
|
|
68
|
+
* A free-form speaking clip (no template's beats, no seconds written): its lines get slots by an estimate of the
|
|
69
|
+
* speaking rate, one after another: a third of a second before the first line and between lines, each line at an
|
|
70
|
+
* ordinary pace (ORDINARY_PACE), never under 0.8 s. The clip is sized from them (estimatedSeconds); what the person
|
|
71
|
+
* really says when is measured after the clip is made (sound/speech-check.ts), and the mix follows the measurement.
|
|
72
|
+
*/
|
|
73
|
+
export declare const ESTIMATE: {
|
|
74
|
+
readonly lead: 0.3;
|
|
75
|
+
readonly gap: 0.35;
|
|
76
|
+
readonly least: 0.8;
|
|
77
|
+
readonly tail: 0.5;
|
|
78
|
+
};
|
|
79
|
+
/** true: no line names a beat or seconds, and no template gives beats: the slots are estimated. */
|
|
80
|
+
export declare const isFreeForm: (s: DialogueSpeech, times: BeatTimes | undefined) => boolean;
|
|
81
|
+
export declare const estimatedLines: (s: DialogueSpeech) => TimedLine[];
|
|
82
|
+
/** The whole seconds a free-form clip needs for its lines: to the end of the last one and half a second more. */
|
|
83
|
+
export declare const estimatedSeconds: (s: DialogueSpeech) => number;
|
|
84
|
+
/** The lines with their slots in the clip; a line whose time cannot be told keeps none (the problems say why). */
|
|
85
|
+
export declare const timedLines: (s: DialogueSpeech, times: BeatTimes | undefined) => (TimedLine | undefined)[];
|
|
86
|
+
/** The dialogue of a request with every line timed, or undefined when a line has no time (dialogueProblems says which). */
|
|
87
|
+
export declare const timedDialogue: (s: DialogueSpeech, times: BeatTimes | undefined) => TimedDialogue | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* What is wrong with the dialogue of one request, each with its fix: the language, the lines' shape, who speaks, the
|
|
90
|
+
* times (a beat of the template, never seconds by hand when the template has beats), that each line can be said in
|
|
91
|
+
* its slot, and that the lines follow one another inside the clip.
|
|
92
|
+
*/
|
|
93
|
+
export declare const dialogueProblems: (s: DialogueSpeech, o: {
|
|
94
|
+
at: string;
|
|
95
|
+
cast: readonly string[];
|
|
96
|
+
seconds?: number;
|
|
97
|
+
times?: BeatTimes;
|
|
98
|
+
}) => Problem[];
|
|
99
|
+
/** The beats the lines of a list of requests name, each with the files that name it. */
|
|
100
|
+
export declare const beatsCovered: (requests: readonly {
|
|
101
|
+
file?: string;
|
|
102
|
+
speech?: unknown;
|
|
103
|
+
}[]) => Map<number, string[]>;
|
|
104
|
+
/**
|
|
105
|
+
* Every beat the reference said on camera is said by exactly one clip: a beat two clips say, and a beat no clip of
|
|
106
|
+
* the list (or of the project already: covered) says. A person who speaks on camera in the reference speaks on camera
|
|
107
|
+
* in the re-make; leaving the line to a voice-over is not a way to make it.
|
|
108
|
+
*/
|
|
109
|
+
export declare const coverageProblems: (requests: readonly {
|
|
110
|
+
file?: string;
|
|
111
|
+
speech?: unknown;
|
|
112
|
+
}[], times: BeatTimes, covered?: ReadonlySet<number>) => Problem[];
|
|
113
|
+
/** The sentence that keeps music out of a clip of a video whose music is one separate track. */
|
|
114
|
+
export declare const NO_MUSIC = " No background music and no score in this clip: only the ambient sound of the scene, its sound effects and any dialogue. The music of the video is a separate track.";
|
|
115
|
+
/** The dialogue block of a prompt: the language in plain words, native lip-synced speech, each line with its time, and what must not be heard or seen. English whatever the lines' language; the lines are verbatim. */
|
|
116
|
+
export declare const dialoguePrompt: (d: TimedDialogue) => string;
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Materials that are made, not found: a picture or a clip generated from a prompt. Generation needs a model, which
|
|
3
|
+
* does not live in this package: a Generator is the interface, and POPOST_GEN_CMD names a command that implements it,
|
|
4
|
+
* called as
|
|
5
|
+
* <command> video|image <request.json> <out-file>
|
|
6
|
+
* with request.json = { "prompt", "seconds"?, "aspect"?, "images"?, "videos"?, "audios"?, "firstFrame"?, "lastFrame"?, "audio"?: false }
|
|
7
|
+
* (references and frames as paths; frames never together with references; "audio": false asks for a clip without a
|
|
8
|
+
* sound track, which a generator may ignore: materials takes the track out of a silent clip that still has one); on
|
|
9
|
+
* success it prints one JSON line, { "credits"?: number }. A command that wants the user to agree to a price first
|
|
10
|
+
* makes nothing, charges nothing, prints { "confirm": { "credits": n, ... } } and exits with 3 (ConfirmNeeded). With
|
|
11
|
+
* POPOST_GEN_NO_WAIT=1 in its environment a command may send the request and return before the file is made: it
|
|
12
|
+
* prints { "pending": { "task"?, "state"?, "chargedCredits"? } } and exits with 4 (StillMaking); the same call later
|
|
13
|
+
* picks the file up, without paying again (a command that does not know POPOST_GEN_NO_WAIT waits, as before). Such a
|
|
14
|
+
* command answers a request with "priceOnly": true the same way whatever budget it has: only the price is wanted.
|
|
15
|
+
* `popost video generate` is such a command on popost.ai (cloud.ts); skills/popost/tools/video/ has examples of tools
|
|
16
|
+
* of your own. Which model runs, at what resolution and under what spending limit is the command's business (and its
|
|
17
|
+
* environment's), never the request's. materials also sets POPOST_GEN_PROJECT (the project: the built-in generator books
|
|
18
|
+
* its charges under the project's task), for a clip POPOST_GEN_FILE and POPOST_GEN_REQUEST (the clip's file, the hash of
|
|
19
|
+
* its request as written), and under --confirm --max-credits N, POPOST_GEN_MAX_CREDITS to what is left of N: the
|
|
20
|
+
* built-in generator holds a clip to the agreement of the project with them (approved.ts); a tool of yours may ignore
|
|
21
|
+
* them. On success the built-in generator prints
|
|
22
|
+
* { "credits", "chargedCredits", "key" }: what the clip cost, what this call charged (0 when it was paid before), and
|
|
23
|
+
* its request key.
|
|
24
|
+
*
|
|
25
|
+
* makeMaterials turns a list of requests into files of a project and writes what each one shows into materials.json,
|
|
26
|
+
* where the plan step reads it. A file that exists is never made again: asking twice costs once.
|
|
27
|
+
*/
|
|
28
|
+
import type { Runtime } from '../../runtime';
|
|
29
|
+
import type { Problem } from '../types';
|
|
30
|
+
import { type UnplannedClip } from './approved';
|
|
31
|
+
import { type VisibleSpeech } from './speech';
|
|
32
|
+
import { type BeatTimes } from './dialogue';
|
|
33
|
+
import { type ClipMusicBasis, type ModeContext, type RecordedException, type SoundMode } from '../sound/modes';
|
|
34
|
+
import { type ClipMusicUse } from './clip-sound';
|
|
35
|
+
export type GenerateKind = 'video' | 'image';
|
|
36
|
+
export interface GenerateRequest {
|
|
37
|
+
prompt: string;
|
|
38
|
+
/** Video: whole seconds. */
|
|
39
|
+
seconds?: number;
|
|
40
|
+
/** "16:9", "9:16", "1:1", another W:H, or "adaptive"; which ones a model takes is the generator's business. */
|
|
41
|
+
aspect?: string;
|
|
42
|
+
/** Reference pictures, as paths the command can read. */
|
|
43
|
+
images?: string[];
|
|
44
|
+
/** Reference clips and sounds, as paths, for a clip; a generator that cannot use them refuses the request. */
|
|
45
|
+
videos?: string[];
|
|
46
|
+
audios?: string[];
|
|
47
|
+
/**
|
|
48
|
+
* The picture the clip starts from, and the one it ends on (a path; lastFrame only with firstFrame). A clip made from
|
|
49
|
+
* frames takes no references: a generator refuses a request that has both, and one whose model takes no frames.
|
|
50
|
+
*/
|
|
51
|
+
firstFrame?: string;
|
|
52
|
+
lastFrame?: string;
|
|
53
|
+
/**
|
|
54
|
+
* false: the clip is used without its sound ("sound": "silent"). A generator makes it without a sound track where
|
|
55
|
+
* its model can, at that model's price for it; materials takes the sound out of any clip that still has one.
|
|
56
|
+
*/
|
|
57
|
+
audio?: false;
|
|
58
|
+
/**
|
|
59
|
+
* Only the price is wanted: a generator that asks before it charges answers with the price (ConfirmNeeded) and makes
|
|
60
|
+
* nothing, whatever budget it has. Sent only to a generator that has just asked for another clip of the same list.
|
|
61
|
+
*/
|
|
62
|
+
priceOnly?: true;
|
|
63
|
+
}
|
|
64
|
+
/** A price the user has not agreed to: what a generator answers instead of charging, with exit code 3. */
|
|
65
|
+
export interface PriceToConfirm {
|
|
66
|
+
credits: number;
|
|
67
|
+
model?: string;
|
|
68
|
+
resolution?: string;
|
|
69
|
+
seconds?: number;
|
|
70
|
+
aspectRatio?: string;
|
|
71
|
+
balance?: number | null;
|
|
72
|
+
/** "unplanned": a paid clip that is not one of the clips the user agreed to; clip says which. */
|
|
73
|
+
reason?: 'unplanned';
|
|
74
|
+
clip?: UnplannedClip;
|
|
75
|
+
}
|
|
76
|
+
/** Nothing was made or charged: the user has to agree to the price first. */
|
|
77
|
+
export declare class ConfirmNeeded extends Error {
|
|
78
|
+
readonly confirm: PriceToConfirm;
|
|
79
|
+
name: string;
|
|
80
|
+
constructor(confirm: PriceToConfirm, message: string);
|
|
81
|
+
}
|
|
82
|
+
/** The exit code of a generator that asks for the user's agreement to a price. */
|
|
83
|
+
export declare const CONFIRM_EXIT = 3;
|
|
84
|
+
/** What a generator says of a request it sent and that is still being made: its task, how it stands, what this call charged. */
|
|
85
|
+
export interface Pending {
|
|
86
|
+
task?: string;
|
|
87
|
+
state?: string;
|
|
88
|
+
chargedCredits?: number;
|
|
89
|
+
}
|
|
90
|
+
/** The request was sent and is paid for; the file is still being made. The same call later picks it up without a new charge. */
|
|
91
|
+
export declare class StillMaking extends Error {
|
|
92
|
+
readonly pending: Pending;
|
|
93
|
+
name: string;
|
|
94
|
+
constructor(pending: Pending, message: string);
|
|
95
|
+
}
|
|
96
|
+
/** The exit code of a generator that sent the request and returned before the file was made (POPOST_GEN_NO_WAIT=1). */
|
|
97
|
+
export declare const PENDING_EXIT = 4;
|
|
98
|
+
/** What a generator says it made: what the file cost and, when it says so, what this call charged and the request key. */
|
|
99
|
+
export interface Made {
|
|
100
|
+
credits?: number;
|
|
101
|
+
chargedCredits?: number;
|
|
102
|
+
key?: string;
|
|
103
|
+
}
|
|
104
|
+
export interface Generator {
|
|
105
|
+
/** Makes one file at out, with `env` added to its environment. Resolves with what it cost, when the command says. */
|
|
106
|
+
make(kind: GenerateKind, request: GenerateRequest, out: string, env?: Readonly<Record<string, string>>): Promise<Made>;
|
|
107
|
+
}
|
|
108
|
+
/** The generator behind POPOST_GEN_CMD, or undefined when it is not set. It runs its command through `rt`. */
|
|
109
|
+
export declare const commandGenerator: (rt: Runtime) => Generator | undefined;
|
|
110
|
+
/** One material to make: where it goes in the project, and what it should show. */
|
|
111
|
+
export interface MaterialRequest extends GenerateRequest {
|
|
112
|
+
/** Visible role ids from cast.json; [] explicitly declares a shot without people. */
|
|
113
|
+
cast?: string[];
|
|
114
|
+
speech?: VisibleSpeech;
|
|
115
|
+
/**
|
|
116
|
+
* The role of the clip's own sound in the video (sound/modes.ts; video-sound.md): "speech", "exhibit", "ambience"
|
|
117
|
+
* or "silent". Left out: speech for a clip with lines, else ambience (silent under a narrator when the reference's
|
|
118
|
+
* places are not heard).
|
|
119
|
+
*/
|
|
120
|
+
sound?: SoundMode;
|
|
121
|
+
/** Why this clip carries music of its own: one of the exceptions the project's music plan records (music plan --clip-music). */
|
|
122
|
+
clipMusic?: ClipMusicBasis;
|
|
123
|
+
/** Path in the project, for example "assets/desk.mp4". Its extension says what it is. */
|
|
124
|
+
file: string;
|
|
125
|
+
/** What the material shows, for whoever chooses materials later. Default: the prompt. */
|
|
126
|
+
note?: string;
|
|
127
|
+
/** false: this clip shares nothing with the others, so it neither gives nor takes the anchor picture. */
|
|
128
|
+
anchor?: boolean;
|
|
129
|
+
/** The file of another clip (of this list, or of the project): this clip starts from its last frame, as its firstFrame. */
|
|
130
|
+
continues?: string;
|
|
131
|
+
}
|
|
132
|
+
/** motionAmount: how much a clip's picture moves (measure/amount.ts), to hold against the reference shot it is for. */
|
|
133
|
+
/**
|
|
134
|
+
* pending: sent and paid for, still being made (submitOnly); task is its task on the platform. queued: not sent yet,
|
|
135
|
+
* because what it starts from (waitsFor) is still being made; a later run sends it.
|
|
136
|
+
*/
|
|
137
|
+
export interface MadeMaterial {
|
|
138
|
+
file: string;
|
|
139
|
+
kind: GenerateKind;
|
|
140
|
+
made: boolean;
|
|
141
|
+
credits?: number;
|
|
142
|
+
chargedCredits?: number;
|
|
143
|
+
seconds?: number;
|
|
144
|
+
motionAmount?: number;
|
|
145
|
+
error?: string;
|
|
146
|
+
anchor?: true;
|
|
147
|
+
waiting?: true;
|
|
148
|
+
waitsFor?: string;
|
|
149
|
+
unanchored?: true;
|
|
150
|
+
confirm?: PriceToConfirm;
|
|
151
|
+
pending?: true;
|
|
152
|
+
task?: string;
|
|
153
|
+
queued?: true;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* toConfirm: the prices the user has to agree to before the files that wait for them are made. anchor: the picture the
|
|
157
|
+
* clips got as a reference, and where it came from. A material with waiting was not made because the anchor clip is
|
|
158
|
+
* not there yet: priced only (confirm) when the anchor clip's price waits for the user, not sent at all when it failed.
|
|
159
|
+
*/
|
|
160
|
+
export interface MaterialsReport {
|
|
161
|
+
materials: MadeMaterial[];
|
|
162
|
+
credits: number;
|
|
163
|
+
chargedCredits: number;
|
|
164
|
+
problems: Problem[];
|
|
165
|
+
anchor?: {
|
|
166
|
+
picture: string;
|
|
167
|
+
from: AnchorSource;
|
|
168
|
+
};
|
|
169
|
+
toConfirm?: {
|
|
170
|
+
credits: number;
|
|
171
|
+
materials: number;
|
|
172
|
+
};
|
|
173
|
+
notes?: string[]; /** The clips of the list that carry music under a recorded exception (R4), for the user with the price. */
|
|
174
|
+
clipMusic?: ClipMusicUse[];
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* What the requests are held to beyond their own shape. times: the template's shots and beats, which give lines that
|
|
178
|
+
* name a beat their times (dialogue.ts); with them, every beat the reference said on camera must be said by one clip
|
|
179
|
+
* of the list, or by a clip the project already has (covered).
|
|
180
|
+
*/
|
|
181
|
+
export interface RequestPolicy {
|
|
182
|
+
selectedIdentity?: boolean;
|
|
183
|
+
times?: BeatTimes;
|
|
184
|
+
covered?: ReadonlySet<number>; /** The exceptions the project records for music inside clips. */
|
|
185
|
+
clipMusic?: readonly RecordedException[];
|
|
186
|
+
}
|
|
187
|
+
export declare const NOTES = "materials.json";
|
|
188
|
+
/** A clip this short is near the shortest a model makes. */
|
|
189
|
+
export declare const SHORT_CLIP = 5;
|
|
190
|
+
/** From this many short clips on, a list is asked whether they could be one call. */
|
|
191
|
+
export declare const MANY_SHORT = 3;
|
|
192
|
+
/**
|
|
193
|
+
* Advice on how a list is cut into calls: several short clips that could be made in one call. Each call has a sound
|
|
194
|
+
* of its own, so shots made one by one do not sound like one film. Clips that need a call of their own are left out:
|
|
195
|
+
* one with frames, with reference clips or sounds, or that says "anchor": false (another world than the rest).
|
|
196
|
+
*/
|
|
197
|
+
export declare const groupingAdvice: (requests: unknown) => Problem[];
|
|
198
|
+
/** What is wrong with a list of requests, before anything is paid for. */
|
|
199
|
+
export declare const checkRequests: (rt: Runtime, requests: unknown, dir: string, policy?: RequestPolicy) => Promise<Problem[]>;
|
|
200
|
+
/** The beats the clips a project already has say: the lines of their speech receipts (<clip>.speech.json) that name a beat. */
|
|
201
|
+
export declare const beatsSaid: (rt: Runtime, dir: string, files: readonly string[]) => Promise<Map<number, string[]>>;
|
|
202
|
+
/** The picture that carries what the clips share (a person, a product, a place) from one clip to the others, beside the clips. */
|
|
203
|
+
export declare const ANCHOR_FILE = "anchor.jpg";
|
|
204
|
+
/**
|
|
205
|
+
* Which clip the others should look like: the first one that is not a close-up (a close-up shows a hand or a
|
|
206
|
+
* fabric, not who is in the video), else the first clip. Clips that opted out are passed over.
|
|
207
|
+
*/
|
|
208
|
+
export declare const anchorIndex: (requests: MaterialRequest[]) => number;
|
|
209
|
+
/**
|
|
210
|
+
* A picture the caller gives as the anchor of every clip (a path in the project): no clip is made first for it.
|
|
211
|
+
* person: the picture is one person (a character of the user's library), with what is known of them.
|
|
212
|
+
*/
|
|
213
|
+
export interface AnchorPicture {
|
|
214
|
+
file: string;
|
|
215
|
+
person?: {
|
|
216
|
+
name?: string;
|
|
217
|
+
description?: string;
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
/** Where the anchor picture of a run came from. */
|
|
221
|
+
export type AnchorSource = 'clip' | 'image' | 'character';
|
|
222
|
+
/**
|
|
223
|
+
* The sentence that points a clip at the anchor picture. It asks only for what the clip shares with the picture to
|
|
224
|
+
* look the same, so it holds for a clip of a product alone as for one of a person: it never asks for a person.
|
|
225
|
+
*/
|
|
226
|
+
export declare const anchorSentence: (n: number, source: AnchorSource, person?: AnchorPicture["person"]) => string;
|
|
227
|
+
/** Where the last frame of a clip is kept, beside it: "assets/walk.mp4" -> "assets/walk.last.png". */
|
|
228
|
+
export declare const lastFrameFile: (clip: string) => string;
|
|
229
|
+
/**
|
|
230
|
+
* Makes every requested material that does not exist yet, one after another, and records what each shows. A request
|
|
231
|
+
* that fails is reported and the others go on: what was made stays made.
|
|
232
|
+
*
|
|
233
|
+
* The anchor keeps what the clips share the same (text alone does not: "the same young woman" gave a different woman
|
|
234
|
+
* in every clip). Every clip that does not say "anchor": false gets one picture as a reference, with a sentence that
|
|
235
|
+
* points at it (anchorSentence). The picture is o.picture when the caller gives one. Otherwise one of the requested
|
|
236
|
+
* clips is made first (anchorIndex) and a frame of it is saved beside the clips (ANCHOR_FILE): no clip is made that
|
|
237
|
+
* was not asked for. That is the default for two or more such clips (o.anchor undefined), off with o.anchor false,
|
|
238
|
+
* and on for a single clip too with o.anchor true (a later run then finds the picture).
|
|
239
|
+
*
|
|
240
|
+
* A clip that continues another starts from that clip's last frame (lastFrameOf), so it is made after it. A clip
|
|
241
|
+
* with frames takes no anchor: a model starts from a frame or follows references, never both.
|
|
242
|
+
*
|
|
243
|
+
* While a clip another one needs is not there (the anchor clip, the clip it continues), the one that needs it is
|
|
244
|
+
* not made: without it, it would be paid for and not match. When the needed clip failed it is not sent at all; when
|
|
245
|
+
* the needed clip's price waits for the user it is sent for its price only (GenerateRequest.priceOnly, without the
|
|
246
|
+
* frames or the anchor, which do not change a price), so that the user is shown the total of the whole list at once.
|
|
247
|
+
*
|
|
248
|
+
* Every file is sent with its project (POPOST_GEN_PROJECT: its charges join the project's task) and every clip with its
|
|
249
|
+
* file and request hash (POPOST_GEN_FILE, _REQUEST), so that the built-in generator holds it to the clips the user agreed
|
|
250
|
+
* to (approved.ts). o.plan (materials --confirm): the clips of
|
|
251
|
+
* this list become the agreed clips when the project has none yet.
|
|
252
|
+
*/
|
|
253
|
+
export declare const makeMaterials: (rt: Runtime, o: {
|
|
254
|
+
requests: MaterialRequest[];
|
|
255
|
+
dir: string;
|
|
256
|
+
generator: Generator;
|
|
257
|
+
anchor?: boolean;
|
|
258
|
+
picture?: AnchorPicture;
|
|
259
|
+
plan?: boolean;
|
|
260
|
+
times?: BeatTimes;
|
|
261
|
+
music?: boolean;
|
|
262
|
+
modes?: ModeContext;
|
|
263
|
+
submitOnly?: boolean;
|
|
264
|
+
onStep?: (file: string, done: number, total: number) => void;
|
|
265
|
+
}) => Promise<MaterialsReport>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface MaterialProvenance {
|
|
2
|
+
request: object;
|
|
3
|
+
voiceHash?: string;
|
|
4
|
+
dependencies: readonly (readonly [string, string | null])[];
|
|
5
|
+
lines?: readonly object[];
|
|
6
|
+
/** A real generation constraint, never removed by the historical-prompt compatibility path. */
|
|
7
|
+
separateMusic?: true;
|
|
8
|
+
}
|
|
9
|
+
export declare const materialSignature: (value: MaterialProvenance) => string;
|
|
10
|
+
/** Alternatives change only a verified cast-evidence rendering; all other context stays exact. */
|
|
11
|
+
export declare const materialSignatures: (value: MaterialProvenance, legacyRequests?: readonly object[]) => string[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
import type { Problem, Resolved } from '../types';
|
|
3
|
+
/** A visible speaker cannot silently acquire an unrelated voice or a different source-time mapping. */
|
|
4
|
+
export declare const checkSpeechLocks: (rt: Runtime, dir: string, r: Resolved) => Promise<Problem[]>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
import { type DialogueSpeech, type TimedDialogue } from './dialogue';
|
|
3
|
+
/** Native speech keeps the model's own sound. A replacement voice must pass through an actual lip-sync tool. */
|
|
4
|
+
export interface PlainSpeech {
|
|
5
|
+
mode: 'native' | 'lip-sync';
|
|
6
|
+
text: string;
|
|
7
|
+
speaker: string;
|
|
8
|
+
audio?: string;
|
|
9
|
+
}
|
|
10
|
+
/** What a request says of visible speech: one speaker's words (the first form), or timed lines with their language (dialogue.ts). */
|
|
11
|
+
export type VisibleSpeech = PlainSpeech | DialogueSpeech;
|
|
12
|
+
/** Speech as it is sent and recorded: the first form as written, or the lines with the times the program gave them. */
|
|
13
|
+
export type SentSpeech = PlainSpeech | TimedDialogue;
|
|
14
|
+
export declare const isVisibleSpeech: (value: unknown) => value is VisibleSpeech;
|
|
15
|
+
/** Who speaks in a clip, each once. */
|
|
16
|
+
export declare const speakersOf: (speech: VisibleSpeech | SentSpeech) => string[];
|
|
17
|
+
/** The final audio a lip-synced clip is made to (the first form only). */
|
|
18
|
+
export declare const speechAudio: (speech: VisibleSpeech | SentSpeech | undefined) => string | undefined;
|
|
19
|
+
export declare const speechPrompt: (speech: SentSpeech) => string;
|
|
20
|
+
export declare const finalizeSpeech: (rt: Runtime, clip: string, speech: SentSpeech, dir: string, destination?: string) => Promise<void>;
|