@shop-os/modelkit 0.25.1 → 0.26.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.
@@ -444,6 +444,8 @@ interface AudioRequest {
444
444
  instrumental?: boolean;
445
445
  /** Music rows with `supports: lyrics`: the words to sing, with [verse]/[chorus] tags. */
446
446
  lyrics?: string;
447
+ /** Sound-effect rows with `supports: loop`: a sound that repeats without a seam. */
448
+ loop?: boolean;
447
449
  /** One of the row's `constraints.outputFormats`; the row default when unset. */
448
450
  outputFormat?: string;
449
451
  /** Cancellation; combined with CallContext.signal before dispatch. */
@@ -501,6 +503,11 @@ interface VoiceCloneRequest {
501
503
  /** The voice's name in the provider console. */
502
504
  title: string;
503
505
  samples: VoiceSample[];
506
+ /**
507
+ * Gemini voice replication only: the same speaker reading the provider's consent sentence
508
+ * (`GEMINI_VOICE_CONSENT`). Other rows ignore it.
509
+ */
510
+ consent?: MediaRef;
504
511
  description?: string;
505
512
  /** Provider noise removal and level normalisation before cloning; the provider default (on) when unset. */
506
513
  enhance?: boolean;
@@ -631,6 +638,8 @@ type RequiredInput = "firstFrame" | "sourceVideo" | "references" | "sourceAudio"
631
638
  type SupportedOption = "seed" | "quality" | "negativePrompt" | "cfgScale" | "generateAudio" | "promptExpansion" | "lastFrame" | "count" | "outputFormat" | "scaleFactor" | "safetySettings" | "temperature" | "upscale" | "watermark" | "safetyChecker" | "taskType" | "instrumental"
632
639
  /** Music rows that sing `AudioRequest.lyrics`. */
633
640
  | "lyrics"
641
+ /** Sound-effect rows that take `AudioRequest.loop`. */
642
+ | "loop"
634
643
  /** Speech rows that take `SpeechRequest.style`, a delivery instruction. */
635
644
  | "style"
636
645
  /** Video rows that extend a clip in fixed segments up to a cumulative cap (see `ModelConstraints.extension`). */
@@ -1439,6 +1448,7 @@ declare const CatalogModelSchemaBase: z.ZodObject<{
1439
1448
  insertWindow: "insertWindow";
1440
1449
  instrumental: "instrumental";
1441
1450
  lyrics: "lyrics";
1451
+ loop: "loop";
1442
1452
  style: "style";
1443
1453
  videoExtension: "videoExtension";
1444
1454
  }>>>;
@@ -2257,4 +2267,41 @@ declare function inputBillingOf(row: {
2257
2267
  constraints?: unknown;
2258
2268
  }): InputBilling | null;
2259
2269
 
2260
- export { ADAPTER_IDS, AUDIO_OUTPUTS, type AdapterEndpoints, type AdapterId, type AnimationFrameSize, type AnimationLimits, type AspectLimits, type AspectRatio, type AudioOutput, type AudioRequest, type AudioResult, type CallContext, Catalog, type CatalogAuth, type CatalogCache, type CatalogCapabilities, type CatalogDisplay, type CatalogEnvelope, type CatalogModel, CatalogModelSchema, CatalogModelSchemaBase, type CatalogOrigin, CatalogSchema, type CatalogSource, type DubbingRequest, type DubbingResult, type Exposure, ExposureSchema, type GeneratedImage, IMAGE_MODELS, INPUT_BILLINGS, type ImageAnimation, type ImageBackground, type ImageBytes, type ImageCallOptions, type ImageCallResult, type ImagePixelLimits, type ImageQuality, type ImageRequest, type ImageResult, type ImageSafetySetting, type ImageSize, type InputBilling, type JsonObject, type JsonPrimitive, type JsonValue, type KeySource, type KeyTier, type LanguageOption, type Lifecycle, type LipsyncRequest, type LipsyncResult, type LiveCatalogState, MEDIA_METHODS, MEDIA_NODE_MODELS, MODEL3D_IMAGE_SLOTS, MODEL3D_MODELS, MODELS, type MaskBox, type MaskPoint, type MediaMethod, type MediaNodeDefaults, type MediaOutput, type MediaPart, type MediaRef, type Model3dConstraints, type Model3dEndpoints, type Model3dFamily, type Model3dInputRefusal, type Model3dPricedInputs, type Model3dPricedOptions, type Model3dRequest, type Model3dResult, type Model3dStatus, type Model3dSubmission, type Model3dTexture, type Model3dViews, type Model3dWired, type ModelConstraints, type ModelKitConfig, ModelKitError, type ModelKitErrorCode, type ModelKitErrorInit, type ModelType, OTHER_MODELS, type OnUnsupported, type OutputFormat, type PricingKind, type PrimeCatalogResult, type PromptConventions, type ProviderErrorBody, type ProviderKeyName, type ProviderKeys, type ProviderOptionValue, type ProviderOptions, type QuarantineResult, REFERENCE_SYNTAXES, REFERENCE_VIDEO_CONFORM_PROFILE, type ReferenceImageConformPlan, type ReferenceImageConformReason, type ReferenceImageProbe, type ReferenceLimits, type ReferenceSyntax, type ReferenceVideoConformPlan, type ReferenceVideoConformReason, type ReferenceVideoProbe, type RequiredInput, type RequiredKeyName, type ResolveCall, type ResolveResult, type ResolvedCall, type Routing, SURFACES, type SpeechRequest, type SubtitleOptions, type SubtitleTextStyle, type SupportedOption, type Surface, SurfaceSchema, TEXT_MODELS, type TranscriptWord, type TranscriptionRequest, type TranscriptionResult, type UpscaleOptions, type UsageEvent, type UsageModality, type UsageUnit, VIDEO_MODELS, VIDEO_TOOL_MODELS, type VideoCallJob, type VideoCallOptions, type VideoFpsLimits, type VideoJob, type VideoModel, type VideoPixelLimits, type VideoRequest, type VideoResolution, VideoResolutionSchema, type VideoResult, type VideoSecondsLimits, type VideoToolCallContext, type VideoToolConstraints, type VideoToolKind, type VideoToolOutputFormat, type VideoToolOutputSpec, type VideoToolPlan, type VideoToolRequest, type VideoToolResult, type VideoToolSource, type VideoToolStatus, type VideoToolSubmission, type VoiceCandidate, type VoiceChangeRequest, type VoiceCloneRequest, type VoiceCloneResult, type VoiceCloneState, type VoiceDeleteRequest, type VoiceDesignRequest, type VoiceDesignResult, type VoiceGender, type VoiceOption, type VoiceSample, type Warning, billedAudio, compareCatalogOrder, hasAwsCredentials, inputBillingOf, isListed, isListedOn, isModelKitError, liveCatalog, liveState, lumaReframeTooTall, model3dConstraints, model3dInputRefusal, model3dPricingSku, model3dResolution, model3dSeedFits, model3dSkus, model3dTexture, nearestAspectRatio, normalizeExposure, outputAudio, planVideoTool, primeCatalog, promptConventions, referenceImageConformPlan, referenceVideoConformPlan, resetLiveCatalog, resolutionTier, resolveAudioOptions, resolveDubbingOptions, resolveImageOptions, resolveLipsyncOptions, resolveOptions, resolveSpeechOptions, resolveTranscriptionOptions, resolveVideoOptions, resolveVoiceChangeOptions, resolveVoiceCloneOptions, resolveVoiceDesignOptions, sortCatalogRows, takesTargetAspectRatio, videoLengthViolation, videoSizeViolation, videoToolConstraints };
2270
+ /**
2271
+ * The sentence the speaker reads for `VoiceCloneRequest.consent`, by locale (Google's own
2272
+ * wording, copied from the docs page's table; it must be read as written).
2273
+ */
2274
+ declare const GEMINI_VOICE_CONSENT: {
2275
+ "ar-XA": string;
2276
+ "bn-IN": string;
2277
+ "de-DE": string;
2278
+ "en-AU": string;
2279
+ "en-GB": string;
2280
+ "en-IN": string;
2281
+ "en-US": string;
2282
+ "es-ES": string;
2283
+ "es-US": string;
2284
+ "fr-CA": string;
2285
+ "fr-FR": string;
2286
+ "gu-IN": string;
2287
+ "hi-IN": string;
2288
+ "id-ID": string;
2289
+ "it-IT": string;
2290
+ "ja-JP": string;
2291
+ "kn-IN": string;
2292
+ "ko-KR": string;
2293
+ "ml-IN": string;
2294
+ "mr-IN": string;
2295
+ "nl-NL": string;
2296
+ "pl-PL": string;
2297
+ "pt-BR": string;
2298
+ "ru-RU": string;
2299
+ "ta-IN": string;
2300
+ "te-IN": string;
2301
+ "th-TH": string;
2302
+ "tr-TR": string;
2303
+ "vi-VN": string;
2304
+ "zh-CN": string;
2305
+ };
2306
+
2307
+ export { ADAPTER_IDS, AUDIO_OUTPUTS, type AdapterEndpoints, type AdapterId, type AnimationFrameSize, type AnimationLimits, type AspectLimits, type AspectRatio, type AudioOutput, type AudioRequest, type AudioResult, type CallContext, Catalog, type CatalogAuth, type CatalogCache, type CatalogCapabilities, type CatalogDisplay, type CatalogEnvelope, type CatalogModel, CatalogModelSchema, CatalogModelSchemaBase, type CatalogOrigin, CatalogSchema, type CatalogSource, type DubbingRequest, type DubbingResult, type Exposure, ExposureSchema, GEMINI_VOICE_CONSENT, type GeneratedImage, IMAGE_MODELS, INPUT_BILLINGS, type ImageAnimation, type ImageBackground, type ImageBytes, type ImageCallOptions, type ImageCallResult, type ImagePixelLimits, type ImageQuality, type ImageRequest, type ImageResult, type ImageSafetySetting, type ImageSize, type InputBilling, type JsonObject, type JsonPrimitive, type JsonValue, type KeySource, type KeyTier, type LanguageOption, type Lifecycle, type LipsyncRequest, type LipsyncResult, type LiveCatalogState, MEDIA_METHODS, MEDIA_NODE_MODELS, MODEL3D_IMAGE_SLOTS, MODEL3D_MODELS, MODELS, type MaskBox, type MaskPoint, type MediaMethod, type MediaNodeDefaults, type MediaOutput, type MediaPart, type MediaRef, type Model3dConstraints, type Model3dEndpoints, type Model3dFamily, type Model3dInputRefusal, type Model3dPricedInputs, type Model3dPricedOptions, type Model3dRequest, type Model3dResult, type Model3dStatus, type Model3dSubmission, type Model3dTexture, type Model3dViews, type Model3dWired, type ModelConstraints, type ModelKitConfig, ModelKitError, type ModelKitErrorCode, type ModelKitErrorInit, type ModelType, OTHER_MODELS, type OnUnsupported, type OutputFormat, type PricingKind, type PrimeCatalogResult, type PromptConventions, type ProviderErrorBody, type ProviderKeyName, type ProviderKeys, type ProviderOptionValue, type ProviderOptions, type QuarantineResult, REFERENCE_SYNTAXES, REFERENCE_VIDEO_CONFORM_PROFILE, type ReferenceImageConformPlan, type ReferenceImageConformReason, type ReferenceImageProbe, type ReferenceLimits, type ReferenceSyntax, type ReferenceVideoConformPlan, type ReferenceVideoConformReason, type ReferenceVideoProbe, type RequiredInput, type RequiredKeyName, type ResolveCall, type ResolveResult, type ResolvedCall, type Routing, SURFACES, type SpeechRequest, type SubtitleOptions, type SubtitleTextStyle, type SupportedOption, type Surface, SurfaceSchema, TEXT_MODELS, type TranscriptWord, type TranscriptionRequest, type TranscriptionResult, type UpscaleOptions, type UsageEvent, type UsageModality, type UsageUnit, VIDEO_MODELS, VIDEO_TOOL_MODELS, type VideoCallJob, type VideoCallOptions, type VideoFpsLimits, type VideoJob, type VideoModel, type VideoPixelLimits, type VideoRequest, type VideoResolution, VideoResolutionSchema, type VideoResult, type VideoSecondsLimits, type VideoToolCallContext, type VideoToolConstraints, type VideoToolKind, type VideoToolOutputFormat, type VideoToolOutputSpec, type VideoToolPlan, type VideoToolRequest, type VideoToolResult, type VideoToolSource, type VideoToolStatus, type VideoToolSubmission, type VoiceCandidate, type VoiceChangeRequest, type VoiceCloneRequest, type VoiceCloneResult, type VoiceCloneState, type VoiceDeleteRequest, type VoiceDesignRequest, type VoiceDesignResult, type VoiceGender, type VoiceOption, type VoiceSample, type Warning, billedAudio, compareCatalogOrder, hasAwsCredentials, inputBillingOf, isListed, isListedOn, isModelKitError, liveCatalog, liveState, lumaReframeTooTall, model3dConstraints, model3dInputRefusal, model3dPricingSku, model3dResolution, model3dSeedFits, model3dSkus, model3dTexture, nearestAspectRatio, normalizeExposure, outputAudio, planVideoTool, primeCatalog, promptConventions, referenceImageConformPlan, referenceVideoConformPlan, resetLiveCatalog, resolutionTier, resolveAudioOptions, resolveDubbingOptions, resolveImageOptions, resolveLipsyncOptions, resolveOptions, resolveSpeechOptions, resolveTranscriptionOptions, resolveVideoOptions, resolveVoiceChangeOptions, resolveVoiceCloneOptions, resolveVoiceDesignOptions, sortCatalogRows, takesTargetAspectRatio, videoLengthViolation, videoSizeViolation, videoToolConstraints };
package/dist/catalog.d.ts CHANGED
@@ -444,6 +444,8 @@ interface AudioRequest {
444
444
  instrumental?: boolean;
445
445
  /** Music rows with `supports: lyrics`: the words to sing, with [verse]/[chorus] tags. */
446
446
  lyrics?: string;
447
+ /** Sound-effect rows with `supports: loop`: a sound that repeats without a seam. */
448
+ loop?: boolean;
447
449
  /** One of the row's `constraints.outputFormats`; the row default when unset. */
448
450
  outputFormat?: string;
449
451
  /** Cancellation; combined with CallContext.signal before dispatch. */
@@ -501,6 +503,11 @@ interface VoiceCloneRequest {
501
503
  /** The voice's name in the provider console. */
502
504
  title: string;
503
505
  samples: VoiceSample[];
506
+ /**
507
+ * Gemini voice replication only: the same speaker reading the provider's consent sentence
508
+ * (`GEMINI_VOICE_CONSENT`). Other rows ignore it.
509
+ */
510
+ consent?: MediaRef;
504
511
  description?: string;
505
512
  /** Provider noise removal and level normalisation before cloning; the provider default (on) when unset. */
506
513
  enhance?: boolean;
@@ -631,6 +638,8 @@ type RequiredInput = "firstFrame" | "sourceVideo" | "references" | "sourceAudio"
631
638
  type SupportedOption = "seed" | "quality" | "negativePrompt" | "cfgScale" | "generateAudio" | "promptExpansion" | "lastFrame" | "count" | "outputFormat" | "scaleFactor" | "safetySettings" | "temperature" | "upscale" | "watermark" | "safetyChecker" | "taskType" | "instrumental"
632
639
  /** Music rows that sing `AudioRequest.lyrics`. */
633
640
  | "lyrics"
641
+ /** Sound-effect rows that take `AudioRequest.loop`. */
642
+ | "loop"
634
643
  /** Speech rows that take `SpeechRequest.style`, a delivery instruction. */
635
644
  | "style"
636
645
  /** Video rows that extend a clip in fixed segments up to a cumulative cap (see `ModelConstraints.extension`). */
@@ -1439,6 +1448,7 @@ declare const CatalogModelSchemaBase: z.ZodObject<{
1439
1448
  insertWindow: "insertWindow";
1440
1449
  instrumental: "instrumental";
1441
1450
  lyrics: "lyrics";
1451
+ loop: "loop";
1442
1452
  style: "style";
1443
1453
  videoExtension: "videoExtension";
1444
1454
  }>>>;
@@ -2257,4 +2267,41 @@ declare function inputBillingOf(row: {
2257
2267
  constraints?: unknown;
2258
2268
  }): InputBilling | null;
2259
2269
 
2260
- export { ADAPTER_IDS, AUDIO_OUTPUTS, type AdapterEndpoints, type AdapterId, type AnimationFrameSize, type AnimationLimits, type AspectLimits, type AspectRatio, type AudioOutput, type AudioRequest, type AudioResult, type CallContext, Catalog, type CatalogAuth, type CatalogCache, type CatalogCapabilities, type CatalogDisplay, type CatalogEnvelope, type CatalogModel, CatalogModelSchema, CatalogModelSchemaBase, type CatalogOrigin, CatalogSchema, type CatalogSource, type DubbingRequest, type DubbingResult, type Exposure, ExposureSchema, type GeneratedImage, IMAGE_MODELS, INPUT_BILLINGS, type ImageAnimation, type ImageBackground, type ImageBytes, type ImageCallOptions, type ImageCallResult, type ImagePixelLimits, type ImageQuality, type ImageRequest, type ImageResult, type ImageSafetySetting, type ImageSize, type InputBilling, type JsonObject, type JsonPrimitive, type JsonValue, type KeySource, type KeyTier, type LanguageOption, type Lifecycle, type LipsyncRequest, type LipsyncResult, type LiveCatalogState, MEDIA_METHODS, MEDIA_NODE_MODELS, MODEL3D_IMAGE_SLOTS, MODEL3D_MODELS, MODELS, type MaskBox, type MaskPoint, type MediaMethod, type MediaNodeDefaults, type MediaOutput, type MediaPart, type MediaRef, type Model3dConstraints, type Model3dEndpoints, type Model3dFamily, type Model3dInputRefusal, type Model3dPricedInputs, type Model3dPricedOptions, type Model3dRequest, type Model3dResult, type Model3dStatus, type Model3dSubmission, type Model3dTexture, type Model3dViews, type Model3dWired, type ModelConstraints, type ModelKitConfig, ModelKitError, type ModelKitErrorCode, type ModelKitErrorInit, type ModelType, OTHER_MODELS, type OnUnsupported, type OutputFormat, type PricingKind, type PrimeCatalogResult, type PromptConventions, type ProviderErrorBody, type ProviderKeyName, type ProviderKeys, type ProviderOptionValue, type ProviderOptions, type QuarantineResult, REFERENCE_SYNTAXES, REFERENCE_VIDEO_CONFORM_PROFILE, type ReferenceImageConformPlan, type ReferenceImageConformReason, type ReferenceImageProbe, type ReferenceLimits, type ReferenceSyntax, type ReferenceVideoConformPlan, type ReferenceVideoConformReason, type ReferenceVideoProbe, type RequiredInput, type RequiredKeyName, type ResolveCall, type ResolveResult, type ResolvedCall, type Routing, SURFACES, type SpeechRequest, type SubtitleOptions, type SubtitleTextStyle, type SupportedOption, type Surface, SurfaceSchema, TEXT_MODELS, type TranscriptWord, type TranscriptionRequest, type TranscriptionResult, type UpscaleOptions, type UsageEvent, type UsageModality, type UsageUnit, VIDEO_MODELS, VIDEO_TOOL_MODELS, type VideoCallJob, type VideoCallOptions, type VideoFpsLimits, type VideoJob, type VideoModel, type VideoPixelLimits, type VideoRequest, type VideoResolution, VideoResolutionSchema, type VideoResult, type VideoSecondsLimits, type VideoToolCallContext, type VideoToolConstraints, type VideoToolKind, type VideoToolOutputFormat, type VideoToolOutputSpec, type VideoToolPlan, type VideoToolRequest, type VideoToolResult, type VideoToolSource, type VideoToolStatus, type VideoToolSubmission, type VoiceCandidate, type VoiceChangeRequest, type VoiceCloneRequest, type VoiceCloneResult, type VoiceCloneState, type VoiceDeleteRequest, type VoiceDesignRequest, type VoiceDesignResult, type VoiceGender, type VoiceOption, type VoiceSample, type Warning, billedAudio, compareCatalogOrder, hasAwsCredentials, inputBillingOf, isListed, isListedOn, isModelKitError, liveCatalog, liveState, lumaReframeTooTall, model3dConstraints, model3dInputRefusal, model3dPricingSku, model3dResolution, model3dSeedFits, model3dSkus, model3dTexture, nearestAspectRatio, normalizeExposure, outputAudio, planVideoTool, primeCatalog, promptConventions, referenceImageConformPlan, referenceVideoConformPlan, resetLiveCatalog, resolutionTier, resolveAudioOptions, resolveDubbingOptions, resolveImageOptions, resolveLipsyncOptions, resolveOptions, resolveSpeechOptions, resolveTranscriptionOptions, resolveVideoOptions, resolveVoiceChangeOptions, resolveVoiceCloneOptions, resolveVoiceDesignOptions, sortCatalogRows, takesTargetAspectRatio, videoLengthViolation, videoSizeViolation, videoToolConstraints };
2270
+ /**
2271
+ * The sentence the speaker reads for `VoiceCloneRequest.consent`, by locale (Google's own
2272
+ * wording, copied from the docs page's table; it must be read as written).
2273
+ */
2274
+ declare const GEMINI_VOICE_CONSENT: {
2275
+ "ar-XA": string;
2276
+ "bn-IN": string;
2277
+ "de-DE": string;
2278
+ "en-AU": string;
2279
+ "en-GB": string;
2280
+ "en-IN": string;
2281
+ "en-US": string;
2282
+ "es-ES": string;
2283
+ "es-US": string;
2284
+ "fr-CA": string;
2285
+ "fr-FR": string;
2286
+ "gu-IN": string;
2287
+ "hi-IN": string;
2288
+ "id-ID": string;
2289
+ "it-IT": string;
2290
+ "ja-JP": string;
2291
+ "kn-IN": string;
2292
+ "ko-KR": string;
2293
+ "ml-IN": string;
2294
+ "mr-IN": string;
2295
+ "nl-NL": string;
2296
+ "pl-PL": string;
2297
+ "pt-BR": string;
2298
+ "ru-RU": string;
2299
+ "ta-IN": string;
2300
+ "te-IN": string;
2301
+ "th-TH": string;
2302
+ "tr-TR": string;
2303
+ "vi-VN": string;
2304
+ "zh-CN": string;
2305
+ };
2306
+
2307
+ export { ADAPTER_IDS, AUDIO_OUTPUTS, type AdapterEndpoints, type AdapterId, type AnimationFrameSize, type AnimationLimits, type AspectLimits, type AspectRatio, type AudioOutput, type AudioRequest, type AudioResult, type CallContext, Catalog, type CatalogAuth, type CatalogCache, type CatalogCapabilities, type CatalogDisplay, type CatalogEnvelope, type CatalogModel, CatalogModelSchema, CatalogModelSchemaBase, type CatalogOrigin, CatalogSchema, type CatalogSource, type DubbingRequest, type DubbingResult, type Exposure, ExposureSchema, GEMINI_VOICE_CONSENT, type GeneratedImage, IMAGE_MODELS, INPUT_BILLINGS, type ImageAnimation, type ImageBackground, type ImageBytes, type ImageCallOptions, type ImageCallResult, type ImagePixelLimits, type ImageQuality, type ImageRequest, type ImageResult, type ImageSafetySetting, type ImageSize, type InputBilling, type JsonObject, type JsonPrimitive, type JsonValue, type KeySource, type KeyTier, type LanguageOption, type Lifecycle, type LipsyncRequest, type LipsyncResult, type LiveCatalogState, MEDIA_METHODS, MEDIA_NODE_MODELS, MODEL3D_IMAGE_SLOTS, MODEL3D_MODELS, MODELS, type MaskBox, type MaskPoint, type MediaMethod, type MediaNodeDefaults, type MediaOutput, type MediaPart, type MediaRef, type Model3dConstraints, type Model3dEndpoints, type Model3dFamily, type Model3dInputRefusal, type Model3dPricedInputs, type Model3dPricedOptions, type Model3dRequest, type Model3dResult, type Model3dStatus, type Model3dSubmission, type Model3dTexture, type Model3dViews, type Model3dWired, type ModelConstraints, type ModelKitConfig, ModelKitError, type ModelKitErrorCode, type ModelKitErrorInit, type ModelType, OTHER_MODELS, type OnUnsupported, type OutputFormat, type PricingKind, type PrimeCatalogResult, type PromptConventions, type ProviderErrorBody, type ProviderKeyName, type ProviderKeys, type ProviderOptionValue, type ProviderOptions, type QuarantineResult, REFERENCE_SYNTAXES, REFERENCE_VIDEO_CONFORM_PROFILE, type ReferenceImageConformPlan, type ReferenceImageConformReason, type ReferenceImageProbe, type ReferenceLimits, type ReferenceSyntax, type ReferenceVideoConformPlan, type ReferenceVideoConformReason, type ReferenceVideoProbe, type RequiredInput, type RequiredKeyName, type ResolveCall, type ResolveResult, type ResolvedCall, type Routing, SURFACES, type SpeechRequest, type SubtitleOptions, type SubtitleTextStyle, type SupportedOption, type Surface, SurfaceSchema, TEXT_MODELS, type TranscriptWord, type TranscriptionRequest, type TranscriptionResult, type UpscaleOptions, type UsageEvent, type UsageModality, type UsageUnit, VIDEO_MODELS, VIDEO_TOOL_MODELS, type VideoCallJob, type VideoCallOptions, type VideoFpsLimits, type VideoJob, type VideoModel, type VideoPixelLimits, type VideoRequest, type VideoResolution, VideoResolutionSchema, type VideoResult, type VideoSecondsLimits, type VideoToolCallContext, type VideoToolConstraints, type VideoToolKind, type VideoToolOutputFormat, type VideoToolOutputSpec, type VideoToolPlan, type VideoToolRequest, type VideoToolResult, type VideoToolSource, type VideoToolStatus, type VideoToolSubmission, type VoiceCandidate, type VoiceChangeRequest, type VoiceCloneRequest, type VoiceCloneResult, type VoiceCloneState, type VoiceDeleteRequest, type VoiceDesignRequest, type VoiceDesignResult, type VoiceGender, type VoiceOption, type VoiceSample, type Warning, billedAudio, compareCatalogOrder, hasAwsCredentials, inputBillingOf, isListed, isListedOn, isModelKitError, liveCatalog, liveState, lumaReframeTooTall, model3dConstraints, model3dInputRefusal, model3dPricingSku, model3dResolution, model3dSeedFits, model3dSkus, model3dTexture, nearestAspectRatio, normalizeExposure, outputAudio, planVideoTool, primeCatalog, promptConventions, referenceImageConformPlan, referenceVideoConformPlan, resetLiveCatalog, resolutionTier, resolveAudioOptions, resolveDubbingOptions, resolveImageOptions, resolveLipsyncOptions, resolveOptions, resolveSpeechOptions, resolveTranscriptionOptions, resolveVideoOptions, resolveVoiceChangeOptions, resolveVoiceCloneOptions, resolveVoiceDesignOptions, sortCatalogRows, takesTargetAspectRatio, videoLengthViolation, videoSizeViolation, videoToolConstraints };
package/dist/catalog.js CHANGED
@@ -2390,6 +2390,94 @@ var GEMINI_TTS_VOICES = [
2390
2390
  { id: "Zubenelgenubi", name: "Zubenelgenubi" }
2391
2391
  ];
2392
2392
 
2393
+ // src/catalog/speech-gemini-direct.ts
2394
+ var GOOGLE_LOGO = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/192485d2-a76a-4657-9c06-930b2c70badd_compressed.png";
2395
+ var GEMINI_VOICE_CONSENT = {
2396
+ "ar-XA": "\u0623\u0646\u0627 \u0645\u0627\u0644\u0643 \u0647\u0630\u0627 \u0627\u0644\u0635\u0648\u062A \u0648\u0623\u0648\u0627\u0641\u0642 \u0639\u0644\u0649 \u0623\u0646 \u062A\u0633\u062A\u062E\u062F\u0645 Google \u0647\u0630\u0627 \u0627\u0644\u0635\u0648\u062A \u0644\u0625\u0646\u0634\u0627\u0621 \u0646\u0645\u0648\u0630\u062C \u0635\u0648\u062A\u064A \u0627\u0635\u0637\u0646\u0627\u0639\u064A.",
2397
+ "bn-IN": "\u0986\u09AE\u09BF \u098F\u0987 \u09AD\u09AF\u09BC\u09C7\u09B8\u09C7\u09B0 \u09AE\u09BE\u09B2\u09BF\u0995 \u098F\u09AC\u0982 \u0986\u09AE\u09BF \u098F\u0995\u099F\u09BF \u09B8\u09BF\u09A8\u09CD\u09A5\u09C7\u099F\u09BF\u0995 \u09AD\u09AF\u09BC\u09C7\u09B8 \u09AE\u09A1\u09C7\u09B2 \u09A4\u09C8\u09B0\u09BF \u0995\u09B0\u09A4\u09C7 \u098F\u0987 \u09AD\u09AF\u09BC\u09C7\u09B8 \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C7 Google-\u098F\u09B0 \u09B8\u09BE\u09A5\u09C7 \u09B8\u09AE\u09CD\u09AE\u09A4\u09BF \u09A6\u09BF\u099A\u09CD\u099B\u09BF\u0964",
2398
+ "de-DE": "Ich bin der Eigent\xFCmer dieser Stimme und bin damit einverstanden, dass Google diese Stimme zur Erstellung eines synthetischen Stimmmodells verwendet.",
2399
+ "en-AU": "I am the owner of this voice and I consent to Google using this voice to create a synthetic voice model.",
2400
+ "en-GB": "I am the owner of this voice and I consent to Google using this voice to create a synthetic voice model.",
2401
+ "en-IN": "I am the owner of this voice and I consent to Google using this voice to create a synthetic voice model.",
2402
+ "en-US": "I am the owner of this voice and I consent to Google using this voice to create a synthetic voice model.",
2403
+ "es-ES": "Soy el propietario de esta voz y doy mi consentimiento para que Google la utilice para crear un modelo de voz sint\xE9tica.",
2404
+ "es-US": "Soy el propietario de esta voz y doy mi consentimiento para que Google la utilice para crear un modelo de voz sint\xE9tica.",
2405
+ "fr-CA": "Je suis le propri\xE9taire de cette voix et j'autorise Google \xE0 utiliser cette voix pour cr\xE9er un mod\xE8le de voix synth\xE9tique.",
2406
+ "fr-FR": "Je suis le propri\xE9taire de cette voix et j'autorise Google \xE0 utiliser cette voix pour cr\xE9er un mod\xE8le de voix synth\xE9tique.",
2407
+ "gu-IN": "\u0AB9\u0AC1\u0A82 \u0A86 \u0AB5\u0ACB\u0A88\u0AB8\u0AA8\u0ACB \u0AAE\u0ABE\u0AB2\u0ABF\u0A95 \u0A9B\u0AC1\u0A82 \u0A85\u0AA8\u0AC7 \u0AB8\u0ABF\u0AA8\u0ACD\u0AA5\u0AC7\u0A9F\u0ABF\u0A95 \u0AB5\u0ACB\u0A88\u0AB8 \u0AAE\u0ACB\u0AA1\u0AB2 \u0AAC\u0AA8\u0ABE\u0AB5\u0AB5\u0ABE \u0AAE\u0ABE\u0A9F\u0AC7 \u0A86 \u0AB5\u0ACB\u0A88\u0AB8\u0AA8\u0ACB \u0A89\u0AAA\u0AAF\u0ACB\u0A97 \u0A95\u0AB0\u0AC0\u0AA8\u0AC7 google \u0AA8\u0AC7 \u0AB9\u0AC1\u0A82 \u0AB8\u0A82\u0AAE\u0AA4\u0ABF \u0A86\u0AAA\u0AC1\u0A82 \u0A9B\u0AC1\u0A82",
2408
+ "hi-IN": "\u092E\u0948\u0902 \u0907\u0938 \u0906\u0935\u093E\u091C \u0915\u093E \u092E\u093E\u0932\u093F\u0915 \u0939\u0942\u0902 \u0914\u0930 \u092E\u0948\u0902 \u0938\u093F\u0902\u0925\u0947\u091F\u093F\u0915 \u0906\u0935\u093E\u091C \u092E\u0949\u0921\u0932 \u092C\u0928\u093E\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F Google \u0915\u094B \u0907\u0938 \u0906\u0935\u093E\u091C \u0915\u093E \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0928\u0947 \u0915\u0940 \u0938\u0939\u092E\u0924\u093F \u0926\u0947\u0924\u093E \u0939\u0942\u0902",
2409
+ "id-ID": "Saya pemilik suara ini dan saya menyetujui Google menggunakan suara ini untuk membuat model suara sintetis.",
2410
+ "it-IT": "Sono il proprietario di questa voce e acconsento che Google la utilizzi per creare un modello di voce sintetica.",
2411
+ "ja-JP": "\u79C1\u306F\u3053\u306E\u97F3\u58F0\u306E\u6240\u6709\u8005\u3067\u3042\u308A\u3001Google\u304C\u3053\u306E\u97F3\u58F0\u3092\u4F7F\u7528\u3057\u3066\u97F3\u58F0\u5408\u6210\u30E2\u30C7\u30EB\u3092\u4F5C\u6210\u3059\u308B\u3053\u3068\u3092\u627F\u8A8D\u3057\u307E\u3059\u3002",
2412
+ "kn-IN": "\u0CA8\u0CBE\u0CA8\u0CC1 \u0C88 \u0CA7\u0CCD\u0CB5\u0CA8\u0CBF\u0CAF \u0CAE\u0CBE\u0CB2\u0CBF\u0C95 \u0CAE\u0CA4\u0CCD\u0CA4\u0CC1 \u0CB8\u0C82\u0CB6\u0CCD\u0CB2\u0CC7\u0CB7\u0CBF\u0CA4 \u0CA7\u0CCD\u0CB5\u0CA8\u0CBF \u0CAE\u0CBE\u0CA6\u0CB0\u0CBF\u0CAF\u0CA8\u0CCD\u0CA8\u0CC1 \u0CB0\u0C9A\u0CBF\u0CB8\u0CB2\u0CC1 \u0C88 \u0CA7\u0CCD\u0CB5\u0CA8\u0CBF\u0CAF\u0CA8\u0CCD\u0CA8\u0CC1 \u0CAC\u0CB3\u0CB8\u0CBF\u0C95\u0CCA\u0C82\u0CA1\u0CC1\u0C97\u0CC2\u0C97\u0CB2\u0CCD \u0C97\u0CC6 \u0CA8\u0CBE\u0CA8\u0CC1 \u0CB8\u0CAE\u0CCD\u0CAE\u0CA4\u0CBF\u0CB8\u0CC1\u0CA4\u0CCD\u0CA4\u0CC7\u0CA8\u0CC6.",
2413
+ "ko-KR": "\uB098\uB294 \uC774 \uC74C\uC131\uC758 \uC18C\uC720\uC790\uC774\uBA70 \uAD6C\uAE00\uC774 \uC774 \uC74C\uC131\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC74C\uC131 \uD569\uC131 \uBAA8\uB378\uC744 \uC0DD\uC131\uD560 \uAC83\uC744 \uD5C8\uC6A9\uD569\uB2C8\uB2E4.",
2414
+ "ml-IN": "\u0D08 \u0D36\u0D2C\u0D4D\u0D26\u0D24\u0D4D\u0D24\u0D3F\u0D28\u0D4D\u0D31\u0D46 \u0D09\u0D1F\u0D2E \u0D1E\u0D3E\u0D28\u0D3E\u0D23\u0D4D, \u0D12\u0D30\u0D41 \u0D38\u0D3F\u0D28\u0D4D\u0D24\u0D31\u0D4D\u0D31\u0D3F\u0D15\u0D4D \u0D35\u0D4B\u0D2F\u0D4D\u0D38\u0D4D \u0D2E\u0D4B\u0D21\u0D7D \u0D38\u0D43\u0D37\u0D4D\u0D1F\u0D3F\u0D15\u0D4D\u0D15\u0D3E\u0D7B \u0D08 \u0D36\u0D2C\u0D4D\u0D26\u0D02 \u0D09\u0D2A\u0D2F\u0D4B\u0D17\u0D3F\u0D15\u0D4D\u0D15\u0D41\u0D28\u0D4D\u0D28\u0D24\u0D3F\u0D28\u0D4D \u0D1E\u0D3E\u0D7B Google-\u0D28\u0D4D \u0D38\u0D2E\u0D4D\u0D2E\u0D24\u0D02 \u0D28\u0D7D\u0D15\u0D41\u0D28\u0D4D\u0D28\u0D41.",
2415
+ "mr-IN": "\u092E\u0940 \u092F\u093E \u0906\u0935\u093E\u091C\u093E\u091A\u093E \u092E\u093E\u0932\u0915 \u0906\u0939\u0947 \u0906\u0923\u093F \u0938\u093F\u0902\u0925\u0947\u091F\u093F\u0915 \u0935\u094D\u0939\u0949\u0907\u0938 \u092E\u0949\u0921\u0947\u0932 \u0924\u092F\u093E\u0930 \u0915\u0930\u0923\u094D\u092F\u093E\u0938\u093E\u0920\u0940 \u0939\u093E \u0906\u0935\u093E\u091C \u0935\u093E\u092A\u0930\u0923\u094D\u092F\u093E\u0938\u093E\u0920\u0940 \u092E\u0940 Google \u0932\u093E \u0938\u0902\u092E\u0924\u0940 \u0926\u0947\u0924\u094B",
2416
+ "nl-NL": "Ik ben de eigenaar van deze stem en ik geef Google toestemming om deze stem te gebruiken om een synthetisch stemmodel te maken.",
2417
+ "pl-PL": "Jestem w\u0142a\u015Bcicielem tego g\u0142osu i wyra\u017Cam zgod\u0119 na wykorzystanie go przez Google w celu utworzenia syntetycznego modelu g\u0142osu.",
2418
+ "pt-BR": "Eu sou o propriet\xE1rio desta voz e autorizo o Google a us\xE1-la para criar um modelo de voz sint\xE9tica.",
2419
+ "ru-RU": "\u042F \u044F\u0432\u043B\u044F\u044E\u0441\u044C \u0432\u043B\u0430\u0434\u0435\u043B\u044C\u0446\u0435\u043C \u044D\u0442\u043E\u0433\u043E \u0433\u043E\u043B\u043E\u0441\u0430 \u0438 \u0434\u0430\u044E \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435 Google \u043D\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u044D\u0442\u043E\u0433\u043E \u0433\u043E\u043B\u043E\u0441\u0430 \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043C\u043E\u0434\u0435\u043B\u0438 \u0441\u0438\u043D\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0433\u043E\u043B\u043E\u0441\u0430.",
2420
+ "ta-IN": "\u0BA8\u0BBE\u0BA9\u0BCD \u0B87\u0BA8\u0BCD\u0BA4 \u0B95\u0BC1\u0BB0\u0BB2\u0BBF\u0BA9\u0BCD \u0B89\u0BB0\u0BBF\u0BAE\u0BC8\u0BAF\u0BBE\u0BB3\u0BB0\u0BCD \u0BAE\u0BB1\u0BCD\u0BB1\u0BC1\u0BAE\u0BCD \u0B9A\u0BC6\u0BAF\u0BB1\u0BCD\u0B95\u0BC8 \u0B95\u0BC1\u0BB0\u0BB2\u0BCD \u0BAE\u0BBE\u0BA4\u0BBF\u0BB0\u0BBF\u0BAF\u0BC8 \u0B89\u0BB0\u0BC1\u0BB5\u0BBE\u0B95\u0BCD\u0B95 \u0B87\u0BA8\u0BCD\u0BA4 \u0B95\u0BC1\u0BB0\u0BB2\u0BC8 \u0BAA\u0BAF\u0BA9\u0BCD\u0BAA\u0B9F\u0BC1\u0BA4\u0BCD\u0BA4 \u0B95\u0BC1\u0B95\u0BB2\u0BCD\u0B95\u0BCD\u0B95\u0BC1 \u0BA8\u0BBE\u0BA9\u0BCD \u0B92\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BCD\u0B95\u0BCA\u0BB3\u0BCD\u0B95\u0BBF\u0BB1\u0BC7\u0BA9\u0BCD.",
2421
+ "te-IN": "\u0C28\u0C47\u0C28\u0C41 \u0C08 \u0C35\u0C3E\u0C2F\u0C3F\u0C38\u0C4D \u0C2F\u0C1C\u0C2E\u0C3E\u0C28\u0C3F\u0C28\u0C3F \u0C2E\u0C30\u0C3F\u0C2F\u0C41 \u0C38\u0C3F\u0C02\u0C24\u0C1F\u0C3F\u0C15\u0C4D \u0C35\u0C3E\u0C2F\u0C3F\u0C38\u0C4D \u0C2E\u0C4B\u0C21\u0C32\u0C4D \u0C28\u0C3F \u0C30\u0C42\u0C2A\u0C4A\u0C02\u0C26\u0C3F\u0C02\u0C1A\u0C21\u0C3E\u0C28\u0C3F\u0C15\u0C3F \u0C08 \u0C35\u0C3E\u0C2F\u0C3F\u0C38\u0C4D \u0C28\u0C3F \u0C09\u0C2A\u0C2F\u0C4B\u0C17\u0C3F\u0C02\u0C1A\u0C21\u0C3E\u0C28\u0C3F\u0C15\u0C3F google\u0C15\u0C3F \u0C28\u0C47\u0C28\u0C41 \u0C38\u0C2E\u0C4D\u0C2E\u0C24\u0C3F\u0C38\u0C4D\u0C24\u0C41\u0C28\u0C4D\u0C28\u0C3E\u0C28\u0C41.",
2422
+ "th-TH": "\u0E09\u0E31\u0E19\u0E40\u0E1B\u0E47\u0E19\u0E40\u0E08\u0E49\u0E32\u0E02\u0E2D\u0E07\u0E40\u0E2A\u0E35\u0E22\u0E07\u0E19\u0E35\u0E49 \u0E41\u0E25\u0E30\u0E09\u0E31\u0E19\u0E22\u0E34\u0E19\u0E22\u0E2D\u0E21\u0E43\u0E2B\u0E49 Google \u0E43\u0E0A\u0E49\u0E40\u0E2A\u0E35\u0E22\u0E07\u0E19\u0E35\u0E49\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E40\u0E2A\u0E35\u0E22\u0E07\u0E2A\u0E31\u0E07\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C",
2423
+ "tr-TR": "Bu sesin sahibi benim ve Google'\u0131n bu sesi kullanarak sentetik bir ses modeli olu\u015Fturmas\u0131na izin veriyorum.",
2424
+ "vi-VN": "T\xF4i l\xE0 ch\u1EE7 s\u1EDF h\u1EEFu gi\u1ECDng n\xF3i n\xE0y v\xE0 t\xF4i \u0111\u1ED3ng \xFD cho Google s\u1EED d\u1EE5ng gi\u1ECDng n\xF3i n\xE0y \u0111\u1EC3 t\u1EA1o m\xF4 h\xECnh gi\u1ECDng n\xF3i t\u1ED5ng h\u1EE3p.",
2425
+ "zh-CN": "\u6211\u662F\u6B64\u58F0\u97F3\u7684\u62E5\u6709\u8005\u5E76\u6388\u6743\u8C37\u6B4C\u4F7F\u7528\u6B64\u58F0\u97F3\u521B\u5EFA\u8BED\u97F3\u5408\u6210\u6A21\u578B"
2426
+ };
2427
+ var GEMINI_DIRECT_MODELS = [
2428
+ {
2429
+ id: "gemini-3.8-flash-tts-direct",
2430
+ aliases: [],
2431
+ label: "Gemini 3.8 Flash TTS",
2432
+ type: "speech",
2433
+ adapter: "google-genai",
2434
+ providerModelId: "gemini-3.8-flash-tts",
2435
+ lifecycle: "active",
2436
+ exposure: ["cowork"],
2437
+ constraints: {
2438
+ voices: GEMINI_TTS_VOICES,
2439
+ // Returns a 24 kHz mono WAV; the language is detected from the script.
2440
+ supports: ["style"],
2441
+ // Google's docs state no script limit; fal gives 8,192 input tokens for this model
2442
+ // (a token is at least one character), so the same cap is kept here.
2443
+ prompt: { referenceSyntax: "numbered", maxChars: 8192 }
2444
+ },
2445
+ defaults: { voice: "Kore" },
2446
+ usage: { unit: "images" },
2447
+ pricingKind: "flat",
2448
+ display: {
2449
+ provider: "google",
2450
+ logo: GOOGLE_LOGO,
2451
+ description: "Google Gemini 3.8 Flash text to speech in 30 prebuilt voices or your own replicated voice, with separate style instructions."
2452
+ },
2453
+ capabilities: { customVoices: true }
2454
+ },
2455
+ {
2456
+ id: "gemini-voice-clone",
2457
+ aliases: [],
2458
+ label: "Gemini Voice Replication",
2459
+ type: "voice-clone",
2460
+ adapter: "google-genai",
2461
+ providerModelId: "gemini-3.8-flash-tts",
2462
+ lifecycle: "active",
2463
+ exposure: ["cowork"],
2464
+ constraints: {
2465
+ // One 10-30 s recording, plus the consent recording. Google's samples are WAV.
2466
+ references: { audios: 1, audioFormats: ["wav"], audioSeconds: { min: 10, max: 30 } },
2467
+ supports: []
2468
+ },
2469
+ defaults: {},
2470
+ usage: { unit: "requests" },
2471
+ pricingKind: "flat",
2472
+ display: {
2473
+ provider: "google",
2474
+ logo: GOOGLE_LOGO,
2475
+ description: "Replicate a private, reusable voice from one 10 to 30 second recording and a spoken consent line, then speak with it on Gemini 3.8 Flash TTS."
2476
+ },
2477
+ capabilities: {}
2478
+ }
2479
+ ];
2480
+
2393
2481
  // src/catalog/voices-minimax.ts
2394
2482
  var MINIMAX_VOICES = [
2395
2483
  { id: "Wise_Woman", name: "Wise Woman" },
@@ -3890,7 +3978,7 @@ var MINIMAX_VOICES = [
3890
3978
 
3891
3979
  // src/catalog/media-nodes.ts
3892
3980
  var ELEVENLABS_LOGO2 = "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/elevenlabs.png";
3893
- var GOOGLE_LOGO = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/192485d2-a76a-4657-9c06-930b2c70badd_compressed.png";
3981
+ var GOOGLE_LOGO2 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/192485d2-a76a-4657-9c06-930b2c70badd_compressed.png";
3894
3982
  var MINIMAX_LOGO2 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/f4c2e906-28b7-4a4a-b491-df8fef7808ed.png";
3895
3983
  var SYNC_LOGO = "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/sync.png";
3896
3984
  var PER_CALL3 = { unit: "images" };
@@ -3940,7 +4028,7 @@ function geminiTts(id, label, description) {
3940
4028
  defaults: { voice: "Kore" },
3941
4029
  usage: PER_CALL3,
3942
4030
  pricingKind: "flat",
3943
- display: { provider: "google", logo: GOOGLE_LOGO, description },
4031
+ display: { provider: "google", logo: GOOGLE_LOGO2, description },
3944
4032
  capabilities: {}
3945
4033
  };
3946
4034
  }
@@ -4186,7 +4274,8 @@ var MEDIA_NODE_MODELS = [
4186
4274
  },
4187
4275
  SAM_3_IMAGE,
4188
4276
  ...FISH_MODELS,
4189
- ...ELEVENLABS_DIRECT_MODELS
4277
+ ...ELEVENLABS_DIRECT_MODELS,
4278
+ ...GEMINI_DIRECT_MODELS
4190
4279
  ];
4191
4280
 
4192
4281
  // src/catalog/model3d.ts
@@ -4380,9 +4469,67 @@ var MODEL3D_MODELS = [
4380
4469
  )
4381
4470
  ];
4382
4471
 
4383
- // src/catalog/other.ts
4384
- var GOOGLE_LOGO2 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/192485d2-a76a-4657-9c06-930b2c70badd_compressed.png";
4472
+ // src/catalog/audio-elevenlabs-direct.ts
4385
4473
  var ELEVENLABS_LOGO3 = "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/elevenlabs.png";
4474
+ var ELEVENLABS_DIRECT_AUDIO_MODELS = [
4475
+ {
4476
+ id: "elevenlabs-music-direct",
4477
+ aliases: [],
4478
+ label: "Eleven Music",
4479
+ type: "audio",
4480
+ adapter: "elevenlabs",
4481
+ providerModelId: "music_v2_5",
4482
+ lifecycle: "active",
4483
+ exposure: ["cowork"],
4484
+ constraints: {
4485
+ // The API takes 3 s to 10 min; ElevenLabs' overview says 5 min, so stop there.
4486
+ durations: { min: 3, max: 300 },
4487
+ durationPresets: [30, 60, 120, 180],
4488
+ // No `seed`: the API refuses it with a prompt (composition plans only).
4489
+ supports: ["instrumental"],
4490
+ outputFormats: ELEVENLABS_MUSIC_FORMATS
4491
+ },
4492
+ defaults: { durationSeconds: 60, outputFormat: "mp3_48000_192" },
4493
+ usage: { unit: "seconds" },
4494
+ pricingKind: "flat",
4495
+ display: {
4496
+ provider: "elevenlabs",
4497
+ logo: ELEVENLABS_LOGO3,
4498
+ description: "Songs and instrumentals in any genre, from 3 seconds to 5 minutes."
4499
+ },
4500
+ capabilities: {}
4501
+ },
4502
+ {
4503
+ id: "elevenlabs-sound-effects-direct",
4504
+ aliases: [],
4505
+ label: "Eleven Sound Effects",
4506
+ type: "sound-effect",
4507
+ adapter: "elevenlabs",
4508
+ providerModelId: "eleven_text_to_sound_v3",
4509
+ lifecycle: "active",
4510
+ exposure: ["cowork"],
4511
+ constraints: {
4512
+ durations: { min: 0.5, max: 30 },
4513
+ durationPresets: [2, 5, 10, 22],
4514
+ supports: ["loop"],
4515
+ outputFormats: ELEVENLABS_MP3_FORMATS
4516
+ },
4517
+ // No default length: a request without one gets ElevenLabs' auto length.
4518
+ defaults: { outputFormat: "mp3_44100_128" },
4519
+ usage: { unit: "seconds" },
4520
+ pricingKind: "flat",
4521
+ display: {
4522
+ provider: "elevenlabs",
4523
+ logo: ELEVENLABS_LOGO3,
4524
+ description: "Any sound from a text description, up to 30 seconds, at a set or automatic length; can loop."
4525
+ },
4526
+ capabilities: {}
4527
+ }
4528
+ ];
4529
+
4530
+ // src/catalog/other.ts
4531
+ var GOOGLE_LOGO3 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/192485d2-a76a-4657-9c06-930b2c70badd_compressed.png";
4532
+ var ELEVENLABS_LOGO4 = "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/elevenlabs.png";
4386
4533
  var MINIMAX_LOGO3 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/f4c2e906-28b7-4a4a-b491-df8fef7808ed.png";
4387
4534
  var OTHER_MODELS = [
4388
4535
  {
@@ -4404,7 +4551,7 @@ var OTHER_MODELS = [
4404
4551
  pricingKind: "flat",
4405
4552
  display: {
4406
4553
  provider: "google",
4407
- logo: GOOGLE_LOGO2,
4554
+ logo: GOOGLE_LOGO3,
4408
4555
  description: "Google Lyria 3 Clip short music clips, loops, and previews; takes text and up to 10 image prompts and returns a fixed 30-second MP3 plus lyrics."
4409
4556
  },
4410
4557
  capabilities: {}
@@ -4427,7 +4574,7 @@ var OTHER_MODELS = [
4427
4574
  pricingKind: "flat",
4428
4575
  display: {
4429
4576
  provider: "google",
4430
- logo: GOOGLE_LOGO2,
4577
+ logo: GOOGLE_LOGO3,
4431
4578
  description: "Google Lyria 3 Pro flagship music model for full-length songs with verses, choruses, and bridges; takes text and up to 10 image prompts and returns MP3 plus lyrics."
4432
4579
  },
4433
4580
  capabilities: {}
@@ -4519,7 +4666,7 @@ var OTHER_MODELS = [
4519
4666
  pricingKind: "flat",
4520
4667
  display: {
4521
4668
  provider: "google",
4522
- logo: GOOGLE_LOGO2,
4669
+ logo: GOOGLE_LOGO3,
4523
4670
  description: "Google Lyria 3.5 full-length songs with verses, choruses and bridges; takes text and up to 10 image prompts and returns 44.1 kHz stereo MP3 plus lyrics."
4524
4671
  },
4525
4672
  capabilities: {}
@@ -4547,7 +4694,7 @@ var OTHER_MODELS = [
4547
4694
  pricingKind: "flat",
4548
4695
  display: {
4549
4696
  provider: "elevenlabs",
4550
- logo: ELEVENLABS_LOGO3,
4697
+ logo: ELEVENLABS_LOGO4,
4551
4698
  description: "ElevenLabs Music v2.5 text-to-music; full songs or instrumentals from 3 seconds to 1 minute."
4552
4699
  },
4553
4700
  capabilities: {}
@@ -4599,7 +4746,7 @@ var OTHER_MODELS = [
4599
4746
  pricingKind: "flat",
4600
4747
  display: {
4601
4748
  provider: "elevenlabs",
4602
- logo: ELEVENLABS_LOGO3,
4749
+ logo: ELEVENLABS_LOGO4,
4603
4750
  description: "ElevenLabs Sound Effects v2; a sound effect from a text description, up to 22 seconds."
4604
4751
  },
4605
4752
  capabilities: {}
@@ -4735,7 +4882,8 @@ var OTHER_MODELS = [
4735
4882
  provider: "prodia",
4736
4883
  description: "Background removal; takes one input image and returns a PNG cut-out of the subject plus an optional black-and-white mask."
4737
4884
  }
4738
- }
4885
+ },
4886
+ ...ELEVENLABS_DIRECT_AUDIO_MODELS
4739
4887
  ];
4740
4888
 
4741
4889
  // src/catalog/text.ts
@@ -6007,7 +6155,7 @@ var H3_PROMPT2 = { referenceSyntax: "numbered", maxChars: 5e4 };
6007
6155
  var WAN_PROMPT = { referenceSyntax: "numbered", maxChars: 2e4 };
6008
6156
  var OMNI_PROMPT = { referenceSyntax: "caption", maxChars: 5e4 };
6009
6157
  var BYTEDANCE_LOGO2 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/3bba5d81-4e57-4e71-911b-cdfa05acca2c_compressed.png";
6010
- var GOOGLE_LOGO3 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/192485d2-a76a-4657-9c06-930b2c70badd_compressed.png";
6158
+ var GOOGLE_LOGO4 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/192485d2-a76a-4657-9c06-930b2c70badd_compressed.png";
6011
6159
  var VIDEO_MODELS = [
6012
6160
  // Google shuts down the Veo 3.1 previews and Omni Flash 1.0 on 2026-10-22.
6013
6161
  {
@@ -6043,7 +6191,7 @@ var VIDEO_MODELS = [
6043
6191
  display: {
6044
6192
  provider: "google",
6045
6193
  description: "Google's highest-quality video generation model. Supports up to 4K resolution and 8-second clips with reference image conditioning.",
6046
- logo: GOOGLE_LOGO3
6194
+ logo: GOOGLE_LOGO4
6047
6195
  },
6048
6196
  // Veo's lastFrame "must be used in combination with the image parameter".
6049
6197
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES, lastFrameRequiresFirstFrame: true }
@@ -6144,7 +6292,7 @@ var VIDEO_MODELS = [
6144
6292
  display: {
6145
6293
  provider: "google",
6146
6294
  description: "Google's conversational video model with native audio, human support, and natural language editing. Aspect ratio only \u2014 resolution and duration are model-determined.",
6147
- logo: GOOGLE_LOGO3
6295
+ logo: GOOGLE_LOGO4
6148
6296
  },
6149
6297
  capabilities: { acceptsSourceVideo: true, videoEdit: true }
6150
6298
  },
@@ -6181,7 +6329,7 @@ var VIDEO_MODELS = [
6181
6329
  pricingKind: "video_per_second",
6182
6330
  display: {
6183
6331
  provider: "google",
6184
- logo: GOOGLE_LOGO3,
6332
+ logo: GOOGLE_LOGO4,
6185
6333
  description: "Google Gemini Omni Flash 1.1 conversational video generation, editing and extension; text, image, and up to 10-second video input, 3-10 second output at up to 4K and 24 FPS, extendable to 40 seconds."
6186
6334
  },
6187
6335
  capabilities: {
@@ -6220,7 +6368,7 @@ var VIDEO_MODELS = [
6220
6368
  pricingKind: "video_per_second",
6221
6369
  display: {
6222
6370
  provider: "google",
6223
- logo: GOOGLE_LOGO3,
6371
+ logo: GOOGLE_LOGO4,
6224
6372
  description: "Google Gemini Omni Flash 1.2 conversational video generation, editing and extension; text, image, and up to 15-second video input, 3-15 second output at up to 4K and 24 FPS (start and end frames up to 10 seconds), extendable to 30 seconds."
6225
6373
  },
6226
6374
  capabilities: {
@@ -8242,6 +8390,7 @@ var SupportedOptionSchema = z3.enum([
8242
8390
  "videoExtension",
8243
8391
  "instrumental",
8244
8392
  "lyrics",
8393
+ "loop",
8245
8394
  "style",
8246
8395
  "insertWindow",
8247
8396
  "points",
@@ -10553,7 +10702,13 @@ function resolveAudioOptions(model, request, onUnsupported = "error") {
10553
10702
  model: model.id
10554
10703
  });
10555
10704
  }
10556
- dropUnsupported(merged, model, warnings, ["seed", "negativePrompt", "instrumental", "lyrics"]);
10705
+ dropUnsupported(merged, model, warnings, [
10706
+ "seed",
10707
+ "negativePrompt",
10708
+ "instrumental",
10709
+ "lyrics",
10710
+ "loop"
10711
+ ]);
10557
10712
  applyFalAudioRules(model, merged);
10558
10713
  const format = resolveOutputFormat(model, request.outputFormat, onUnsupported, warnings);
10559
10714
  if (format !== void 0) merged.outputFormat = format;
@@ -11173,6 +11328,7 @@ export {
11173
11328
  CatalogModelSchemaBase,
11174
11329
  CatalogSchema,
11175
11330
  ExposureSchema,
11331
+ GEMINI_VOICE_CONSENT,
11176
11332
  IMAGE_MODELS,
11177
11333
  INPUT_BILLINGS,
11178
11334
  MEDIA_METHODS,