@shop-os/modelkit 0.25.1 → 0.26.1

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
@@ -367,7 +367,8 @@ var FAL_IMAGE_MODELS = [
367
367
  constraints: {
368
368
  aspectRatios: [...KLING_RATIOS, "adaptive"],
369
369
  sizes: ["2K", "4K", "8K"],
370
- references: { images: 10 },
370
+ // fal refuses a reference under 300x300 (422 image_too_small, prod COWORK-5S).
371
+ references: { images: 10, imagePixels: { minWidth: 300, minHeight: 300 } },
371
372
  supports: ["count"],
372
373
  prompt: { referenceSyntax: "numbered", maxChars: 21e3 }
373
374
  },
@@ -2390,6 +2391,94 @@ var GEMINI_TTS_VOICES = [
2390
2391
  { id: "Zubenelgenubi", name: "Zubenelgenubi" }
2391
2392
  ];
2392
2393
 
2394
+ // src/catalog/speech-gemini-direct.ts
2395
+ var GOOGLE_LOGO = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/192485d2-a76a-4657-9c06-930b2c70badd_compressed.png";
2396
+ var GEMINI_VOICE_CONSENT = {
2397
+ "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.",
2398
+ "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",
2399
+ "de-DE": "Ich bin der Eigent\xFCmer dieser Stimme und bin damit einverstanden, dass Google diese Stimme zur Erstellung eines synthetischen Stimmmodells verwendet.",
2400
+ "en-AU": "I am the owner of this voice and I consent to Google using this voice to create a synthetic voice model.",
2401
+ "en-GB": "I am the owner of this voice and I consent to Google using this voice to create a synthetic voice model.",
2402
+ "en-IN": "I am the owner of this voice and I consent to Google using this voice to create a synthetic voice model.",
2403
+ "en-US": "I am the owner of this voice and I consent to Google using this voice to create a synthetic voice model.",
2404
+ "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.",
2405
+ "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.",
2406
+ "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.",
2407
+ "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.",
2408
+ "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",
2409
+ "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",
2410
+ "id-ID": "Saya pemilik suara ini dan saya menyetujui Google menggunakan suara ini untuk membuat model suara sintetis.",
2411
+ "it-IT": "Sono il proprietario di questa voce e acconsento che Google la utilizzi per creare un modello di voce sintetica.",
2412
+ "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",
2413
+ "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.",
2414
+ "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.",
2415
+ "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.",
2416
+ "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",
2417
+ "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.",
2418
+ "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.",
2419
+ "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.",
2420
+ "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.",
2421
+ "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.",
2422
+ "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.",
2423
+ "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",
2424
+ "tr-TR": "Bu sesin sahibi benim ve Google'\u0131n bu sesi kullanarak sentetik bir ses modeli olu\u015Fturmas\u0131na izin veriyorum.",
2425
+ "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.",
2426
+ "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"
2427
+ };
2428
+ var GEMINI_DIRECT_MODELS = [
2429
+ {
2430
+ id: "gemini-3.8-flash-tts-direct",
2431
+ aliases: [],
2432
+ label: "Gemini 3.8 Flash TTS",
2433
+ type: "speech",
2434
+ adapter: "google-genai",
2435
+ providerModelId: "gemini-3.8-flash-tts",
2436
+ lifecycle: "active",
2437
+ exposure: ["cowork"],
2438
+ constraints: {
2439
+ voices: GEMINI_TTS_VOICES,
2440
+ // Returns a 24 kHz mono WAV; the language is detected from the script.
2441
+ supports: ["style"],
2442
+ // Google's docs state no script limit; fal gives 8,192 input tokens for this model
2443
+ // (a token is at least one character), so the same cap is kept here.
2444
+ prompt: { referenceSyntax: "numbered", maxChars: 8192 }
2445
+ },
2446
+ defaults: { voice: "Kore" },
2447
+ usage: { unit: "images" },
2448
+ pricingKind: "flat",
2449
+ display: {
2450
+ provider: "google",
2451
+ logo: GOOGLE_LOGO,
2452
+ description: "Google Gemini 3.8 Flash text to speech in 30 prebuilt voices or your own replicated voice, with separate style instructions."
2453
+ },
2454
+ capabilities: { customVoices: true }
2455
+ },
2456
+ {
2457
+ id: "gemini-voice-clone",
2458
+ aliases: [],
2459
+ label: "Gemini Voice Replication",
2460
+ type: "voice-clone",
2461
+ adapter: "google-genai",
2462
+ providerModelId: "gemini-3.8-flash-tts",
2463
+ lifecycle: "active",
2464
+ exposure: ["cowork"],
2465
+ constraints: {
2466
+ // One 10-30 s recording, plus the consent recording. Google's samples are WAV.
2467
+ references: { audios: 1, audioFormats: ["wav"], audioSeconds: { min: 10, max: 30 } },
2468
+ supports: []
2469
+ },
2470
+ defaults: {},
2471
+ usage: { unit: "requests" },
2472
+ pricingKind: "flat",
2473
+ display: {
2474
+ provider: "google",
2475
+ logo: GOOGLE_LOGO,
2476
+ 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."
2477
+ },
2478
+ capabilities: {}
2479
+ }
2480
+ ];
2481
+
2393
2482
  // src/catalog/voices-minimax.ts
2394
2483
  var MINIMAX_VOICES = [
2395
2484
  { id: "Wise_Woman", name: "Wise Woman" },
@@ -3890,7 +3979,7 @@ var MINIMAX_VOICES = [
3890
3979
 
3891
3980
  // src/catalog/media-nodes.ts
3892
3981
  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";
3982
+ var GOOGLE_LOGO2 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/192485d2-a76a-4657-9c06-930b2c70badd_compressed.png";
3894
3983
  var MINIMAX_LOGO2 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/f4c2e906-28b7-4a4a-b491-df8fef7808ed.png";
3895
3984
  var SYNC_LOGO = "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/sync.png";
3896
3985
  var PER_CALL3 = { unit: "images" };
@@ -3940,7 +4029,7 @@ function geminiTts(id, label, description) {
3940
4029
  defaults: { voice: "Kore" },
3941
4030
  usage: PER_CALL3,
3942
4031
  pricingKind: "flat",
3943
- display: { provider: "google", logo: GOOGLE_LOGO, description },
4032
+ display: { provider: "google", logo: GOOGLE_LOGO2, description },
3944
4033
  capabilities: {}
3945
4034
  };
3946
4035
  }
@@ -4186,7 +4275,8 @@ var MEDIA_NODE_MODELS = [
4186
4275
  },
4187
4276
  SAM_3_IMAGE,
4188
4277
  ...FISH_MODELS,
4189
- ...ELEVENLABS_DIRECT_MODELS
4278
+ ...ELEVENLABS_DIRECT_MODELS,
4279
+ ...GEMINI_DIRECT_MODELS
4190
4280
  ];
4191
4281
 
4192
4282
  // src/catalog/model3d.ts
@@ -4380,9 +4470,67 @@ var MODEL3D_MODELS = [
4380
4470
  )
4381
4471
  ];
