@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/generations.d.ts
CHANGED
|
@@ -13,18 +13,15 @@ export declare const GENERATION_IMAGE_ASPECTS: readonly ["9:16", "16:9", "1:1"];
|
|
|
13
13
|
export declare const GENERATION_VIDEO_ASPECTS: readonly ["9:16", "16:9"];
|
|
14
14
|
export declare const GENERATION_RESOLUTIONS: readonly ["360p", "480p", "720p", "1080p"];
|
|
15
15
|
export declare const GENERATION_VIDEO_MODES: readonly ["text", "first_frame", "reference"];
|
|
16
|
-
/** No model takes a camera parameter, so the run writes it as the prompt's first line (#761). */
|
|
17
16
|
export declare const GENERATION_CAMERAS: readonly ["static", "push_in", "pull_back", "pan", "turntable"];
|
|
18
17
|
export type GenerationCamera = (typeof GENERATION_CAMERAS)[number];
|
|
19
18
|
export type GenerationImageAspect = (typeof GENERATION_IMAGE_ASPECTS)[number];
|
|
20
19
|
export type GenerationVideoAspect = (typeof GENERATION_VIDEO_ASPECTS)[number];
|
|
21
20
|
export type GenerationResolution = (typeof GENERATION_RESOLUTIONS)[number];
|
|
22
21
|
export type GenerationVideoMode = (typeof GENERATION_VIDEO_MODES)[number];
|
|
23
|
-
/** The references a model takes unless its capability names more. */
|
|
24
22
|
export declare const GENERATION_MAX_REFERENCES = 4;
|
|
25
23
|
export declare const GENERATION_VIDEO_FPS = 24;
|
|
26
24
|
export declare const GENERATION_PROMPT_MAX_CHARS = 5000;
|
|
27
|
-
/** One output shape. `measured: false` is refused by the API and never listed (D7). */
|
|
28
25
|
export interface GenerationImageRow {
|
|
29
26
|
aspect_ratio: GenerationImageAspect;
|
|
30
27
|
width: number;
|
|
@@ -39,44 +36,33 @@ export interface GenerationVideoRow {
|
|
|
39
36
|
height: number;
|
|
40
37
|
codec: string | null;
|
|
41
38
|
pix_fmt: string | null;
|
|
42
|
-
/** Credits per second of the requested duration. */
|
|
43
39
|
unit_credits: number;
|
|
44
40
|
measured: boolean;
|
|
45
|
-
/** A live take with references passed on this row (rule 4); reference mode is offered on such rows only. */
|
|
46
41
|
reference?: true;
|
|
47
|
-
/** Told in `warnings[]` on every request that lands here (rule 3): what the measured output differs in. */
|
|
48
42
|
warning?: string;
|
|
49
43
|
}
|
|
50
44
|
export interface GenerationImageCapability {
|
|
51
45
|
kind: "image";
|
|
52
|
-
/** The references a request may carry, measured live; absent means `GENERATION_MAX_REFERENCES`. */
|
|
53
46
|
max_references?: number;
|
|
54
47
|
rows: readonly GenerationImageRow[];
|
|
55
48
|
}
|
|
56
49
|
export interface GenerationVideoCapability {
|
|
57
50
|
kind: "video";
|
|
58
51
|
fps: number;
|
|
59
|
-
/** Whether each mode was measured live; an unmeasured mode is refused like an unmeasured row. `reference` is set when at least */
|
|
60
|
-
/** one row is marked `reference`, and a reference request is refused on every other row. */
|
|
61
52
|
modes: Readonly<Record<GenerationVideoMode, boolean>>;
|
|
62
53
|
duration_s: {
|
|
63
54
|
min: number;
|
|
64
55
|
max: number;
|
|
65
56
|
};
|
|
66
|
-
/** The only lengths a model takes when it is not every whole second of the range. */
|
|
67
57
|
duration_values?: readonly number[];
|
|
68
|
-
/** `false` where first_frame mode takes no last_frame; absent, it takes one. */
|
|
69
58
|
last_frame?: false;
|
|
70
|
-
/** The longest clip that takes a last_frame, where it is shorter than `duration_s.max`. */
|
|
71
59
|
last_frame_max_s?: number;
|
|
72
60
|
rows: readonly GenerationVideoRow[];
|
|
73
61
|
}
|
|
74
62
|
type GenerationCapabilities = {
|
|
75
63
|
readonly [M in GenerationModel]: M extends GenerationVideoModel ? GenerationVideoCapability : GenerationImageCapability;
|
|
76
64
|
};
|
|
77
|
-
/** The one table of models, shapes and prices. */
|
|
78
65
|
export declare const GENERATION_CAPABILITIES: GenerationCapabilities;
|
|
79
|
-
/** A reference: an own upload with its rights confirmed, a prior image generation, or an own asset (rights given at its creation). */
|
|
80
66
|
export declare const generationReference: z.ZodUnion<readonly [z.ZodObject<{
|
|
81
67
|
upload_id: z.ZodString;
|
|
82
68
|
rights_confirmed: z.ZodLiteral<true>;
|
|
@@ -87,14 +73,11 @@ export declare const generationReference: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
87
73
|
rights_confirmed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
88
74
|
}, z.core.$strict>]>;
|
|
89
75
|
export type GenerationReference = z.infer<typeof generationReference>;
|
|
90
|
-
/** Added to a prompt that works from a reference picture, unless `keep_text` is set (#1248): models redraw a label as garbled letters. */
|
|
91
76
|
export declare const GENERATION_NO_TEXT_CLAUSE = "No text, no lettering, no watermark, no logos on the object beyond the reference's plain shapes.";
|
|
92
|
-
/** The prompt a model gets: with a reference and no `keep_text`, the no-text line follows it (a prompt that already says so is left alone). */
|
|
93
77
|
export declare function withNoTextClause(promptText: string, options: {
|
|
94
78
|
hasReference: boolean;
|
|
95
79
|
keepText?: boolean | undefined;
|
|
96
80
|
}): string;
|
|
97
|
-
/** No `visible_ai_label`: an unknown key is refused, never passed to the provenance policy (D12). */
|
|
98
81
|
export declare const generateImageRequest: z.ZodObject<{
|
|
99
82
|
prompt: z.ZodString;
|
|
100
83
|
keep_text: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -121,7 +104,6 @@ export declare const generateImageRequest: z.ZodObject<{
|
|
|
121
104
|
max_credits: z.ZodOptional<z.ZodNumber>;
|
|
122
105
|
}, z.core.$strict>;
|
|
123
106
|
export type GenerateImageRequest = z.infer<typeof generateImageRequest>;
|
|
124
|
-
/** No audio field: the vendor is always asked for a silent clip. Exactly one of `prompt` and `shot`. */
|
|
125
107
|
export declare const generateVideoRequest: z.ZodObject<{
|
|
126
108
|
prompt: z.ZodOptional<z.ZodString>;
|
|
127
109
|
shot: z.ZodOptional<z.ZodObject<{
|
|
@@ -263,14 +245,12 @@ export type GenerationMatch = {
|
|
|
263
245
|
capability: GenerationVideoCapability;
|
|
264
246
|
row: GenerationVideoRow;
|
|
265
247
|
};
|
|
266
|
-
/** The measured row a request falls on, or `null` for a combination we do not offer or have not measured. */
|
|
267
248
|
export declare function findCapabilityRow(request: GenerationRequest): GenerationMatch | null;
|
|
268
249
|
export interface GenerationPrice {
|
|
269
250
|
unit_credits: number;
|
|
270
251
|
units: number;
|
|
271
252
|
credits: number;
|
|
272
253
|
}
|
|
273
|
-
/** The price from the same table: an image is one unit, a clip one unit per requested second. `null` where no row is offered. */
|
|
274
254
|
export declare function priceGeneration(request: GenerationRequest): GenerationPrice | null;
|
|
275
255
|
export declare const generationQuote: z.ZodObject<{
|
|
276
256
|
skill: z.ZodEnum<{
|
|
@@ -296,7 +276,6 @@ export declare const generationQuote: z.ZodObject<{
|
|
|
296
276
|
contract_version: z.ZodString;
|
|
297
277
|
}, z.core.$strict>;
|
|
298
278
|
export type GenerationQuote = z.infer<typeof generationQuote>;
|
|
299
|
-
/** One offered model: vendors are not named, and only measured modes and rows are shown. */
|
|
300
279
|
declare const listedModel: z.ZodObject<{
|
|
301
280
|
model: z.ZodString;
|
|
302
281
|
kind: z.ZodEnum<{
|
|
@@ -372,6 +351,5 @@ export declare const generationModels: z.ZodObject<{
|
|
|
372
351
|
}, z.core.$strict>;
|
|
373
352
|
export type GenerationModels = z.infer<typeof generationModels>;
|
|
374
353
|
export type ListedGenerationModel = z.infer<typeof listedModel>;
|
|
375
|
-
/** The models list from the table: a model with no measured row, or a video model with no measured mode, is left out. */
|
|
376
354
|
export declare function listGenerationModels(): ListedGenerationModel[];
|
|
377
355
|
export {};
|
package/dist/generations.js
CHANGED
|
@@ -19,19 +19,16 @@ export const GENERATION_IMAGE_ASPECTS = ["9:16", "16:9", "1:1"];
|
|
|
19
19
|
export const GENERATION_VIDEO_ASPECTS = ["9:16", "16:9"];
|
|
20
20
|
export const GENERATION_RESOLUTIONS = ["360p", "480p", "720p", "1080p"];
|
|
21
21
|
export const GENERATION_VIDEO_MODES = ["text", "first_frame", "reference"];
|
|
22
|
-
/** No model takes a camera parameter, so the run writes it as the prompt's first line (#761). */
|
|
23
22
|
export const GENERATION_CAMERAS = ["static", "push_in", "pull_back", "pan", "turntable"];
|
|
24
23
|
const GENERATION_CAMERA_DESCRIPTION = "The camera, written as the prompt's first line: static, push_in, pull_back, pan, or turntable " +
|
|
25
24
|
"(the camera stays still while the subject turns in place, for a product shot). For a product turntable pass the product's " +
|
|
26
25
|
"picture as first_frame and again as last_frame, so the clip ends where it began and loops; seedance-2.0-mini makes the " +
|
|
27
26
|
"full turn, while kling-3.0 given the same last frame barely turns. The price does not depend on it.";
|
|
28
|
-
/** The references a model takes unless its capability names more. */
|
|
29
27
|
export const GENERATION_MAX_REFERENCES = 4;
|
|
30
28
|
export const GENERATION_VIDEO_FPS = 24;
|
|
31
29
|
export const GENERATION_PROMPT_MAX_CHARS = 5000;
|
|
32
30
|
const image = (aspect_ratio, width, height, unit_credits, measured = false) => ({ aspect_ratio, width, height, unit_credits, measured });
|
|
33
31
|
const H264 = { codec: "h264", pix_fmt: "yuv420p" };
|
|
34
|
-
/** Rows in both aspects of one resolution; `measured` holds the aspects probed live on rendered clips. */
|
|
35
32
|
function video(resolution, short, long, unit_credits, probed, measured = {}, warning) {
|
|
36
33
|
const extra = warning === undefined ? {} : { warning };
|
|
37
34
|
return [
|
|
@@ -45,87 +42,81 @@ const DRAFT_480P = {
|
|
|
45
42
|
"9:16": "480p draft is 496x864 (2.1% off 9:16), as the model renders it; we do not crop it",
|
|
46
43
|
"16:9": "480p draft is 864x496 (2.0% off 16:9), as the model renders it; we do not crop it",
|
|
47
44
|
};
|
|
48
|
-
/** Seedance 2.0 renders 480p as 496x864 vertical and 864x496 horizontal, as measured. */
|
|
49
45
|
function draft480p(unit_credits) {
|
|
50
46
|
return video("480p", 496, 864, unit_credits, H264, { vertical: true, horizontal: true })
|
|
51
47
|
.map((row) => ({ ...row, warning: DRAFT_480P[row.aspect_ratio] }));
|
|
52
48
|
}
|
|
53
|
-
/** One aspect of a pair changed: a measure that saw only that aspect. */
|
|
54
49
|
function only(rows, aspect, change) {
|
|
55
50
|
return rows.map((row) => (row.aspect_ratio === aspect ? { ...row, ...change } : row));
|
|
56
51
|
}
|
|
57
|
-
/** The vertical row of a pair, where the live take with references was made. */
|
|
58
52
|
const referenceVertical = (rows) => only(rows, "9:16", { reference: true });
|
|
59
|
-
/** The one table of models, shapes and prices. */
|
|
60
53
|
export const GENERATION_CAPABILITIES = deepFreeze({
|
|
61
54
|
"seedream-5.0-flash": {
|
|
62
55
|
kind: "image",
|
|
63
|
-
rows: [image("9:16", 1440, 2560,
|
|
56
|
+
rows: [image("9:16", 1440, 2560, 5, true), image("16:9", 2560, 1440, 5, true), image("1:1", 2048, 2048, 5, true)],
|
|
64
57
|
},
|
|
65
58
|
flare: {
|
|
66
59
|
kind: "image",
|
|
67
|
-
rows: [image("9:16", 1008, 1792,
|
|
60
|
+
rows: [image("9:16", 1008, 1792, 6, true), image("16:9", 1792, 1008, 6), image("1:1", 1024, 1024, 6)],
|
|
68
61
|
},
|
|
69
|
-
// An editor of up to 14 pictures (product, person, place, prop); 9:16 is 0.8% off, inside the 2% match.
|
|
70
62
|
"gemini-3-pro-image": {
|
|
71
63
|
kind: "image",
|
|
72
64
|
max_references: 14,
|
|
73
|
-
rows: [image("9:16", 1536, 2752,
|
|
65
|
+
rows: [image("9:16", 1536, 2752, 38, true), image("16:9", 2752, 1536, 38, true), image("1:1", 2048, 2048, 38, true)],
|
|
74
66
|
},
|
|
75
67
|
"gemini-nano-banana-2.1": {
|
|
76
68
|
kind: "image",
|
|
77
69
|
max_references: 14,
|
|
78
|
-
rows: [image("9:16", 768, 1376,
|
|
70
|
+
rows: [image("9:16", 768, 1376, 21, true), image("16:9", 1376, 768, 21, true), image("1:1", 1024, 1024, 21, true)],
|
|
79
71
|
},
|
|
80
72
|
"seedance-2.0": {
|
|
81
73
|
kind: "video",
|
|
82
74
|
fps: GENERATION_VIDEO_FPS,
|
|
83
75
|
modes: SEEDANCE_2_0_MODES,
|
|
84
76
|
duration_s: { min: 4, max: 15 },
|
|
85
|
-
rows: [...referenceVertical(draft480p(
|
|
86
|
-
...referenceVertical(video("720p", 720, 1280,
|
|
87
|
-
...video("1080p", 1080, 1920,
|
|
77
|
+
rows: [...referenceVertical(draft480p(18)),
|
|
78
|
+
...referenceVertical(video("720p", 720, 1280, 38, H264, { vertical: true, horizontal: true })),
|
|
79
|
+
...video("1080p", 1080, 1920, 94, H264, { vertical: true, horizontal: true })],
|
|
88
80
|
},
|
|
89
81
|
"seedance-2.0-mini": {
|
|
90
82
|
kind: "video",
|
|
91
83
|
fps: GENERATION_VIDEO_FPS,
|
|
92
84
|
modes: SEEDANCE_2_0_MODES,
|
|
93
85
|
duration_s: { min: 4, max: 15 },
|
|
94
|
-
rows: [...referenceVertical(draft480p(
|
|
95
|
-
...referenceVertical(video("720p", 720, 1280,
|
|
86
|
+
rows: [...referenceVertical(draft480p(5)),
|
|
87
|
+
...referenceVertical(video("720p", 720, 1280, 11, H264, { vertical: true, horizontal: true }))],
|
|
96
88
|
},
|
|
97
89
|
"seedance-2.0-fast": {
|
|
98
90
|
kind: "video",
|
|
99
91
|
fps: GENERATION_VIDEO_FPS,
|
|
100
92
|
modes: SEEDANCE_2_0_MODES,
|
|
101
93
|
duration_s: { min: 4, max: 15 },
|
|
102
|
-
rows: [...referenceVertical(draft480p(
|
|
103
|
-
...referenceVertical(video("720p", 720, 1280,
|
|
94
|
+
rows: [...referenceVertical(draft480p(15)),
|
|
95
|
+
...referenceVertical(video("720p", 720, 1280, 31, H264, { vertical: true, horizontal: true }))],
|
|
104
96
|
},
|
|
105
97
|
"seedance-2.5": {
|
|
106
98
|
kind: "video",
|
|
107
99
|
fps: GENERATION_VIDEO_FPS,
|
|
108
100
|
modes: { text: false, first_frame: true, reference: true },
|
|
109
101
|
duration_s: { min: 4, max: 30 },
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
...
|
|
113
|
-
...video("1080p", 1080, 1920, 113, HEVC10, { vertical: true }, "seedance-2.5 at 1080p is HEVC 10-bit (yuv420p10le); some browsers and editors do not play it")],
|
|
102
|
+
rows: [...referenceVertical(video("480p", 480, 854, 26, H264, { vertical: true, horizontal: true })),
|
|
103
|
+
...referenceVertical(video("720p", 720, 1280, 59, H264, { vertical: true, horizontal: true })),
|
|
104
|
+
...video("1080p", 1080, 1920, 143, HEVC10, { vertical: true }, "seedance-2.5 at 1080p is HEVC 10-bit (yuv420p10le); some browsers and editors do not play it")],
|
|
114
105
|
},
|
|
115
106
|
"kling-3.0": {
|
|
116
107
|
kind: "video",
|
|
117
108
|
fps: GENERATION_VIDEO_FPS,
|
|
118
109
|
modes: { text: true, first_frame: true, reference: true },
|
|
119
110
|
duration_s: { min: 3, max: 15 },
|
|
120
|
-
rows: referenceVertical(video("720p", 720, 1280,
|
|
111
|
+
rows: referenceVertical(video("720p", 720, 1280, 19, H264, { vertical: true, horizontal: true })),
|
|
121
112
|
},
|
|
122
113
|
"kling-4.0": {
|
|
123
114
|
kind: "video",
|
|
124
115
|
fps: GENERATION_VIDEO_FPS,
|
|
125
116
|
modes: { text: true, first_frame: true, reference: true },
|
|
126
117
|
duration_s: { min: 3, max: 30 },
|
|
127
|
-
rows: [...referenceVertical(video("720p", 720, 1280,
|
|
128
|
-
...video("1080p", 1080, 1920,
|
|
118
|
+
rows: [...referenceVertical(video("720p", 720, 1280, 36, H264, { vertical: true, horizontal: true })),
|
|
119
|
+
...video("1080p", 1080, 1920, 53, H264, { vertical: true, horizontal: true })],
|
|
129
120
|
},
|
|
130
121
|
"kling-4.0-flash": {
|
|
131
122
|
kind: "video",
|
|
@@ -133,17 +124,16 @@ export const GENERATION_CAPABILITIES = deepFreeze({
|
|
|
133
124
|
modes: { text: true, first_frame: true, reference: true },
|
|
134
125
|
duration_s: { min: 3, max: 20 },
|
|
135
126
|
last_frame: false,
|
|
136
|
-
rows: referenceVertical(video("720p", 720, 1280,
|
|
127
|
+
rows: referenceVertical(video("720p", 720, 1280, 22, H264, { vertical: true, horizontal: true })),
|
|
137
128
|
},
|
|
138
|
-
// 360p 9:16 is not yet seen live.
|
|
139
129
|
"gemini-omni-flash-1.1": {
|
|
140
130
|
kind: "video",
|
|
141
131
|
fps: GENERATION_VIDEO_FPS,
|
|
142
132
|
modes: { text: true, first_frame: true, reference: true },
|
|
143
133
|
duration_s: { min: 4, max: 10 },
|
|
144
134
|
duration_values: [4, 6, 8, 10],
|
|
145
|
-
rows: [...only(video("360p", 360, 640,
|
|
146
|
-
...referenceVertical(video("720p", 720, 1280,
|
|
135
|
+
rows: [...only(video("360p", 360, 640, 20, H264), "16:9", { measured: true }),
|
|
136
|
+
...referenceVertical(video("720p", 720, 1280, 20, H264, { vertical: true, horizontal: true }))],
|
|
147
137
|
},
|
|
148
138
|
"gemini-omni-flash-1.2": {
|
|
149
139
|
kind: "video",
|
|
@@ -151,7 +141,7 @@ export const GENERATION_CAPABILITIES = deepFreeze({
|
|
|
151
141
|
modes: { text: true, first_frame: true, reference: true },
|
|
152
142
|
duration_s: { min: 3, max: 15 },
|
|
153
143
|
last_frame_max_s: 10,
|
|
154
|
-
rows: referenceVertical(video("720p", 720, 1280,
|
|
144
|
+
rows: referenceVertical(video("720p", 720, 1280, 12, H264, { vertical: true, horizontal: true })),
|
|
155
145
|
},
|
|
156
146
|
});
|
|
157
147
|
function deepFreeze(value) {
|
|
@@ -162,24 +152,20 @@ function deepFreeze(value) {
|
|
|
162
152
|
}
|
|
163
153
|
return value;
|
|
164
154
|
}
|
|
165
|
-
/** A reference: an own upload with its rights confirmed, a prior image generation, or an own asset (rights given at its creation). */
|
|
166
155
|
export const generationReference = z.union([
|
|
167
156
|
z.strictObject({ upload_id: uploadId, rights_confirmed: z.literal(true) }),
|
|
168
157
|
z.strictObject({ run_id: runId }),
|
|
169
158
|
z.strictObject({ asset_id: assetId, rights_confirmed: z.literal(true).optional() }),
|
|
170
159
|
]);
|
|
171
160
|
const prompt = z.string().trim().min(1).max(GENERATION_PROMPT_MAX_CHARS);
|
|
172
|
-
/** Added to a prompt that works from a reference picture, unless `keep_text` is set (#1248): models redraw a label as garbled letters. */
|
|
173
161
|
export const GENERATION_NO_TEXT_CLAUSE = "No text, no lettering, no watermark, no logos on the object beyond the reference's plain shapes.";
|
|
174
162
|
const keepText = z.boolean().optional().describe("Keep the reference's own lettering; by default a no-text line is added to the prompt.");
|
|
175
|
-
/** The prompt a model gets: with a reference and no `keep_text`, the no-text line follows it (a prompt that already says so is left alone). */
|
|
176
163
|
export function withNoTextClause(promptText, options) {
|
|
177
164
|
if (!options.hasReference || options.keepText === true || /\bno (?:text|lettering)\b/i.test(promptText))
|
|
178
165
|
return promptText;
|
|
179
166
|
return `${promptText}\n${GENERATION_NO_TEXT_CLAUSE}`;
|
|
180
167
|
}
|
|
181
168
|
const imageMaxReferences = (model) => GENERATION_CAPABILITIES[model].max_references ?? GENERATION_MAX_REFERENCES;
|
|
182
|
-
/** No `visible_ai_label`: an unknown key is refused, never passed to the provenance policy (D12). */
|
|
183
169
|
export const generateImageRequest = z.strictObject({
|
|
184
170
|
prompt,
|
|
185
171
|
keep_text: keepText,
|
|
@@ -196,7 +182,6 @@ export const generateImageRequest = z.strictObject({
|
|
|
196
182
|
});
|
|
197
183
|
const SHOT_DESCRIPTION = "The clip as a shot, in place of prompt: framing, subject, start_state, timed beats, camera, light and " +
|
|
198
184
|
"continuity. Write every field as what the frame shows: a state reads \"her fingertips are clean\", never as an absence.";
|
|
199
|
-
/** No audio field: the vendor is always asked for a silent clip. Exactly one of `prompt` and `shot`. */
|
|
200
185
|
export const generateVideoRequest = z.strictObject({
|
|
201
186
|
prompt: prompt.optional().describe("What the clip shows, in your words; or pass shot instead."),
|
|
202
187
|
shot: generationShot.optional().describe(SHOT_DESCRIPTION),
|
|
@@ -204,13 +189,11 @@ export const generateVideoRequest = z.strictObject({
|
|
|
204
189
|
model: z.enum(GENERATION_VIDEO_MODELS),
|
|
205
190
|
mode: z.enum(GENERATION_VIDEO_MODES),
|
|
206
191
|
aspect_ratio: z.enum(GENERATION_VIDEO_ASPECTS),
|
|
207
|
-
// Every video model has a measured 720p row in both aspects, so the default always lands on one (#911).
|
|
208
192
|
resolution: z.enum(GENERATION_RESOLUTIONS).default("720p").describe("The clip's resolution; omitted means 720p. Rows and prices per resolution: list_generation_models."),
|
|
209
193
|
duration_s: z.number().int().positive().safe(),
|
|
210
194
|
first_frame: generationReference.optional(),
|
|
211
195
|
last_frame: generationReference.optional(),
|
|
212
196
|
references: z.array(generationReference).min(1).max(GENERATION_MAX_REFERENCES).optional(),
|
|
213
|
-
/** Compiled into the prompt's first line; the price does not depend on it. */
|
|
214
197
|
camera: z.enum(GENERATION_CAMERAS).optional().describe(GENERATION_CAMERA_DESCRIPTION),
|
|
215
198
|
max_credits: maxCreditsField,
|
|
216
199
|
}).superRefine((request, context) => {
|
|
@@ -253,7 +236,6 @@ export const generateVideoRequest = z.strictObject({
|
|
|
253
236
|
function isVideoRequest(request) {
|
|
254
237
|
return GENERATION_VIDEO_MODELS.includes(request.model);
|
|
255
238
|
}
|
|
256
|
-
/** The measured row a request falls on, or `null` for a combination we do not offer or have not measured. */
|
|
257
239
|
export function findCapabilityRow(request) {
|
|
258
240
|
if (isVideoRequest(request)) {
|
|
259
241
|
const capability = GENERATION_CAPABILITIES[request.model];
|
|
@@ -275,7 +257,6 @@ export function findCapabilityRow(request) {
|
|
|
275
257
|
const row = capability.rows.find((one) => one.aspect_ratio === request.aspect_ratio);
|
|
276
258
|
return row?.measured ? { kind: "image", model: request.model, capability, row } : null;
|
|
277
259
|
}
|
|
278
|
-
/** The price from the same table: an image is one unit, a clip one unit per requested second. `null` where no row is offered. */
|
|
279
260
|
export function priceGeneration(request) {
|
|
280
261
|
const match = findCapabilityRow(request);
|
|
281
262
|
if (match === null)
|
|
@@ -305,14 +286,12 @@ const listedRow = z.strictObject({
|
|
|
305
286
|
unit_credits: z.number().int().positive(),
|
|
306
287
|
reference: z.literal(true).optional().describe("Present on a clip row that takes reference mode; other rows refuse it."),
|
|
307
288
|
});
|
|
308
|
-
/** One offered model: vendors are not named, and only measured modes and rows are shown. */
|
|
309
289
|
const listedModel = z.strictObject({
|
|
310
290
|
model: z.string().min(1),
|
|
311
291
|
kind: z.enum(GENERATION_KINDS),
|
|
312
292
|
unit: z.enum(["image", "second"]),
|
|
313
293
|
modes: z.array(z.enum(GENERATION_VIDEO_MODES)).nullable(),
|
|
314
294
|
duration_s: z.strictObject({ min: z.number().int().positive(), max: z.number().int().positive() }).nullable(),
|
|
315
|
-
/** Present when the model takes only these lengths inside `duration_s`. */
|
|
316
295
|
duration_values: z.array(z.number().int().positive()).min(1).optional(),
|
|
317
296
|
max_references: z.number().int().nonnegative(),
|
|
318
297
|
rows: z.array(listedRow).min(1),
|
|
@@ -321,7 +300,6 @@ export const generationModels = z.strictObject({
|
|
|
321
300
|
models: z.array(listedModel),
|
|
322
301
|
contract_version: z.string().min(1),
|
|
323
302
|
});
|
|
324
|
-
/** The models list from the table: a model with no measured row, or a video model with no measured mode, is left out. */
|
|
325
303
|
export function listGenerationModels() {
|
|
326
304
|
return Object.keys(GENERATION_CAPABILITIES).flatMap((model) => {
|
|
327
305
|
const capability = GENERATION_CAPABILITIES[model];
|
|
@@ -341,4 +319,3 @@ export function listGenerationModels() {
|
|
|
341
319
|
max_references: modes.includes("reference") ? GENERATION_MAX_REFERENCES : 0, rows }];
|
|
342
320
|
});
|
|
343
321
|
}
|
|
344
|
-
//# sourceMappingURL=generations.js.map
|
package/dist/idempotency.d.ts
CHANGED
|
@@ -1,48 +1,28 @@
|
|
|
1
1
|
import type { OwnAgentSkill } from "./own-agent-price.js";
|
|
2
2
|
import { type RunVideo } from "./video-size.js";
|
|
3
|
-
/** Canonical JSON: object keys sorted, array order kept (order is part of an array's value), */
|
|
4
|
-
/** `undefined` dropped. Semantically equal bodies must hash alike, or a retry gets a 409. */
|
|
5
3
|
export declare function canonicalize(value: unknown): unknown;
|
|
6
|
-
/** Hashes the input AFTER zod parsing, defaults filled in: "captions omitted" and */
|
|
7
|
-
/** "captions: false" are one request. Hashing the raw body would 409 on extra whitespace. */
|
|
8
4
|
export declare function requestHash(input: unknown): string;
|
|
9
|
-
/** A stored output's measured video size, its delivery proof counted only when its seal matches (#1188). */
|
|
10
5
|
export declare function measuredRunVideo(finalOutput: unknown): RunVideo | null;
|
|
11
|
-
/** Idempotency key from input AND client identity. Parses inside so defaults are filled */
|
|
12
|
-
/** before hashing; `clientId` prefixes the hash so clients never share a run. */
|
|
13
6
|
export declare function idempotencyKeyFor(input: unknown, clientId: string): string;
|
|
14
|
-
/** The same key for `create_actor`, with its own schema and defaults: the `make_ugc` */
|
|
15
|
-
/** parse would strip every actor field. */
|
|
16
7
|
export declare function actorIdempotencyKeyFor(input: unknown, clientId: string): string;
|
|
17
|
-
/** The key of a revision: the source run and the request, parsed, under the client's prefix. */
|
|
18
8
|
export declare function revisionIdempotencyKeyFor(sourceRunId: string, request: unknown, clientId: string): string;
|
|
19
|
-
/** The key of a shot candidate: the source run and the request with its take, parsed, under the client's prefix. */
|
|
20
9
|
export declare function candidateIdempotencyKeyFor(sourceRunId: string, request: unknown, clientId: string): string;
|
|
21
|
-
/** The key of a single generation: the skill and its request, parsed, under the client's prefix. */
|
|
22
10
|
export declare function generationIdempotencyKeyFor(skill: "generate_image" | "generate_video", request: unknown, clientId: string): string;
|
|
23
|
-
/** The key of an own-agent run (#1337): the client, the skill and its parsed request, so a retry of the same ask is the same run. */
|
|
24
11
|
export declare function ownAgentIdempotencyKeyFor(skill: OwnAgentSkill, request: unknown, clientId: string): string;
|
|
25
|
-
/** What identifies an upload request: the url of an import, the declared file of an intent (`filename` is only a hint). */
|
|
26
12
|
export declare function uploadRequestIdentity(kind: "import" | "intent", input: unknown): unknown;
|
|
27
|
-
/** The key of an import or an intent: its identity under the client's prefix. */
|
|
28
13
|
export declare function uploadRequestIdempotencyKeyFor(kind: "import" | "intent", input: unknown, clientId: string): string;
|
|
29
|
-
|
|
30
|
-
export declare function assetRequestIdentity(input: unknown): unknown;
|
|
31
|
-
/** The identity of `POST /v1/assets/bytes`: the picture's digest with its role and name. */
|
|
14
|
+
export declare function assetRequestIdentity(input: unknown, legacy?: boolean): unknown;
|
|
32
15
|
export declare function assetBytesIdentity(input: {
|
|
33
16
|
role: string;
|
|
34
17
|
name: string;
|
|
35
18
|
sha256: string;
|
|
36
19
|
analysis_only?: boolean | undefined;
|
|
37
20
|
}): unknown;
|
|
38
|
-
/** The key of `POST /v1/assets/bytes` for these bytes, as the server derives their identity. */
|
|
39
21
|
export declare function assetBytesIdempotencyKeyFor(input: {
|
|
40
22
|
role: string;
|
|
41
23
|
name: string;
|
|
42
24
|
bytes: Uint8Array;
|
|
43
25
|
analysis_only?: boolean;
|
|
44
26
|
}, clientId: string): string;
|
|
45
|
-
/** The key of an asset creation: its identity under the client's prefix. */
|
|
46
27
|
export declare function assetRequestIdempotencyKeyFor(input: unknown, clientId: string): string;
|
|
47
|
-
/** The same key for `make_faceless`, parsed by its own union schema. */
|
|
48
28
|
export declare function facelessIdempotencyKeyFor(input: unknown, clientId: string): string;
|
package/dist/idempotency.js
CHANGED
|
@@ -5,15 +5,11 @@ import { candidateRequest } from "./edit-candidate.js";
|
|
|
5
5
|
import { revisionRequest } from "./edit-revision.js";
|
|
6
6
|
import { makeFacelessInput } from "./faceless-public.js";
|
|
7
7
|
import { generateImageRequest, generateVideoRequest } from "./generations.js";
|
|
8
|
-
import { filmHeroInput, filmRenderInput, filmStillsInput, filmVoiceInput } from "./own-agent-runs.js";
|
|
8
|
+
import { filmEditInput, filmHeroInput, filmRenderInput, filmStillsInput, filmVoiceInput, takeCheckInput, takeFramesInput } from "./own-agent-runs.js";
|
|
9
9
|
import { runId } from "./runs.js";
|
|
10
10
|
import { measuredVideoSize } from "./video-size.js";
|
|
11
11
|
import { makeUgcInput } from "./skills.js";
|
|
12
12
|
import { uploadImportRequest, uploadIntentRequest } from "./uploads.js";
|
|
13
|
-
// Request fingerprint and per-client idempotency key. A subpath export, not the barrel:
|
|
14
|
-
// `node:crypto` in the barrel would break Next client bundles.
|
|
15
|
-
/** Canonical JSON: object keys sorted, array order kept (order is part of an array's value), */
|
|
16
|
-
/** `undefined` dropped. Semantically equal bodies must hash alike, or a retry gets a 409. */
|
|
17
13
|
export function canonicalize(value) {
|
|
18
14
|
if (Array.isArray(value)) {
|
|
19
15
|
return value.map(canonicalize);
|
|
@@ -30,86 +26,72 @@ export function canonicalize(value) {
|
|
|
30
26
|
}
|
|
31
27
|
return value;
|
|
32
28
|
}
|
|
33
|
-
/** Hashes the input AFTER zod parsing, defaults filled in: "captions omitted" and */
|
|
34
|
-
/** "captions: false" are one request. Hashing the raw body would 409 on extra whitespace. */
|
|
35
29
|
export function requestHash(input) {
|
|
36
30
|
return createHash("sha256")
|
|
37
31
|
.update(JSON.stringify(canonicalize(input)))
|
|
38
32
|
.digest("hex");
|
|
39
33
|
}
|
|
40
|
-
/** A stored output's measured video size, its delivery proof counted only when its seal matches (#1188). */
|
|
41
34
|
export function measuredRunVideo(finalOutput) {
|
|
42
35
|
return measuredVideoSize(finalOutput, (proof) => requestHash(proof.record) === proof.record_hash);
|
|
43
36
|
}
|
|
44
|
-
/** Idempotency key from input AND client identity. Parses inside so defaults are filled */
|
|
45
|
-
/** before hashing; `clientId` prefixes the hash so clients never share a run. */
|
|
46
37
|
export function idempotencyKeyFor(input, clientId) {
|
|
47
38
|
const parsed = makeUgcInput.parse(input);
|
|
48
39
|
return createHash("sha256")
|
|
49
40
|
.update(clientId + JSON.stringify(canonicalize(parsed)))
|
|
50
41
|
.digest("hex");
|
|
51
42
|
}
|
|
52
|
-
/** The same key for `create_actor`, with its own schema and defaults: the `make_ugc` */
|
|
53
|
-
/** parse would strip every actor field. */
|
|
54
43
|
export function actorIdempotencyKeyFor(input, clientId) {
|
|
55
44
|
const parsed = createActorInput.parse(input);
|
|
56
45
|
return createHash("sha256")
|
|
57
46
|
.update(clientId + JSON.stringify(canonicalize(parsed)))
|
|
58
47
|
.digest("hex");
|
|
59
48
|
}
|
|
60
|
-
/** The key of a revision: the source run and the request, parsed, under the client's prefix. */
|
|
61
49
|
export function revisionIdempotencyKeyFor(sourceRunId, request, clientId) {
|
|
62
50
|
const parsed = { source_run_id: runId.parse(sourceRunId), request: revisionRequest.parse(request) };
|
|
63
51
|
return createHash("sha256")
|
|
64
52
|
.update(clientId + JSON.stringify(canonicalize(parsed)))
|
|
65
53
|
.digest("hex");
|
|
66
54
|
}
|
|
67
|
-
/** The key of a shot candidate: the source run and the request with its take, parsed, under the client's prefix. */
|
|
68
55
|
export function candidateIdempotencyKeyFor(sourceRunId, request, clientId) {
|
|
69
56
|
const parsed = { source_run_id: runId.parse(sourceRunId), candidate: candidateRequest.parse(request) };
|
|
70
57
|
return createHash("sha256")
|
|
71
58
|
.update(clientId + JSON.stringify(canonicalize(parsed)))
|
|
72
59
|
.digest("hex");
|
|
73
60
|
}
|
|
74
|
-
/** The key of a single generation: the skill and its request, parsed, under the client's prefix. */
|
|
75
61
|
export function generationIdempotencyKeyFor(skill, request, clientId) {
|
|
76
62
|
const parsed = { skill, request: skill === "generate_image" ? generateImageRequest.parse(request) : generateVideoRequest.parse(request) };
|
|
77
63
|
return createHash("sha256")
|
|
78
64
|
.update(clientId + JSON.stringify(canonicalize(parsed)))
|
|
79
65
|
.digest("hex");
|
|
80
66
|
}
|
|
81
|
-
/** The key of an own-agent run (#1337): the client, the skill and its parsed request, so a retry of the same ask is the same run. */
|
|
82
67
|
export function ownAgentIdempotencyKeyFor(skill, request, clientId) {
|
|
83
|
-
const schema = skill === "film_stills" ? filmStillsInput : skill === "film_voice" ? filmVoiceInput : skill === "film_hero" ? filmHeroInput
|
|
68
|
+
const schema = skill === "film_stills" ? filmStillsInput : skill === "film_voice" ? filmVoiceInput : skill === "film_hero" ? filmHeroInput
|
|
69
|
+
: skill === "film_edit" ? filmEditInput : skill === "film_take_frames" ? takeFramesInput : skill === "film_take_check" ? takeCheckInput
|
|
70
|
+
: filmRenderInput;
|
|
84
71
|
return createHash("sha256").update(clientId + JSON.stringify(canonicalize({ skill, request: schema.parse(request) }))).digest("hex");
|
|
85
72
|
}
|
|
86
|
-
/** What identifies an upload request: the url of an import, the declared file of an intent (`filename` is only a hint). */
|
|
87
73
|
export function uploadRequestIdentity(kind, input) {
|
|
88
74
|
if (kind === "import")
|
|
89
75
|
return { kind, url: uploadImportRequest.parse(input).url };
|
|
90
76
|
const { media_type, bytes, sha256 } = uploadIntentRequest.parse(input);
|
|
91
77
|
return { kind, media_type, bytes, sha256 };
|
|
92
78
|
}
|
|
93
|
-
/** The key of an import or an intent: its identity under the client's prefix. */
|
|
94
79
|
export function uploadRequestIdempotencyKeyFor(kind, input, clientId) {
|
|
95
80
|
return createHash("sha256")
|
|
96
81
|
.update(clientId + JSON.stringify(canonicalize(uploadRequestIdentity(kind, input))))
|
|
97
82
|
.digest("hex");
|
|
98
83
|
}
|
|
99
|
-
|
|
100
|
-
export function assetRequestIdentity(input) {
|
|
84
|
+
export function assetRequestIdentity(input, legacy = false) {
|
|
101
85
|
const { source, role, name, analysis_only } = createAssetRequest.parse(input);
|
|
102
|
-
const named = "base64" in source
|
|
103
|
-
? { base64_sha256: createHash("sha256").update(source.base64).digest("hex"), media_type: source.media_type }
|
|
104
|
-
|
|
86
|
+
const named = !("base64" in source) ? source : legacy
|
|
87
|
+
? { base64_sha256: createHash("sha256").update(source.base64).digest("hex"), media_type: source.media_type }
|
|
88
|
+
: { sha256: createHash("sha256").update(Buffer.from(source.base64, "base64")).digest("hex"), media_type: source.media_type };
|
|
105
89
|
return { kind: "asset", role, name, source: named, ...(analysis_only ? { analysis_only } : {}) };
|
|
106
90
|
}
|
|
107
|
-
/** The identity of `POST /v1/assets/bytes`: the picture's digest with its role and name. */
|
|
108
91
|
export function assetBytesIdentity(input) {
|
|
109
92
|
return { kind: "asset_bytes", role: input.role, name: input.name.trim(), sha256: input.sha256,
|
|
110
93
|
...(input.analysis_only ? { analysis_only: true } : {}) };
|
|
111
94
|
}
|
|
112
|
-
/** The key of `POST /v1/assets/bytes` for these bytes, as the server derives their identity. */
|
|
113
95
|
export function assetBytesIdempotencyKeyFor(input, clientId) {
|
|
114
96
|
const sha256 = createHash("sha256").update(input.bytes).digest("hex");
|
|
115
97
|
return createHash("sha256")
|
|
@@ -117,15 +99,12 @@ export function assetBytesIdempotencyKeyFor(input, clientId) {
|
|
|
117
99
|
analysis_only: input.analysis_only }))))
|
|
118
100
|
.digest("hex");
|
|
119
101
|
}
|
|
120
|
-
/** The key of an asset creation: its identity under the client's prefix. */
|
|
121
102
|
export function assetRequestIdempotencyKeyFor(input, clientId) {
|
|
122
103
|
return createHash("sha256").update(clientId + JSON.stringify(canonicalize(assetRequestIdentity(input)))).digest("hex");
|
|
123
104
|
}
|
|
124
|
-
/** The same key for `make_faceless`, parsed by its own union schema. */
|
|
125
105
|
export function facelessIdempotencyKeyFor(input, clientId) {
|
|
126
106
|
const parsed = makeFacelessInput.parse(input);
|
|
127
107
|
return createHash("sha256")
|
|
128
108
|
.update(clientId + JSON.stringify(canonicalize(parsed)))
|
|
129
109
|
.digest("hex");
|
|
130
110
|
}
|
|
131
|
-
//# sourceMappingURL=idempotency.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -77,6 +77,8 @@ export * from "./voice-preview-approval.js";
|
|
|
77
77
|
export * from "./face-delivery.js";
|
|
78
78
|
export * from "./ugc-delivery.js";
|
|
79
79
|
export * from "./faceless-public-plan.js";
|
|
80
|
+
export * from "./faceless-direction-summary.js";
|
|
81
|
+
export { assertStoryboardWords } from "./faceless-storyboard.js";
|
|
80
82
|
export * from "./faceless-media-record.js";
|
|
81
83
|
export * from "./edit.js";
|
|
82
84
|
export * from "./workflows/index.js";
|
|
@@ -87,6 +89,7 @@ export * from "./scene-proposal.js";
|
|
|
87
89
|
export * from "./generations.js";
|
|
88
90
|
export * from "./generations-output.js";
|
|
89
91
|
export * from "./reference-profile.js";
|
|
92
|
+
export * from "./reference-bring.js";
|
|
90
93
|
export * from "./reference-lyrics.js";
|
|
91
94
|
export * from "./caption-funnel.js";
|
|
92
95
|
export * from "./reference-voice-over.js";
|
package/dist/index.js
CHANGED
|
@@ -33,62 +33,35 @@ export * from "./mascots.js";
|
|
|
33
33
|
export * from "./faceless-price.js";
|
|
34
34
|
export * from "./explainer-fit.js";
|
|
35
35
|
export * from "./actors.js";
|
|
36
|
-
// Personal actors of an account: input and result of the `create_actor` skill.
|
|
37
36
|
export * from "./account-actors.js";
|
|
38
|
-
// The disposition registry imports the shape from skills.js one way, so there is no cycle.
|
|
39
|
-
// MakeUgcInputArgs comes from here, derived from the offered shape, not the full one.
|
|
40
37
|
export * from "./contract-dispositions.js";
|
|
41
|
-
// Format resolver: pure functions, no network; imports ASPECT_RATIOS from skills.js one way.
|
|
42
38
|
export * from "./aspect.js";
|
|
43
|
-
// The actor is its own module: `aspect.js` re-exports the frame source from it.
|
|
44
39
|
export * from "./default-actor.js";
|
|
45
40
|
export * from "./voices.js";
|
|
46
41
|
export * from "./voice-catalog.js";
|
|
47
42
|
export * from "./runs.js";
|
|
48
43
|
export * from "./post-text.js";
|
|
49
|
-
// The delivered video's measured size and its short name (720p, 1080p, 4K).
|
|
50
44
|
export * from "./video-size.js";
|
|
51
|
-
// Refusal bodies: the error shape is contract too, and once a 402 carries numbers it no
|
|
52
|
-
// longer follows from the status code.
|
|
53
45
|
export * from "./errors.js";
|
|
54
46
|
export * from "./max-credits.js";
|
|
55
47
|
export * from "./script-integrity.js";
|
|
56
|
-
// Rate limit: the 429 shape and header names, the same kind of contract as the refusal
|
|
57
|
-
// bodies above.
|
|
58
48
|
export * from "./rate-limit.js";
|
|
59
|
-
// Failure parsing: what to DO with the bodies above. In core so SDK, MCP and CLI share
|
|
60
|
-
// one retry decision.
|
|
61
49
|
export * from "./api-failure.js";
|
|
62
50
|
export * from "./account.js";
|
|
63
|
-
// Image upload for `image`: response contract, caps, type probe.
|
|
64
51
|
export * from "./uploads.js";
|
|
65
|
-
// Account assets (clipwright#724 F2): kept until deleted, under a cap per account.
|
|
66
52
|
export * from "./assets.js";
|
|
67
|
-
// A customer's delete of a finished run's files (#1093).
|
|
68
53
|
export * from "./run-media.js";
|
|
69
54
|
export * from "./pacing.js";
|
|
70
|
-
// Vendor-neutral contracts: everything vendor-specific lives in adapters, not here.
|
|
71
55
|
export * from "./render-backend.js";
|
|
72
56
|
export * from "./tts-backend.js";
|
|
73
|
-
// Implementations of both contracts above mark errors with the response status, if any;
|
|
74
|
-
// without it "the vendor refused" and "no response" look the same.
|
|
75
57
|
export * from "./vendor-response.js";
|
|
76
|
-
// Public addresses and package names, printed by the SDK, docs and landing page, so a
|
|
77
|
-
// mismatch is seen by visitors, not tests.
|
|
78
58
|
export * from "./public-endpoints.js";
|
|
79
|
-
// API routes and their price: checked against `app.routes`, printed by the quickstart.
|
|
80
59
|
export * from "./endpoints.js";
|
|
81
|
-
// One sentence per route, shared by `/docs` and `/openapi.json`.
|
|
82
60
|
export * from "./endpoint-notes.js";
|
|
83
61
|
export * from "./public-responses.js";
|
|
84
|
-
// The public price list (#927): derived from the constants billing charges by.
|
|
85
62
|
export * from "./prices.js";
|
|
86
|
-
// Feedback from an agent (#941): free, into the support queue.
|
|
87
63
|
export * from "./feedback.js";
|
|
88
|
-
// A run's static warnings are derived from its stored input: one answer for the API
|
|
89
|
-
// and the dashboard in any run state.
|
|
90
64
|
export * from "./run-static-warnings.js";
|
|
91
|
-
// Preflight outcomes that cannot be derived: the durable fact shape.
|
|
92
65
|
export * from "./run-preflight.js";
|
|
93
66
|
export * from "./speech-rhythm.js";
|
|
94
67
|
export * from "./broll-policy.js";
|
|
@@ -104,6 +77,8 @@ export * from "./voice-preview-approval.js";
|
|
|
104
77
|
export * from "./face-delivery.js";
|
|
105
78
|
export * from "./ugc-delivery.js";
|
|
106
79
|
export * from "./faceless-public-plan.js";
|
|
80
|
+
export * from "./faceless-direction-summary.js";
|
|
81
|
+
export { assertStoryboardWords } from "./faceless-storyboard.js";
|
|
107
82
|
export * from "./faceless-media-record.js";
|
|
108
83
|
export * from "./edit.js";
|
|
109
84
|
export * from "./workflows/index.js";
|
|
@@ -114,6 +89,7 @@ export * from "./scene-proposal.js";
|
|
|
114
89
|
export * from "./generations.js";
|
|
115
90
|
export * from "./generations-output.js";
|
|
116
91
|
export * from "./reference-profile.js";
|
|
92
|
+
export * from "./reference-bring.js";
|
|
117
93
|
export * from "./reference-lyrics.js";
|
|
118
94
|
export * from "./caption-funnel.js";
|
|
119
95
|
export * from "./reference-voice-over.js";
|
|
@@ -127,4 +103,3 @@ export * from "./creator-profile.js";
|
|
|
127
103
|
export * from "./trend-search.js";
|
|
128
104
|
export * from "./trend-niches.js";
|
|
129
105
|
export * from "./presenter-beats.js";
|
|
130
|
-
//# sourceMappingURL=index.js.map
|