@clipwright/core 0.59.0 → 0.61.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.js +0 -2
- package/dist/ad-pause-trim.d.ts +0 -5
- package/dist/ad-pause-trim.js +0 -8
- package/dist/api-failure.d.ts +0 -44
- package/dist/api-failure.js +0 -62
- 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 +6 -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 +61 -3
- package/dist/contracts/v1/workflow-brief.js +0 -13
- package/dist/contracts/v1/workflow-catalog.d.ts +118 -0
- package/dist/contracts/v1/workflow-catalog.js +0 -3
- package/dist/contracts/v1/workflow-client.d.ts +116 -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 +47 -1
- package/dist/contracts/v1/workflow-execution.js +0 -4
- package/dist/contracts/v1/workflow-next.d.ts +13 -2
- package/dist/contracts/v1/workflow-next.js +0 -3
- package/dist/contracts/v1/workflow-plan.d.ts +177 -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 +15 -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/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-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 +7 -21
- package/dist/errors.d.ts +0 -42
- package/dist/errors.js +0 -54
- package/dist/explainer-fit.d.ts +0 -7
- package/dist/explainer-fit.js +0 -10
- package/dist/face-billing.d.ts +29 -11
- package/dist/face-billing.js +6 -25
- 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 +27 -0
- package/dist/faceless-direction-summary.js +8 -0
- 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 +40 -35
- package/dist/faceless-price.js +35 -49
- package/dist/faceless-public-plan.d.ts +0 -13
- package/dist/faceless-public-plan.js +0 -11
- package/dist/faceless-public.d.ts +63 -22
- package/dist/faceless-public.js +23 -58
- 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 +3 -0
- package/dist/index.js +3 -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 +2 -9
- package/dist/naming.d.ts +0 -3
- package/dist/naming.js +0 -19
- package/dist/openapi.d.ts +0 -13
- package/dist/openapi.js +6 -11
- package/dist/output-provenance.d.ts +0 -4
- package/dist/output-provenance.js +0 -5
- package/dist/own-agent-price.d.ts +19 -22
- package/dist/own-agent-price.js +30 -25
- package/dist/own-agent-runs.d.ts +111 -11
- package/dist/own-agent-runs.js +89 -24
- package/dist/pacing.d.ts +3 -15
- package/dist/pacing.js +18 -18
- package/dist/parts-pricing.d.ts +8 -24
- package/dist/parts-pricing.js +19 -30
- 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 +4 -5
- 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 +16 -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 +0 -12
- package/dist/templates/sounds.js +0 -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 +1 -15
- package/dist/uploads.js +3 -20
- 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 +2 -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 +33 -0
- package/dist/workflows/methods/faceless-explainer.js +0 -1
- package/dist/workflows/methods/kinetic-launch.d.ts +66 -1
- package/dist/workflows/methods/kinetic-launch.js +0 -2
- package/dist/workflows/methods/product-image-story.d.ts +33 -0
- package/dist/workflows/methods/product-image-story.js +0 -1
- package/dist/workflows/methods/reference-remake.d.ts +33 -0
- package/dist/workflows/methods/reference-remake.js +0 -1
- package/dist/workflows/methods/shared.d.ts +33 -1
- package/dist/workflows/methods/shared.js +0 -3
- package/dist/workflows/methods/ugc-faq-answer.d.ts +33 -0
- package/dist/workflows/methods/ugc-faq-answer.js +0 -1
- package/dist/workflows/methods/ugc-product-intro.d.ts +33 -0
- package/dist/workflows/methods/ugc-product-intro.js +0 -1
- package/dist/workflows/methods/website-proof-demo.d.ts +66 -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-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/skill-theme.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { DESIGN_FONT_FAMILIES, DESIGN_LOOKS, DESIGN_PALETTE_ROLES, designPalette, DESIGN_MIN_CONTRAST, hexToHsl, hslToHex, readableShade } from "./design.js";
|
|
3
3
|
import { contrastRatio } from "./templates/theme.js";
|
|
4
|
-
// A format skill's brand contract (#1291 F2): what a kit declares it takes from a brand, and the one resolver that turns the
|
|
5
|
-
// account's brand into the kit's own tokens, fonts and per-account variation. A kit with no manifest renders in its own style.
|
|
6
|
-
/** The closed set of rules a token may be derived by; a rule is data, never code. */
|
|
7
4
|
export const SKILL_THEME_FUNCTIONS = ["role", "mix", "shade", "alpha", "readable", "fixed"];
|
|
8
5
|
const HEX = /^#[0-9A-Fa-f]{6}$/;
|
|
9
6
|
const RGBA = /^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0|1|0?\.\d+|1\.0+)\s*\)$/;
|
|
@@ -12,7 +9,6 @@ const AXIS_NAME = /^[a-z][a-z_]{0,30}$/;
|
|
|
12
9
|
const colour = z.string().refine(value => HEX.test(value) || RGBA.test(value), "must be #RRGGBB or rgba(r, g, b, a)");
|
|
13
10
|
const ROLE_SET = new Set(DESIGN_PALETTE_ROLES);
|
|
14
11
|
const NUMBER = /^-?(?:\d+(?:\.\d+)?|\.\d+)$/;
|
|
15
|
-
/** `mix(ink, background, 0.15)` → the rule, or a sentence saying why it is not one. */
|
|
16
12
|
export function parseSkillThemeRule(text) {
|
|
17
13
|
const m = /^\s*([a-z]+)\s*\(\s*([^()]*)\)\s*$/.exec(text);
|
|
18
14
|
if (!m)
|
|
@@ -46,26 +42,21 @@ export function parseSkillThemeRule(text) {
|
|
|
46
42
|
export const SKILL_THEME_FONT_BINDINGS = ["brand.display", "brand.body", "fixed"];
|
|
47
43
|
export const SKILL_THEME_LOGO_SLOTS = ["end_card", "corner", "in_scene"];
|
|
48
44
|
export const SKILL_THEME_HERO_RIGS = ["atlas_9", "vector", "none"];
|
|
49
|
-
/** A kit's theme.json. `roles` are the kit's own brand roles: a brand equal to them renders the kit exactly as its author drew it. */
|
|
50
45
|
export const skillThemeManifest = z.strictObject({
|
|
51
46
|
version: z.literal(1),
|
|
52
47
|
roles: designPalette,
|
|
53
48
|
tokens: z.record(z.string().regex(TOKEN_NAME), z.strictObject({ rule: z.string().min(1).max(80), default: colour }))
|
|
54
49
|
.refine(tokens => Object.keys(tokens).length >= 1 && Object.keys(tokens).length <= 80, "a kit names 1–80 tokens"),
|
|
55
|
-
/** Text tokens over the fills they sit on, each held to 4.5:1 after the brand is applied. */
|
|
56
50
|
pairs: z.array(z.tuple([z.string().regex(TOKEN_NAME), z.string().regex(TOKEN_NAME)])).max(40),
|
|
57
51
|
fonts: z.record(z.string().regex(/^[a-z][a-z_]{0,20}$/), z.strictObject({ bind: z.enum(SKILL_THEME_FONT_BINDINGS), default: z.string().min(1).max(60) })),
|
|
58
52
|
logo: z.union([z.literal("none"), z.array(z.enum(SKILL_THEME_LOGO_SLOTS)).min(1).max(3)]),
|
|
59
53
|
hero: z.enum(SKILL_THEME_HERO_RIGS),
|
|
60
|
-
/** What a brand never changes, so the style survives it; read by people and agents. */
|
|
61
54
|
locks: z.array(z.string().min(1).max(60)).max(10),
|
|
62
|
-
/** Axes the account's seed varies; each axis's first value is the kit's own. */
|
|
63
55
|
variation: z.record(z.string().regex(AXIS_NAME), z.array(z.union([z.string().min(1).max(30), z.number()])).min(1).max(8)),
|
|
64
56
|
}).superRefine((manifest, context) => {
|
|
65
57
|
for (const problem of skillThemeManifestProblems(manifest))
|
|
66
58
|
context.addIssue({ code: z.ZodIssueCode.custom, ...problem });
|
|
67
59
|
});
|
|
68
|
-
/** Every rule parsed, every `readable` pointing at an earlier opaque token, every pair naming opaque tokens. */
|
|
69
60
|
function skillThemeManifestProblems(manifest) {
|
|
70
61
|
const problems = [], seen = new Set();
|
|
71
62
|
for (const [name, token] of Object.entries(manifest.tokens)) {
|
|
@@ -104,9 +95,7 @@ const formatColour = (c) => {
|
|
|
104
95
|
return `rgba(${[c.r, c.g, c.b].map(v => Math.round(Math.min(255, Math.max(0, v)))).join(", ")}, ${a})`;
|
|
105
96
|
};
|
|
106
97
|
const clamp01 = (v) => Math.min(1, Math.max(0, v));
|
|
107
|
-
/** Below this saturation a colour has no hue worth carrying over. */
|
|
108
98
|
const GREY = 0.06;
|
|
109
|
-
/** A rule's colour on one palette; `tokens` holds what `readable` reads. */
|
|
110
99
|
function evaluate(rule, palette, tokens) {
|
|
111
100
|
const role = (r) => parseColour(palette[r]);
|
|
112
101
|
switch (rule.fn) {
|
|
@@ -123,8 +112,6 @@ function evaluate(rule, palette, tokens) {
|
|
|
123
112
|
case "readable": return parseColour(readableShade(palette[rule.a], tokens[rule.on]));
|
|
124
113
|
}
|
|
125
114
|
}
|
|
126
|
-
/** D1: the kit's value moved by what the rule moved between the kit's roles and the brand's, in HSL. A value equal to its rule on the kit's
|
|
127
|
-
* roles is the rule's on the brand's; a rule that did not move leaves the kit's literal untouched. */
|
|
128
115
|
function carry(fallback, onKit, onBrand) {
|
|
129
116
|
const own = parseColour(fallback);
|
|
130
117
|
if (same(onKit, onBrand))
|
|
@@ -136,9 +123,7 @@ function carry(fallback, onKit, onBrand) {
|
|
|
136
123
|
const moved = parseColour(hslToHex({ h, s: clamp01(o.s + (b.s - k.s)), l: clamp01(o.l + (b.l - k.l)) }));
|
|
137
124
|
return formatColour({ ...moved, a: own.a });
|
|
138
125
|
}
|
|
139
|
-
/** Scripts that need the Cyrillic subset of a face. */
|
|
140
126
|
const CYRILLIC_LANGUAGES = new Set(["ru", "uk", "be", "bg", "sr", "mk", "kk", "ky", "tg", "mn"]);
|
|
141
|
-
/** Which of our brand faces carry Cyrillic letters (the `cyrillic` subset of Google Fonts; a web test pins this to the bundled fonts). */
|
|
142
127
|
export const DESIGN_FONT_CYRILLIC = {
|
|
143
128
|
"Plus Jakarta Sans": false, Inter: true, Montserrat: true, Roboto: true, "PT Sans": true, Oswald: true, "Bebas Neue": false, "Titan One": false,
|
|
144
129
|
Bungee: false, Bangers: false, Caveat: true, "Permanent Marker": false,
|
|
@@ -152,13 +137,11 @@ export function skillBrandOf(design) {
|
|
|
152
137
|
return { ...(palette ? { palette: { ...palette } } : {}),
|
|
153
138
|
...(display || body ? { fonts: { ...(display ? { display } : {}), ...(body ? { body } : {}) } } : {}) };
|
|
154
139
|
}
|
|
155
|
-
/** What a draft's call may set over the brand: roles, fonts and variation values, each winning over the brand kit. */
|
|
156
140
|
export const skillThemeOverrides = z.strictObject({
|
|
157
141
|
palette: designPalette.partial().optional(),
|
|
158
142
|
fonts: z.strictObject({ display: z.enum(DESIGN_FONT_FAMILIES).optional(), body: z.enum(DESIGN_FONT_FAMILIES).optional() }).optional(),
|
|
159
143
|
variation: z.record(z.string().regex(AXIS_NAME), z.union([z.string().min(1).max(30), z.number()])).optional(),
|
|
160
144
|
});
|
|
161
|
-
/** The theme a draft freezes and every still and render of it draws with. */
|
|
162
145
|
export const resolvedSkillTheme = z.strictObject({
|
|
163
146
|
version: z.literal(1),
|
|
164
147
|
tokens: z.record(z.string().regex(TOKEN_NAME), colour),
|
|
@@ -166,12 +149,9 @@ export const resolvedSkillTheme = z.strictObject({
|
|
|
166
149
|
variation: z.record(z.string().regex(AXIS_NAME), z.union([z.string(), z.number()])),
|
|
167
150
|
hero: z.enum(SKILL_THEME_HERO_RIGS),
|
|
168
151
|
logo: z.union([z.literal("none"), z.array(z.enum(SKILL_THEME_LOGO_SLOTS))]),
|
|
169
|
-
/** Where the theme came from: the call's overrides, the account's brand kit, or the kit alone. */
|
|
170
152
|
source: z.enum(["overrides", "brand_kit", "kit"]),
|
|
171
153
|
warnings: z.array(z.string()),
|
|
172
154
|
});
|
|
173
|
-
/** FNV-1a, 32 bits, with murmur3's finaliser so the low bits a small modulus reads are mixed: the same account picks the same variation on
|
|
174
|
-
* every machine, and neighbouring ids pick unlike ones. */
|
|
175
155
|
export function themeSeedHash(text) {
|
|
176
156
|
let h = 0x811c9dc5;
|
|
177
157
|
for (let i = 0; i < text.length; i++) {
|
|
@@ -185,7 +165,6 @@ export function themeSeedHash(text) {
|
|
|
185
165
|
h ^= h >>> 16;
|
|
186
166
|
return h >>> 0;
|
|
187
167
|
}
|
|
188
|
-
/** The brand applied to a kit: precedence overrides → brand kit → the kit's own, then every declared text pair held to 4.5:1. */
|
|
189
168
|
export function resolveSkillTheme(manifest, input = {}) {
|
|
190
169
|
const warnings = [];
|
|
191
170
|
const palette = { ...manifest.roles, ...input.brand?.palette, ...stripUndefined(input.overrides?.palette) };
|
|
@@ -200,7 +179,6 @@ export function resolveSkillTheme(manifest, input = {}) {
|
|
|
200
179
|
const fills = new Map();
|
|
201
180
|
for (const [text, fill] of manifest.pairs)
|
|
202
181
|
fills.set(text, [...fills.get(text) ?? [], fill]);
|
|
203
|
-
// A moved text token may be another pair's fill, so the pass repeats until nothing moves; each token keeps its last word.
|
|
204
182
|
const moved = new Map(), original = { ...tokens };
|
|
205
183
|
for (let pass = 0; pass < 3; pass++) {
|
|
206
184
|
let changed = false;
|
|
@@ -254,8 +232,6 @@ export function resolveSkillTheme(manifest, input = {}) {
|
|
|
254
232
|
return { version: 1, tokens, fonts, variation, hero: manifest.hero, logo: manifest.logo, source, warnings };
|
|
255
233
|
}
|
|
256
234
|
const worstContrast = (colour, grounds) => Math.min(...grounds.map(g => contrastRatio(colour, g)));
|
|
257
|
-
/** The nearest shade that reads on every ground; with grounds on both sides of it, the lightness of its hue (or grey) that reads best on the
|
|
258
|
-
* worst of them, which the caller names when it is still under 4.5:1. */
|
|
259
235
|
function readableAgainst(colour, grounds) {
|
|
260
236
|
let best = readableShade(colour, grounds);
|
|
261
237
|
if (worstContrast(best, grounds) >= DESIGN_MIN_CONTRAST)
|
|
@@ -271,4 +247,3 @@ function readableAgainst(colour, grounds) {
|
|
|
271
247
|
return best;
|
|
272
248
|
}
|
|
273
249
|
const stripUndefined = (value) => Object.fromEntries(Object.entries(value ?? {}).filter(([, v]) => v !== undefined));
|
|
274
|
-
//# sourceMappingURL=skill-theme.js.map
|
package/dist/skills.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { type LiveShotKind, type LiveShotProductPlacement } from "./live-shot-kinds.js";
|
|
3
3
|
import { CAPTION_POSITION_VERTICAL } from "./caption-geometry.js";
|
|
4
|
-
/** Caption looks the renderer draws, each a fixed font, colours, placement and word animation. */
|
|
5
4
|
export declare const CAPTION_PRESETS: {
|
|
6
5
|
readonly hormozi: string;
|
|
7
6
|
readonly accent: string;
|
|
@@ -30,24 +29,19 @@ export declare const CAPTION_PRESETS: {
|
|
|
30
29
|
};
|
|
31
30
|
export type CaptionPresetId = keyof typeof CAPTION_PRESETS;
|
|
32
31
|
export declare const CAPTION_PRESET_IDS: CaptionPresetId[];
|
|
33
|
-
/** An earlier style name kept valid. */
|
|
34
32
|
export declare const CAPTION_STYLE_ALIASES: {
|
|
35
33
|
readonly minimal: "minimalist";
|
|
36
34
|
};
|
|
37
35
|
export declare const CAPTION_STYLES: [CaptionPresetId | keyof typeof CAPTION_STYLE_ALIASES, ...(CaptionPresetId | keyof typeof CAPTION_STYLE_ALIASES)[]];
|
|
38
36
|
export type CaptionStyleName = (typeof CAPTION_STYLES)[number];
|
|
39
|
-
/** The preset a style name draws: an alias resolves to its preset. */
|
|
40
37
|
export declare function captionPresetOf(style: CaptionStyleName): CaptionPresetId;
|
|
41
38
|
export declare const MAX_CAPTION_EMPHASIS = 60;
|
|
42
39
|
export declare const MAX_CAPTION_EMPHASIS_CHARS = 120;
|
|
43
|
-
/** `full` captions every spoken word; `highlights` only the windows around `caption_emphasis` quotes. */
|
|
44
40
|
export declare const CAPTION_MODES: readonly ["full", "highlights"];
|
|
45
41
|
export type CaptionMode = (typeof CAPTION_MODES)[number];
|
|
46
42
|
export { CAPTION_POSITION_VERTICAL };
|
|
47
43
|
export declare const CAPTION_POSITIONS: (keyof typeof CAPTION_POSITION_VERTICAL)[];
|
|
48
44
|
export type CaptionPosition = (typeof CAPTION_POSITIONS)[number];
|
|
49
|
-
/** `punch`: a small lead-in line over the quote as a large glowing keyword; `pill`: the quote alone in a rounded pill; */
|
|
50
|
-
/** `color`: the quote in the style's accent colour, same size; `box`: the quote on a soft box of the accent colour, same size (#1104). */
|
|
51
45
|
export declare const CAPTION_EMPHASIS_LOOKS: readonly ["punch", "pill", "color", "box"];
|
|
52
46
|
export type CaptionEmphasisLook = (typeof CAPTION_EMPHASIS_LOOKS)[number];
|
|
53
47
|
export declare const captionEmphasisItem: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -61,66 +55,42 @@ export declare const captionEmphasisItem: z.ZodUnion<readonly [z.ZodString, z.Zo
|
|
|
61
55
|
punch_in: z.ZodOptional<z.ZodBoolean>;
|
|
62
56
|
}, z.core.$strict>]>;
|
|
63
57
|
export type CaptionEmphasisItem = z.infer<typeof captionEmphasisItem>;
|
|
64
|
-
/** An emphasis item as quote, look and punch-in; a plain string, or an object without a look, takes the preset's look. */
|
|
65
58
|
export declare function captionEmphasisOf(item: CaptionEmphasisItem): {
|
|
66
59
|
quote: string;
|
|
67
60
|
look: CaptionEmphasisLook | undefined;
|
|
68
61
|
punchIn?: true;
|
|
69
62
|
};
|
|
70
|
-
/** Composition semantics of a run, written at admission: 2 draws captions and crops pictures */
|
|
71
|
-
/** to fill the frame; a run stored without it keeps the earlier render, so it re-renders the same. */
|
|
72
63
|
export declare const UGC_COMPOSITION_VERSION = 2;
|
|
73
|
-
/** `end_hold_s`: the last frame held after the last word, in seconds (#991). */
|
|
74
64
|
export declare const END_HOLD_MIN_S = 0.2;
|
|
75
65
|
export declare const END_HOLD_MAX_S = 5;
|
|
66
|
+
export declare const AD_END_HOLD_S = 0.5;
|
|
67
|
+
export declare const AD_END_HOLD_WARNING = "end_hold_s: the last frame holds 0.5 s after the last word, an ad's default; pass end_hold_s to change it";
|
|
76
68
|
export declare function compositionVersionOf(storedInput: unknown): 1 | 2;
|
|
77
69
|
export declare const LOOKS: readonly ["natural", "commercial", "raw_iphone"];
|
|
78
|
-
/** Public formats = formats MEASURED live, not the vendor docs: declaring more would */
|
|
79
|
-
/** accept values the pipeline later rejects. */
|
|
80
70
|
export declare const ASPECT_RATIOS: readonly ["9:16", "1:1", "16:9"];
|
|
81
71
|
export type AspectRatio = (typeof ASPECT_RATIOS)[number];
|
|
82
|
-
/** Output resolution offered (720p: 720×1280, 1080p: 1080×1920 at 9:16). Resolution does not */
|
|
83
|
-
/** change the price of a make_ugc second. */
|
|
84
72
|
export declare const RESOLUTIONS: readonly ["720p", "1080p"];
|
|
85
|
-
/** What a stored run or plan may hold: 4k is no longer offered, and a run admitted with it still reads (#1189). */
|
|
86
73
|
export declare const STORED_RESOLUTIONS: readonly ["720p", "1080p", "4k"];
|
|
87
74
|
export type Resolution = (typeof STORED_RESOLUTIONS)[number];
|
|
88
|
-
/** The refusal of a 4k request, before any charge (#1189). */
|
|
89
75
|
export declare const RESOLUTION_4K_REFUSAL = "4k is not offered; use 1080p";
|
|
90
|
-
/** The offered resolutions, as a request field: 4k is named with its refusal, not as an unknown value. */
|
|
91
76
|
export declare const offeredResolution: z.ZodEnum<{
|
|
92
77
|
"1080p": "1080p";
|
|
93
78
|
"720p": "720p";
|
|
94
79
|
}>;
|
|
95
|
-
/** A new make_ugc run the client names no resolution for is 720p (#911): enough for an ad, and the render costs less. */
|
|
96
80
|
export declare const DEFAULT_RESOLUTION: (typeof RESOLUTIONS)[number];
|
|
97
|
-
/** A stored run without a resolution was admitted before #911 pinned one, when silence meant 1080p. */
|
|
98
81
|
export declare const LEGACY_RUN_RESOLUTION: Resolution;
|
|
99
82
|
export declare const DEV_RESOLUTION: Resolution;
|
|
100
|
-
/** Resolution of a stored run: an explicit choice beats any default, or dev would */
|
|
101
|
-
/** silently replace what the user asked for. */
|
|
102
83
|
export declare function resolveResolution(requested: Resolution | undefined, isDev: boolean): Resolution;
|
|
103
|
-
/** The resolution admission pins into a make_ugc run, short or long-form, so a later default change never reaches an admitted run. */
|
|
104
84
|
export declare function admittedUgcResolution(input: {
|
|
105
85
|
resolution?: Resolution | undefined;
|
|
106
86
|
}): Resolution;
|
|
107
|
-
/** Length cap for ANY URL from a foreign body; without it the field takes the whole */
|
|
108
|
-
/** body cap. The value is the upper bound any browser and CDN handles. */
|
|
109
87
|
export declare const MAX_URL_LENGTH = 2048;
|
|
110
|
-
/** Skills in the shared run namespace. `runs.skill` is text, so it is read through `parseSkill`. */
|
|
111
88
|
export declare const SKILLS: readonly ["make_ugc", "create_actor", "make_faceless", "edit_shot", "revise_long_form", "generate_image", "generate_video"];
|
|
112
89
|
export type Skill = (typeof SKILLS)[number];
|
|
113
90
|
export declare function parseSkill(value: unknown): Skill | null;
|
|
114
|
-
/** What `make_ugc` does: one text for both contract surfaces, the public REST catalog */
|
|
115
|
-
/** and MCP `tools/list`, so they never describe different skills. */
|
|
116
91
|
export declare const MAKE_UGC_DESCRIPTION: string;
|
|
117
|
-
/** How to CALL the skill over MCP. Kept apart from the description: neighboring tool */
|
|
118
|
-
/** names and polling are protocol details not meant for the REST catalog. */
|
|
119
92
|
export declare const MAKE_UGC_AGENT_PROTOCOL: string;
|
|
120
|
-
|
|
121
|
-
export declare const AD_GUIDE_INSTRUCTION = " Before you write an ad's devices and live shots, read get_ad_guide (free).";
|
|
122
|
-
/** The text for a server with the film tools listed or not; `explainer` is whether the API sells the format, this environment's flag when omitted; */
|
|
123
|
-
/** `adGuide` whether it lists get_ad_guide. */
|
|
93
|
+
export declare const AD_GUIDE_INSTRUCTION: string;
|
|
124
94
|
export declare const mcpServerInstructions: ({ ownAgent, explainer, adGuide }: {
|
|
125
95
|
ownAgent: boolean;
|
|
126
96
|
explainer?: boolean | undefined;
|
|
@@ -128,10 +98,7 @@ export declare const mcpServerInstructions: ({ ownAgent, explainer, adGuide }: {
|
|
|
128
98
|
}) => string;
|
|
129
99
|
export declare const MCP_SERVER_INSTRUCTIONS: string;
|
|
130
100
|
export declare const MAKE_FACELESS_DESCRIPTION: string;
|
|
131
|
-
/** How to call `make_faceless` over MCP, kept apart from the REST description. */
|
|
132
101
|
export declare const MAKE_FACELESS_AGENT_PROTOCOL: string;
|
|
133
|
-
/** One clip segment. `segments` makes `script` optional, changing `required[]` in `tools/list`, */
|
|
134
|
-
/** so the shape was declared once up front instead of changing the public form later. */
|
|
135
102
|
export declare const ugcSegment: z.ZodObject<{
|
|
136
103
|
kind: z.ZodEnum<{
|
|
137
104
|
actor: "actor";
|
|
@@ -153,7 +120,6 @@ export declare const ugcSegment: z.ZodObject<{
|
|
|
153
120
|
}, z.core.$strip>>;
|
|
154
121
|
}, z.core.$strip>;
|
|
155
122
|
export type UgcSegment = z.infer<typeof ugcSegment>;
|
|
156
|
-
/** An insert's own box within the frame (#1030), in shares of its width and height. */
|
|
157
123
|
export declare const insertBox: z.ZodObject<{
|
|
158
124
|
left: z.ZodNumber;
|
|
159
125
|
top: z.ZodNumber;
|
|
@@ -332,7 +298,6 @@ export declare const ugcOverlay: z.ZodObject<{
|
|
|
332
298
|
}, z.core.$strict>]>>;
|
|
333
299
|
}, z.core.$strict>;
|
|
334
300
|
export declare const OVERLAYS_DESCRIPTION: string;
|
|
335
|
-
/** The slim MCP overlay: `place` is any object here, its forms sit in the description and the server checks it strictly, as templates do. */
|
|
336
301
|
export declare const mcpUgcOverlay: z.ZodObject<{
|
|
337
302
|
media_url: z.ZodOptional<z.ZodString>;
|
|
338
303
|
media_type: z.ZodEnum<{
|
|
@@ -376,7 +341,6 @@ export declare const mcpUgcOverlay: z.ZodObject<{
|
|
|
376
341
|
place: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
377
342
|
}, z.core.$strict>;
|
|
378
343
|
export type UgcOverlay = z.infer<typeof ugcOverlay>;
|
|
379
|
-
/** A reframing of the presenter: split shares a 9:16 frame with the media, card shows the media in a centred card. */
|
|
380
344
|
export declare const ugcLayoutWindow: z.ZodObject<{
|
|
381
345
|
media_url: z.ZodOptional<z.ZodString>;
|
|
382
346
|
media_type: z.ZodEnum<{
|
|
@@ -413,7 +377,6 @@ export declare const ugcLayoutWindow: z.ZodObject<{
|
|
|
413
377
|
media_share: z.ZodOptional<z.ZodNumber>;
|
|
414
378
|
}, z.core.$strict>;
|
|
415
379
|
export type UgcLayoutWindow = z.infer<typeof ugcLayoutWindow>;
|
|
416
|
-
/** A presenter size on its words (reference-elements S2): a hard cut in, settled over a few frames, back to the take at its end. */
|
|
417
380
|
export declare const ugcFraming: z.ZodObject<{
|
|
418
381
|
id: z.ZodString;
|
|
419
382
|
anchor: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -435,7 +398,6 @@ export declare const ugcFraming: z.ZodObject<{
|
|
|
435
398
|
}>>;
|
|
436
399
|
}, z.core.$strict>;
|
|
437
400
|
export type UgcFraming = z.infer<typeof ugcFraming>;
|
|
438
|
-
/** A graphic made for this run from words (#1107): no library kind draws it, so it is authored, checked and drawn on its words. */
|
|
439
401
|
export declare const ugcScene: z.ZodObject<{
|
|
440
402
|
id: z.ZodString;
|
|
441
403
|
anchor: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -513,7 +475,6 @@ export declare const ugcScene: z.ZodObject<{
|
|
|
513
475
|
}, z.core.$strict>]>>;
|
|
514
476
|
}, z.core.$strict>;
|
|
515
477
|
export type UgcScene = z.infer<typeof ugcScene>;
|
|
516
|
-
/** The slim MCP scene: `place` is any object here, its forms sit in the description and the server checks it strictly, as overlays do. */
|
|
517
478
|
export declare const mcpUgcScene: z.ZodObject<{
|
|
518
479
|
id: z.ZodString;
|
|
519
480
|
anchor: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -533,7 +494,6 @@ export declare const mcpUgcScene: z.ZodObject<{
|
|
|
533
494
|
colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
534
495
|
place: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
535
496
|
}, z.core.$strict>;
|
|
536
|
-
/** The video's motion style and the words drawn in another (#1123); the same object on make_ugc, make_faceless and the remake. */
|
|
537
497
|
export declare const motionStyle: z.ZodObject<{
|
|
538
498
|
style: z.ZodOptional<z.ZodEnum<{
|
|
539
499
|
clay: "clay";
|
|
@@ -575,7 +535,6 @@ export declare const motionStyle: z.ZodObject<{
|
|
|
575
535
|
}, z.core.$strict>>>;
|
|
576
536
|
}, z.core.$strict>;
|
|
577
537
|
export type MotionStyle = z.infer<typeof motionStyle>;
|
|
578
|
-
/** A graphic template (#778 S3): REST and the SDK take the strict union, `data` checked by `kind`. */
|
|
579
538
|
export declare const ugcTemplate: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
580
539
|
id: z.ZodString;
|
|
581
540
|
anchor: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -3202,7 +3161,6 @@ export declare const ugcTemplate: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3202
3161
|
}, z.core.$strict>;
|
|
3203
3162
|
}, z.core.$strict>], "kind">;
|
|
3204
3163
|
export type UgcTemplate = z.infer<typeof ugcTemplate>;
|
|
3205
|
-
/** The slim MCP item: `data` is any object here, the catalog sits in the description and the server checks it strictly (D3). */
|
|
3206
3164
|
export declare const mcpUgcTemplate: z.ZodObject<{
|
|
3207
3165
|
id: z.ZodString;
|
|
3208
3166
|
anchor: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -3256,7 +3214,6 @@ export declare const mcpUgcTemplate: z.ZodObject<{
|
|
|
3256
3214
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3257
3215
|
}, z.core.$strict>;
|
|
3258
3216
|
export declare const TEMPLATES_DESCRIPTION: string;
|
|
3259
|
-
/** The call phone's measured place and rise (#914 D1e): the run maps `rect_face` onto our presenter's face when it finds one, else uses `rect`. */
|
|
3260
3217
|
export declare const callStage: z.ZodObject<{
|
|
3261
3218
|
rect: z.ZodObject<{
|
|
3262
3219
|
left: z.ZodNumber;
|
|
@@ -3288,7 +3245,6 @@ export declare const callStage: z.ZodObject<{
|
|
|
3288
3245
|
}>>;
|
|
3289
3246
|
}, z.core.$strict>;
|
|
3290
3247
|
export type CallStage = z.infer<typeof callStage>;
|
|
3291
|
-
/** A phone call after a quote (#857 S5): the presenter listens, then freezes, while the agent and the caller speak; then resumes. */
|
|
3292
3248
|
export declare const ugcCall: z.ZodObject<{
|
|
3293
3249
|
after: z.ZodUnion<readonly [z.ZodObject<{
|
|
3294
3250
|
startWord: z.ZodNumber;
|
|
@@ -3346,12 +3302,9 @@ export declare const ugcCall: z.ZodObject<{
|
|
|
3346
3302
|
}, z.core.$strict>>;
|
|
3347
3303
|
}, z.core.$strict>;
|
|
3348
3304
|
export type UgcCall = z.infer<typeof ugcCall>;
|
|
3349
|
-
/** The slim MCP call, which keeps tools/list under its ceiling: the server checks it strictly, as the template items (D3). */
|
|
3350
3305
|
export declare const mcpUgcCall: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3351
|
-
/** Slim MCP caption_place and presenter_place (#973), checked strictly by the server. */
|
|
3352
3306
|
export declare const mcpCaptionPlace: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3353
3307
|
export declare const mcpPresenterPlace: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3354
|
-
/** An interview (#972): the off-screen speaker's words are marked inside script; the presenter answers on screen and holds still while they speak. */
|
|
3355
3308
|
export declare const ugcInterview: z.ZodObject<{
|
|
3356
3309
|
turns: z.ZodArray<z.ZodObject<{
|
|
3357
3310
|
anchor: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -3419,9 +3372,7 @@ export declare const ugcInterview: z.ZodObject<{
|
|
|
3419
3372
|
}>>;
|
|
3420
3373
|
}, z.core.$strict>;
|
|
3421
3374
|
export type UgcInterview = z.infer<typeof ugcInterview>;
|
|
3422
|
-
/** The slim MCP interview, which keeps tools/list under its ceiling: the server checks it strictly. */
|
|
3423
3375
|
export declare const mcpUgcInterview: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3424
|
-
/** Where the presenter looks on some of their words (#972); a change of gaze is a cut to the actor's view with that gaze. */
|
|
3425
3376
|
export declare const ugcPresenterGaze: z.ZodObject<{
|
|
3426
3377
|
anchor: z.ZodUnion<readonly [z.ZodObject<{
|
|
3427
3378
|
startWord: z.ZodNumber;
|
|
@@ -3438,10 +3389,8 @@ export declare const ugcPresenterGaze: z.ZodObject<{
|
|
|
3438
3389
|
}>;
|
|
3439
3390
|
}, z.core.$strict>;
|
|
3440
3391
|
export declare const PRESENTER_GAZE_DESCRIPTION: string;
|
|
3441
|
-
/** The slim MCP gaze list: the server checks each item strictly. */
|
|
3442
3392
|
export declare const mcpPresenterGaze: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3443
|
-
export { CAST_INSERT_ID, castSlotOf, fetchedProductWarnings, fetchesProduct, liveShotFetchesProduct, LIVE_SHOT_FRAMINGS, LIVE_SHOT_KINDS, LIVE_SHOT_PRODUCT_PLACEMENTS, LIVE_SHOT_TRANSITIONS, liveShotCastKey, liveShotProductPlacement, liveShotSetupKey, lipsyncMotionMarked, lipsyncMotionShot, MAX_SHOT_CAST, omniShotIds, omniShotsMarked, productSheetMarked, TALKING_ACTION_VOICE_OVER, talkingActionVoiceOver, handsInsertShots, voiceOverShotWarnings, talkingPose, type LiveShotFraming, type LiveShotKind, type LiveShotProductPlacement, type LiveShotTransition } from "./live-shot-kinds.js";
|
|
3444
|
-
/** The most presenter takes one video renders (#1192); a live shot is at least one of them. */
|
|
3393
|
+
export { CAST_INSERT_ID, castSlotOf, fetchedProductWarnings, fetchesProduct, liveShotFetchesProduct, LIVE_SHOT_FRAMINGS, LIVE_SHOT_KINDS, LIVE_SHOT_PRODUCT_PLACEMENTS, LIVE_SHOT_TRANSITIONS, liveShotCastKey, liveShotProductPlacement, liveShotSetupKey, lipsyncMotionMarked, lipsyncMotionShot, MAX_SHOT_CAST, omniShotIds, omniShotsMarked, productSheetMarked, seedanceShotIds, seedanceShotModels, shotNamesPrint, TALKING_ACTION_VOICE_OVER, talkingActionVoiceOver, handsInsertShots, voiceOverShotWarnings, talkingPose, type LiveShotFraming, type LiveShotKind, type LiveShotProductPlacement, type LiveShotTransition } from "./live-shot-kinds.js";
|
|
3445
3394
|
export declare const MAX_PRESENTER_TAKES = 16;
|
|
3446
3395
|
export declare const MAX_LIVE_SHOTS = 16;
|
|
3447
3396
|
type ProductShot = {
|
|
@@ -3453,20 +3402,16 @@ type ProductShot = {
|
|
|
3453
3402
|
placement: LiveShotProductPlacement;
|
|
3454
3403
|
} | undefined;
|
|
3455
3404
|
};
|
|
3456
|
-
/** Shots of one setup share one picture: a talking_action, action or posed talking shot that names no product takes the placement another */
|
|
3457
|
-
/** shot of its setup names, and warnings[] names it (rule 3). Disagreeing placements are left to the schema's refusal. */
|
|
3458
3405
|
export declare function settleShotProducts<S extends ProductShot>(shots: readonly S[]): {
|
|
3459
3406
|
shots: S[];
|
|
3460
3407
|
warnings: string[];
|
|
3461
3408
|
};
|
|
3462
|
-
/** The catalogue actor `actor_gender` picks without image or actor_id: each gender's first in list_actors. */
|
|
3463
3409
|
export declare const ACTOR_FOR_GENDER: {
|
|
3464
3410
|
readonly female: "actor_anna";
|
|
3465
3411
|
readonly male: "actor_alex";
|
|
3466
3412
|
};
|
|
3467
3413
|
export declare const MAX_LIVE_SHOT_TEXT = 2000;
|
|
3468
3414
|
export declare const MAX_CAST_ROLE = 200;
|
|
3469
|
-
/** A person beside the actor in a live shot (#1192): their picture, who they are, and what they do in this shot. */
|
|
3470
3415
|
export declare const ugcLiveShotCastMember: z.ZodObject<{
|
|
3471
3416
|
asset_id: z.ZodString;
|
|
3472
3417
|
role: z.ZodString;
|
|
@@ -3577,10 +3522,7 @@ export declare const ugcLiveShot: z.ZodObject<{
|
|
|
3577
3522
|
}, z.core.$strict>;
|
|
3578
3523
|
export type UgcLiveShot = z.infer<typeof ugcLiveShot>;
|
|
3579
3524
|
export declare const LIVE_SHOTS_DESCRIPTION: string;
|
|
3580
|
-
/** The slim MCP shot list: the server checks each item strictly. */
|
|
3581
3525
|
export declare const mcpLiveShots: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3582
|
-
/** What admission pins for an `asset_id` insert; the run reads this key and checks this hash, never the asset row.
|
|
3583
|
-
* Server-only: it lives at the top of the stored input, and a public body naming it is refused as an unknown field. */
|
|
3584
3526
|
export declare const pinnedInsertAsset: z.ZodObject<{
|
|
3585
3527
|
insert_id: z.ZodString;
|
|
3586
3528
|
slot: z.ZodOptional<z.ZodString>;
|
|
@@ -3606,11 +3548,8 @@ export declare const pinnedInsertAsset: z.ZodObject<{
|
|
|
3606
3548
|
pix_fmt: z.ZodOptional<z.ZodString>;
|
|
3607
3549
|
}, z.core.$strict>;
|
|
3608
3550
|
export type PinnedInsertAsset = z.infer<typeof pinnedInsertAsset>;
|
|
3609
|
-
/** Actor segment cap: a limit on ONE run, not on daily spend. */
|
|
3610
3551
|
export declare const MAX_ACTOR_SEGMENTS = 10;
|
|
3611
3552
|
export declare const MAX_SEGMENTS = 20;
|
|
3612
|
-
/** Narrated-path caps differ because a media shot costs nothing and an actor shot does: */
|
|
3613
|
-
/** as many inserts as the timeline holds. */
|
|
3614
3553
|
export declare const MAX_INSERTS: number;
|
|
3615
3554
|
export declare const MAX_NARRATED_ACTOR_SHOTS = 16;
|
|
3616
3555
|
export declare const actorId: z.ZodString;
|
|
@@ -7847,12 +7786,8 @@ export declare const makeUgcInputShape: {
|
|
|
7847
7786
|
}, z.core.$strict>]>>;
|
|
7848
7787
|
readonly end_hold_s: z.ZodOptional<z.ZodNumber>;
|
|
7849
7788
|
readonly webhook_url: z.ZodOptional<z.ZodString>;
|
|
7850
|
-
/** Removed visible label (clipwright#488). The key stays in the shape so that the refusal */
|
|
7851
|
-
/** names its reason instead of answering `unknown_field`. */
|
|
7852
7789
|
readonly disclosure_overlay: z.ZodOptional<z.ZodBoolean>;
|
|
7853
7790
|
readonly visible_ai_label: z.ZodOptional<z.ZodBoolean>;
|
|
7854
|
-
/** How to fill a frame the clip does not cover. No `.default()`: absence means no layout */
|
|
7855
|
-
/** is needed. `contain` fits whole, `white` pads white, `blur` fills with the blurred frame. */
|
|
7856
7791
|
readonly background: z.ZodOptional<z.ZodEnum<{
|
|
7857
7792
|
blur: "blur";
|
|
7858
7793
|
contain: "contain";
|
|
@@ -7860,8 +7795,6 @@ export declare const makeUgcInputShape: {
|
|
|
7860
7795
|
}>>;
|
|
7861
7796
|
readonly max_credits: z.ZodOptional<z.ZodNumber>;
|
|
7862
7797
|
};
|
|
7863
|
-
/** Agent retry parameter: the attempt NUMBER. Kept apart from `makeUgcInputShape` because it */
|
|
7864
|
-
/** is a skill input (the `:N` idempotency-key suffix in the SDK), not a render parameter. */
|
|
7865
7798
|
export declare const agentRetryShape: {
|
|
7866
7799
|
readonly attempt: z.ZodOptional<z.ZodNumber>;
|
|
7867
7800
|
};
|
|
@@ -12107,7 +12040,6 @@ export declare const makeUgcInput: z.ZodObject<{
|
|
|
12107
12040
|
}>>;
|
|
12108
12041
|
max_credits: z.ZodOptional<z.ZodNumber>;
|
|
12109
12042
|
}, z.core.$strip>;
|
|
12110
|
-
/** make_ugc for an account outside the ad epic's list (#1539): talking shots without poses (#1536), refused in the words they were before. */
|
|
12111
12043
|
export declare const makeUgcInputWithoutTalkingPoses: z.ZodObject<{
|
|
12112
12044
|
script: z.ZodOptional<z.ZodString>;
|
|
12113
12045
|
segments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -16354,8 +16286,6 @@ export interface SpeechModelRefusal {
|
|
|
16354
16286
|
field: "voice" | "voice_id" | "captions" | "segments" | "inserts" | "overlays" | "layout_windows" | "framing" | "call" | "interview" | "presenter_gaze";
|
|
16355
16287
|
message: string;
|
|
16356
16288
|
}
|
|
16357
|
-
/** What a model with its own voices and no word timings refuses, each line naming what to pass instead. */
|
|
16358
|
-
/** One list for the input schema and for the run's check before its first paid step. */
|
|
16359
16289
|
export declare function speechModelRefusals(input: {
|
|
16360
16290
|
tts_model?: string | undefined;
|
|
16361
16291
|
voice?: string | undefined;
|
|
@@ -16370,8 +16300,6 @@ export declare function speechModelRefusals(input: {
|
|
|
16370
16300
|
interview?: unknown;
|
|
16371
16301
|
presenter_gaze?: unknown;
|
|
16372
16302
|
}): SpeechModelRefusal[];
|
|
16373
|
-
/** API input: the server's `voiceRefusal` checks the voice name and `voiceIdRefusal` a raw id. The catalog is not */
|
|
16374
|
-
/** imported here, since clients read this barrel; the server uses `@clipwright/core/voice-admission`. */
|
|
16375
16303
|
export declare function serverUgcInputWith(voiceRefusal: (voice: string) => string | undefined, voiceIdRefusal?: (voiceId: string) => string | undefined, base?: typeof makeUgcInput): z.ZodObject<{
|
|
16376
16304
|
script: z.ZodOptional<z.ZodString>;
|
|
16377
16305
|
segments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -20614,8 +20542,6 @@ export declare function serverUgcInputWith(voiceRefusal: (voice: string) => stri
|
|
|
20614
20542
|
}>>;
|
|
20615
20543
|
max_credits: z.ZodOptional<z.ZodNumber>;
|
|
20616
20544
|
}, z.core.$strip>;
|
|
20617
|
-
/** A stored run input already passed admission; a model or cap change must not make an */
|
|
20618
|
-
/** old run unreadable. The snapshot keeps the actor's gender: the parse feeds the timeline digest, so it stays this narrow. */
|
|
20619
20545
|
export declare const storedUgcInput: z.ZodObject<{
|
|
20620
20546
|
script: z.ZodOptional<z.ZodString>;
|
|
20621
20547
|
segments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -24886,6 +24812,7 @@ export declare const storedUgcInput: z.ZodObject<{
|
|
|
24886
24812
|
resolved_tts_model: z.ZodOptional<z.ZodString>;
|
|
24887
24813
|
design_source: z.ZodOptional<z.ZodLiteral<"brand_kit">>;
|
|
24888
24814
|
pause_trim_source: z.ZodOptional<z.ZodLiteral<"ad_default">>;
|
|
24815
|
+
end_hold_source: z.ZodOptional<z.ZodLiteral<"ad_default">>;
|
|
24889
24816
|
scene_direction: z.ZodOptional<z.ZodObject<{
|
|
24890
24817
|
mode: z.ZodLiteral<"complete">;
|
|
24891
24818
|
proposal: z.ZodOptional<z.ZodObject<{
|
|
@@ -24899,8 +24826,21 @@ export declare const storedUgcInput: z.ZodObject<{
|
|
|
24899
24826
|
product_sheet: z.ZodOptional<z.ZodLiteral<true>>;
|
|
24900
24827
|
lipsync_motion: z.ZodOptional<z.ZodLiteral<true>>;
|
|
24901
24828
|
omni_shots: z.ZodOptional<z.ZodLiteral<true>>;
|
|
24829
|
+
speech: z.ZodOptional<z.ZodObject<{
|
|
24830
|
+
mode: z.ZodEnum<{
|
|
24831
|
+
on_camera: "on_camera";
|
|
24832
|
+
voice_over: "voice_over";
|
|
24833
|
+
}>;
|
|
24834
|
+
hook: z.ZodEnum<{
|
|
24835
|
+
silent: "silent";
|
|
24836
|
+
spoken: "spoken";
|
|
24837
|
+
}>;
|
|
24838
|
+
why: z.ZodString;
|
|
24839
|
+
}, z.core.$strict>>;
|
|
24840
|
+
speech_actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24841
|
+
seedance_shots: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24842
|
+
seedance_no_text_shots: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24902
24843
|
}, z.core.$strip>;
|
|
24903
|
-
/** Whether a run takes the narrated long-form path: one script with inserts, overlays, layout windows, framing, a call, an interview or gaze. */
|
|
24904
24844
|
export declare function isNarratedUgcInput(input: {
|
|
24905
24845
|
segments?: unknown;
|
|
24906
24846
|
inserts?: unknown;
|
|
@@ -24913,23 +24853,19 @@ export declare function isNarratedUgcInput(input: {
|
|
|
24913
24853
|
end_hold_s?: unknown;
|
|
24914
24854
|
shots?: unknown;
|
|
24915
24855
|
}): boolean;
|
|
24916
|
-
|
|
24856
|
+
export declare function withAdEndHold<T extends MakeUgcInput>(input: T): T & {
|
|
24857
|
+
end_hold_source?: "ad_default";
|
|
24858
|
+
};
|
|
24917
24859
|
export declare function pinnedInsertAssetOf(input: object, insertId: string, slot?: string): PinnedInsertAsset | undefined;
|
|
24918
|
-
/** The minimum the spoken text is derived from: the script itself or the segments. */
|
|
24919
24860
|
export interface SpokenTextInput {
|
|
24920
24861
|
script?: string | undefined;
|
|
24921
24862
|
segments?: readonly UgcSegment[] | undefined;
|
|
24922
24863
|
}
|
|
24923
|
-
/** The ONLY place where "script or joined segments" becomes a `string`. The non-empty */
|
|
24924
|
-
/** check lives here, restoring the guard before the paid TTS call that the schema no longer holds. */
|
|
24925
24864
|
export declare function resolvedScript(input: SpokenTextInput): string;
|
|
24926
|
-
/** A run's parsed input; its resolution is what a stored run may hold, 4k included (#1189). */
|
|
24927
24865
|
export type MakeUgcInput = Omit<z.infer<typeof makeUgcInput>, "resolution"> & {
|
|
24928
24866
|
resolution?: Resolution | undefined;
|
|
24929
24867
|
};
|
|
24930
|
-
/** A plain run's tariff before parts-v1 (#800): 30 credits per second of finished video, known by having no billing terms frozen at admission (#840 D2). */
|
|
24931
24868
|
export declare const UGC_PER_SECOND_TARIFF = "ugc-per-second-v1";
|
|
24932
|
-
/** That tariff's rate: runs admitted before parts-v1 settle at it; the duration is rounded up before multiplying. */
|
|
24933
24869
|
export declare const CREDITS_PER_SECOND = 30;
|
|
24934
24870
|
export declare const quoteResponse: z.ZodObject<{
|
|
24935
24871
|
long_form_pricing: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|