4382
4472
 
4383
- // src/catalog/other.ts
4384
- var GOOGLE_LOGO2 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/192485d2-a76a-4657-9c06-930b2c70badd_compressed.png";
4473
+ // src/catalog/audio-elevenlabs-direct.ts
4385
4474
  var ELEVENLABS_LOGO3 = "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/elevenlabs.png";
4475
+ var ELEVENLABS_DIRECT_AUDIO_MODELS = [
4476
+ {
4477
+ id: "elevenlabs-music-direct",
4478
+ aliases: [],
4479
+ label: "Eleven Music",
4480
+ type: "audio",
4481
+ adapter: "elevenlabs",
4482
+ providerModelId: "music_v2_5",
4483
+ lifecycle: "active",
4484
+ exposure: ["cowork"],
4485
+ constraints: {
4486
+ // The API takes 3 s to 10 min; ElevenLabs' overview says 5 min, so stop there.
4487
+ durations: { min: 3, max: 300 },
4488
+ durationPresets: [30, 60, 120, 180],
4489
+ // No `seed`: the API refuses it with a prompt (composition plans only).
4490
+ supports: ["instrumental"],
4491
+ outputFormats: ELEVENLABS_MUSIC_FORMATS
4492
+ },
4493
+ defaults: { durationSeconds: 60, outputFormat: "mp3_48000_192" },
4494
+ usage: { unit: "seconds" },
4495
+ pricingKind: "flat",
4496
+ display: {
4497
+ provider: "elevenlabs",
4498
+ logo: ELEVENLABS_LOGO3,
4499
+ description: "Songs and instrumentals in any genre, from 3 seconds to 5 minutes."
4500
+ },
4501
+ capabilities: {}
4502
+ },
4503
+ {
4504
+ id: "elevenlabs-sound-effects-direct",
4505
+ aliases: [],
4506
+ label: "Eleven Sound Effects",
4507
+ type: "sound-effect",
4508
+ adapter: "elevenlabs",
4509
+ providerModelId: "eleven_text_to_sound_v3",
4510
+ lifecycle: "active",
4511
+ exposure: ["cowork"],
4512
+ constraints: {
4513
+ durations: { min: 0.5, max: 30 },
4514
+ durationPresets: [2, 5, 10, 22],
4515
+ supports: ["loop"],
4516
+ outputFormats: ELEVENLABS_MP3_FORMATS
4517
+ },
4518
+ // No default length: a request without one gets ElevenLabs' auto length.
4519
+ defaults: { outputFormat: "mp3_44100_128" },
4520
+ usage: { unit: "seconds" },
4521
+ pricingKind: "flat",
4522
+ display: {
4523
+ provider: "elevenlabs",
4524
+ logo: ELEVENLABS_LOGO3,
4525
+ description: "Any sound from a text description, up to 30 seconds, at a set or automatic length; can loop."
4526
+ },
4527
+ capabilities: {}
4528
+ }
4529
+ ];
4530
+
4531
+ // src/catalog/other.ts
4532
+ var GOOGLE_LOGO3 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/192485d2-a76a-4657-9c06-930b2c70badd_compressed.png";
4533
+ var ELEVENLABS_LOGO4 = "https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@1.97.0/light/elevenlabs.png";
4386
4534
  var MINIMAX_LOGO3 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/f4c2e906-28b7-4a4a-b491-df8fef7808ed.png";
