@clipwright/core 0.60.0 → 0.62.0
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/dist/account-actors.d.ts +0 -43
- package/dist/account-actors.js +0 -55
- package/dist/account.d.ts +0 -6
- package/dist/account.js +0 -18
- package/dist/actor-bounds.d.ts +0 -5
- package/dist/actor-bounds.js +0 -6
- package/dist/actor-qualities.d.ts +0 -3
- package/dist/actor-qualities.js +0 -4
- package/dist/actors.d.ts +0 -16
- package/dist/actors.js +0 -21
- package/dist/ad-guide.d.ts +27 -0
- package/dist/ad-guide.js +7 -2
- package/dist/ad-ids.d.ts +3 -0
- package/dist/ad-ids.js +4 -0
- package/dist/ad-pause-trim.d.ts +0 -5
- package/dist/ad-pause-trim.js +0 -8
- package/dist/ads.d.ts +145 -0
- package/dist/ads.js +56 -0
- package/dist/api-failure.d.ts +6 -44
- package/dist/api-failure.js +16 -67
- package/dist/aspect.d.ts +0 -29
- package/dist/aspect.js +1 -34
- package/dist/asset-identity.d.ts +0 -2
- package/dist/asset-identity.js +0 -3
- package/dist/assets.d.ts +0 -34
- package/dist/assets.js +0 -42
- package/dist/billing-terms.d.ts +0 -3
- package/dist/billing-terms.js +0 -4
- package/dist/brand-styles.d.ts +0 -6
- package/dist/brand-styles.js +0 -13
- package/dist/broll-policy.js +0 -1
- package/dist/canvas-fit.d.ts +0 -2
- package/dist/canvas-fit.js +0 -4
- package/dist/caption-funnel.d.ts +0 -2
- package/dist/caption-funnel.js +0 -15
- package/dist/caption-geometry.d.ts +0 -6
- package/dist/caption-geometry.js +0 -10
- package/dist/caption-language.d.ts +0 -3
- package/dist/caption-language.js +0 -6
- package/dist/contract-dispositions.d.ts +0 -61
- package/dist/contract-dispositions.js +3 -96
- package/dist/contracts/v1/workflow-brief.d.ts +57 -3
- package/dist/contracts/v1/workflow-brief.js +0 -13
- package/dist/contracts/v1/workflow-catalog.d.ts +114 -0
- package/dist/contracts/v1/workflow-catalog.js +0 -3
- package/dist/contracts/v1/workflow-client.d.ts +114 -0
- package/dist/contracts/v1/workflow-client.js +0 -1
- package/dist/contracts/v1/workflow-dto.js +0 -1
- package/dist/contracts/v1/workflow-evidence.js +0 -1
- package/dist/contracts/v1/workflow-execution.d.ts +0 -1
- package/dist/contracts/v1/workflow-execution.js +0 -4
- package/dist/contracts/v1/workflow-next.d.ts +0 -2
- package/dist/contracts/v1/workflow-next.js +0 -3
- package/dist/contracts/v1/workflow-plan.d.ts +171 -0
- package/dist/contracts/v1/workflow-plan.js +0 -1
- package/dist/contracts/v1/workflow-primitives.d.ts +0 -1
- package/dist/contracts/v1/workflow-primitives.js +0 -2
- package/dist/contracts/v1/workflow-run-read.d.ts +0 -1
- package/dist/contracts/v1/workflow-run-read.js +0 -3
- package/dist/creator-profile.d.ts +0 -30
- package/dist/creator-profile.js +0 -45
- package/dist/default-actor.js +0 -2
- package/dist/design.d.ts +0 -17
- package/dist/design.js +0 -18
- package/dist/diy-next.d.ts +18 -0
- package/dist/diy-next.js +13 -0
- package/dist/edit-billing.d.ts +0 -6
- package/dist/edit-billing.js +0 -10
- package/dist/edit-candidate.d.ts +0 -6
- package/dist/edit-candidate.js +0 -9
- package/dist/edit-document.d.ts +0 -12
- package/dist/edit-document.js +0 -15
- package/dist/edit-faceless.d.ts +0 -3
- package/dist/edit-faceless.js +0 -4
- package/dist/edit-long-form.d.ts +0 -13
- package/dist/edit-long-form.js +0 -17
- package/dist/edit-music.d.ts +397 -0
- package/dist/edit-music.js +77 -0
- package/dist/edit-operations.d.ts +0 -1
- package/dist/edit-operations.js +0 -2
- package/dist/edit-primitives.d.ts +0 -3
- package/dist/edit-primitives.js +0 -5
- package/dist/edit-revision.d.ts +0 -4
- package/dist/edit-revision.js +0 -6
- package/dist/edit-rules.d.ts +0 -3
- package/dist/edit-rules.js +0 -9
- package/dist/edit-shots.d.ts +45 -5
- package/dist/edit-shots.js +7 -11
- package/dist/edit-validate.d.ts +0 -10
- package/dist/edit-validate.js +0 -14
- package/dist/edit.js +0 -3
- package/dist/endpoint-notes.d.ts +0 -2
- package/dist/endpoint-notes.js +0 -3
- package/dist/endpoints.d.ts +0 -11
- package/dist/endpoints.js +11 -21
- package/dist/errors.d.ts +29 -43
- package/dist/errors.js +18 -54
- package/dist/explainer-fit.d.ts +0 -7
- package/dist/explainer-fit.js +0 -10
- package/dist/face-billing.d.ts +0 -9
- package/dist/face-billing.js +0 -23
- package/dist/face-delivery.d.ts +0 -1
- package/dist/face-delivery.js +0 -2
- package/dist/faceless-action-shots.d.ts +0 -8
- package/dist/faceless-action-shots.js +0 -8
- package/dist/faceless-customer-anchors.d.ts +0 -1
- package/dist/faceless-customer-anchors.js +0 -2
- package/dist/faceless-cut-style.js +0 -1
- package/dist/faceless-direction-summary.d.ts +0 -2
- package/dist/faceless-direction-summary.js +0 -3
- package/dist/faceless-image-placement.d.ts +0 -2
- package/dist/faceless-image-placement.js +0 -3
- package/dist/faceless-image-qualification.js +0 -2
- package/dist/faceless-media-record.d.ts +0 -6
- package/dist/faceless-media-record.js +0 -11
- package/dist/faceless-price.d.ts +0 -45
- package/dist/faceless-price.js +0 -64
- package/dist/faceless-public-plan.d.ts +0 -13
- package/dist/faceless-public-plan.js +0 -11
- package/dist/faceless-public.d.ts +0 -26
- package/dist/faceless-public.js +0 -59
- package/dist/faceless-short-61.js +0 -1
- package/dist/faceless-storyboard-timing.js +0 -1
- package/dist/faceless-storyboard-v2-plan.js +0 -1
- package/dist/faceless-storyboard-v2-timing.d.ts +0 -4
- package/dist/faceless-storyboard-v2-timing.js +0 -3
- package/dist/faceless-storyboard-v2.js +0 -1
- package/dist/faceless-storyboard.js +0 -1
- package/dist/faceless-voices.d.ts +0 -16
- package/dist/faceless-voices.js +0 -18
- package/dist/feedback.d.ts +0 -4
- package/dist/feedback.js +0 -5
- package/dist/film-directions.d.ts +0 -2
- package/dist/film-directions.js +0 -7
- package/dist/film-drafts.d.ts +0 -8
- package/dist/film-drafts.js +0 -19
- package/dist/film-guide.d.ts +0 -3
- package/dist/film-guide.js +0 -6
- package/dist/film-styles.d.ts +0 -5
- package/dist/film-styles.js +0 -8
- package/dist/generation-shot.d.ts +0 -5
- package/dist/generation-shot.js +0 -8
- package/dist/generations-output.d.ts +0 -2
- package/dist/generations-output.js +0 -5
- package/dist/generations.d.ts +0 -22
- package/dist/generations.js +21 -44
- package/dist/idempotency.d.ts +1 -21
- package/dist/idempotency.js +8 -29
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -28
- package/dist/live-shot-kinds.d.ts +16 -25
- package/dist/live-shot-kinds.js +12 -28
- package/dist/long-form-pricing.d.ts +0 -5
- package/dist/long-form-pricing.js +0 -6
- package/dist/long-form-profile.d.ts +0 -3
- package/dist/long-form-profile.js +0 -4
- package/dist/long-form-revision.d.ts +0 -9
- package/dist/long-form-revision.js +0 -11
- package/dist/markdown-quote.d.ts +0 -2
- package/dist/markdown-quote.js +0 -3
- package/dist/mascots.d.ts +0 -5
- package/dist/mascots.js +0 -10
- package/dist/max-credits.d.ts +0 -1
- package/dist/max-credits.js +0 -2
- package/dist/mcp-ugc-descriptions.d.ts +0 -2
- package/dist/mcp-ugc-descriptions.js +1 -6
- package/dist/media-timebase.d.ts +0 -2
- package/dist/media-timebase.js +0 -6
- package/dist/motion-styles.d.ts +0 -8
- package/dist/motion-styles.js +0 -11
- package/dist/moves.d.ts +0 -7
- package/dist/moves.js +0 -9
- package/dist/music.d.ts +0 -5
- package/dist/music.js +0 -8
- package/dist/naming.d.ts +0 -3
- package/dist/naming.js +0 -19
- package/dist/openapi.d.ts +0 -13
- package/dist/openapi.js +9 -11
- package/dist/output-provenance.d.ts +0 -4
- package/dist/output-provenance.js +0 -5
- package/dist/own-agent-price.d.ts +21 -22
- package/dist/own-agent-price.js +34 -25
- package/dist/own-agent-runs.d.ts +351 -11
- package/dist/own-agent-runs.js +144 -24
- package/dist/pacing.d.ts +3 -15
- package/dist/pacing.js +18 -18
- package/dist/parts-pricing.d.ts +0 -28
- package/dist/parts-pricing.js +0 -32
- package/dist/post-text.d.ts +0 -2
- package/dist/post-text.js +0 -4
- package/dist/presenter-beats.d.ts +0 -10
- package/dist/presenter-beats.js +0 -14
- package/dist/presenter-matte.d.ts +0 -7
- package/dist/presenter-matte.js +0 -9
- package/dist/presenter-takes.d.ts +0 -3
- package/dist/presenter-takes.js +0 -8
- package/dist/prices.d.ts +2 -8
- package/dist/prices.js +13 -23
- package/dist/public-endpoints.d.ts +0 -11
- package/dist/public-endpoints.js +0 -14
- package/dist/public-responses.d.ts +0 -2
- package/dist/public-responses.js +0 -3
- package/dist/rate-limit.d.ts +0 -24
- package/dist/rate-limit.js +0 -29
- package/dist/reference-analysis.d.ts +57 -34
- package/dist/reference-analysis.js +0 -69
- package/dist/reference-bring.d.ts +33 -0
- package/dist/reference-bring.js +28 -0
- package/dist/reference-display.d.ts +0 -3
- package/dist/reference-display.js +37 -4
- package/dist/reference-kinds.d.ts +0 -4
- package/dist/reference-kinds.js +0 -6
- package/dist/reference-lyrics.d.ts +0 -6
- package/dist/reference-lyrics.js +0 -6
- package/dist/reference-profile.d.ts +270 -39
- package/dist/reference-profile.js +64 -50
- package/dist/reference-staging.d.ts +0 -10
- package/dist/reference-staging.js +0 -14
- package/dist/reference-text-spans.d.ts +0 -4
- package/dist/reference-text-spans.js +0 -7
- package/dist/reference-voice-over.d.ts +0 -6
- package/dist/reference-voice-over.js +0 -7
- package/dist/reference-voice.d.ts +0 -7
- package/dist/reference-voice.js +0 -12
- package/dist/render-backend.d.ts +0 -30
- package/dist/render-backend.js +0 -5
- package/dist/resolved-timeline.d.ts +0 -4
- package/dist/resolved-timeline.js +1 -31
- package/dist/run-media.d.ts +0 -1
- package/dist/run-media.js +0 -2
- package/dist/run-preflight.d.ts +0 -4
- package/dist/run-preflight.js +0 -11
- package/dist/run-static-warnings.d.ts +0 -8
- package/dist/run-static-warnings.js +0 -38
- package/dist/runs.d.ts +0 -32
- package/dist/runs.js +0 -50
- package/dist/scene-bible.d.ts +15 -7
- package/dist/scene-bible.js +15 -10
- package/dist/scene-graph.d.ts +0 -12
- package/dist/scene-graph.js +0 -24
- package/dist/scene-place.d.ts +0 -25
- package/dist/scene-place.js +0 -24
- package/dist/scene-proposal.d.ts +0 -3
- package/dist/scene-proposal.js +0 -9
- package/dist/script-integrity.d.ts +0 -6
- package/dist/script-integrity.js +0 -8
- package/dist/script-voice.d.ts +0 -7
- package/dist/script-voice.js +0 -16
- package/dist/semantic-inserts.d.ts +0 -7
- package/dist/semantic-inserts.js +0 -10
- package/dist/skill-theme-explainer.js +0 -5
- package/dist/skill-theme.d.ts +0 -13
- package/dist/skill-theme.js +0 -25
- package/dist/skills.d.ts +22 -86
- package/dist/skills.js +21 -167
- package/dist/speech-rhythm-contract.js +0 -1
- package/dist/speech-rhythm.d.ts +0 -4
- package/dist/speech-rhythm.js +0 -2
- package/dist/templates/backdrop.d.ts +0 -3
- package/dist/templates/backdrop.js +0 -5
- package/dist/templates/callout.d.ts +0 -4
- package/dist/templates/callout.js +0 -6
- package/dist/templates/chart.d.ts +0 -4
- package/dist/templates/chart.js +0 -6
- package/dist/templates/chat-window.d.ts +0 -8
- package/dist/templates/chat-window.js +0 -10
- package/dist/templates/checklist.d.ts +0 -3
- package/dist/templates/checklist.js +0 -6
- package/dist/templates/comment-cta.d.ts +0 -14
- package/dist/templates/comment-cta.js +0 -19
- package/dist/templates/compare.d.ts +0 -6
- package/dist/templates/compare.js +0 -7
- package/dist/templates/cover-story.d.ts +0 -1
- package/dist/templates/cover-story.js +0 -3
- package/dist/templates/end-card.d.ts +0 -2
- package/dist/templates/end-card.js +0 -3
- package/dist/templates/hand-title.d.ts +0 -5
- package/dist/templates/hand-title.js +0 -9
- package/dist/templates/index.d.ts +0 -57
- package/dist/templates/index.js +0 -60
- package/dist/templates/lower-third.d.ts +0 -4
- package/dist/templates/lower-third.js +0 -5
- package/dist/templates/notification.d.ts +0 -6
- package/dist/templates/notification.js +0 -7
- package/dist/templates/phone-call.d.ts +0 -2
- package/dist/templates/phone-call.js +0 -6
- package/dist/templates/phone-screen.d.ts +0 -5
- package/dist/templates/phone-screen.js +0 -7
- package/dist/templates/pointer-chips.d.ts +0 -4
- package/dist/templates/pointer-chips.js +0 -6
- package/dist/templates/progress.d.ts +0 -3
- package/dist/templates/progress.js +0 -5
- package/dist/templates/quote.d.ts +0 -3
- package/dist/templates/quote.js +0 -4
- package/dist/templates/race.d.ts +0 -5
- package/dist/templates/race.js +0 -7
- package/dist/templates/rating.d.ts +0 -3
- package/dist/templates/rating.js +0 -5
- package/dist/templates/series-frame.d.ts +0 -16
- package/dist/templates/series-frame.js +0 -19
- package/dist/templates/size.d.ts +0 -7
- package/dist/templates/size.js +0 -8
- package/dist/templates/slot.d.ts +0 -2
- package/dist/templates/slot.js +0 -2
- package/dist/templates/sounds.d.ts +24 -12
- package/dist/templates/sounds.js +2 -16
- package/dist/templates/stat.d.ts +0 -3
- package/dist/templates/stat.js +0 -5
- package/dist/templates/tag.d.ts +0 -3
- package/dist/templates/tag.js +0 -5
- package/dist/templates/terminal.d.ts +0 -6
- package/dist/templates/terminal.js +0 -8
- package/dist/templates/theme.d.ts +0 -7
- package/dist/templates/theme.js +0 -9
- package/dist/templates/title-card.d.ts +0 -3
- package/dist/templates/title-card.js +0 -5
- package/dist/templates/video-grid.d.ts +0 -5
- package/dist/templates/video-grid.js +0 -8
- package/dist/templates/word-fill.d.ts +0 -3
- package/dist/templates/word-fill.js +0 -4
- package/dist/templates/word-title.d.ts +0 -2
- package/dist/templates/word-title.js +0 -4
- package/dist/trend-niches.d.ts +0 -11
- package/dist/trend-niches.js +0 -16
- package/dist/trend-search.d.ts +0 -66
- package/dist/trend-search.js +0 -70
- package/dist/tts-backend.d.ts +0 -19
- package/dist/tts-backend.js +0 -7
- package/dist/ugc-call.d.ts +0 -16
- package/dist/ugc-call.js +0 -21
- package/dist/ugc-delivery.d.ts +0 -2
- package/dist/ugc-delivery.js +0 -4
- package/dist/ugc-framing.d.ts +0 -4
- package/dist/ugc-framing.js +0 -6
- package/dist/ugc-interview.d.ts +0 -18
- package/dist/ugc-interview.js +0 -24
- package/dist/ugc-layers.d.ts +0 -39
- package/dist/ugc-layers.js +0 -39
- package/dist/ugc-scenes.d.ts +0 -2
- package/dist/ugc-scenes.js +0 -5
- package/dist/ugc-video-media.d.ts +0 -5
- package/dist/ugc-video-media.js +0 -7
- package/dist/uploads.d.ts +0 -14
- package/dist/uploads.js +0 -17
- package/dist/vendor-response.d.ts +0 -19
- package/dist/vendor-response.js +0 -22
- package/dist/video-size.d.ts +0 -4
- package/dist/video-size.js +0 -7
- package/dist/voice-admission.d.ts +0 -11
- package/dist/voice-admission.js +0 -13
- package/dist/voice-catalog-data.d.ts +0 -2
- package/dist/voice-catalog-data.js +0 -3
- package/dist/voice-catalog.d.ts +0 -6
- package/dist/voice-catalog.js +0 -8
- package/dist/voice-listing.d.ts +0 -6
- package/dist/voice-listing.js +0 -14
- package/dist/voice-pace.d.ts +0 -4
- package/dist/voice-pace.js +0 -7
- package/dist/voice-preview-approval.js +0 -1
- package/dist/voices.d.ts +4 -69
- package/dist/voices.js +3 -88
- package/dist/workflows/catalog.d.ts +0 -2
- package/dist/workflows/catalog.js +0 -4
- package/dist/workflows/film-directions.d.ts +0 -3
- package/dist/workflows/film-directions.js +0 -4
- package/dist/workflows/index.js +0 -1
- package/dist/workflows/methods/faceless-explainer.d.ts +31 -0
- package/dist/workflows/methods/faceless-explainer.js +0 -1
- package/dist/workflows/methods/kinetic-launch.d.ts +62 -1
- package/dist/workflows/methods/kinetic-launch.js +0 -2
- package/dist/workflows/methods/product-image-story.d.ts +31 -0
- package/dist/workflows/methods/product-image-story.js +0 -1
- package/dist/workflows/methods/reference-remake.d.ts +31 -0
- package/dist/workflows/methods/reference-remake.js +0 -1
- package/dist/workflows/methods/shared.d.ts +31 -1
- package/dist/workflows/methods/shared.js +0 -3
- package/dist/workflows/methods/ugc-faq-answer.d.ts +31 -0
- package/dist/workflows/methods/ugc-faq-answer.js +0 -1
- package/dist/workflows/methods/ugc-product-intro.d.ts +31 -0
- package/dist/workflows/methods/ugc-product-intro.js +0 -1
- package/dist/workflows/methods/website-proof-demo.d.ts +62 -1
- package/dist/workflows/methods/website-proof-demo.js +0 -2
- package/dist/workflows/motion-director.d.ts +0 -11
- package/dist/workflows/motion-director.js +0 -11
- package/dist/workflows/product-references.js +0 -1
- package/dist/workflows/reference-remake.d.ts +114 -17
- package/dist/workflows/reference-remake.js +0 -167
- package/dist/workflows/remake-chooser.d.ts +0 -6
- package/dist/workflows/remake-chooser.js +0 -4
- package/dist/workflows/remake-motion.d.ts +0 -16
- package/dist/workflows/remake-motion.js +0 -19
- package/dist/workflows/validate.d.ts +0 -1
- package/dist/workflows/validate.js +0 -5
- package/dist/workflows.js +0 -1
- package/package.json +1 -1
- package/dist/account-actors.js.map +0 -1
- package/dist/account.js.map +0 -1
- package/dist/actor-bounds.js.map +0 -1
- package/dist/actor-qualities.js.map +0 -1
- package/dist/actors.js.map +0 -1
- package/dist/ad-guide.js.map +0 -1
- package/dist/ad-pause-trim.js.map +0 -1
- package/dist/api-failure.js.map +0 -1
- package/dist/aspect.js.map +0 -1
- package/dist/asset-identity.js.map +0 -1
- package/dist/assets.js.map +0 -1
- package/dist/billing-terms.js.map +0 -1
- package/dist/brand-styles.js.map +0 -1
- package/dist/broll-policy.js.map +0 -1
- package/dist/canvas-fit.js.map +0 -1
- package/dist/caption-funnel.js.map +0 -1
- package/dist/caption-geometry.js.map +0 -1
- package/dist/caption-language.js.map +0 -1
- package/dist/contract-dispositions.js.map +0 -1
- package/dist/contracts/v1/workflow-brief.js.map +0 -1
- package/dist/contracts/v1/workflow-catalog.js.map +0 -1
- package/dist/contracts/v1/workflow-client.js.map +0 -1
- package/dist/contracts/v1/workflow-dto.js.map +0 -1
- package/dist/contracts/v1/workflow-evidence.js.map +0 -1
- package/dist/contracts/v1/workflow-execution.js.map +0 -1
- package/dist/contracts/v1/workflow-next.js.map +0 -1
- package/dist/contracts/v1/workflow-plan.js.map +0 -1
- package/dist/contracts/v1/workflow-primitives.js.map +0 -1
- package/dist/contracts/v1/workflow-run-read.js.map +0 -1
- package/dist/creator-profile.js.map +0 -1
- package/dist/default-actor.js.map +0 -1
- package/dist/design.js.map +0 -1
- package/dist/edit-billing.js.map +0 -1
- package/dist/edit-candidate.js.map +0 -1
- package/dist/edit-document.js.map +0 -1
- package/dist/edit-faceless.js.map +0 -1
- package/dist/edit-long-form.js.map +0 -1
- package/dist/edit-operations.js.map +0 -1
- package/dist/edit-primitives.js.map +0 -1
- package/dist/edit-revision.js.map +0 -1
- package/dist/edit-rules.js.map +0 -1
- package/dist/edit-shots.js.map +0 -1
- package/dist/edit-validate.js.map +0 -1
- package/dist/edit.js.map +0 -1
- package/dist/endpoint-notes.js.map +0 -1
- package/dist/endpoints.js.map +0 -1
- package/dist/errors.js.map +0 -1
- package/dist/explainer-fit.js.map +0 -1
- package/dist/face-billing.js.map +0 -1
- package/dist/face-delivery.js.map +0 -1
- package/dist/faceless-action-shots.js.map +0 -1
- package/dist/faceless-customer-anchors.js.map +0 -1
- package/dist/faceless-cut-style.js.map +0 -1
- package/dist/faceless-direction-summary.js.map +0 -1
- package/dist/faceless-image-placement.js.map +0 -1
- package/dist/faceless-image-qualification.js.map +0 -1
- package/dist/faceless-media-record.js.map +0 -1
- package/dist/faceless-price.js.map +0 -1
- package/dist/faceless-public-plan.js.map +0 -1
- package/dist/faceless-public.js.map +0 -1
- package/dist/faceless-short-61.js.map +0 -1
- package/dist/faceless-storyboard-timing.js.map +0 -1
- package/dist/faceless-storyboard-v2-plan.js.map +0 -1
- package/dist/faceless-storyboard-v2-timing.js.map +0 -1
- package/dist/faceless-storyboard-v2.js.map +0 -1
- package/dist/faceless-storyboard.js.map +0 -1
- package/dist/faceless-voices.js.map +0 -1
- package/dist/feedback.js.map +0 -1
- package/dist/film-directions.js.map +0 -1
- package/dist/film-drafts.js.map +0 -1
- package/dist/film-guide.js.map +0 -1
- package/dist/film-styles.js.map +0 -1
- package/dist/generation-shot.js.map +0 -1
- package/dist/generations-output.js.map +0 -1
- package/dist/generations.js.map +0 -1
- package/dist/idempotency.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/live-shot-kinds.js.map +0 -1
- package/dist/long-form-pricing.js.map +0 -1
- package/dist/long-form-profile.js.map +0 -1
- package/dist/long-form-revision.js.map +0 -1
- package/dist/markdown-quote.js.map +0 -1
- package/dist/mascots.js.map +0 -1
- package/dist/max-credits.js.map +0 -1
- package/dist/mcp-ugc-descriptions.js.map +0 -1
- package/dist/media-timebase.js.map +0 -1
- package/dist/motion-styles.js.map +0 -1
- package/dist/moves.js.map +0 -1
- package/dist/music.js.map +0 -1
- package/dist/naming.js.map +0 -1
- package/dist/openapi.js.map +0 -1
- package/dist/output-provenance.js.map +0 -1
- package/dist/own-agent-price.js.map +0 -1
- package/dist/own-agent-runs.js.map +0 -1
- package/dist/pacing.js.map +0 -1
- package/dist/parts-pricing.js.map +0 -1
- package/dist/post-text.js.map +0 -1
- package/dist/presenter-beats.js.map +0 -1
- package/dist/presenter-matte.js.map +0 -1
- package/dist/presenter-takes.js.map +0 -1
- package/dist/prices.js.map +0 -1
- package/dist/public-endpoints.js.map +0 -1
- package/dist/public-responses.js.map +0 -1
- package/dist/rate-limit.js.map +0 -1
- package/dist/reference-analysis.js.map +0 -1
- package/dist/reference-display.js.map +0 -1
- package/dist/reference-kinds.js.map +0 -1
- package/dist/reference-lyrics.js.map +0 -1
- package/dist/reference-profile.js.map +0 -1
- package/dist/reference-staging.js.map +0 -1
- package/dist/reference-text-spans.js.map +0 -1
- package/dist/reference-voice-over.js.map +0 -1
- package/dist/reference-voice.js.map +0 -1
- package/dist/render-backend.js.map +0 -1
- package/dist/resolved-timeline.js.map +0 -1
- package/dist/run-media.js.map +0 -1
- package/dist/run-preflight.js.map +0 -1
- package/dist/run-static-warnings.js.map +0 -1
- package/dist/runs.js.map +0 -1
- package/dist/scene-bible.js.map +0 -1
- package/dist/scene-graph.js.map +0 -1
- package/dist/scene-place.js.map +0 -1
- package/dist/scene-proposal.js.map +0 -1
- package/dist/script-integrity.js.map +0 -1
- package/dist/script-voice.js.map +0 -1
- package/dist/semantic-inserts.js.map +0 -1
- package/dist/skill-theme-explainer.js.map +0 -1
- package/dist/skill-theme.js.map +0 -1
- package/dist/skills.js.map +0 -1
- package/dist/speech-rhythm-contract.js.map +0 -1
- package/dist/speech-rhythm.js.map +0 -1
- package/dist/templates/backdrop.js.map +0 -1
- package/dist/templates/callout.js.map +0 -1
- package/dist/templates/chart.js.map +0 -1
- package/dist/templates/chat-window.js.map +0 -1
- package/dist/templates/checklist.js.map +0 -1
- package/dist/templates/comment-cta.js.map +0 -1
- package/dist/templates/compare.js.map +0 -1
- package/dist/templates/cover-story.js.map +0 -1
- package/dist/templates/end-card.js.map +0 -1
- package/dist/templates/hand-title.js.map +0 -1
- package/dist/templates/index.js.map +0 -1
- package/dist/templates/lower-third.js.map +0 -1
- package/dist/templates/notification.js.map +0 -1
- package/dist/templates/phone-call.js.map +0 -1
- package/dist/templates/phone-screen.js.map +0 -1
- package/dist/templates/pointer-chips.js.map +0 -1
- package/dist/templates/progress.js.map +0 -1
- package/dist/templates/quote.js.map +0 -1
- package/dist/templates/race.js.map +0 -1
- package/dist/templates/rating.js.map +0 -1
- package/dist/templates/series-frame.js.map +0 -1
- package/dist/templates/size.js.map +0 -1
- package/dist/templates/slot.js.map +0 -1
- package/dist/templates/sounds.js.map +0 -1
- package/dist/templates/stat.js.map +0 -1
- package/dist/templates/tag.js.map +0 -1
- package/dist/templates/terminal.js.map +0 -1
- package/dist/templates/theme.js.map +0 -1
- package/dist/templates/title-card.js.map +0 -1
- package/dist/templates/video-grid.js.map +0 -1
- package/dist/templates/word-fill.js.map +0 -1
- package/dist/templates/word-title.js.map +0 -1
- package/dist/trend-niches.js.map +0 -1
- package/dist/trend-search.js.map +0 -1
- package/dist/tts-backend.js.map +0 -1
- package/dist/ugc-call.js.map +0 -1
- package/dist/ugc-delivery.js.map +0 -1
- package/dist/ugc-framing.js.map +0 -1
- package/dist/ugc-interview.js.map +0 -1
- package/dist/ugc-layers.js.map +0 -1
- package/dist/ugc-scenes.js.map +0 -1
- package/dist/ugc-video-media.js.map +0 -1
- package/dist/uploads.js.map +0 -1
- package/dist/vendor-response.js.map +0 -1
- package/dist/video-size.js.map +0 -1
- package/dist/voice-admission.js.map +0 -1
- package/dist/voice-catalog-data.js.map +0 -1
- package/dist/voice-catalog.js.map +0 -1
- package/dist/voice-listing.js.map +0 -1
- package/dist/voice-pace.js.map +0 -1
- package/dist/voice-preview-approval.js.map +0 -1
- package/dist/voices.js.map +0 -1
- package/dist/workflows/catalog.js.map +0 -1
- package/dist/workflows/film-directions.js.map +0 -1
- package/dist/workflows/index.js.map +0 -1
- package/dist/workflows/methods/faceless-explainer.js.map +0 -1
- package/dist/workflows/methods/kinetic-launch.js.map +0 -1
- package/dist/workflows/methods/product-image-story.js.map +0 -1
- package/dist/workflows/methods/reference-remake.js.map +0 -1
- package/dist/workflows/methods/shared.js.map +0 -1
- package/dist/workflows/methods/ugc-faq-answer.js.map +0 -1
- package/dist/workflows/methods/ugc-product-intro.js.map +0 -1
- package/dist/workflows/methods/website-proof-demo.js.map +0 -1
- package/dist/workflows/motion-director.js.map +0 -1
- package/dist/workflows/product-references.js.map +0 -1
- package/dist/workflows/reference-remake.js.map +0 -1
- package/dist/workflows/remake-chooser.js.map +0 -1
- package/dist/workflows/remake-motion.js.map +0 -1
- package/dist/workflows/validate.js.map +0 -1
- package/dist/workflows.js.map +0 -1
package/dist/voices.js
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
/** Speech models the contract lets callers name. `multilingual_v2` was dropped: */
|
|
3
|
-
/** it honored none of the stress-marking methods we measured. */
|
|
4
2
|
export const TTS_MODELS = ["eleven_v3", "eleven_flash_v2_5", "eleven_turbo_v2_5", "eleven_v4", "gemini-3.8-flash-tts"];
|
|
5
|
-
/** All ElevenLabs speech goes to v4 since 2026-10-25: it covers every v3 language at the same price. */
|
|
6
3
|
export const DEFAULT_TTS_MODEL = "eleven_v4";
|
|
7
|
-
/** What Russian speech goes to when the client names no model; `resolveTtsModel` decides what is Russian. */
|
|
8
4
|
export const RUSSIAN_TTS_MODEL = "eleven_v4";
|
|
9
|
-
/** Models the contract still accepts but no longer speaks: a run naming one is served on its successor, named in warnings[]. */
|
|
10
5
|
export const RETIRED_TTS_MODELS = { eleven_v3: DEFAULT_TTS_MODEL };
|
|
11
|
-
/** The model spoken by Google's adapter; contract texts name it through this constant. */
|
|
12
6
|
export const GOOGLE_TTS_MODEL = "gemini-3.8-flash-tts";
|
|
13
7
|
export const TTS_MODEL_BACKEND = {
|
|
14
8
|
eleven_v3: "elevenlabs",
|
|
@@ -18,13 +12,10 @@ export const TTS_MODEL_BACKEND = {
|
|
|
18
12
|
"gemini-3.8-flash-tts": "google",
|
|
19
13
|
};
|
|
20
14
|
export const ELEVENLABS_TTS_MODELS = TTS_MODELS.filter((model) => TTS_MODEL_BACKEND[model] === "elevenlabs");
|
|
21
|
-
/** Whose adapter speaks a model named by a string; `undefined` for a model the contract does not have. */
|
|
22
15
|
export function speechBackendOf(modelId) {
|
|
23
16
|
const model = TTS_MODELS.find((known) => known === modelId);
|
|
24
17
|
return model === undefined ? undefined : TTS_MODEL_BACKEND[model];
|
|
25
18
|
}
|
|
26
|
-
/** v3: the vendor's cap. 2.5: the vendor allows 40,000; 10,000 is our run-length cap. */
|
|
27
|
-
/** v4: the vendor declares 10,000; 5,000 is ours, above the longest measured call. */
|
|
28
19
|
export const TTS_MODEL_CHAR_CAP = {
|
|
29
20
|
eleven_v3: 5_000,
|
|
30
21
|
eleven_flash_v2_5: 10_000,
|
|
@@ -33,25 +24,19 @@ export const TTS_MODEL_CHAR_CAP = {
|
|
|
33
24
|
"gemini-3.8-flash-tts": 5_000,
|
|
34
25
|
};
|
|
35
26
|
export const TTS_MODEL_TEXT_TRAITS = {
|
|
36
|
-
// Retired 2026-10-25. It took speed and ignored it: 0.8 and 1.2 ran within 3%.
|
|
37
27
|
eleven_v3: { readsStressMarks: true, pausesOnBreakTags: true, hasSpeedSetting: true },
|
|
38
28
|
eleven_flash_v2_5: { readsStressMarks: false, pausesOnBreakTags: true, hasSpeedSetting: true },
|
|
39
29
|
eleven_turbo_v2_5: { readsStressMarks: false, pausesOnBreakTags: true, hasSpeedSetting: true },
|
|
40
|
-
// No speed on v4 (0.8, 1 and 1.2 ran within take noise on 13 voices), so the voice sets the pace.
|
|
41
30
|
eleven_v4: { readsStressMarks: true, pausesOnBreakTags: false, hasSpeedSetting: false },
|
|
42
31
|
"gemini-3.8-flash-tts": { readsStressMarks: true, pausesOnBreakTags: false, hasSpeedSetting: false },
|
|
43
32
|
};
|
|
44
33
|
const modelsWhere = (holds) => new Set(TTS_MODELS.filter((model) => holds(TTS_MODEL_TEXT_TRAITS[model])));
|
|
45
|
-
/** Models that read the U+0301 stress mark; flash misreads the same mark three times as often. */
|
|
46
34
|
export const STRESS_MARK = String.fromCharCode(0x0301);
|
|
47
35
|
export const STRESS_MARK_MODELS = modelsWhere((traits) => traits.readsStressMarks);
|
|
48
36
|
const listed = (names) => names.join(", ").replace(/, ([^,]+)$/, " and $1");
|
|
49
37
|
const STRESS_MARK_READERS = listed([...STRESS_MARK_MODELS].filter((model) => RETIRED_TTS_MODELS[model] === undefined));
|
|
50
|
-
/** Models that accept a speed setting and ignore it: a request to them carries none. */
|
|
51
38
|
export const FIXED_PACE_MODELS = modelsWhere((traits) => !traits.hasSpeedSetting);
|
|
52
|
-
/** Models that give no pause for a break tag: the tag is cut from the text sent to them. */
|
|
53
39
|
export const NO_BREAK_TAG_MODELS = modelsWhere((traits) => !traits.pausesOnBreakTags);
|
|
54
|
-
/** The one break form the pipeline knows; the cut here and the alignment parser share it. */
|
|
55
40
|
export const BREAK_TAG_SOURCE = String.raw `<break time="\d+(?:\.\d+)?(?:ms|s)"\s*\/>`;
|
|
56
41
|
const BREAK_TAG = new RegExp(BREAK_TAG_SOURCE);
|
|
57
42
|
const BREAK_TAG_ALL = new RegExp(BREAK_TAG_SOURCE, "g");
|
|
@@ -61,8 +46,6 @@ const CYRILLIC_STRESS_MARK = new RegExp(`[Ѐ-ӿ]${STRESS_MARK}`);
|
|
|
61
46
|
const CYRILLIC_LOWERCASE = /[а-џ]/;
|
|
62
47
|
const CYRILLIC_UPPERCASE = /[Ѐ-Я]/;
|
|
63
48
|
const CYRILLIC_UPPER_VOWELS = "АЕЁИОУЫЭЮЯ";
|
|
64
|
-
/** Index of the stressed capital: exactly one capital after the first letter, a vowel. */
|
|
65
|
-
/** A second capital or a consonant capital is an abbreviation, not stress. */
|
|
66
49
|
function stressCapitalIndex(word) {
|
|
67
50
|
if (!CYRILLIC_LOWERCASE.test(word))
|
|
68
51
|
return -1;
|
|
@@ -80,8 +63,6 @@ function stressCapitalIndex(word) {
|
|
|
80
63
|
}
|
|
81
64
|
return found;
|
|
82
65
|
}
|
|
83
|
-
/** Turns an inner capital vowel into a stress mark. A word-initial capital stays a capital; */
|
|
84
|
-
/** an existing mark is not doubled. */
|
|
85
66
|
export function stressMarksFromCapitals(text) {
|
|
86
67
|
return text.replace(CYRILLIC_WORD, (word) => {
|
|
87
68
|
const i = stressCapitalIndex(word);
|
|
@@ -92,7 +73,6 @@ export function stressMarksFromCapitals(text) {
|
|
|
92
73
|
return word.slice(0, i) + vowel.toLowerCase() + mark + word.slice(i + 1);
|
|
93
74
|
});
|
|
94
75
|
}
|
|
95
|
-
/** One pass, linear in the text: each tag with the blanks around it becomes one space. */
|
|
96
76
|
function cutBreakTagsOnce(text) {
|
|
97
77
|
let out = "";
|
|
98
78
|
let from = 0;
|
|
@@ -108,7 +88,6 @@ function cutBreakTagsOnce(text) {
|
|
|
108
88
|
}
|
|
109
89
|
return from === 0 ? text : out + text.slice(from);
|
|
110
90
|
}
|
|
111
|
-
/** Cuts until no tag is left: one pass over a tag written inside a tag leaves a whole tag. */
|
|
112
91
|
function withoutBreakTags(text) {
|
|
113
92
|
let current = text;
|
|
114
93
|
for (;;) {
|
|
@@ -118,12 +97,9 @@ function withoutBreakTags(text) {
|
|
|
118
97
|
current = cut;
|
|
119
98
|
}
|
|
120
99
|
}
|
|
121
|
-
/** A break tag still in text bound for a model that gives no pause for it. */
|
|
122
100
|
export function hasUncutBreakTag(text, modelId) {
|
|
123
101
|
return NO_BREAK_TAG_MODELS.has(modelId) && BREAK_TAG.test(text);
|
|
124
102
|
}
|
|
125
|
-
/** The text sent to the vendor: stress marking only for a model that reads it, and a break */
|
|
126
|
-
/** tag with the spaces around it becomes one space for a model that gives no pause for it. */
|
|
127
103
|
export function speechTextFor(text, modelId) {
|
|
128
104
|
const spoken = NO_BREAK_TAG_MODELS.has(modelId) ? withoutBreakTags(text) : text;
|
|
129
105
|
return STRESS_MARK_MODELS.has(modelId) ? stressMarksFromCapitals(spoken) : spoken;
|
|
@@ -142,7 +118,6 @@ export const STRESS_MARKING_DESCRIPTION = "Russian stress: write the stressed vo
|
|
|
142
118
|
"read as stress, so write \"Яндекс Еда\", not \"ЯндексЕда\". " +
|
|
143
119
|
"Tell users writing in Russian that they can mark stress this way. eleven_flash_v2_5 and " +
|
|
144
120
|
"eleven_turbo_v2_5 cost less but misread stress marks: capitals reach them unchanged.";
|
|
145
|
-
/** Length is measured on the text sent to the vendor: stress marks in, cut break tags out. */
|
|
146
121
|
export function ttsScriptLimitError(text, modelId) {
|
|
147
122
|
const model = TTS_MODELS.find((model) => model === modelId);
|
|
148
123
|
if (!model)
|
|
@@ -162,16 +137,12 @@ export function ttsScriptLimitError(text, modelId) {
|
|
|
162
137
|
}
|
|
163
138
|
return undefined;
|
|
164
139
|
}
|
|
165
|
-
/** A spoken unit of nothing but break tags leaves a model that cuts them with no text to send. */
|
|
166
140
|
export function cutToNothingError(text, modelId) {
|
|
167
141
|
if (text.trim() === "" || speechTextFor(text, modelId).trim() !== "")
|
|
168
142
|
return undefined;
|
|
169
143
|
return `script has nothing to say on ${modelId}: break tags are cut from the text sent to it, and no words are left`;
|
|
170
144
|
}
|
|
171
|
-
/** The starter set of presets. Order matters only for presentation; the default is set */
|
|
172
|
-
/** separately by `DEFAULT_VOICE_PRESET`. */
|
|
173
145
|
export const VOICE_PRESETS = {
|
|
174
|
-
// A Russian preset speaks `RUSSIAN_TTS_MODEL`, every other one the default; a test holds both.
|
|
175
146
|
sarah: {
|
|
176
147
|
language: "en",
|
|
177
148
|
gender: "female",
|
|
@@ -197,18 +168,13 @@ export const VOICE_PRESETS = {
|
|
|
197
168
|
model: RUSSIAN_TTS_MODEL,
|
|
198
169
|
},
|
|
199
170
|
};
|
|
200
|
-
/** Preset name tuple for `z.enum`, derived from `VOICE_PRESETS` keys so names and */
|
|
201
|
-
/** metadata cannot drift. */
|
|
202
171
|
export const VOICE_PRESET_NAMES = Object.keys(VOICE_PRESETS);
|
|
203
|
-
/** The shape of a voice name, not a list: the catalog grows on the server without client releases. */
|
|
204
172
|
export const VOICE_NAME_PATTERN = /^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$/;
|
|
205
173
|
export function isVoicePresetName(name) {
|
|
206
174
|
return Object.hasOwn(VOICE_PRESETS, name);
|
|
207
175
|
}
|
|
208
|
-
/** Presets a server adds at start: this package ships none of them, and `listVoices` lists none unless asked. */
|
|
209
176
|
const servicePresets = new Map();
|
|
210
177
|
let publishedOnly = false;
|
|
211
|
-
/** Adds presets a server keeps to itself; a published name is refused, so a published preset cannot be replaced. */
|
|
212
178
|
export function addServiceVoicePresets(presets) {
|
|
213
179
|
for (const [name, preset] of Object.entries(presets)) {
|
|
214
180
|
if (isVoicePresetName(name) || isModelVoiceName(name))
|
|
@@ -216,12 +182,9 @@ export function addServiceVoicePresets(presets) {
|
|
|
216
182
|
servicePresets.set(name, preset);
|
|
217
183
|
}
|
|
218
184
|
}
|
|
219
|
-
/** A preset by name: a published one, then one a server added. Model, gender and warnings read presets through it. */
|
|
220
185
|
export function voicePresetOf(name) {
|
|
221
186
|
return isVoicePresetName(name) ? VOICE_PRESETS[name] : publishedOnly ? undefined : servicePresets.get(name);
|
|
222
187
|
}
|
|
223
|
-
/** Runs `read` as a published client sees presets: no server preset exists during it, so no check can tell one */
|
|
224
|
-
/** from an unknown name. Synchronous on purpose: nothing else runs while the view holds. */
|
|
225
188
|
export function withPublishedPresetsOnly(read) {
|
|
226
189
|
const prior = publishedOnly;
|
|
227
190
|
publishedOnly = true;
|
|
@@ -232,13 +195,9 @@ export function withPublishedPresetsOnly(read) {
|
|
|
232
195
|
publishedOnly = prior;
|
|
233
196
|
}
|
|
234
197
|
}
|
|
235
|
-
/** The `/v1/voices` response as a schema, not a guess on both sides: the server sends a */
|
|
236
|
-
/** body parsed by it and the SDK parses with it. `Array.isArray` let any array through. */
|
|
237
198
|
export const voiceCatalogEntry = z.object({
|
|
238
|
-
// Strings, not enums: an unfamiliar name or label does not break `listVoices`.
|
|
239
199
|
name: z.string().min(1),
|
|
240
200
|
kind: z.string().optional(),
|
|
241
|
-
/** The skill whose `voice` field takes this name; no other skill speaks the voice. */
|
|
242
201
|
skill: z.string().optional(),
|
|
243
202
|
language: z.string().min(1).optional(),
|
|
244
203
|
locale: z.string().optional(),
|
|
@@ -252,7 +211,6 @@ export const voiceCatalogEntry = z.object({
|
|
|
252
211
|
verified_models: z.array(z.string()).optional(),
|
|
253
212
|
words_per_second: z.number().positive().optional()
|
|
254
213
|
.describe("Measured English pace on eleven_v4, which has no speed setting; analyze_reference measures a presenter the same way."),
|
|
255
|
-
// The signature is temporary; a missing pair means the voice has no sample.
|
|
256
214
|
preview_url: z.url().optional(),
|
|
257
215
|
preview_expires_at: z.iso.datetime().optional(),
|
|
258
216
|
});
|
|
@@ -260,17 +218,13 @@ export const voiceModelEntry = z.object({
|
|
|
260
218
|
id: z.string().min(1),
|
|
261
219
|
char_limit: z.number().int().positive(),
|
|
262
220
|
languages: z.array(z.string()),
|
|
263
|
-
/** Whether the vendor verifies any library voice for this model at all. An empty */
|
|
264
|
-
/** `verified_models` on a model where this is `false` says nothing about the voice. */
|
|
265
221
|
vendor_verifies_voices: z.boolean().optional(),
|
|
266
222
|
});
|
|
267
223
|
export const voicesResponse = z.object({
|
|
268
224
|
voices: z.array(voiceCatalogEntry),
|
|
269
225
|
models: z.array(voiceModelEntry).optional(),
|
|
270
226
|
});
|
|
271
|
-
/** The voice when the actor's gender is unknown; the resolver fills it in, not the schema. */
|
|
272
227
|
export const DEFAULT_VOICE_PRESET = "george";
|
|
273
|
-
/** The default voice follows the actor's gender. */
|
|
274
228
|
export const DEFAULT_VOICE_BY_GENDER = {
|
|
275
229
|
female: "sarah",
|
|
276
230
|
male: "george",
|
|
@@ -278,7 +232,6 @@ export const DEFAULT_VOICE_BY_GENDER = {
|
|
|
278
232
|
function defaultVoiceFor(gender) {
|
|
279
233
|
return gender === undefined ? DEFAULT_VOICE_PRESET : DEFAULT_VOICE_BY_GENDER[gender];
|
|
280
234
|
}
|
|
281
|
-
/** The voices of `MODEL_VOICE_MODEL` by OUR names, in the vendor page's order. */
|
|
282
235
|
export const MODEL_VOICES = {
|
|
283
236
|
zephyr: { description: "Bright" },
|
|
284
237
|
puck: { description: "Upbeat" },
|
|
@@ -312,31 +265,26 @@ export const MODEL_VOICES = {
|
|
|
312
265
|
sulafat: { description: "Warm" },
|
|
313
266
|
};
|
|
314
267
|
export const MODEL_VOICE_NAMES = Object.keys(MODEL_VOICES);
|
|
315
|
-
/** The one model that speaks `MODEL_VOICES`: naming one of them selects it. */
|
|
316
268
|
export const MODEL_VOICE_MODEL = GOOGLE_TTS_MODEL;
|
|
317
269
|
export function isModelVoiceName(name) {
|
|
318
270
|
return Object.hasOwn(MODEL_VOICES, name);
|
|
319
271
|
}
|
|
320
|
-
/** The default voice of a model that speaks only its own voices; an unknown gender speaks the male one. */
|
|
321
272
|
export const MODEL_DEFAULT_VOICE_BY_GENDER = {
|
|
322
273
|
female: "kore",
|
|
323
274
|
male: "charon",
|
|
324
275
|
};
|
|
325
|
-
/** The model of `MODEL_VOICES` speaks only those: presets, catalog voices and raw ids do not carry over. */
|
|
326
276
|
export function speaksOwnVoices(modelId) {
|
|
327
277
|
return modelId === MODEL_VOICE_MODEL;
|
|
328
278
|
}
|
|
329
|
-
/** The voice a run speaks when it names none, with the gender that voice has. */
|
|
330
279
|
export function defaultVoiceOf(modelId, gender) {
|
|
331
280
|
const voiceGender = gender ?? VOICE_PRESETS[DEFAULT_VOICE_PRESET].gender;
|
|
332
281
|
const name = speaksOwnVoices(modelId) ? MODEL_DEFAULT_VOICE_BY_GENDER[voiceGender] : defaultVoiceFor(gender);
|
|
333
282
|
return { name, gender: voiceGender };
|
|
334
283
|
}
|
|
335
|
-
|
|
336
|
-
|
|
284
|
+
export function pacedVoiceOf(input, modelId, gender) {
|
|
285
|
+
return input.voice ?? (input.voice_id === undefined ? defaultVoiceOf(modelId, gender).name : undefined);
|
|
286
|
+
}
|
|
337
287
|
export const VOICE_ID_PATTERN = /^[A-Za-z0-9]{16,32}$/;
|
|
338
|
-
/** Priority: raw `voice_id` > `voice` > voice by actor gender > `DEFAULT_VOICE_PRESET`. */
|
|
339
|
-
/** Gender comes from `voiceGenderFor` (actors.ts); `tts_model` is the run's model, which owns the default voice. */
|
|
340
288
|
export function resolveVoiceSelection(input, gender) {
|
|
341
289
|
if (input.voice_id !== undefined) {
|
|
342
290
|
return { kind: "raw", voiceId: input.voice_id };
|
|
@@ -344,7 +292,6 @@ export function resolveVoiceSelection(input, gender) {
|
|
|
344
292
|
if (input.voice !== undefined) {
|
|
345
293
|
if (isModelVoiceName(input.voice))
|
|
346
294
|
return { kind: "model_voice", voice: input.voice };
|
|
347
|
-
// Not a preset, so a catalog slug: the run resolves its id, and a miss refuses.
|
|
348
295
|
if (voicePresetOf(input.voice) === undefined)
|
|
349
296
|
return { kind: "catalog", slug: input.voice };
|
|
350
297
|
return { kind: "preset", preset: input.voice };
|
|
@@ -354,10 +301,7 @@ export function resolveVoiceSelection(input, gender) {
|
|
|
354
301
|
}
|
|
355
302
|
return { kind: "preset", preset: defaultVoiceFor(gender) };
|
|
356
303
|
}
|
|
357
|
-
/** A catalog slug is `language_gender_name`: the prefix is the voice's language. */
|
|
358
304
|
const RUSSIAN_CATALOG_SLUG_PREFIX = "ru_";
|
|
359
|
-
/** Model: explicit `tts_model` (a retired one → its successor) → a raw `voice_id` by the script family → the model */
|
|
360
|
-
/** of a model's own voice → the preset's model → a catalog voice by its slug language. `script` is the run's whole text. */
|
|
361
305
|
export function resolveTtsModel(input, gender) {
|
|
362
306
|
if (input.tts_model !== undefined)
|
|
363
307
|
return RETIRED_TTS_MODELS[input.tts_model] ?? input.tts_model;
|
|
@@ -372,8 +316,6 @@ export function resolveTtsModel(input, gender) {
|
|
|
372
316
|
return preset.model;
|
|
373
317
|
return voice.startsWith(RUSSIAN_CATALOG_SLUG_PREFIX) ? RUSSIAN_TTS_MODEL : DEFAULT_TTS_MODEL;
|
|
374
318
|
}
|
|
375
|
-
/** The model a run admitted before 2026-10-25 spoke: the same order, but a named model as is and eleven_v3 for */
|
|
376
|
-
/** everything not Russian. Stored runs without `resolved_tts_model` are described by it, never by today's default. */
|
|
377
319
|
export function ttsModelBeforeV4Default(input, gender) {
|
|
378
320
|
if (input.tts_model !== undefined)
|
|
379
321
|
return input.tts_model;
|
|
@@ -386,11 +328,7 @@ export function ttsModelBeforeV4Default(input, gender) {
|
|
|
386
328
|
: preset !== undefined ? preset.language === "ru" : voice.startsWith(RUSSIAN_CATALOG_SLUG_PREFIX);
|
|
387
329
|
return russian ? RUSSIAN_TTS_MODEL : "eleven_v3";
|
|
388
330
|
}
|
|
389
|
-
/** Script family for the language warning: counts only Cyrillic vs Latin letters. Fewer than */
|
|
390
|
-
/** 2 letters or no side reaching this 60% dominance gives "neutral". */
|
|
391
331
|
export const SCRIPT_DOMINANCE_THRESHOLD = 0.6;
|
|
392
|
-
/** Letters of each script separately. `detectScriptFamily` sums them; apart they tell */
|
|
393
|
-
/** "few" from "none at all". */
|
|
394
332
|
export function scriptLetterCounts(script) {
|
|
395
333
|
let cyrillic = 0;
|
|
396
334
|
let latin = 0;
|
|
@@ -407,7 +345,6 @@ export function scriptLetterCounts(script) {
|
|
|
407
345
|
export function detectScriptFamily(script) {
|
|
408
346
|
const { cyrillic, latin } = scriptLetterCounts(script);
|
|
409
347
|
const total = cyrillic + latin;
|
|
410
|
-
// Too few letters: nothing to judge the language by.
|
|
411
348
|
if (total < 2) {
|
|
412
349
|
return "neutral";
|
|
413
350
|
}
|
|
@@ -419,47 +356,30 @@ export function detectScriptFamily(script) {
|
|
|
419
356
|
}
|
|
420
357
|
return "neutral";
|
|
421
358
|
}
|
|
422
|
-
/** Maps our short preset language label to a script family. Covers only ru/en on purpose: */
|
|
423
|
-
/** any other label means "no data to compare" and silences the warning. */
|
|
424
359
|
const LANGUAGE_TO_SCRIPT_FAMILY = {
|
|
425
360
|
ru: "cyrillic",
|
|
426
361
|
en: "latin",
|
|
427
362
|
};
|
|
428
|
-
/** QUOTE path only: a raw voice id is checked at run start, not at quote time. */
|
|
429
363
|
export const RAW_VOICE_ID_VALIDATION_WARNING = "raw voice_id is verified against your account at run start, not at quote time";
|
|
430
|
-
/** Voice warnings fire only when (i) the client chose explicitly, (ii) the claim rests on data */
|
|
431
|
-
/** present, (iii) never on the default happy path. A voice is never substituted, only failed. */
|
|
432
364
|
export function buildVoiceWarnings(input) {
|
|
433
|
-
// A raw id is an explicit choice, but its existence is checked at run start,
|
|
434
|
-
// so the quote warns about deferred validation.
|
|
435
365
|
if (input.voice_id !== undefined) {
|
|
436
366
|
return [RAW_VOICE_ID_VALIDATION_WARNING];
|
|
437
367
|
}
|
|
438
|
-
// No explicit voice: no language warnings ever. The gender-based voice is
|
|
439
|
-
// covered by `buildActorGenderWarnings` (actors.ts).
|
|
440
368
|
if (input.voice === undefined) {
|
|
441
369
|
return [];
|
|
442
370
|
}
|
|
443
|
-
// Defensive: zod already narrowed voice, but a pure function does not rely on it.
|
|
444
|
-
// An unknown name has no preset and so no data.
|
|
445
371
|
const preset = voicePresetOf(input.voice);
|
|
446
372
|
if (preset === undefined) {
|
|
447
373
|
return [];
|
|
448
374
|
}
|
|
449
|
-
// Compare only against a PRESENT usable label; a language outside ru/en means
|
|
450
|
-
// no data, so stay silent instead of guessing.
|
|
451
375
|
const voiceFamily = LANGUAGE_TO_SCRIPT_FAMILY[preset.language];
|
|
452
376
|
if (voiceFamily === undefined) {
|
|
453
377
|
return [];
|
|
454
378
|
}
|
|
455
|
-
// An explicit preset against the detected script family. A neutral or mixed
|
|
456
|
-
// script contradicts nothing.
|
|
457
379
|
const scriptFamily = detectScriptFamily(input.script);
|
|
458
380
|
if (scriptFamily === "neutral" || scriptFamily === voiceFamily) {
|
|
459
381
|
return [];
|
|
460
382
|
}
|
|
461
|
-
// "No letters at all" and "wrong language" call for different fixes: the text or
|
|
462
|
-
// its delivery versus the voice choice.
|
|
463
383
|
const counts = scriptLetterCounts(input.script);
|
|
464
384
|
if (counts[voiceFamily] === 0) {
|
|
465
385
|
return [
|
|
@@ -472,8 +392,6 @@ export function buildVoiceWarnings(input) {
|
|
|
472
392
|
`voice "${input.voice}" is labeled ${preset.language}, but the script looks ${scriptFamily}; it will be voiced in a ${preset.language} voice`,
|
|
473
393
|
];
|
|
474
394
|
}
|
|
475
|
-
/** A retired model named by the client, and a model that ignores stress marks or break tags on text that */
|
|
476
|
-
/** carries them. Silent on a model that reads both. `model` is the one spoken: a stored run passes its own. */
|
|
477
395
|
export function buildSpeechModelWarnings(input, gender, model = resolveTtsModel(input, gender)) {
|
|
478
396
|
const retired = input.tts_model !== undefined && input.tts_model !== model && RETIRED_TTS_MODELS[input.tts_model] !== undefined
|
|
479
397
|
? [`tts_model ${input.tts_model} is no longer used for speech: this run speaks ${model}`]
|
|
@@ -484,12 +402,10 @@ export function buildSpeechModelWarnings(input, gender, model = resolveTtsModel(
|
|
|
484
402
|
const first = [...retired, ...breaks];
|
|
485
403
|
if (STRESS_MARK_MODELS.has(model))
|
|
486
404
|
return first;
|
|
487
|
-
// An explicit voice stays with its vendor: a reader of another vendor would refuse it.
|
|
488
405
|
const keepsVoice = input.voice !== undefined || input.voice_id !== undefined;
|
|
489
406
|
const readerModels = [...STRESS_MARK_MODELS].filter((reader) => RETIRED_TTS_MODELS[reader] === undefined &&
|
|
490
407
|
(!keepsVoice || TTS_MODEL_BACKEND[reader] === TTS_MODEL_BACKEND[model]));
|
|
491
408
|
const readers = `${listed(readerModels)} ${readerModels.length === 1 ? "reads" : "read"}`;
|
|
492
|
-
// A mark after a Latin letter is a French or Spanish accent (NFD), not stress.
|
|
493
409
|
const marked = CYRILLIC_STRESS_MARK.test(input.script) || stressMarksFromCapitals(input.script) !== input.script;
|
|
494
410
|
if (marked) {
|
|
495
411
|
return [
|
|
@@ -508,4 +424,3 @@ export function buildSpeechModelWarnings(input, gender, model = resolveTtsModel(
|
|
|
508
424
|
}
|
|
509
425
|
return first;
|
|
510
426
|
}
|
|
511
|
-
//# sourceMappingURL=voices.js.map
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { type CapabilityProfile, type MethodDescriptor, type WorkflowMethodResponse, type WorkflowCatalogResponse } from '../contracts/v1/workflow-catalog.js';
|
|
2
2
|
export declare const WORKFLOW_METHODS: readonly MethodDescriptor[];
|
|
3
|
-
/** Executable versions of planning-only methods (#1461): one replaces its method while an executor of the snapshot names its profile. */
|
|
4
3
|
export declare const WORKFLOW_FILM_METHODS: readonly MethodDescriptor[];
|
|
5
|
-
/** A pinned method version, whichever of its versions the catalog offers now. */
|
|
6
4
|
export declare function workflowMethodVersion(id: string, version: number): MethodDescriptor | undefined;
|
|
7
5
|
export declare function queryWorkflowCatalog(capabilities: CapabilityProfile): WorkflowCatalogResponse;
|
|
8
6
|
export declare function queryWorkflowMethod(id: string, capabilities: CapabilityProfile): WorkflowMethodResponse | null;
|
|
@@ -15,14 +15,11 @@ function freeze(value) {
|
|
|
15
15
|
return value;
|
|
16
16
|
}
|
|
17
17
|
export const WORKFLOW_METHODS = freeze([ugcProductIntro, ugcFaqAnswer, facelessExplainer, productImageStory, websiteProofDemo, kineticLaunch, referenceRemake]);
|
|
18
|
-
/** Executable versions of planning-only methods (#1461): one replaces its method while an executor of the snapshot names its profile. */
|
|
19
18
|
export const WORKFLOW_FILM_METHODS = freeze([kineticLaunchFilm, websiteProofDemoFilm]);
|
|
20
|
-
/** The version of a method the snapshot offers: its executable one while some executor qualifies that profile, else the catalog's. */
|
|
21
19
|
function offered(descriptor, snapshot) {
|
|
22
20
|
const film = WORKFLOW_FILM_METHODS.find(method => method.id === descriptor.id);
|
|
23
21
|
return film && snapshot.executors.some(executor => executor.skill === film.binding.skill && executor.profiles.includes(film.binding.profile)) ? film : descriptor;
|
|
24
22
|
}
|
|
25
|
-
/** A pinned method version, whichever of its versions the catalog offers now. */
|
|
26
23
|
export function workflowMethodVersion(id, version) {
|
|
27
24
|
return [...WORKFLOW_METHODS, ...WORKFLOW_FILM_METHODS].find(method => method.id === id && method.version === version);
|
|
28
25
|
}
|
|
@@ -66,4 +63,3 @@ export function queryWorkflowMethod(id, capabilities) {
|
|
|
66
63
|
const descriptor = WORKFLOW_METHODS.find(method => method.id === id);
|
|
67
64
|
return descriptor ? methodResponse(offered(descriptor, snapshot), snapshot) : null;
|
|
68
65
|
}
|
|
69
|
-
//# sourceMappingURL=catalog.js.map
|
|
@@ -2,9 +2,6 @@ import type { WorkflowPlanDocument } from '../contracts/v1/workflow-plan.js';
|
|
|
2
2
|
import type { WorkflowIssue } from '../contracts/v1/workflow-primitives.js';
|
|
3
3
|
import type { MethodDescriptor } from '../contracts/v1/workflow-catalog.js';
|
|
4
4
|
import { type FilmDirections } from '../film-directions.js';
|
|
5
|
-
/** A method whose executor refuses to deliver a film that misses a required beat's visual (#1461). */
|
|
6
5
|
export declare const enforcesVisualBeats: (method: MethodDescriptor) => boolean;
|
|
7
|
-
/** What the plan's pinned method requires of its film; none for a method that does not enforce its beats. */
|
|
8
6
|
export declare function workflowFilmDirections(document: WorkflowPlanDocument): FilmDirections | undefined;
|
|
9
|
-
/** Why a plan of an enforcing method cannot be launched as planned: anchors, glyphs and captures, before any approval. */
|
|
10
7
|
export declare function filmDirectionIssues(method: MethodDescriptor, document: WorkflowPlanDocument): WorkflowIssue[];
|
|
@@ -2,9 +2,7 @@ import { EXPLAINER_MAX_PRODUCT_PICTURES } from '../faceless-public.js';
|
|
|
2
2
|
import { resolveFacelessCustomerAnchors } from '../faceless-customer-anchors.js';
|
|
3
3
|
import { missingKitGlyphs } from '../film-directions.js';
|
|
4
4
|
import { workflowMethodVersion } from './catalog.js';
|
|
5
|
-
/** A method whose executor refuses to deliver a film that misses a required beat's visual (#1461). */
|
|
6
5
|
export const enforcesVisualBeats = (method) => method.binding.kind === 'native' && method.binding.visual_beats === 'enforced';
|
|
7
|
-
/** What the plan's pinned method requires of its film; none for a method that does not enforce its beats. */
|
|
8
6
|
export function workflowFilmDirections(document) {
|
|
9
7
|
const method = workflowMethodVersion(document.method.method_id, document.method.version);
|
|
10
8
|
if (!method || !enforcesVisualBeats(method))
|
|
@@ -15,7 +13,6 @@ export function workflowFilmDirections(document) {
|
|
|
15
13
|
...(beat.anchor.occurrence === undefined ? {} : { occurrence: beat.anchor.occurrence }) }] : []);
|
|
16
14
|
return { method: method.id, moments, captures };
|
|
17
15
|
}
|
|
18
|
-
/** Why a plan of an enforcing method cannot be launched as planned: anchors, glyphs and captures, before any approval. */
|
|
19
16
|
export function filmDirectionIssues(method, document) {
|
|
20
17
|
if (!enforcesVisualBeats(method))
|
|
21
18
|
return [];
|
|
@@ -64,4 +61,3 @@ export function filmDirectionIssues(method, document) {
|
|
|
64
61
|
}
|
|
65
62
|
return issues;
|
|
66
63
|
}
|
|
67
|
-
//# sourceMappingURL=film-directions.js.map
|
package/dist/workflows/index.js
CHANGED
|
@@ -3888,6 +3888,7 @@ export declare const facelessExplainer: {
|
|
|
3888
3888
|
pacing: {
|
|
3889
3889
|
layer_change_every_s: number;
|
|
3890
3890
|
face_share: number;
|
|
3891
|
+
effective_words_per_s?: number | undefined;
|
|
3891
3892
|
};
|
|
3892
3893
|
palette: string[];
|
|
3893
3894
|
music: string;
|
|
@@ -4181,6 +4182,36 @@ export declare const facelessExplainer: {
|
|
|
4181
4182
|
start_s: number;
|
|
4182
4183
|
end_s: number;
|
|
4183
4184
|
}[] | undefined;
|
|
4185
|
+
shots?: {
|
|
4186
|
+
start_s: number;
|
|
4187
|
+
end_s: number;
|
|
4188
|
+
beat_index: number;
|
|
4189
|
+
words: number;
|
|
4190
|
+
silent: boolean;
|
|
4191
|
+
cut_in: "from_insert" | "jump_cut" | "other" | "size_change" | "start" | "to_insert";
|
|
4192
|
+
source?: {
|
|
4193
|
+
kind: "ai_video" | "code_render" | "live" | "real_footage" | "screen_capture";
|
|
4194
|
+
confidence: number;
|
|
4195
|
+
measured: boolean;
|
|
4196
|
+
} | undefined;
|
|
4197
|
+
same_clip_as?: number | null | undefined;
|
|
4198
|
+
}[] | undefined;
|
|
4199
|
+
tempo?: {
|
|
4200
|
+
music_bed: boolean;
|
|
4201
|
+
bpm: number | null;
|
|
4202
|
+
cuts_on_beat: number | null;
|
|
4203
|
+
cuts_on_beat_by_chance: number | null;
|
|
4204
|
+
edit_on_beat: boolean;
|
|
4205
|
+
} | undefined;
|
|
4206
|
+
bring?: {
|
|
4207
|
+
kind: "live_clip" | "product_photo" | "screen_recording" | "screenshot";
|
|
4208
|
+
seconds: number;
|
|
4209
|
+
at_s: number[];
|
|
4210
|
+
}[] | undefined;
|
|
4211
|
+
sound_events?: {
|
|
4212
|
+
t_s: number;
|
|
4213
|
+
kind: "click" | "ding" | "hit" | "impact" | "pop" | "typing" | "whoosh";
|
|
4214
|
+
}[] | undefined;
|
|
4184
4215
|
analysis: {
|
|
4185
4216
|
warnings?: string[] | undefined;
|
|
4186
4217
|
};
|
|
@@ -17,4 +17,3 @@ export const facelessExplainer = defineWorkflowMethod({
|
|
|
17
17
|
{ id: 'moisture', role: 'ordered_points', anchor: { quote: 'First, moisture helps the seed take in water' }, required: false },
|
|
18
18
|
{ id: 'takeaway', role: 'takeaway', anchor: { quote: 'Check the instructions for your seed' }, required: false }] },
|
|
19
19
|
});
|
|
20
|
-
//# sourceMappingURL=faceless-explainer.js.map
|
|
@@ -3888,6 +3888,7 @@ export declare const kineticLaunch: {
|
|
|
3888
3888
|
pacing: {
|
|
3889
3889
|
layer_change_every_s: number;
|
|
3890
3890
|
face_share: number;
|
|
3891
|
+
effective_words_per_s?: number | undefined;
|
|
3891
3892
|
};
|
|
3892
3893
|
palette: string[];
|
|
3893
3894
|
music: string;
|
|
@@ -4181,6 +4182,36 @@ export declare const kineticLaunch: {
|
|
|
4181
4182
|
start_s: number;
|
|
4182
4183
|
end_s: number;
|
|
4183
4184
|
}[] | undefined;
|
|
4185
|
+
shots?: {
|
|
4186
|
+
start_s: number;
|
|
4187
|
+
end_s: number;
|
|
4188
|
+
beat_index: number;
|
|
4189
|
+
words: number;
|
|
4190
|
+
silent: boolean;
|
|
4191
|
+
cut_in: "from_insert" | "jump_cut" | "other" | "size_change" | "start" | "to_insert";
|
|
4192
|
+
source?: {
|
|
4193
|
+
kind: "ai_video" | "code_render" | "live" | "real_footage" | "screen_capture";
|
|
4194
|
+
confidence: number;
|
|
4195
|
+
measured: boolean;
|
|
4196
|
+
} | undefined;
|
|
4197
|
+
same_clip_as?: number | null | undefined;
|
|
4198
|
+
}[] | undefined;
|
|
4199
|
+
tempo?: {
|
|
4200
|
+
music_bed: boolean;
|
|
4201
|
+
bpm: number | null;
|
|
4202
|
+
cuts_on_beat: number | null;
|
|
4203
|
+
cuts_on_beat_by_chance: number | null;
|
|
4204
|
+
edit_on_beat: boolean;
|
|
4205
|
+
} | undefined;
|
|
4206
|
+
bring?: {
|
|
4207
|
+
kind: "live_clip" | "product_photo" | "screen_recording" | "screenshot";
|
|
4208
|
+
seconds: number;
|
|
4209
|
+
at_s: number[];
|
|
4210
|
+
}[] | undefined;
|
|
4211
|
+
sound_events?: {
|
|
4212
|
+
t_s: number;
|
|
4213
|
+
kind: "click" | "ding" | "hit" | "impact" | "pop" | "typing" | "whoosh";
|
|
4214
|
+
}[] | undefined;
|
|
4184
4215
|
analysis: {
|
|
4185
4216
|
warnings?: string[] | undefined;
|
|
4186
4217
|
};
|
|
@@ -4206,7 +4237,6 @@ export declare const kineticLaunch: {
|
|
|
4206
4237
|
}[];
|
|
4207
4238
|
};
|
|
4208
4239
|
};
|
|
4209
|
-
/** The method on the explainer film (#1461): offered while the faceless executor qualifies its profile, else the planning-only version 1. */
|
|
4210
4240
|
export declare const kineticLaunchFilm: {
|
|
4211
4241
|
id: "faceless-explainer" | "kinetic-launch" | "product-image-story" | "reference-remake" | "ugc-faq-answer" | "ugc-product-intro" | "website-proof-demo";
|
|
4212
4242
|
version: number;
|
|
@@ -8097,6 +8127,7 @@ export declare const kineticLaunchFilm: {
|
|
|
8097
8127
|
pacing: {
|
|
8098
8128
|
layer_change_every_s: number;
|
|
8099
8129
|
face_share: number;
|
|
8130
|
+
effective_words_per_s?: number | undefined;
|
|
8100
8131
|
};
|
|
8101
8132
|
palette: string[];
|
|
8102
8133
|
music: string;
|
|
@@ -8390,6 +8421,36 @@ export declare const kineticLaunchFilm: {
|
|
|
8390
8421
|
start_s: number;
|
|
8391
8422
|
end_s: number;
|
|
8392
8423
|
}[] | undefined;
|
|
8424
|
+
shots?: {
|
|
8425
|
+
start_s: number;
|
|
8426
|
+
end_s: number;
|
|
8427
|
+
beat_index: number;
|
|
8428
|
+
words: number;
|
|
8429
|
+
silent: boolean;
|
|
8430
|
+
cut_in: "from_insert" | "jump_cut" | "other" | "size_change" | "start" | "to_insert";
|
|
8431
|
+
source?: {
|
|
8432
|
+
kind: "ai_video" | "code_render" | "live" | "real_footage" | "screen_capture";
|
|
8433
|
+
confidence: number;
|
|
8434
|
+
measured: boolean;
|
|
8435
|
+
} | undefined;
|
|
8436
|
+
same_clip_as?: number | null | undefined;
|
|
8437
|
+
}[] | undefined;
|
|
8438
|
+
tempo?: {
|
|
8439
|
+
music_bed: boolean;
|
|
8440
|
+
bpm: number | null;
|
|
8441
|
+
cuts_on_beat: number | null;
|
|
8442
|
+
cuts_on_beat_by_chance: number | null;
|
|
8443
|
+
edit_on_beat: boolean;
|
|
8444
|
+
} | undefined;
|
|
8445
|
+
bring?: {
|
|
8446
|
+
kind: "live_clip" | "product_photo" | "screen_recording" | "screenshot";
|
|
8447
|
+
seconds: number;
|
|
8448
|
+
at_s: number[];
|
|
8449
|
+
}[] | undefined;
|
|
8450
|
+
sound_events?: {
|
|
8451
|
+
t_s: number;
|
|
8452
|
+
kind: "click" | "ding" | "hit" | "impact" | "pop" | "typing" | "whoosh";
|
|
8453
|
+
}[] | undefined;
|
|
8393
8454
|
analysis: {
|
|
8394
8455
|
warnings?: string[] | undefined;
|
|
8395
8456
|
};
|
|
@@ -20,7 +20,6 @@ export const kineticLaunch = defineWorkflowMethod({
|
|
|
20
20
|
beats: [{ id: 'announce', role: 'announcement', anchor: { quote: 'The next workshop is ready' }, required: true, visual: 'Reveal the exact announcement copy' },
|
|
21
21
|
{ id: 'cta', role: 'end_card', anchor: { quote: 'Read the schedule' }, required: true, visual: 'Hold the accepted CTA after its spoken words' }] },
|
|
22
22
|
});
|
|
23
|
-
/** The method on the explainer film (#1461): offered while the faceless executor qualifies its profile, else the planning-only version 1. */
|
|
24
23
|
export const kineticLaunchFilm = defineWorkflowMethod({
|
|
25
24
|
id: 'kinetic-launch', version: 2, content_digest: '617de92b6205c4366c5115ac53a3cb3cfe706c5a6e22457b86fe504ace5048bc', authoring_status: 'ready', title: 'Launch a message with exact moving text',
|
|
26
25
|
purpose: 'Build a concise launch from accepted copy, selected narration and deliberate text emphasis, with one closing CTA.',
|
|
@@ -38,4 +37,3 @@ export const kineticLaunchFilm = defineWorkflowMethod({
|
|
|
38
37
|
{ id: 'time', role: 'text_emphasis', anchor: { quote: 'Thursday at 6 pm' }, required: true, visual: 'Emphasize the exact day and time' },
|
|
39
38
|
{ id: 'cta', role: 'end_card', anchor: { quote: 'Read the schedule' }, required: true, visual: 'Hold the accepted CTA after its spoken words' }] },
|
|
40
39
|
});
|
|
41
|
-
//# sourceMappingURL=kinetic-launch.js.map
|
|
@@ -3888,6 +3888,7 @@ export declare const productImageStory: {
|
|
|
3888
3888
|
pacing: {
|
|
3889
3889
|
layer_change_every_s: number;
|
|
3890
3890
|
face_share: number;
|
|
3891
|
+
effective_words_per_s?: number | undefined;
|
|
3891
3892
|
};
|
|
3892
3893
|
palette: string[];
|
|
3893
3894
|
music: string;
|
|
@@ -4181,6 +4182,36 @@ export declare const productImageStory: {
|
|
|
4181
4182
|
start_s: number;
|
|
4182
4183
|
end_s: number;
|
|
4183
4184
|
}[] | undefined;
|
|
4185
|
+
shots?: {
|
|
4186
|
+
start_s: number;
|
|
4187
|
+
end_s: number;
|
|
4188
|
+
beat_index: number;
|
|
4189
|
+
words: number;
|
|
4190
|
+
silent: boolean;
|
|
4191
|
+
cut_in: "from_insert" | "jump_cut" | "other" | "size_change" | "start" | "to_insert";
|
|
4192
|
+
source?: {
|
|
4193
|
+
kind: "ai_video" | "code_render" | "live" | "real_footage" | "screen_capture";
|
|
4194
|
+
confidence: number;
|
|
4195
|
+
measured: boolean;
|
|
4196
|
+
} | undefined;
|
|
4197
|
+
same_clip_as?: number | null | undefined;
|
|
4198
|
+
}[] | undefined;
|
|
4199
|
+
tempo?: {
|
|
4200
|
+
music_bed: boolean;
|
|
4201
|
+
bpm: number | null;
|
|
4202
|
+
cuts_on_beat: number | null;
|
|
4203
|
+
cuts_on_beat_by_chance: number | null;
|
|
4204
|
+
edit_on_beat: boolean;
|
|
4205
|
+
} | undefined;
|
|
4206
|
+
bring?: {
|
|
4207
|
+
kind: "live_clip" | "product_photo" | "screen_recording" | "screenshot";
|
|
4208
|
+
seconds: number;
|
|
4209
|
+
at_s: number[];
|
|
4210
|
+
}[] | undefined;
|
|
4211
|
+
sound_events?: {
|
|
4212
|
+
t_s: number;
|
|
4213
|
+
kind: "click" | "ding" | "hit" | "impact" | "pop" | "typing" | "whoosh";
|
|
4214
|
+
}[] | undefined;
|
|
4184
4215
|
analysis: {
|
|
4185
4216
|
warnings?: string[] | undefined;
|
|
4186
4217
|
};
|
|
@@ -17,4 +17,3 @@ export const productImageStory = defineWorkflowMethod({
|
|
|
17
17
|
beats: [{ id: 'shape', role: 'visible_fact', anchor: { quote: 'ceramic mug' }, required: false },
|
|
18
18
|
{ id: 'handle', role: 'image_evidence', anchor: { quote: 'wide handle' }, required: false }] },
|
|
19
19
|
});
|
|
20
|
-
//# sourceMappingURL=product-image-story.js.map
|