From 0c810238b6d7184d02806324d1e21085c89e914e Mon Sep 17 00:00:00 2001 From: heygen-rui-bot Date: Wed, 11 Nov 2026 06:27:16 +0200 Subject: [PATCH] chore(codegen): resync cloud client from EF d066c86c --- packages/cli/src/cloud/_gen/types.ts | 30 ++++++++++++++++++---------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/packages/cli/src/cloud/_gen/types.ts b/packages/cli/src/cloud/_gen/types.ts index 16644118c63..e8ca3f74141 100644 --- a/packages/cli/src/cloud/_gen/types.ts +++ b/packages/cli/src/cloud/_gen/types.ts @@ -79,6 +79,11 @@ export interface CaptionSetting { export type CaptionStyle = "default"; +export interface CartesiaEngineSettings { + engine_type: "cartesia"; + model?: "sonic-3.6" | "sonic-3.5" | null; +} + export type ChargedPool = "api_credits" | "hyperframes_credits" | "web_credits" | "free_images"; export type CinematicAvatarModel = "seedance_2" | "heygen_video_1"; @@ -323,7 +328,7 @@ export type DeliveryErrorCode = export type DeliveryStatus = "pending" | "in_progress" | "succeeded" | "failed"; export interface ElevenLabsEngineSettings { - model?: ElevenLabsModel | null; + model?: "eleven_multilingual_v2" | "eleven_turbo_v2_5" | "eleven_v3" | "eleven_v4" | null; similarity_boost?: number | null; stability?: number | null; style?: number | null; @@ -331,13 +336,6 @@ export interface ElevenLabsEngineSettings { engine_type: "elevenlabs"; } -export type ElevenLabsModel = - | "eleven_multilingual_v2" - | "eleven_turbo_v2_5" - | "eleven_flash_v2_5" - | "eleven_v3" - | "eleven_v4"; - export interface ElevenLabsSpeechSettings { model_id: | "eleven_multilingual_v2" @@ -360,14 +358,12 @@ export interface FileDeliveryStatus { } export interface FishEngineSettings { - model?: FishModel | null; + model?: "s2.1-pro" | "s2-pro" | null; stability?: number | null; similarity?: number | null; engine_type: "fish"; } -export type FishModel = "s1" | "s2-pro" | "s2.1-pro"; - export interface GptImage25Request { model: "gpt-image-2.5"; prompt: string; @@ -393,6 +389,11 @@ export interface GptImage26Request { } export interface HeyGenVoiceEngineSettings { + model?: "heygen-voice-1" | null; + similarity?: "medium" | "high" | "extra_high" | "max" | null; + expressiveness?: number | null; + pitch?: number | null; + inflection?: number | null; engine_type: "heygen_voice" | "orca"; } @@ -422,6 +423,7 @@ export interface HyperframesRenderDetail { completed_at?: number | null; failure_message?: string | null; failure_code?: string | null; + failure_detail?: string | null; } export type HyperframesRenderStatus = "queued" | "rendering" | "completed" | "failed"; @@ -503,6 +505,10 @@ export interface MintPartUrlsResponse { expires_in_seconds: number; } +export interface MockingbirdEngineSettings { + engine_type: "mockingbird"; +} + export interface ModelVideoResponse { video_id: string; status: "pending" | "processing" | "completed" | "failed" | "cancelled"; @@ -833,6 +839,8 @@ export interface VoiceSettingsInput { | FishEngineSettings | StarfishEngineSettings | HeyGenVoiceEngineSettings + | CartesiaEngineSettings + | MockingbirdEngineSettings | null; }