4387
4535
  var OTHER_MODELS = [
4388
4536
  {
@@ -4404,7 +4552,7 @@ var OTHER_MODELS = [
4404
4552
  pricingKind: "flat",
4405
4553
  display: {
4406
4554
  provider: "google",
4407
- logo: GOOGLE_LOGO2,
4555
+ logo: GOOGLE_LOGO3,
4408
4556
  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
4557
  },
4410
4558
  capabilities: {}
@@ -4427,7 +4575,7 @@ var OTHER_MODELS = [
4427
4575
  pricingKind: "flat",
4428
4576
  display: {
4429
4577
  provider: "google",
4430
- logo: GOOGLE_LOGO2,
4578
+ logo: GOOGLE_LOGO3,
4431
4579
  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
4580
  },
4433
4581
  capabilities: {}
@@ -4519,7 +4667,7 @@ var OTHER_MODELS = [
4519
4667
  pricingKind: "flat",
4520
4668
  display: {
4521
4669
  provider: "google",
4522
- logo: GOOGLE_LOGO2,
4670
+ logo: GOOGLE_LOGO3,
4523
4671
  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
4672
  },
4525
4673
  capabilities: {}
@@ -4547,7 +4695,7 @@ var OTHER_MODELS = [
4547
4695
  pricingKind: "flat",
4548
4696
  display: {
4549
4697
  provider: "elevenlabs",
4550
- logo: ELEVENLABS_LOGO3,
4698
+ logo: ELEVENLABS_LOGO4,
4551
4699
  description: "ElevenLabs Music v2.5 text-to-music; full songs or instrumentals from 3 seconds to 1 minute."
4552
4700
  },
4553
4701
  capabilities: {}
@@ -4599,7 +4747,7 @@ var OTHER_MODELS = [
4599
4747
  pricingKind: "flat",
4600
4748
  display: {
4601
4749
  provider: "elevenlabs",
4602
- logo: ELEVENLABS_LOGO3,
4750
+ logo: ELEVENLABS_LOGO4,
4603
4751
  description: "ElevenLabs Sound Effects v2; a sound effect from a text description, up to 22 seconds."
4604
4752
  },
4605
4753
  capabilities: {}
@@ -4735,7 +4883,8 @@ var OTHER_MODELS = [
4735
4883
  provider: "prodia",
4736
4884
  description: "Background removal; takes one input image and returns a PNG cut-out of the subject plus an optional black-and-white mask."
4737
4885
  }
4738
- }
4886
+ },
4887
+ ...ELEVENLABS_DIRECT_AUDIO_MODELS
4739
4888
  ];
4740
4889
 
4741
4890
  // src/catalog/text.ts
@@ -6007,7 +6156,7 @@ var H3_PROMPT2 = { referenceSyntax: "numbered", maxChars: 5e4 };
6007
6156
  var WAN_PROMPT = { referenceSyntax: "numbered", maxChars: 2e4 };
6008
6157
  var OMNI_PROMPT = { referenceSyntax: "caption", maxChars: 5e4 };
6009
6158
  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";
6159
+ var GOOGLE_LOGO4 = "https://d31vvfpk2ppdyq.cloudfront.net/assets/image/192485d2-a76a-4657-9c06-930b2c70badd_compressed.png";
6011
6160
  var VIDEO_MODELS = [
6012
6161
  // Google shuts down the Veo 3.1 previews and Omni Flash 1.0 on 2026-10-22.
6013
6162
  {
@@ -6043,7 +6192,7 @@ var VIDEO_MODELS = [
6043
6192
  display: {
6044
6193
  provider: "google",
6045
6194
  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
6195
+ logo: GOOGLE_LOGO4
6047
6196
  },
6048
6197
  // Veo's lastFrame "must be used in combination with the image parameter".
6049
6198
  capabilities: { ...FRAMES_EXCLUDE_REFERENCES, lastFrameRequiresFirstFrame: true }
@@ -6144,7 +6293,7 @@ var VIDEO_MODELS = [
6144
6293
  display: {
6145
6294
  provider: "google",
6146
6295
  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
6296
+ logo: GOOGLE_LOGO4
6148
6297
  },
6149
6298
  capabilities: { acceptsSourceVideo: true, videoEdit: true }
6150
6299
  },
@@ -6181,7 +6330,7 @@ var VIDEO_MODELS = [
6181
6330
  pricingKind: "video_per_second",
6182
6331
  display: {
6183
6332
  provider: "google",
6184
- logo: GOOGLE_LOGO3,
6333
+ logo: GOOGLE_LOGO4,
6185
6334
  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
6335
  },
6187
6336
  capabilities: {
@@ -6220,7 +6369,7 @@ var VIDEO_MODELS = [
6220
6369
  pricingKind: "video_per_second",
6221
6370
  display: {
6222
6371
  provider: "google",
6223
- logo: GOOGLE_LOGO3,
6372
+ logo: GOOGLE_LOGO4,
6224
6373
  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
6374
  },
6226
6375
  capabilities: {
@@ -8242,6 +8391,7 @@ var SupportedOptionSchema = z3.enum([
8242
8391
  "videoExtension",
8243
8392
  "instrumental",
8244
8393
  "lyrics",
8394
+ "loop",
8245
8395
  "style",
8246
8396
  "insertWindow",
8247
8397
  "points",
@@ -10553,7 +10703,13 @@ function resolveAudioOptions(model, request, onUnsupported = "error") {
10553
10703
  model: model.id
10554
10704
  });
10555
10705
  }
10556
- dropUnsupported(merged, model, warnings, ["seed", "negativePrompt", "instrumental", "lyrics"]);
10706
+ dropUnsupported(merged, model, warnings, [
10707
+ "seed",
10708
+ "negativePrompt",
10709
+ "instrumental",
10710
+ "lyrics",
10711
+ "loop"
10712
+ ]);
10557
10713
  applyFalAudioRules(model, merged);
10558
10714
  const format = resolveOutputFormat(model, request.outputFormat, onUnsupported, warnings);
10559
10715
  if (format !== void 0) merged.outputFormat = format;
@@ -11173,6 +11329,7 @@ export {
11173
11329
  CatalogModelSchemaBase,
11174
11330
  CatalogSchema,
11175
11331
  ExposureSchema,
11332
+ GEMINI_VOICE_CONSENT,
11176
11333
  IMAGE_MODELS,
11177
11334
  INPUT_BILLINGS,
11178
11335
  MEDIA_METHODS,