@mux/ai 0.68.0-canary.113 → 0.69.0-canary.115

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/README.md CHANGED
@@ -84,6 +84,8 @@ Workflows are high-level functions that handle complete media AI tasks end-to-en
84
84
  | [`editCaptions`](./docs/WORKFLOWS.md#caption-editing) | Edit captions: censor profanity and/or apply static replacements | OpenAI, Anthropic, Google, Baseten, OpenAI-compatible | Yes |
85
85
  | [`translateAudio`](./docs/WORKFLOWS.md#audio-dubbing) | Create AI-dubbed audio tracks | ElevenLabs | Yes |
86
86
 
87
+ `summarize`, `moderate`, and `generateContextualText` are aliases that match the [Mux Robots workflow names](./docs/WORKFLOWS.md#mux-robots-workflow-names).
88
+
87
89
  See the [Workflows guide](./docs/WORKFLOWS.md) for detailed documentation, options, and examples for each workflow. See the [API Reference](./docs/API.md) for complete parameter and return type details. See the [Errors guide](./docs/ERRORS.md) for how failures are classified and what to show end users.
88
90
 
89
91
  ### Quick Examples
@@ -2379,7 +2379,7 @@ declare const index_translationSchema: typeof translationSchema;
2379
2379
  declare const index_validateNeverTranslateTerms: typeof validateNeverTranslateTerms;
2380
2380
  declare const index_verifyNeverTranslateTerms: typeof verifyNeverTranslateTerms;
2381
2381
  declare namespace index {
2382
- export { index_ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH as ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH, index_ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH as ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH, index_ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL as ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL, index_ASK_QUESTIONS_MAX_QUESTION_LENGTH as ASK_QUESTIONS_MAX_QUESTION_LENGTH, type index_AskQuestionsOptions as AskQuestionsOptions, type index_AskQuestionsResult as AskQuestionsResult, type index_AskQuestionsType as AskQuestionsType, type index_AudioTranslationOptions as AudioTranslationOptions, type index_AudioTranslationResult as AudioTranslationResult, type index_AutoCensorProfanityOptions as AutoCensorProfanityOptions, type index_BurnedInCaptionsAnalysis as BurnedInCaptionsAnalysis, type index_BurnedInCaptionsOptions as BurnedInCaptionsOptions, type index_BurnedInCaptionsPromptOverrides as BurnedInCaptionsPromptOverrides, type index_BurnedInCaptionsPromptSections as BurnedInCaptionsPromptSections, type index_BurnedInCaptionsResult as BurnedInCaptionsResult, type index_CaptionReplacement as CaptionReplacement, type index_CensorMode as CensorMode, type index_Chapter as Chapter, type index_ChapterSystemPromptSections as ChapterSystemPromptSections, type index_ChaptersOptions as ChaptersOptions, type index_ChaptersPromptOverrides as ChaptersPromptOverrides, type index_ChaptersPromptSections as ChaptersPromptSections, type index_ChaptersResult as ChaptersResult, type index_ChaptersType as ChaptersType, index_DEFAULT_DESCRIPTION_LENGTH as DEFAULT_DESCRIPTION_LENGTH, index_DEFAULT_SUMMARY_KEYWORD_LIMIT as DEFAULT_SUMMARY_KEYWORD_LIMIT, index_DEFAULT_TITLE_LENGTH as DEFAULT_TITLE_LENGTH, index_DEFAULT_TRANSCRIPT_WINDOWING as DEFAULT_TRANSCRIPT_WINDOWING, type index_DubbedCaptionsOutcome as DubbedCaptionsOutcome, type index_EditCaptionsOptions as EditCaptionsOptions, type index_EditCaptionsResult as EditCaptionsResult, type index_EmbeddingsOptions as EmbeddingsOptions, type index_EmbeddingsResult as EmbeddingsResult, type index_EngagementInsightsOptions as EngagementInsightsOptions, type index_EngagementInsightsResult as EngagementInsightsResult, index_GENERATE_TEXT_CALLS_TO_ACTION as GENERATE_TEXT_CALLS_TO_ACTION, index_GENERATE_TEXT_CHANNELS as GENERATE_TEXT_CHANNELS, index_GENERATE_TEXT_CHANNEL_CEILINGS as GENERATE_TEXT_CHANNEL_CEILINGS, index_GENERATE_TEXT_FORMATS as GENERATE_TEXT_FORMATS, index_GENERATE_TEXT_LENGTH_BOUNDS as GENERATE_TEXT_LENGTH_BOUNDS, index_GENERATE_TEXT_MAX_ARTIFACTS as GENERATE_TEXT_MAX_ARTIFACTS, index_GENERATE_TEXT_MAX_AUDIENCE_CHARS as GENERATE_TEXT_MAX_AUDIENCE_CHARS, index_GENERATE_TEXT_MAX_BRAND_TERMS as GENERATE_TEXT_MAX_BRAND_TERMS, index_GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS as GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS, index_GENERATE_TEXT_MAX_BRAND_TERM_CHARS as GENERATE_TEXT_MAX_BRAND_TERM_CHARS, index_GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS as GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS, index_GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS as GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS, index_GENERATE_TEXT_MAX_SHOT_FRAMES as GENERATE_TEXT_MAX_SHOT_FRAMES, index_GENERATE_TEXT_MAX_VARIANTS as GENERATE_TEXT_MAX_VARIANTS, index_GENERATE_TEXT_VOICES as GENERATE_TEXT_VOICES, index_GOOGLE_VISION_LIKELIHOOD_TO_SCORE as GOOGLE_VISION_LIKELIHOOD_TO_SCORE, type index_GenerateTextArtifact as GenerateTextArtifact, type index_GenerateTextCallToAction as GenerateTextCallToAction, type index_GenerateTextChannel as GenerateTextChannel, type index_GenerateTextFormat as GenerateTextFormat, type index_GenerateTextKeyedItem as GenerateTextKeyedItem, type index_GenerateTextLengthLimit as GenerateTextLengthLimit, type index_GenerateTextOptions as GenerateTextOptions, type index_GenerateTextResult as GenerateTextResult, type index_GenerateTextVariant as GenerateTextVariant, type index_GenerateTextVoice as GenerateTextVoice, type index_GeneratedTextArtifact as GeneratedTextArtifact, type index_GeneratedTextVariant as GeneratedTextVariant, index_HIVE_SEXUAL_CATEGORIES as HIVE_SEXUAL_CATEGORIES, index_HIVE_VIOLENCE_CATEGORIES as HIVE_VIOLENCE_CATEGORIES, type index_HiveModerationOutput as HiveModerationOutput, type index_HiveModerationSource as HiveModerationSource, type index_ModerationOptions as ModerationOptions, type index_ModerationProvider as ModerationProvider, type index_ModerationResult as ModerationResult, type index_ModerationSurfaceStatus as ModerationSurfaceStatus, type index_MomentInsight as MomentInsight, type index_OverallInsight as OverallInsight, type index_ProfanityDetectionPayload as ProfanityDetectionPayload, type index_Question as Question, type index_QuestionAnswer as QuestionAnswer, type index_QuestionAnswerType as QuestionAnswerType, type index_RepairAttempt as RepairAttempt, type index_RepairCall as RepairCall, type index_RepairFailureOutcome as RepairFailureOutcome, type index_RepairOptions as RepairOptions, type index_RepairPlan as RepairPlan, type index_RepairRejectionCode as RepairRejectionCode, type index_RepairResult as RepairResult, type index_RepairSpan as RepairSpan, type index_ReplacementRecord as ReplacementRecord, type index_SpeakerReplacement as SpeakerReplacement, type index_StaticRenditionCleanupOutcome as StaticRenditionCleanupOutcome, type index_SummarizationOptions as SummarizationOptions, type index_SummarizationPromptOverrides as SummarizationPromptOverrides, type index_SummarizationPromptSections as SummarizationPromptSections, type index_SummaryAndTagsResult as SummaryAndTagsResult, type index_SummaryType as SummaryType, type index_TextLengthLimit as TextLengthLimit, type index_TextRepairModelOptions as TextRepairModelOptions, type index_ThumbnailModerationScore as ThumbnailModerationScore, type index_ThumbnailModerationSkipReason as ThumbnailModerationSkipReason, type index_ThumbnailModerationStatus as ThumbnailModerationStatus, type index_TranscriptModerationScore as TranscriptModerationScore, type index_TranscriptModerationSkipReason as TranscriptModerationSkipReason, type index_TranscriptModerationStatus as TranscriptModerationStatus, type index_TranslationChunkingOptions as TranslationChunkingOptions, type index_TranslationOptions as TranslationOptions, type index_TranslationPayload as TranslationPayload, type index_TranslationResult as TranslationResult, index_aggregateTokenUsage as aggregateTokenUsage, index_applyOverrideLists as applyOverrideLists, index_applyReplacements as applyReplacements, index_applySpeakerReplacements as applySpeakerReplacements, index_applyTextRepair as applyTextRepair, index_askQuestions as askQuestions, index_buildReplacementRegex as buildReplacementRegex, index_buildTranscriptWindows as buildTranscriptWindows, index_burnedInCaptionsSchema as burnedInCaptionsSchema, index_censorVttContent as censorVttContent, index_chapterSchema as chapterSchema, index_chaptersSchema as chaptersSchema, index_createReplacer as createReplacer, index_createTextRepairGenerator as createTextRepairGenerator, index_editCaptions as editCaptions, index_extractTranscriptSegmentsForHotspots as extractTranscriptSegmentsForHotspots, index_findGenerateTextLengthViolation as findGenerateTextLengthViolation, index_generateChapters as generateChapters, index_generateEmbeddings as generateEmbeddings, index_generateEngagementInsights as generateEngagementInsights, index_generateText as generateText, index_generateVideoEmbeddings as generateVideoEmbeddings, index_getModerationScores as getModerationScores, index_getSummaryAndTags as getSummaryAndTags, index_hasBurnedInCaptions as hasBurnedInCaptions, index_mapShotsToHotspots as mapShotsToHotspots, index_measureGenerateTextLength as measureGenerateTextLength, index_normalizeTranslatedVtt as normalizeTranslatedVtt, index_planTextRepair as planTextRepair, index_profanityDetectionSchema as profanityDetectionSchema, index_questionAnswerSchema as questionAnswerSchema, index_repairJsonSchema as repairJsonSchema, index_repairText as repairText, index_resolveGenerateTextLengthLimit as resolveGenerateTextLengthLimit, index_resolveGenerateTextLengthLimits as resolveGenerateTextLengthLimits, index_resolveGenerateTextOptions as resolveGenerateTextOptions, index_runTextRepairLoop as runTextRepairLoop, index_selectGenerateTextShotFrames as selectGenerateTextShotFrames, index_shouldSplitChunkTranslationError as shouldSplitChunkTranslationError, index_summarySchema as summarySchema, index_transformCueText as transformCueText, index_translateAudio as translateAudio, index_translateCaptions as translateCaptions, index_translationSchema as translationSchema, index_validateNeverTranslateTerms as validateNeverTranslateTerms, index_verifyNeverTranslateTerms as verifyNeverTranslateTerms };
2382
+ export { index_ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH as ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH, index_ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH as ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH, index_ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL as ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL, index_ASK_QUESTIONS_MAX_QUESTION_LENGTH as ASK_QUESTIONS_MAX_QUESTION_LENGTH, type index_AskQuestionsOptions as AskQuestionsOptions, type index_AskQuestionsResult as AskQuestionsResult, type index_AskQuestionsType as AskQuestionsType, type index_AudioTranslationOptions as AudioTranslationOptions, type index_AudioTranslationResult as AudioTranslationResult, type index_AutoCensorProfanityOptions as AutoCensorProfanityOptions, type index_BurnedInCaptionsAnalysis as BurnedInCaptionsAnalysis, type index_BurnedInCaptionsOptions as BurnedInCaptionsOptions, type index_BurnedInCaptionsPromptOverrides as BurnedInCaptionsPromptOverrides, type index_BurnedInCaptionsPromptSections as BurnedInCaptionsPromptSections, type index_BurnedInCaptionsResult as BurnedInCaptionsResult, type index_CaptionReplacement as CaptionReplacement, type index_CensorMode as CensorMode, type index_Chapter as Chapter, type index_ChapterSystemPromptSections as ChapterSystemPromptSections, type index_ChaptersOptions as ChaptersOptions, type index_ChaptersPromptOverrides as ChaptersPromptOverrides, type index_ChaptersPromptSections as ChaptersPromptSections, type index_ChaptersResult as ChaptersResult, type index_ChaptersType as ChaptersType, index_DEFAULT_DESCRIPTION_LENGTH as DEFAULT_DESCRIPTION_LENGTH, index_DEFAULT_SUMMARY_KEYWORD_LIMIT as DEFAULT_SUMMARY_KEYWORD_LIMIT, index_DEFAULT_TITLE_LENGTH as DEFAULT_TITLE_LENGTH, index_DEFAULT_TRANSCRIPT_WINDOWING as DEFAULT_TRANSCRIPT_WINDOWING, type index_DubbedCaptionsOutcome as DubbedCaptionsOutcome, type index_EditCaptionsOptions as EditCaptionsOptions, type index_EditCaptionsResult as EditCaptionsResult, type index_EmbeddingsOptions as EmbeddingsOptions, type index_EmbeddingsResult as EmbeddingsResult, type index_EngagementInsightsOptions as EngagementInsightsOptions, type index_EngagementInsightsResult as EngagementInsightsResult, index_GENERATE_TEXT_CALLS_TO_ACTION as GENERATE_TEXT_CALLS_TO_ACTION, index_GENERATE_TEXT_CHANNELS as GENERATE_TEXT_CHANNELS, index_GENERATE_TEXT_CHANNEL_CEILINGS as GENERATE_TEXT_CHANNEL_CEILINGS, index_GENERATE_TEXT_FORMATS as GENERATE_TEXT_FORMATS, index_GENERATE_TEXT_LENGTH_BOUNDS as GENERATE_TEXT_LENGTH_BOUNDS, index_GENERATE_TEXT_MAX_ARTIFACTS as GENERATE_TEXT_MAX_ARTIFACTS, index_GENERATE_TEXT_MAX_AUDIENCE_CHARS as GENERATE_TEXT_MAX_AUDIENCE_CHARS, index_GENERATE_TEXT_MAX_BRAND_TERMS as GENERATE_TEXT_MAX_BRAND_TERMS, index_GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS as GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS, index_GENERATE_TEXT_MAX_BRAND_TERM_CHARS as GENERATE_TEXT_MAX_BRAND_TERM_CHARS, index_GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS as GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS, index_GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS as GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS, index_GENERATE_TEXT_MAX_SHOT_FRAMES as GENERATE_TEXT_MAX_SHOT_FRAMES, index_GENERATE_TEXT_MAX_VARIANTS as GENERATE_TEXT_MAX_VARIANTS, index_GENERATE_TEXT_VOICES as GENERATE_TEXT_VOICES, index_GOOGLE_VISION_LIKELIHOOD_TO_SCORE as GOOGLE_VISION_LIKELIHOOD_TO_SCORE, type index_GenerateTextArtifact as GenerateTextArtifact, type index_GenerateTextCallToAction as GenerateTextCallToAction, type index_GenerateTextChannel as GenerateTextChannel, type index_GenerateTextFormat as GenerateTextFormat, type index_GenerateTextKeyedItem as GenerateTextKeyedItem, type index_GenerateTextLengthLimit as GenerateTextLengthLimit, type index_GenerateTextOptions as GenerateTextOptions, type index_GenerateTextResult as GenerateTextResult, type index_GenerateTextVariant as GenerateTextVariant, type index_GenerateTextVoice as GenerateTextVoice, type index_GeneratedTextArtifact as GeneratedTextArtifact, type index_GeneratedTextVariant as GeneratedTextVariant, index_HIVE_SEXUAL_CATEGORIES as HIVE_SEXUAL_CATEGORIES, index_HIVE_VIOLENCE_CATEGORIES as HIVE_VIOLENCE_CATEGORIES, type index_HiveModerationOutput as HiveModerationOutput, type index_HiveModerationSource as HiveModerationSource, type index_ModerationOptions as ModerationOptions, type index_ModerationProvider as ModerationProvider, type index_ModerationResult as ModerationResult, type index_ModerationSurfaceStatus as ModerationSurfaceStatus, type index_MomentInsight as MomentInsight, type index_OverallInsight as OverallInsight, type index_ProfanityDetectionPayload as ProfanityDetectionPayload, type index_Question as Question, type index_QuestionAnswer as QuestionAnswer, type index_QuestionAnswerType as QuestionAnswerType, type index_RepairAttempt as RepairAttempt, type index_RepairCall as RepairCall, type index_RepairFailureOutcome as RepairFailureOutcome, type index_RepairOptions as RepairOptions, type index_RepairPlan as RepairPlan, type index_RepairRejectionCode as RepairRejectionCode, type index_RepairResult as RepairResult, type index_RepairSpan as RepairSpan, type index_ReplacementRecord as ReplacementRecord, type index_SpeakerReplacement as SpeakerReplacement, type index_StaticRenditionCleanupOutcome as StaticRenditionCleanupOutcome, type index_SummarizationOptions as SummarizationOptions, type index_SummarizationPromptOverrides as SummarizationPromptOverrides, type index_SummarizationPromptSections as SummarizationPromptSections, type index_SummaryAndTagsResult as SummaryAndTagsResult, type index_SummaryType as SummaryType, type index_TextLengthLimit as TextLengthLimit, type index_TextRepairModelOptions as TextRepairModelOptions, type index_ThumbnailModerationScore as ThumbnailModerationScore, type index_ThumbnailModerationSkipReason as ThumbnailModerationSkipReason, type index_ThumbnailModerationStatus as ThumbnailModerationStatus, type index_TranscriptModerationScore as TranscriptModerationScore, type index_TranscriptModerationSkipReason as TranscriptModerationSkipReason, type index_TranscriptModerationStatus as TranscriptModerationStatus, type index_TranslationChunkingOptions as TranslationChunkingOptions, type index_TranslationOptions as TranslationOptions, type index_TranslationPayload as TranslationPayload, type index_TranslationResult as TranslationResult, index_aggregateTokenUsage as aggregateTokenUsage, index_applyOverrideLists as applyOverrideLists, index_applyReplacements as applyReplacements, index_applySpeakerReplacements as applySpeakerReplacements, index_applyTextRepair as applyTextRepair, index_askQuestions as askQuestions, index_buildReplacementRegex as buildReplacementRegex, index_buildTranscriptWindows as buildTranscriptWindows, index_burnedInCaptionsSchema as burnedInCaptionsSchema, index_censorVttContent as censorVttContent, index_chapterSchema as chapterSchema, index_chaptersSchema as chaptersSchema, index_createReplacer as createReplacer, index_createTextRepairGenerator as createTextRepairGenerator, index_editCaptions as editCaptions, index_extractTranscriptSegmentsForHotspots as extractTranscriptSegmentsForHotspots, index_findGenerateTextLengthViolation as findGenerateTextLengthViolation, index_generateChapters as generateChapters, generateText as generateContextualText, index_generateEmbeddings as generateEmbeddings, index_generateEngagementInsights as generateEngagementInsights, index_generateText as generateText, index_generateVideoEmbeddings as generateVideoEmbeddings, index_getModerationScores as getModerationScores, index_getSummaryAndTags as getSummaryAndTags, index_hasBurnedInCaptions as hasBurnedInCaptions, index_mapShotsToHotspots as mapShotsToHotspots, index_measureGenerateTextLength as measureGenerateTextLength, getModerationScores as moderate, index_normalizeTranslatedVtt as normalizeTranslatedVtt, index_planTextRepair as planTextRepair, index_profanityDetectionSchema as profanityDetectionSchema, index_questionAnswerSchema as questionAnswerSchema, index_repairJsonSchema as repairJsonSchema, index_repairText as repairText, index_resolveGenerateTextLengthLimit as resolveGenerateTextLengthLimit, index_resolveGenerateTextLengthLimits as resolveGenerateTextLengthLimits, index_resolveGenerateTextOptions as resolveGenerateTextOptions, index_runTextRepairLoop as runTextRepairLoop, index_selectGenerateTextShotFrames as selectGenerateTextShotFrames, index_shouldSplitChunkTranslationError as shouldSplitChunkTranslationError, getSummaryAndTags as summarize, index_summarySchema as summarySchema, index_transformCueText as transformCueText, index_translateAudio as translateAudio, index_translateCaptions as translateCaptions, index_translationSchema as translationSchema, index_validateNeverTranslateTerms as validateNeverTranslateTerms, index_verifyNeverTranslateTerms as verifyNeverTranslateTerms };
2383
2383
  }
2384
2384
 
2385
- export { type AudioTranslationOptions as $, normalizeTrackLanguageCode as A, normalizeTrackName as B, planSourceTrackReplacement as C, planTextTrackReplacement as D, replaceAndCreateTextTrack as E, replaceAndCreateTrack as F, replaceSourceTrack as G, summarizeTextTrack as H, type ISO639_1 as I, toISO639_1 as J, toISO639_3 as K, type LanguageCodePair as L, MUX_TRACK_PASSTHROUGH_MAX_CHARS as M, trackReplacementBlockedError as N, trackTargetFacts as O, validateTrackPassthrough as P, index as Q, type ReplaceAndCreateTextTrackInput as R, type SourceTrackReplacementPolicy as S, type TextTrackReplacementPlan as T, ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH as U, ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH as V, ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL as W, ASK_QUESTIONS_MAX_QUESTION_LENGTH as X, type AskQuestionsOptions as Y, type AskQuestionsResult as Z, type AskQuestionsType as _, type ISO639_3 as a, type Question as a$, type AudioTranslationResult as a0, type AutoCensorProfanityOptions as a1, type BurnedInCaptionsAnalysis as a2, type BurnedInCaptionsOptions as a3, type BurnedInCaptionsPromptOverrides as a4, type BurnedInCaptionsPromptSections as a5, type BurnedInCaptionsResult as a6, type CaptionReplacement as a7, type CensorMode as a8, type Chapter as a9, GENERATE_TEXT_MAX_SHOT_FRAMES as aA, GENERATE_TEXT_MAX_VARIANTS as aB, GENERATE_TEXT_VOICES as aC, GOOGLE_VISION_LIKELIHOOD_TO_SCORE as aD, type GenerateTextArtifact as aE, type GenerateTextCallToAction as aF, type GenerateTextChannel as aG, type GenerateTextFormat as aH, type GenerateTextKeyedItem as aI, type GenerateTextLengthLimit as aJ, type GenerateTextOptions as aK, type GenerateTextResult as aL, type GenerateTextVariant as aM, type GenerateTextVoice as aN, type GeneratedTextArtifact as aO, type GeneratedTextVariant as aP, HIVE_SEXUAL_CATEGORIES as aQ, HIVE_VIOLENCE_CATEGORIES as aR, type HiveModerationOutput as aS, type HiveModerationSource as aT, type ModerationOptions as aU, type ModerationProvider as aV, type ModerationResult as aW, type ModerationSurfaceStatus as aX, type MomentInsight as aY, type OverallInsight as aZ, type ProfanityDetectionPayload as a_, type ChapterSystemPromptSections as aa, type ChaptersOptions as ab, type ChaptersPromptOverrides as ac, type ChaptersPromptSections as ad, type ChaptersResult as ae, type ChaptersType as af, DEFAULT_TRANSCRIPT_WINDOWING as ag, type DubbedCaptionsOutcome as ah, type EditCaptionsOptions as ai, type EditCaptionsResult as aj, type EmbeddingsOptions as ak, type EmbeddingsResult as al, type EngagementInsightsOptions as am, type EngagementInsightsResult as an, GENERATE_TEXT_CALLS_TO_ACTION as ao, GENERATE_TEXT_CHANNELS as ap, GENERATE_TEXT_CHANNEL_CEILINGS as aq, GENERATE_TEXT_FORMATS as ar, GENERATE_TEXT_LENGTH_BOUNDS as as, GENERATE_TEXT_MAX_ARTIFACTS as at, GENERATE_TEXT_MAX_AUDIENCE_CHARS as au, GENERATE_TEXT_MAX_BRAND_TERMS as av, GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS as aw, GENERATE_TEXT_MAX_BRAND_TERM_CHARS as ax, GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS as ay, GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS as az, type ModelCallContext as b, resolveGenerateTextLengthLimit as b$, type QuestionAnswer as b0, type QuestionAnswerType as b1, type RepairAttempt as b2, type RepairCall as b3, type RepairFailureOutcome as b4, type RepairOptions as b5, type RepairPlan as b6, type RepairRejectionCode as b7, type RepairResult as b8, type RepairSpan as b9, buildReplacementRegex as bA, buildTranscriptWindows as bB, burnedInCaptionsSchema as bC, censorVttContent as bD, chapterSchema as bE, chaptersSchema as bF, createReplacer as bG, createTextRepairGenerator as bH, editCaptions as bI, extractTranscriptSegmentsForHotspots as bJ, findGenerateTextLengthViolation as bK, generateChapters as bL, generateEmbeddings as bM, generateEngagementInsights as bN, generateText as bO, generateVideoEmbeddings as bP, getModerationScores as bQ, getSummaryAndTags as bR, hasBurnedInCaptions as bS, mapShotsToHotspots as bT, measureGenerateTextLength as bU, normalizeTranslatedVtt as bV, planTextRepair as bW, profanityDetectionSchema as bX, questionAnswerSchema as bY, repairJsonSchema as bZ, repairText as b_, type ReplacementRecord as ba, type SpeakerReplacement as bb, type StaticRenditionCleanupOutcome as bc, type SummarizationOptions as bd, type SummarizationPromptOverrides as be, type SummarizationPromptSections as bf, type SummaryAndTagsResult as bg, type SummaryType as bh, type TextLengthLimit as bi, type TextRepairModelOptions as bj, type ThumbnailModerationScore as bk, type ThumbnailModerationSkipReason as bl, type ThumbnailModerationStatus as bm, type TranscriptModerationScore as bn, type TranscriptModerationSkipReason as bo, type TranscriptModerationStatus as bp, type TranslationChunkingOptions as bq, type TranslationOptions as br, type TranslationPayload as bs, type TranslationResult as bt, aggregateTokenUsage as bu, applyOverrideLists as bv, applyReplacements as bw, applySpeakerReplacements as bx, applyTextRepair as by, askQuestions as bz, type ReplaceAndCreateTextTrackResult as c, resolveGenerateTextLengthLimits as c0, resolveGenerateTextOptions as c1, runTextRepairLoop as c2, selectGenerateTextShotFrames as c3, shouldSplitChunkTranslationError as c4, summarySchema as c5, transformCueText as c6, translateAudio as c7, translateCaptions as c8, translationSchema as c9, validateNeverTranslateTerms as ca, verifyNeverTranslateTerms as cb, type ReplaceAndCreateTrackInput as d, type ReplaceExistingTracksPolicy as e, type ReplaceSourceTrackInput as f, type ReplaceableTrackType as g, type SupportedISO639_1 as h, type SupportedISO639_3 as i, type TextTrackSummary as j, type TextTrackTarget as k, type TrackReplacementBlocked as l, type TrackReplacementBlockedReason as m, type TrackSummary as n, type TrackTarget as o, buildMuxAiTrackPassthrough as p, findNameCollisionTextTracks as q, findSameLanguageTextTracks as r, getLanguageCodePair as s, getLanguageName as t, isDuplicateTrackNameError as u, isMuxGeneratedTextTrack as v, isUndeterminedLanguageCode as w, isValidISO639_1 as x, isValidISO639_3 as y, modelCallError as z };
2385
+ export { type AudioTranslationOptions as $, normalizeTrackLanguageCode as A, normalizeTrackName as B, planSourceTrackReplacement as C, planTextTrackReplacement as D, replaceAndCreateTextTrack as E, replaceAndCreateTrack as F, replaceSourceTrack as G, summarizeTextTrack as H, type ISO639_1 as I, toISO639_1 as J, toISO639_3 as K, type LanguageCodePair as L, MUX_TRACK_PASSTHROUGH_MAX_CHARS as M, trackReplacementBlockedError as N, trackTargetFacts as O, validateTrackPassthrough as P, index as Q, type ReplaceAndCreateTextTrackInput as R, type SourceTrackReplacementPolicy as S, type TextTrackReplacementPlan as T, ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH as U, ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH as V, ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL as W, ASK_QUESTIONS_MAX_QUESTION_LENGTH as X, type AskQuestionsOptions as Y, type AskQuestionsResult as Z, type AskQuestionsType as _, type ISO639_3 as a, type Question as a$, type AudioTranslationResult as a0, type AutoCensorProfanityOptions as a1, type BurnedInCaptionsAnalysis as a2, type BurnedInCaptionsOptions as a3, type BurnedInCaptionsPromptOverrides as a4, type BurnedInCaptionsPromptSections as a5, type BurnedInCaptionsResult as a6, type CaptionReplacement as a7, type CensorMode as a8, type Chapter as a9, GENERATE_TEXT_MAX_SHOT_FRAMES as aA, GENERATE_TEXT_MAX_VARIANTS as aB, GENERATE_TEXT_VOICES as aC, GOOGLE_VISION_LIKELIHOOD_TO_SCORE as aD, type GenerateTextArtifact as aE, type GenerateTextCallToAction as aF, type GenerateTextChannel as aG, type GenerateTextFormat as aH, type GenerateTextKeyedItem as aI, type GenerateTextLengthLimit as aJ, type GenerateTextOptions as aK, type GenerateTextResult as aL, type GenerateTextVariant as aM, type GenerateTextVoice as aN, type GeneratedTextArtifact as aO, type GeneratedTextVariant as aP, HIVE_SEXUAL_CATEGORIES as aQ, HIVE_VIOLENCE_CATEGORIES as aR, type HiveModerationOutput as aS, type HiveModerationSource as aT, type ModerationOptions as aU, type ModerationProvider as aV, type ModerationResult as aW, type ModerationSurfaceStatus as aX, type MomentInsight as aY, type OverallInsight as aZ, type ProfanityDetectionPayload as a_, type ChapterSystemPromptSections as aa, type ChaptersOptions as ab, type ChaptersPromptOverrides as ac, type ChaptersPromptSections as ad, type ChaptersResult as ae, type ChaptersType as af, DEFAULT_TRANSCRIPT_WINDOWING as ag, type DubbedCaptionsOutcome as ah, type EditCaptionsOptions as ai, type EditCaptionsResult as aj, type EmbeddingsOptions as ak, type EmbeddingsResult as al, type EngagementInsightsOptions as am, type EngagementInsightsResult as an, GENERATE_TEXT_CALLS_TO_ACTION as ao, GENERATE_TEXT_CHANNELS as ap, GENERATE_TEXT_CHANNEL_CEILINGS as aq, GENERATE_TEXT_FORMATS as ar, GENERATE_TEXT_LENGTH_BOUNDS as as, GENERATE_TEXT_MAX_ARTIFACTS as at, GENERATE_TEXT_MAX_AUDIENCE_CHARS as au, GENERATE_TEXT_MAX_BRAND_TERMS as av, GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS as aw, GENERATE_TEXT_MAX_BRAND_TERM_CHARS as ax, GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS as ay, GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS as az, type ModelCallContext as b, resolveGenerateTextLengthLimit as b$, type QuestionAnswer as b0, type QuestionAnswerType as b1, type RepairAttempt as b2, type RepairCall as b3, type RepairFailureOutcome as b4, type RepairOptions as b5, type RepairPlan as b6, type RepairRejectionCode as b7, type RepairResult as b8, type RepairSpan as b9, buildReplacementRegex as bA, buildTranscriptWindows as bB, burnedInCaptionsSchema as bC, censorVttContent as bD, chapterSchema as bE, chaptersSchema as bF, createReplacer as bG, createTextRepairGenerator as bH, editCaptions as bI, extractTranscriptSegmentsForHotspots as bJ, findGenerateTextLengthViolation as bK, generateChapters as bL, generateText as bM, generateEmbeddings as bN, generateEngagementInsights as bO, generateVideoEmbeddings as bP, getModerationScores as bQ, getSummaryAndTags as bR, hasBurnedInCaptions as bS, mapShotsToHotspots as bT, measureGenerateTextLength as bU, normalizeTranslatedVtt as bV, planTextRepair as bW, profanityDetectionSchema as bX, questionAnswerSchema as bY, repairJsonSchema as bZ, repairText as b_, type ReplacementRecord as ba, type SpeakerReplacement as bb, type StaticRenditionCleanupOutcome as bc, type SummarizationOptions as bd, type SummarizationPromptOverrides as be, type SummarizationPromptSections as bf, type SummaryAndTagsResult as bg, type SummaryType as bh, type TextLengthLimit as bi, type TextRepairModelOptions as bj, type ThumbnailModerationScore as bk, type ThumbnailModerationSkipReason as bl, type ThumbnailModerationStatus as bm, type TranscriptModerationScore as bn, type TranscriptModerationSkipReason as bo, type TranscriptModerationStatus as bp, type TranslationChunkingOptions as bq, type TranslationOptions as br, type TranslationPayload as bs, type TranslationResult as bt, aggregateTokenUsage as bu, applyOverrideLists as bv, applyReplacements as bw, applySpeakerReplacements as bx, applyTextRepair as by, askQuestions as bz, type ReplaceAndCreateTextTrackResult as c, resolveGenerateTextLengthLimits as c0, resolveGenerateTextOptions as c1, runTextRepairLoop as c2, selectGenerateTextShotFrames as c3, shouldSplitChunkTranslationError as c4, summarySchema as c5, transformCueText as c6, translateAudio as c7, translateCaptions as c8, translationSchema as c9, validateNeverTranslateTerms as ca, verifyNeverTranslateTerms as cb, type ReplaceAndCreateTrackInput as d, type ReplaceExistingTracksPolicy as e, type ReplaceSourceTrackInput as f, type ReplaceableTrackType as g, type SupportedISO639_1 as h, type SupportedISO639_3 as i, type TextTrackSummary as j, type TextTrackTarget as k, type TrackReplacementBlocked as l, type TrackReplacementBlockedReason as m, type TrackSummary as n, type TrackTarget as o, buildMuxAiTrackPassthrough as p, findNameCollisionTextTracks as q, findSameLanguageTextTracks as r, getLanguageCodePair as s, getLanguageName as t, isDuplicateTrackNameError as u, isMuxGeneratedTextTrack as v, isUndeterminedLanguageCode as w, isValidISO639_1 as x, isValidISO639_3 as y, modelCallError as z };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { I as ISO639_1, a as ISO639_3, L as LanguageCodePair, M as MUX_TRACK_PASSTHROUGH_MAX_CHARS, b as ModelCallContext, R as ReplaceAndCreateTextTrackInput, c as ReplaceAndCreateTextTrackResult, d as ReplaceAndCreateTrackInput, e as ReplaceExistingTracksPolicy, f as ReplaceSourceTrackInput, g as ReplaceableTrackType, S as SourceTrackReplacementPolicy, h as SupportedISO639_1, i as SupportedISO639_3, T as TextTrackReplacementPlan, j as TextTrackSummary, k as TextTrackTarget, l as TrackReplacementBlocked, m as TrackReplacementBlockedReason, n as TrackSummary, o as TrackTarget, p as buildMuxAiTrackPassthrough, q as findNameCollisionTextTracks, r as findSameLanguageTextTracks, s as getLanguageCodePair, t as getLanguageName, u as isDuplicateTrackNameError, v as isMuxGeneratedTextTrack, w as isUndeterminedLanguageCode, x as isValidISO639_1, y as isValidISO639_3, z as modelCallError, A as normalizeTrackLanguageCode, B as normalizeTrackName, C as planSourceTrackReplacement, D as planTextTrackReplacement, E as replaceAndCreateTextTrack, F as replaceAndCreateTrack, G as replaceSourceTrack, H as summarizeTextTrack, J as toISO639_1, K as toISO639_3, N as trackReplacementBlockedError, O as trackTargetFacts, P as validateTrackPassthrough, Q as workflows } from './index-CxDX1bX1.js';
1
+ export { I as ISO639_1, a as ISO639_3, L as LanguageCodePair, M as MUX_TRACK_PASSTHROUGH_MAX_CHARS, b as ModelCallContext, R as ReplaceAndCreateTextTrackInput, c as ReplaceAndCreateTextTrackResult, d as ReplaceAndCreateTrackInput, e as ReplaceExistingTracksPolicy, f as ReplaceSourceTrackInput, g as ReplaceableTrackType, S as SourceTrackReplacementPolicy, h as SupportedISO639_1, i as SupportedISO639_3, T as TextTrackReplacementPlan, j as TextTrackSummary, k as TextTrackTarget, l as TrackReplacementBlocked, m as TrackReplacementBlockedReason, n as TrackSummary, o as TrackTarget, p as buildMuxAiTrackPassthrough, q as findNameCollisionTextTracks, r as findSameLanguageTextTracks, s as getLanguageCodePair, t as getLanguageName, u as isDuplicateTrackNameError, v as isMuxGeneratedTextTrack, w as isUndeterminedLanguageCode, x as isValidISO639_1, y as isValidISO639_3, z as modelCallError, A as normalizeTrackLanguageCode, B as normalizeTrackName, C as planSourceTrackReplacement, D as planTextTrackReplacement, E as replaceAndCreateTextTrack, F as replaceAndCreateTrack, G as replaceSourceTrack, H as summarizeTextTrack, J as toISO639_1, K as toISO639_3, N as trackReplacementBlockedError, O as trackTargetFacts, P as validateTrackPassthrough, Q as workflows } from './index-D3BlSXNl.js';
2
2
  import { M as MuxAiErrorDependency, a as MuxAiErrorFacts, b as MUX_AI_ERROR_SOURCES, c as MuxAiErrorSource, d as MuxAiSiteDependencyCode, e as MuxAiErrorType, f as MuxAiError, g as MuxAiDependencyStatusCode, h as MuxAsset, i as MuxAiErrorFactValue, j as MuxAiErrorCode, C as ClassifiedError, W as WorkflowCredentials, k as ClassifiedErrorsOption, S as StoragePutObjectInput, l as StoragePresignGetObjectInput } from './transcripts-Cs-n8X_l.js';
3
3
  export { A as AssetTextTrack, m as ChunkEmbedding, n as ChunkingStrategy, o as ClassifiedErrorInit, p as CodedClassification, E as Encrypted, q as EncryptedPayload, r as ErrorCatalogEntry, s as ErrorCauseSummary, I as ImageSubmissionMode, t as MUX_AI_DEPENDENCY_STATUS_CODES, u as MUX_AI_DEPENDENCY_STATUS_CODE_VALUES, v as MUX_AI_ERROR_CATALOG, w as MUX_AI_ERROR_CODES, x as MUX_AI_ERROR_CODE_VALUES, y as MUX_AI_ERROR_DEPENDENCIES, z as MUX_AI_ERROR_DEPENDENCY_VALUES, B as MUX_AI_ERROR_SOURCE_VALUES, D as MUX_AI_ERROR_TYPES, F as MUX_AI_ERROR_TYPE_VALUES, G as MuxAIOptions, H as MuxAiErrorInit, P as PlaybackAsset, J as PlaybackPolicy, K as ScopedMuxAIOptions, L as SerializedClassification, N as SourceAndDependency, O as StorageAdapter, T as TextChunk, Q as TokenChunkingConfig, R as TokenUsage, U as ToneType, V as UsageMetadata, X as VTTChunkingConfig, Y as VideoEmbeddingsResult, Z as WorkflowCredentialsInput, _ as WorkflowMuxClient, $ as WorkflowScope, a0 as assertNever, a1 as classificationInit, a2 as decryptFromWorkflow, a3 as encryptForWorkflow, a4 as errorDetailFact, a5 as internalError, a6 as isTransientStatus, a7 as restoreClassification, a8 as serializeClassification, a9 as wrapError } from './transcripts-Cs-n8X_l.js';
4
4
  import { WORKFLOW_SERIALIZE, WORKFLOW_DESERIALIZE } from '@workflow/serde';
@@ -11,7 +11,7 @@ import '@ai-sdk/google';
11
11
  import '@ai-sdk/openai';
12
12
  import '@mux/ts';
13
13
 
14
- var version = "0.68.0-canary.113";
14
+ var version = "0.69.0-canary.115";
15
15
 
16
16
  interface DependencyErrorInit {
17
17
  dependency: MuxAiErrorDependency;
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ var __export = (target, all) => {
5
5
  };
6
6
 
7
7
  // package.json
8
- var version = "0.68.0-canary.113";
8
+ var version = "0.69.0-canary.115";
9
9
 
10
10
  // src/lib/content-policy-error.ts
11
11
  import { APICallError as APICallError2, NoObjectGeneratedError, NoOutputGeneratedError as NoOutputGeneratedError2, RetryError, TypeValidationError } from "ai";
@@ -5657,6 +5657,7 @@ __export(workflows_exports, {
5657
5657
  extractTranscriptSegmentsForHotspots: () => extractTranscriptSegmentsForHotspots,
5658
5658
  findGenerateTextLengthViolation: () => findGenerateTextLengthViolation,
5659
5659
  generateChapters: () => generateChapters,
5660
+ generateContextualText: () => generateText7,
5660
5661
  generateEmbeddings: () => generateEmbeddings,
5661
5662
  generateEngagementInsights: () => generateEngagementInsights,
5662
5663
  generateText: () => generateText7,
@@ -5666,6 +5667,7 @@ __export(workflows_exports, {
5666
5667
  hasBurnedInCaptions: () => hasBurnedInCaptions,
5667
5668
  mapShotsToHotspots: () => mapShotsToHotspots,
5668
5669
  measureGenerateTextLength: () => measureGenerateTextLength,
5670
+ moderate: () => getModerationScores,
5669
5671
  normalizeTranslatedVtt: () => normalizeTranslatedVtt,
5670
5672
  planTextRepair: () => planTextRepair,
5671
5673
  profanityDetectionSchema: () => profanityDetectionSchema,
@@ -5678,6 +5680,7 @@ __export(workflows_exports, {
5678
5680
  runTextRepairLoop: () => runTextRepairLoop,
5679
5681
  selectGenerateTextShotFrames: () => selectGenerateTextShotFrames,
5680
5682
  shouldSplitChunkTranslationError: () => shouldSplitChunkTranslationError,
5683
+ summarize: () => getSummaryAndTags,
5681
5684
  summarySchema: () => summarySchema,
5682
5685
  transformCueText: () => transformCueText,
5683
5686
  translateAudio: () => translateAudio,