seacloud-sdk 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -11882,4 +11882,712 @@ declare function llmChatCompletions(params: LlmChatCompletionsParams & {
11882
11882
  stream: true;
11883
11883
  }): Promise<AsyncIterable<ChatCompletionChunk>>;
11884
11884
 
11885
- export { type AlibabaAnimateAnyoneDetectParams, type AlibabaAnimateAnyoneDetectResource, type AlibabaAnimateAnyoneTemplateParams, type AlibabaAnimateAnyoneTemplateResource, type AlibabaAnimateAnyoneVideoParams, type AlibabaAnimateAnyoneVideoResource, type AlibabaQianwenImageParams, type AlibabaQianwenImageResource, type AlibabaWan22T2iFlashParams, type AlibabaWan22T2iFlashResource, type AlibabaWan22T2iPlusParams, type AlibabaWan22T2iPlusResource, type AlibabaWan25I2iPreviewParams, type AlibabaWan25I2iPreviewResource, type AlibabaWan25T2iPreviewParams, type AlibabaWan25T2iPreviewResource, type AlibabaWanx20T2iTurboParams, type AlibabaWanx20T2iTurboResource, type AlibabaWanx21I2vPlusParams, type AlibabaWanx21I2vPlusResource, type AlibabaWanx21I2vTurboParams, type AlibabaWanx21I2vTurboResource, type AlibabaWanx21T2iPlusParams, type AlibabaWanx21T2iPlusResource, type AlibabaWanx21T2iTurboParams, type AlibabaWanx21T2iTurboResource, type AlibabaWanx21T2vPlusParams, type AlibabaWanx21T2vPlusResource, type AlibabaWanx21T2vTurboParams, type AlibabaWanx21T2vTurboResource, type AlibabaWanx22I2vFlashParams, type AlibabaWanx22I2vFlashResource, type AlibabaWanx22I2vPlusParams, type AlibabaWanx22I2vPlusResource, type AlibabaWanx22T2vPlusParams, type AlibabaWanx22T2vPlusResource, type AlibabaWanx25I2vPreviewParams, type AlibabaWanx25I2vPreviewResource, type AlibabaWanx25T2vPreviewParams, type AlibabaWanx25T2vPreviewResource, type AlibabaWanx26I2vParams, type AlibabaWanx26I2vResource, type AlibabaWanx26ReferenceParams, type AlibabaWanx26ReferenceResource, type AlibabaWanx26T2vParams, type AlibabaWanx26T2vResource, type BlackforestlabsFlux11ProParams, type BlackforestlabsFlux11ProResource, type BlackforestlabsFlux1ProParams, type BlackforestlabsFlux1ProResource, type BlackforestlabsFlux2FlexEditParams, type BlackforestlabsFlux2FlexEditResource, type BlackforestlabsFlux2FlexParams, type BlackforestlabsFlux2FlexResource, type BlackforestlabsFlux2ProEditParams, type BlackforestlabsFlux2ProEditResource, type BlackforestlabsFlux2ProParams, type BlackforestlabsFlux2ProResource, type BlackforestlabsFluxKontextMaxParams, type BlackforestlabsFluxKontextMaxResource, type BlackforestlabsFluxKontextProParams, type BlackforestlabsFluxKontextProResource, type ChatCompletionChoice, type ChatCompletionChunk, type ChatCompletionChunkChoice, type ChatCompletionChunkDelta, type ChatCompletionResponse, type ChatCompletionUsage, type ChatMessage, type ChatMessageRole, type ElevenlabsTtsGeneratorParams, type ElevenlabsTtsGeneratorResource, type GoogleGemini3ProImageParams, type GoogleGemini3ProImageResource, type GoogleGeminiImageParams, type GoogleGeminiImageResource, type GoogleImagen4FastGenerateParams, type GoogleImagen4FastGenerateResource, type GoogleImagen4GenerateParams, type GoogleImagen4GenerateResource, type GoogleImagen4UltraGenerateParams, type GoogleImagen4UltraGenerateResource, type GoogleVeo20Generate001Params, type GoogleVeo20Generate001Resource, type GoogleVeo20GenerateExpParams, type GoogleVeo20GenerateExpResource, type GoogleVeo20GeneratePreviewParams, type GoogleVeo20GeneratePreviewResource, type GoogleVeo30FastGenerate001Params, type GoogleVeo30FastGenerate001Resource, type GoogleVeo30Generate001Params, type GoogleVeo30Generate001Resource, type GoogleVeo31Params, type GoogleVeo31Resource, type KlingAvatarParams, type KlingAvatarResource, type KlingDurationExtensionParams, type KlingDurationExtensionResource, type KlingEffectsMultiV15Params, type KlingEffectsMultiV15Resource, type KlingEffectsMultiV16Params, type KlingEffectsMultiV16Resource, type KlingEffectsMultiV1Params, type KlingEffectsMultiV1Resource, type KlingEffectsSingleParams, type KlingEffectsSingleResource, type KlingLipsyncParams, type KlingLipsyncResource, type KlingOmniImageParams, type KlingOmniImageResource, type KlingOmniVideoParams, type KlingOmniVideoResource, type KlingV15I2vParams, type KlingV15I2vResource, type KlingV15Params, type KlingV15Resource, type KlingV16I2vParams, type KlingV16I2vResource, type KlingV16Params, type KlingV16Resource, type KlingV1I2vParams, type KlingV1I2vResource, type KlingV1Params, type KlingV1Resource, type KlingV21I2vParams, type KlingV21I2vResource, type KlingV21MasterI2vParams, type KlingV21MasterI2vResource, type KlingV21MasterParams, type KlingV21MasterResource, type KlingV25TurboI2vParams, type KlingV25TurboI2vResource, type KlingV25TurboParams, type KlingV25TurboResource, type KlingV26I2vParams, type KlingV26I2vResource, type KlingV26Params, type KlingV26Resource, type KlingV2MasterI2vParams, type KlingV2MasterI2vResource, type KlingV2MasterParams, type KlingV2MasterResource, type LlmChatCompletionsParams, type MicrosoftGptImage15Params, type MicrosoftGptImage15Resource, type MicrosoftGptImage1Params, type MicrosoftGptImage1Resource, type MicrosoftSora2Params, type MicrosoftSora2Resource, type MinimaxHailuo02I2vParams, type MinimaxHailuo02I2vResource, type MinimaxHailuo02Params, type MinimaxHailuo02Resource, type MinimaxHailuo23FastI2vParams, type MinimaxHailuo23FastI2vResource, type MinimaxHailuo23I2vParams, type MinimaxHailuo23I2vResource, type MinimaxI2v01DirectorParams, type MinimaxI2v01DirectorResource, type MinimaxI2v01LiveParams, type MinimaxI2v01LiveResource, type MinimaxI2v01Params, type MinimaxI2v01Resource, type MinimaxT2aParams, type MinimaxT2aResource, type MinimaxT2v01DirectorParams, type MinimaxT2v01DirectorResource, type MinimaxT2v01Params, type MinimaxT2v01Resource, type PixverseV35I2vParams, type PixverseV35I2vResource, type PixverseV35T2vParams, type PixverseV35T2vResource, type PixverseV35TransitionParams, type PixverseV35TransitionResource, type PixverseV45I2vParams, type PixverseV45I2vResource, type PixverseV45T2vParams, type PixverseV45T2vResource, type PixverseV45TransitionParams, type PixverseV45TransitionResource, type PixverseV4I2vParams, type PixverseV4I2vResource, type PixverseV4T2vParams, type PixverseV4T2vResource, type PixverseV4TransitionParams, type PixverseV4TransitionResource, type PixverseV55I2vParams, type PixverseV55I2vResource, type PixverseV55T2vParams, type PixverseV55T2vResource, type PixverseV55TransitionParams, type PixverseV55TransitionResource, type PixverseV5I2vParams, type PixverseV5I2vResource, type PixverseV5T2vParams, type PixverseV5T2vResource, type PixverseV5TransitionParams, type PixverseV5TransitionResource, type PollingOptions, type RunwayGen3aTurboI2vParams, type RunwayGen3aTurboI2vResource, SeacloudClient, type SeacloudConfig, SeacloudError, type TaskError, type TaskResult, type TaskStatus, type TencentHunyuan3dParams, type TencentHunyuan3dProParams, type TencentHunyuan3dProResource, type TencentHunyuan3dRapidParams, type TencentHunyuan3dRapidResource, type TencentHunyuan3dResource, type TencentImageCreation3Params, type TencentImageCreation3Resource, type TencentMpsSuperResolutionParams, type TencentMpsSuperResolutionResource, type Vidu15I2vParams, type Vidu15I2vResource, type Vidu15Params, type Vidu15Resource, type Vidu20I2vParams, type Vidu20I2vResource, type ViduQ1I2vParams, type ViduQ1I2vResource, type ViduQ1Params, type ViduQ1Resource, type ViduQ2Params, type ViduQ2Resource, type ViduTemplateParams, type ViduTemplateResource, type ViduTemplateV2Params, type ViduTemplateV2Resource, type VolcesJimeng30Params, type VolcesJimeng30Resource, type VolcesJimeng31Params, type VolcesJimeng31Resource, type VolcesJimengDreamActorM1Params, type VolcesJimengDreamActorM1Resource, type VolcesJimengI2i30Params, type VolcesJimengI2i30Resource, type VolcesRealmanAvatarImitatorV2vParams, type VolcesRealmanAvatarImitatorV2vResource, type VolcesRealmanAvatarPictureOmniV15Params, type VolcesRealmanAvatarPictureOmniV15Resource, type VolcesRealmanAvatarPictureOmniV2Params, type VolcesRealmanAvatarPictureOmniV2Resource, type VolcesSeed3dParams, type VolcesSeed3dResource, type VolcesSeedance30I2vParams, type VolcesSeedance30I2vResource, type VolcesSeedance30Params, type VolcesSeedance30ProParams, type VolcesSeedance30ProResource, type VolcesSeedance30Resource, type VolcesSeedanceProFastParams, type VolcesSeedanceProFastResource, type VolcesSeededit20Params, type VolcesSeededit20Resource, type VolcesSeededit30I2iParams, type VolcesSeededit30I2iResource, type VolcesSeededit30Params, type VolcesSeededit30Resource, type VolcesSeededit3dStyleParams, type VolcesSeededit3dStyleResource, type VolcesSeededitMultiIpParams, type VolcesSeededitMultiIpResource, type VolcesSeededitMultiStyleParams, type VolcesSeededitMultiStyleResource, type VolcesSeededitPortraitParams, type VolcesSeededitPortraitResource, type VolcesSeededitSingleIpParams, type VolcesSeededitSingleIpResource, type VolcesSeedream30Params, type VolcesSeedream30Resource, type VolcesSeedream40Params, type VolcesSeedream40Resource, type VolcesSeedream45I2iParams, type VolcesSeedream45I2iResource, type VolcesSeedream45MultiBlendParams, type VolcesSeedream45MultiBlendResource, type VolcesSeedream45Params, type VolcesSeedream45Resource, type VolcesSubjectDetectionParams, type VolcesSubjectDetectionResource, type VolcesSubjectRecognitionParams, type VolcesSubjectRecognitionResource, alibabaAnimateAnyoneDetect, alibabaAnimateAnyoneTemplate, alibabaAnimateAnyoneVideo, alibabaQianwenImage, alibabaWan22T2iFlash, alibabaWan22T2iPlus, alibabaWan25I2iPreview, alibabaWan25T2iPreview, alibabaWanx20T2iTurbo, alibabaWanx21I2vPlus, alibabaWanx21I2vTurbo, alibabaWanx21T2iPlus, alibabaWanx21T2iTurbo, alibabaWanx21T2vPlus, alibabaWanx21T2vTurbo, alibabaWanx22I2vFlash, alibabaWanx22I2vPlus, alibabaWanx22T2vPlus, alibabaWanx25I2vPreview, alibabaWanx25T2vPreview, alibabaWanx26I2v, alibabaWanx26Reference, alibabaWanx26T2v, blackforestlabsFlux11Pro, blackforestlabsFlux1Pro, blackforestlabsFlux2Flex, blackforestlabsFlux2FlexEdit, blackforestlabsFlux2Pro, blackforestlabsFlux2ProEdit, blackforestlabsFluxKontextMax, blackforestlabsFluxKontextPro, createAndWaitTask, createConfig, elevenlabsTtsGenerator, getClient, getDefaultPollingOptions, googleGemini3ProImage, googleGeminiImage, googleImagen4FastGenerate, googleImagen4Generate, googleImagen4UltraGenerate, googleVeo20Generate001, googleVeo20GenerateExp, googleVeo20GeneratePreview, googleVeo30FastGenerate001, googleVeo30Generate001, googleVeo31, initSeacloud, klingAvatar, klingDurationExtension, klingEffectsMultiV1, klingEffectsMultiV15, klingEffectsMultiV16, klingEffectsSingle, klingLipsync, klingOmniImage, klingOmniVideo, klingV1, klingV15, klingV15I2v, klingV16, klingV16I2v, klingV1I2v, klingV21I2v, klingV21Master, klingV21MasterI2v, klingV25Turbo, klingV25TurboI2v, klingV26, klingV26I2v, klingV2Master, klingV2MasterI2v, llmChatCompletions, microsoftGptImage1, microsoftGptImage15, microsoftSora2, minimaxHailuo02, minimaxHailuo02I2v, minimaxHailuo23FastI2v, minimaxHailuo23I2v, minimaxI2v01, minimaxI2v01Director, minimaxI2v01Live, minimaxT2a, minimaxT2v01, minimaxT2v01Director, pixverseV35I2v, pixverseV35T2v, pixverseV35Transition, pixverseV45I2v, pixverseV45T2v, pixverseV45Transition, pixverseV4I2v, pixverseV4T2v, pixverseV4Transition, pixverseV55I2v, pixverseV55T2v, pixverseV55Transition, pixverseV5I2v, pixverseV5T2v, pixverseV5Transition, pollTaskUntilComplete, resetConfig, runwayGen3aTurboI2v, setDefaultPollingOptions, tencentHunyuan3d, tencentHunyuan3dPro, tencentHunyuan3dRapid, tencentImageCreation3, tencentMpsSuperResolution, validateConfig, vidu15, vidu15I2v, vidu20I2v, viduQ1, viduQ1I2v, viduQ2, viduTemplate, viduTemplateV2, volcesJimeng30, volcesJimeng31, volcesJimengDreamActorM1, volcesJimengI2i30, volcesRealmanAvatarImitatorV2v, volcesRealmanAvatarPictureOmniV15, volcesRealmanAvatarPictureOmniV2, volcesSeed3d, volcesSeedance30, volcesSeedance30I2v, volcesSeedance30Pro, volcesSeedanceProFast, volcesSeededit20, volcesSeededit30, volcesSeededit30I2i, volcesSeededit3dStyle, volcesSeededitMultiIp, volcesSeededitMultiStyle, volcesSeededitPortrait, volcesSeededitSingleIp, volcesSeedream30, volcesSeedream40, volcesSeedream45, volcesSeedream45I2i, volcesSeedream45MultiBlend, volcesSubjectDetection, volcesSubjectRecognition };
11885
+ /**
11886
+ * Message content type
11887
+ */
11888
+ type AgentMessageContentType = 'text' | 'image' | 'video' | 'audio' | 'file';
11889
+ /**
11890
+ * Message content item
11891
+ */
11892
+ interface AgentMessageContent {
11893
+ /**
11894
+ * Content type
11895
+ */
11896
+ type: AgentMessageContentType;
11897
+ /**
11898
+ * Text content (for type: 'text')
11899
+ */
11900
+ text?: string;
11901
+ /**
11902
+ * URL (for type: 'image' | 'video' | 'audio' | 'file')
11903
+ */
11904
+ url?: string;
11905
+ }
11906
+ /**
11907
+ * Message role type
11908
+ */
11909
+ type AgentMessageRole = 'developer' | 'user' | 'assistant' | 'tool';
11910
+ /**
11911
+ * Chat message
11912
+ */
11913
+ interface AgentMessage {
11914
+ /**
11915
+ * Message role
11916
+ * - developer: System instructions/prompts (equivalent to "system" role)
11917
+ * - user: User input messages
11918
+ * - assistant: AI assistant responses (for multi-turn conversations)
11919
+ * - tool: Tool execution results
11920
+ */
11921
+ role: AgentMessageRole;
11922
+ /**
11923
+ * Message content array
11924
+ */
11925
+ content: AgentMessageContent[];
11926
+ /**
11927
+ * Tool call ID (for role: 'tool')
11928
+ */
11929
+ tool_call_id?: string;
11930
+ /**
11931
+ * Tool name (for role: 'tool')
11932
+ */
11933
+ name?: string;
11934
+ }
11935
+ /**
11936
+ * Tool function definition
11937
+ */
11938
+ interface AgentToolFunction {
11939
+ /**
11940
+ * Tool name
11941
+ * Available tools:
11942
+ *
11943
+ * Image Generation:
11944
+ * - seagen_text2image_flux1d_artifact_tool
11945
+ * - seagen_text2image_seedream40_artifact_tool
11946
+ * - seagen_text2image_google_gemini3_pro_image_artifact_tool
11947
+ * - seagen_blackforestlabs_flux_2_pro_tool
11948
+ * - mm_volces_seedream_4_5_gateway_tool
11949
+ *
11950
+ * Image Editing:
11951
+ * - seagen_edit_image_google_artifact_tool
11952
+ * - seagen_blackforestlabs_flux_2_pro_edit_tool
11953
+ *
11954
+ * Video Generation:
11955
+ * - seagen_image2video_wanx26_artifact_tool
11956
+ * - seagen_text2video_wanx26_artifact_tool
11957
+ * - seagen_image2video_seedance_pro_fast_artifact_tool
11958
+ * - mm_text2video_kling_v2_6_gateway_tool
11959
+ * - mm_image2video_kling_v2_6_i2v_gateway_tool
11960
+ *
11961
+ * Music & Audio:
11962
+ * - seagen_text2song_mureka_artifact_tool
11963
+ * - seagen_text2lyrics_mureka_artifact_tool
11964
+ */
11965
+ name: string;
11966
+ /**
11967
+ * Tool description (optional)
11968
+ */
11969
+ description?: string;
11970
+ /**
11971
+ * Tool parameters schema (optional)
11972
+ */
11973
+ parameters?: Record<string, any>;
11974
+ }
11975
+ /**
11976
+ * Tool definition
11977
+ */
11978
+ interface AgentTool {
11979
+ /**
11980
+ * Tool type (always 'function')
11981
+ */
11982
+ type: 'function';
11983
+ /**
11984
+ * Function definition
11985
+ */
11986
+ function: AgentToolFunction;
11987
+ }
11988
+ /**
11989
+ * Agent chat completions request parameters
11990
+ */
11991
+ interface AgentChatCompletionsParams {
11992
+ /**
11993
+ * Agent ID to invoke
11994
+ * @example "seaverse_agent"
11995
+ * @example "seagen_agent"
11996
+ */
11997
+ agent_id: string;
11998
+ /**
11999
+ * Array of messages comprising the conversation
12000
+ */
12001
+ messages: AgentMessage[];
12002
+ /**
12003
+ * AI model to use for processing
12004
+ * @default "custom_openai/vertex-ai-claude-sonnet-4.5"
12005
+ * @example "gpt-4o"
12006
+ * @example "custom_openai/vertex-ai-claude-sonnet-4.5"
12007
+ */
12008
+ model?: string;
12009
+ /**
12010
+ * Sampling temperature for creativity control (0.0 to 1.0)
12011
+ * - 0.0: Focused and deterministic responses
12012
+ * - 1.0: Maximum creativity and randomness
12013
+ * @default 0.7
12014
+ */
12015
+ temperature?: number;
12016
+ /**
12017
+ * Session ID for multi-turn conversations
12018
+ * Used to maintain conversation context across multiple requests
12019
+ * Server returns this in the response; use it in subsequent calls
12020
+ */
12021
+ session_id?: string;
12022
+ /**
12023
+ * User identifier for tracking and analytics
12024
+ * Optional field for associating requests with specific users
12025
+ */
12026
+ user_id?: string;
12027
+ /**
12028
+ * Message ID for SSE reconnection
12029
+ * Used when connection drops during streaming
12030
+ * Allows resuming from where the connection was lost
12031
+ */
12032
+ msg_id?: string;
12033
+ /**
12034
+ * Sequence number for message resumption
12035
+ * Used with msg_id for resuming interrupted streams
12036
+ * @default 0
12037
+ */
12038
+ seq?: number;
12039
+ /**
12040
+ * Business-specific parameters
12041
+ * Key-value pairs passed through to backend systems
12042
+ * Common use cases:
12043
+ * - aspect_ratio: Video/image aspect ratio (e.g., "16:9", "1:1")
12044
+ * - duration: Video duration in seconds
12045
+ * - resolution: Output resolution (e.g., "1080p", "4k")
12046
+ */
12047
+ metadata?: Record<string, any>;
12048
+ /**
12049
+ * List of tools available to the agent
12050
+ * Agent automatically selects appropriate tool based on user request
12051
+ */
12052
+ tools?: AgentTool[];
12053
+ /**
12054
+ * Enable Server-Sent Events streaming
12055
+ * @default true
12056
+ */
12057
+ stream?: boolean;
12058
+ /**
12059
+ * Maximum number of tokens to generate
12060
+ */
12061
+ max_tokens?: number;
12062
+ /**
12063
+ * Number of completions to generate
12064
+ * @default 1
12065
+ */
12066
+ n?: number;
12067
+ /**
12068
+ * Sequences where the API will stop generating
12069
+ */
12070
+ stop?: string | string[];
12071
+ /**
12072
+ * Penalty for new tokens based on presence (-2.0 to 2.0)
12073
+ * @default 0
12074
+ */
12075
+ presence_penalty?: number;
12076
+ /**
12077
+ * Penalty for new tokens based on frequency (-2.0 to 2.0)
12078
+ * @default 0
12079
+ */
12080
+ frequency_penalty?: number;
12081
+ /**
12082
+ * Top-p nucleus sampling (0-1)
12083
+ */
12084
+ top_p?: number;
12085
+ }
12086
+ /**
12087
+ * Artifact (generated file)
12088
+ */
12089
+ interface AgentArtifact {
12090
+ /**
12091
+ * File name
12092
+ * @example "image.webp"
12093
+ */
12094
+ name: string;
12095
+ /**
12096
+ * CDN URL to access the file
12097
+ */
12098
+ url: string;
12099
+ /**
12100
+ * Content type
12101
+ * @example "image" | "video" | "audio"
12102
+ */
12103
+ type: string;
12104
+ /**
12105
+ * MIME type
12106
+ * @example "image/webp" | "video/mp4" | "audio/mp3"
12107
+ */
12108
+ mime_type?: string;
12109
+ /**
12110
+ * File size in bytes
12111
+ */
12112
+ size?: number;
12113
+ /**
12114
+ * Duration in seconds (for video/audio)
12115
+ */
12116
+ duration?: number;
12117
+ /**
12118
+ * Width in pixels (for image/video)
12119
+ */
12120
+ width?: number;
12121
+ /**
12122
+ * Height in pixels (for image/video)
12123
+ */
12124
+ height?: number;
12125
+ /**
12126
+ * Additional metadata
12127
+ */
12128
+ [key: string]: any;
12129
+ }
12130
+ /**
12131
+ * Tool call information
12132
+ */
12133
+ interface AgentToolCall {
12134
+ /**
12135
+ * Tool call ID
12136
+ */
12137
+ id: string;
12138
+ /**
12139
+ * Tool type
12140
+ */
12141
+ type: 'function';
12142
+ /**
12143
+ * Function call details
12144
+ */
12145
+ function: {
12146
+ /**
12147
+ * Function name
12148
+ */
12149
+ name: string;
12150
+ /**
12151
+ * Function arguments (JSON string)
12152
+ */
12153
+ arguments: string;
12154
+ };
12155
+ /**
12156
+ * Tool call index
12157
+ */
12158
+ index?: number;
12159
+ }
12160
+ /**
12161
+ * Delta content for streaming chunks
12162
+ */
12163
+ interface AgentChatCompletionDelta {
12164
+ /**
12165
+ * Message role (only in first chunk)
12166
+ */
12167
+ role?: AgentMessageRole;
12168
+ /**
12169
+ * Content delta (string or array)
12170
+ */
12171
+ content?: string | AgentMessageContent[];
12172
+ /**
12173
+ * Artifacts (generated files)
12174
+ */
12175
+ artifacts?: AgentArtifact[];
12176
+ /**
12177
+ * Tool calls
12178
+ */
12179
+ tool_calls?: AgentToolCall[];
12180
+ /**
12181
+ * Refusal message
12182
+ */
12183
+ refusal?: string | null;
12184
+ /**
12185
+ * Function call (deprecated, use tool_calls)
12186
+ */
12187
+ function_call?: any;
12188
+ /**
12189
+ * Audio content
12190
+ */
12191
+ audio?: any;
12192
+ /**
12193
+ * Additional provider-specific fields
12194
+ */
12195
+ provider_specific_fields?: any;
12196
+ }
12197
+ /**
12198
+ * Content filter result
12199
+ */
12200
+ interface AgentContentFilterResult {
12201
+ /**
12202
+ * Error information
12203
+ */
12204
+ error?: {
12205
+ /**
12206
+ * Error code
12207
+ */
12208
+ code: string;
12209
+ /**
12210
+ * Error message
12211
+ */
12212
+ message: string;
12213
+ };
12214
+ /**
12215
+ * Additional filter results
12216
+ */
12217
+ [key: string]: any;
12218
+ }
12219
+ /**
12220
+ * Chat completion choice (streaming)
12221
+ */
12222
+ interface AgentChatCompletionChunkChoice {
12223
+ /**
12224
+ * Choice index
12225
+ */
12226
+ index: number;
12227
+ /**
12228
+ * Delta message for this chunk
12229
+ */
12230
+ delta: AgentChatCompletionDelta;
12231
+ /**
12232
+ * Finish reason (only in last chunk)
12233
+ * - "stop": Natural completion
12234
+ * - "length": Maximum token limit reached
12235
+ * - "tool_calls": Tool execution triggered
12236
+ * - "content_filter": Content filtered
12237
+ */
12238
+ finish_reason: string | null;
12239
+ /**
12240
+ * Log probabilities
12241
+ */
12242
+ logprobs?: any;
12243
+ /**
12244
+ * Content filter results
12245
+ */
12246
+ content_filter_results?: AgentContentFilterResult;
12247
+ /**
12248
+ * Content filter result (singular)
12249
+ */
12250
+ content_filter_result?: AgentContentFilterResult;
12251
+ }
12252
+ /**
12253
+ * Usage statistics
12254
+ */
12255
+ interface AgentUsage {
12256
+ /**
12257
+ * Prompt tokens
12258
+ */
12259
+ prompt_tokens: number;
12260
+ /**
12261
+ * Completion tokens
12262
+ */
12263
+ completion_tokens: number;
12264
+ /**
12265
+ * Total tokens
12266
+ */
12267
+ total_tokens: number;
12268
+ /**
12269
+ * Completion tokens details
12270
+ */
12271
+ completion_tokens_details?: {
12272
+ /**
12273
+ * Accepted prediction tokens
12274
+ */
12275
+ accepted_prediction_tokens?: number;
12276
+ /**
12277
+ * Audio tokens
12278
+ */
12279
+ audio_tokens?: number;
12280
+ /**
12281
+ * Reasoning tokens
12282
+ */
12283
+ reasoning_tokens?: number;
12284
+ /**
12285
+ * Rejected prediction tokens
12286
+ */
12287
+ rejected_prediction_tokens?: number;
12288
+ };
12289
+ /**
12290
+ * Prompt tokens details
12291
+ */
12292
+ prompt_tokens_details?: {
12293
+ /**
12294
+ * Audio tokens
12295
+ */
12296
+ audio_tokens?: number;
12297
+ /**
12298
+ * Cached tokens
12299
+ */
12300
+ cached_tokens?: number;
12301
+ /**
12302
+ * Text tokens
12303
+ */
12304
+ text_tokens?: number | null;
12305
+ /**
12306
+ * Image tokens
12307
+ */
12308
+ image_tokens?: number | null;
12309
+ };
12310
+ /**
12311
+ * Cost in USD
12312
+ */
12313
+ cost?: number;
12314
+ }
12315
+ /**
12316
+ * Chat completion streaming chunk
12317
+ */
12318
+ interface AgentChatCompletionChunk {
12319
+ /**
12320
+ * Unique identifier for the completion
12321
+ */
12322
+ id: string;
12323
+ /**
12324
+ * Object type (always "chat.completion.chunk")
12325
+ */
12326
+ object: string;
12327
+ /**
12328
+ * Unix timestamp
12329
+ */
12330
+ created: number;
12331
+ /**
12332
+ * Model used
12333
+ */
12334
+ model: string;
12335
+ /**
12336
+ * System fingerprint
12337
+ */
12338
+ system_fingerprint?: string;
12339
+ /**
12340
+ * List of choices
12341
+ */
12342
+ choices: AgentChatCompletionChunkChoice[];
12343
+ /**
12344
+ * Usage statistics (usually in last chunk)
12345
+ */
12346
+ usage?: AgentUsage;
12347
+ /**
12348
+ * Session ID for conversation continuation
12349
+ */
12350
+ session_id?: string;
12351
+ /**
12352
+ * Message ID
12353
+ */
12354
+ msg_id?: string;
12355
+ /**
12356
+ * Provider-specific fields
12357
+ */
12358
+ provider_specific_fields?: any;
12359
+ /**
12360
+ * Citations
12361
+ */
12362
+ citations?: any;
12363
+ /**
12364
+ * Service tier
12365
+ */
12366
+ service_tier?: string | null;
12367
+ /**
12368
+ * Obfuscation
12369
+ */
12370
+ obfuscation?: string;
12371
+ }
12372
+ /**
12373
+ * Message in non-streaming response
12374
+ */
12375
+ interface AgentResponseMessage {
12376
+ /**
12377
+ * Message role
12378
+ */
12379
+ role: AgentMessageRole;
12380
+ /**
12381
+ * Message content
12382
+ */
12383
+ content: string;
12384
+ /**
12385
+ * Tool calls
12386
+ */
12387
+ tool_calls?: AgentToolCall[];
12388
+ /**
12389
+ * Refusal message
12390
+ */
12391
+ refusal?: string | null;
12392
+ /**
12393
+ * Function call (deprecated)
12394
+ */
12395
+ function_call?: any;
12396
+ /**
12397
+ * Audio content
12398
+ */
12399
+ audio?: any;
12400
+ }
12401
+ /**
12402
+ * Chat completion choice (non-streaming)
12403
+ */
12404
+ interface AgentChatCompletionChoice {
12405
+ /**
12406
+ * Choice index
12407
+ */
12408
+ index: number;
12409
+ /**
12410
+ * Message
12411
+ */
12412
+ message: AgentResponseMessage;
12413
+ /**
12414
+ * Finish reason
12415
+ */
12416
+ finish_reason: string | null;
12417
+ /**
12418
+ * Log probabilities
12419
+ */
12420
+ logprobs?: any;
12421
+ /**
12422
+ * Content filter results
12423
+ */
12424
+ content_filter_results?: AgentContentFilterResult;
12425
+ }
12426
+ /**
12427
+ * Chat completion response (non-streaming)
12428
+ */
12429
+ interface AgentChatCompletionResponse {
12430
+ /**
12431
+ * Unique identifier
12432
+ */
12433
+ id: string;
12434
+ /**
12435
+ * Object type (always "chat.completion")
12436
+ */
12437
+ object: string;
12438
+ /**
12439
+ * Unix timestamp
12440
+ */
12441
+ created: number;
12442
+ /**
12443
+ * Model used
12444
+ */
12445
+ model: string;
12446
+ /**
12447
+ * System fingerprint
12448
+ */
12449
+ system_fingerprint?: string;
12450
+ /**
12451
+ * List of choices
12452
+ */
12453
+ choices: AgentChatCompletionChoice[];
12454
+ /**
12455
+ * Usage statistics
12456
+ */
12457
+ usage?: AgentUsage;
12458
+ /**
12459
+ * Session ID
12460
+ */
12461
+ session_id?: string;
12462
+ /**
12463
+ * Message ID
12464
+ */
12465
+ msg_id?: string;
12466
+ /**
12467
+ * Provider-specific fields
12468
+ */
12469
+ provider_specific_fields?: any;
12470
+ /**
12471
+ * Service tier
12472
+ */
12473
+ service_tier?: string | null;
12474
+ /**
12475
+ * Generated artifacts
12476
+ */
12477
+ artifacts?: AgentArtifact[];
12478
+ }
12479
+ /**
12480
+ * Call SeaCloud Fast Agent API (non-streaming)
12481
+ *
12482
+ * @example
12483
+ * ```typescript
12484
+ * import { initSeacloud, agentChatCompletions } from 'seacloud-sdk';
12485
+ *
12486
+ * initSeacloud({
12487
+ * apiKey: 'your-api-key',
12488
+ * baseUrl: 'http://proxy.sg.seaverse.dev',
12489
+ * });
12490
+ *
12491
+ * // Simple chat
12492
+ * const response = await agentChatCompletions({
12493
+ * agent_id: 'seaverse_agent',
12494
+ * messages: [
12495
+ * {
12496
+ * role: 'user',
12497
+ * content: [{ type: 'text', text: 'Hello!' }]
12498
+ * }
12499
+ * ],
12500
+ * model: 'gpt-4o',
12501
+ * });
12502
+ *
12503
+ * console.log(response.choices[0].message.content);
12504
+ * ```
12505
+ *
12506
+ * @example
12507
+ * ```typescript
12508
+ * // Generate an image
12509
+ * const response = await agentChatCompletions({
12510
+ * agent_id: 'seaverse_agent',
12511
+ * messages: [
12512
+ * {
12513
+ * role: 'user',
12514
+ * content: [{ type: 'text', text: 'Generate a cute puppy photo' }]
12515
+ * }
12516
+ * ],
12517
+ * model: 'gpt-4o',
12518
+ * tools: [
12519
+ * {
12520
+ * type: 'function',
12521
+ * function: { name: 'seagen_text2image_flux1d_artifact_tool' }
12522
+ * }
12523
+ * ]
12524
+ * });
12525
+ *
12526
+ * // Access generated image
12527
+ * const imageUrl = response.artifacts?.[0]?.url;
12528
+ * ```
12529
+ *
12530
+ * @param params Request parameters
12531
+ * @returns Chat completion response
12532
+ */
12533
+ declare function agentChatCompletions(params: AgentChatCompletionsParams & {
12534
+ stream?: false;
12535
+ }): Promise<AgentChatCompletionResponse>;
12536
+ /**
12537
+ * Call SeaCloud Fast Agent API (streaming)
12538
+ *
12539
+ * @example
12540
+ * ```typescript
12541
+ * import { initSeacloud, agentChatCompletions } from 'seacloud-sdk';
12542
+ *
12543
+ * initSeacloud({
12544
+ * apiKey: 'your-api-key',
12545
+ * baseUrl: 'http://proxy.sg.seaverse.dev',
12546
+ * });
12547
+ *
12548
+ * const stream = await agentChatCompletions({
12549
+ * agent_id: 'seaverse_agent',
12550
+ * messages: [
12551
+ * {
12552
+ * role: 'user',
12553
+ * content: [{ type: 'text', text: 'Tell me a story' }]
12554
+ * }
12555
+ * ],
12556
+ * model: 'gpt-4o',
12557
+ * stream: true,
12558
+ * });
12559
+ *
12560
+ * for await (const chunk of stream) {
12561
+ * const content = chunk.choices[0]?.delta?.content;
12562
+ * if (typeof content === 'string') {
12563
+ * process.stdout.write(content);
12564
+ * }
12565
+ *
12566
+ * // Handle artifacts
12567
+ * const artifacts = chunk.choices[0]?.delta?.artifacts;
12568
+ * if (artifacts) {
12569
+ * console.log('Generated artifacts:', artifacts);
12570
+ * }
12571
+ * }
12572
+ * ```
12573
+ *
12574
+ * @param params Request parameters with stream: true
12575
+ * @returns Async iterator of chat completion chunks
12576
+ */
12577
+ declare function agentChatCompletions(params: AgentChatCompletionsParams & {
12578
+ stream: true;
12579
+ }): Promise<AsyncIterable<AgentChatCompletionChunk>>;
12580
+ /**
12581
+ * Helper function to create a text message
12582
+ */
12583
+ declare function createTextMessage(role: AgentMessageRole, text: string): AgentMessage;
12584
+ /**
12585
+ * Helper function to create a message with image
12586
+ */
12587
+ declare function createImageMessage(role: AgentMessageRole, text: string, imageUrl: string): AgentMessage;
12588
+ /**
12589
+ * Helper function to create a tool
12590
+ */
12591
+ declare function createTool(toolName: string): AgentTool;
12592
+
12593
+ export { type AgentArtifact, type AgentChatCompletionChoice, type AgentChatCompletionChunk, type AgentChatCompletionChunkChoice, type AgentChatCompletionDelta, type AgentChatCompletionResponse, type AgentChatCompletionsParams, type AgentContentFilterResult, type AgentMessage, type AgentMessageContent, type AgentMessageContentType, type AgentMessageRole, type AgentResponseMessage, type AgentTool, type AgentToolCall, type AgentToolFunction, type AgentUsage, type AlibabaAnimateAnyoneDetectParams, type AlibabaAnimateAnyoneDetectResource, type AlibabaAnimateAnyoneTemplateParams, type AlibabaAnimateAnyoneTemplateResource, type AlibabaAnimateAnyoneVideoParams, type AlibabaAnimateAnyoneVideoResource, type AlibabaQianwenImageParams, type AlibabaQianwenImageResource, type AlibabaWan22T2iFlashParams, type AlibabaWan22T2iFlashResource, type AlibabaWan22T2iPlusParams, type AlibabaWan22T2iPlusResource, type AlibabaWan25I2iPreviewParams, type AlibabaWan25I2iPreviewResource, type AlibabaWan25T2iPreviewParams, type AlibabaWan25T2iPreviewResource, type AlibabaWanx20T2iTurboParams, type AlibabaWanx20T2iTurboResource, type AlibabaWanx21I2vPlusParams, type AlibabaWanx21I2vPlusResource, type AlibabaWanx21I2vTurboParams, type AlibabaWanx21I2vTurboResource, type AlibabaWanx21T2iPlusParams, type AlibabaWanx21T2iPlusResource, type AlibabaWanx21T2iTurboParams, type AlibabaWanx21T2iTurboResource, type AlibabaWanx21T2vPlusParams, type AlibabaWanx21T2vPlusResource, type AlibabaWanx21T2vTurboParams, type AlibabaWanx21T2vTurboResource, type AlibabaWanx22I2vFlashParams, type AlibabaWanx22I2vFlashResource, type AlibabaWanx22I2vPlusParams, type AlibabaWanx22I2vPlusResource, type AlibabaWanx22T2vPlusParams, type AlibabaWanx22T2vPlusResource, type AlibabaWanx25I2vPreviewParams, type AlibabaWanx25I2vPreviewResource, type AlibabaWanx25T2vPreviewParams, type AlibabaWanx25T2vPreviewResource, type AlibabaWanx26I2vParams, type AlibabaWanx26I2vResource, type AlibabaWanx26ReferenceParams, type AlibabaWanx26ReferenceResource, type AlibabaWanx26T2vParams, type AlibabaWanx26T2vResource, type BlackforestlabsFlux11ProParams, type BlackforestlabsFlux11ProResource, type BlackforestlabsFlux1ProParams, type BlackforestlabsFlux1ProResource, type BlackforestlabsFlux2FlexEditParams, type BlackforestlabsFlux2FlexEditResource, type BlackforestlabsFlux2FlexParams, type BlackforestlabsFlux2FlexResource, type BlackforestlabsFlux2ProEditParams, type BlackforestlabsFlux2ProEditResource, type BlackforestlabsFlux2ProParams, type BlackforestlabsFlux2ProResource, type BlackforestlabsFluxKontextMaxParams, type BlackforestlabsFluxKontextMaxResource, type BlackforestlabsFluxKontextProParams, type BlackforestlabsFluxKontextProResource, type ChatCompletionChoice, type ChatCompletionChunk, type ChatCompletionChunkChoice, type ChatCompletionChunkDelta, type ChatCompletionResponse, type ChatCompletionUsage, type ChatMessage, type ChatMessageRole, type ElevenlabsTtsGeneratorParams, type ElevenlabsTtsGeneratorResource, type GoogleGemini3ProImageParams, type GoogleGemini3ProImageResource, type GoogleGeminiImageParams, type GoogleGeminiImageResource, type GoogleImagen4FastGenerateParams, type GoogleImagen4FastGenerateResource, type GoogleImagen4GenerateParams, type GoogleImagen4GenerateResource, type GoogleImagen4UltraGenerateParams, type GoogleImagen4UltraGenerateResource, type GoogleVeo20Generate001Params, type GoogleVeo20Generate001Resource, type GoogleVeo20GenerateExpParams, type GoogleVeo20GenerateExpResource, type GoogleVeo20GeneratePreviewParams, type GoogleVeo20GeneratePreviewResource, type GoogleVeo30FastGenerate001Params, type GoogleVeo30FastGenerate001Resource, type GoogleVeo30Generate001Params, type GoogleVeo30Generate001Resource, type GoogleVeo31Params, type GoogleVeo31Resource, type KlingAvatarParams, type KlingAvatarResource, type KlingDurationExtensionParams, type KlingDurationExtensionResource, type KlingEffectsMultiV15Params, type KlingEffectsMultiV15Resource, type KlingEffectsMultiV16Params, type KlingEffectsMultiV16Resource, type KlingEffectsMultiV1Params, type KlingEffectsMultiV1Resource, type KlingEffectsSingleParams, type KlingEffectsSingleResource, type KlingLipsyncParams, type KlingLipsyncResource, type KlingOmniImageParams, type KlingOmniImageResource, type KlingOmniVideoParams, type KlingOmniVideoResource, type KlingV15I2vParams, type KlingV15I2vResource, type KlingV15Params, type KlingV15Resource, type KlingV16I2vParams, type KlingV16I2vResource, type KlingV16Params, type KlingV16Resource, type KlingV1I2vParams, type KlingV1I2vResource, type KlingV1Params, type KlingV1Resource, type KlingV21I2vParams, type KlingV21I2vResource, type KlingV21MasterI2vParams, type KlingV21MasterI2vResource, type KlingV21MasterParams, type KlingV21MasterResource, type KlingV25TurboI2vParams, type KlingV25TurboI2vResource, type KlingV25TurboParams, type KlingV25TurboResource, type KlingV26I2vParams, type KlingV26I2vResource, type KlingV26Params, type KlingV26Resource, type KlingV2MasterI2vParams, type KlingV2MasterI2vResource, type KlingV2MasterParams, type KlingV2MasterResource, type LlmChatCompletionsParams, type MicrosoftGptImage15Params, type MicrosoftGptImage15Resource, type MicrosoftGptImage1Params, type MicrosoftGptImage1Resource, type MicrosoftSora2Params, type MicrosoftSora2Resource, type MinimaxHailuo02I2vParams, type MinimaxHailuo02I2vResource, type MinimaxHailuo02Params, type MinimaxHailuo02Resource, type MinimaxHailuo23FastI2vParams, type MinimaxHailuo23FastI2vResource, type MinimaxHailuo23I2vParams, type MinimaxHailuo23I2vResource, type MinimaxI2v01DirectorParams, type MinimaxI2v01DirectorResource, type MinimaxI2v01LiveParams, type MinimaxI2v01LiveResource, type MinimaxI2v01Params, type MinimaxI2v01Resource, type MinimaxT2aParams, type MinimaxT2aResource, type MinimaxT2v01DirectorParams, type MinimaxT2v01DirectorResource, type MinimaxT2v01Params, type MinimaxT2v01Resource, type PixverseV35I2vParams, type PixverseV35I2vResource, type PixverseV35T2vParams, type PixverseV35T2vResource, type PixverseV35TransitionParams, type PixverseV35TransitionResource, type PixverseV45I2vParams, type PixverseV45I2vResource, type PixverseV45T2vParams, type PixverseV45T2vResource, type PixverseV45TransitionParams, type PixverseV45TransitionResource, type PixverseV4I2vParams, type PixverseV4I2vResource, type PixverseV4T2vParams, type PixverseV4T2vResource, type PixverseV4TransitionParams, type PixverseV4TransitionResource, type PixverseV55I2vParams, type PixverseV55I2vResource, type PixverseV55T2vParams, type PixverseV55T2vResource, type PixverseV55TransitionParams, type PixverseV55TransitionResource, type PixverseV5I2vParams, type PixverseV5I2vResource, type PixverseV5T2vParams, type PixverseV5T2vResource, type PixverseV5TransitionParams, type PixverseV5TransitionResource, type PollingOptions, type RunwayGen3aTurboI2vParams, type RunwayGen3aTurboI2vResource, SeacloudClient, type SeacloudConfig, SeacloudError, type TaskError, type TaskResult, type TaskStatus, type TencentHunyuan3dParams, type TencentHunyuan3dProParams, type TencentHunyuan3dProResource, type TencentHunyuan3dRapidParams, type TencentHunyuan3dRapidResource, type TencentHunyuan3dResource, type TencentImageCreation3Params, type TencentImageCreation3Resource, type TencentMpsSuperResolutionParams, type TencentMpsSuperResolutionResource, type Vidu15I2vParams, type Vidu15I2vResource, type Vidu15Params, type Vidu15Resource, type Vidu20I2vParams, type Vidu20I2vResource, type ViduQ1I2vParams, type ViduQ1I2vResource, type ViduQ1Params, type ViduQ1Resource, type ViduQ2Params, type ViduQ2Resource, type ViduTemplateParams, type ViduTemplateResource, type ViduTemplateV2Params, type ViduTemplateV2Resource, type VolcesJimeng30Params, type VolcesJimeng30Resource, type VolcesJimeng31Params, type VolcesJimeng31Resource, type VolcesJimengDreamActorM1Params, type VolcesJimengDreamActorM1Resource, type VolcesJimengI2i30Params, type VolcesJimengI2i30Resource, type VolcesRealmanAvatarImitatorV2vParams, type VolcesRealmanAvatarImitatorV2vResource, type VolcesRealmanAvatarPictureOmniV15Params, type VolcesRealmanAvatarPictureOmniV15Resource, type VolcesRealmanAvatarPictureOmniV2Params, type VolcesRealmanAvatarPictureOmniV2Resource, type VolcesSeed3dParams, type VolcesSeed3dResource, type VolcesSeedance30I2vParams, type VolcesSeedance30I2vResource, type VolcesSeedance30Params, type VolcesSeedance30ProParams, type VolcesSeedance30ProResource, type VolcesSeedance30Resource, type VolcesSeedanceProFastParams, type VolcesSeedanceProFastResource, type VolcesSeededit20Params, type VolcesSeededit20Resource, type VolcesSeededit30I2iParams, type VolcesSeededit30I2iResource, type VolcesSeededit30Params, type VolcesSeededit30Resource, type VolcesSeededit3dStyleParams, type VolcesSeededit3dStyleResource, type VolcesSeededitMultiIpParams, type VolcesSeededitMultiIpResource, type VolcesSeededitMultiStyleParams, type VolcesSeededitMultiStyleResource, type VolcesSeededitPortraitParams, type VolcesSeededitPortraitResource, type VolcesSeededitSingleIpParams, type VolcesSeededitSingleIpResource, type VolcesSeedream30Params, type VolcesSeedream30Resource, type VolcesSeedream40Params, type VolcesSeedream40Resource, type VolcesSeedream45I2iParams, type VolcesSeedream45I2iResource, type VolcesSeedream45MultiBlendParams, type VolcesSeedream45MultiBlendResource, type VolcesSeedream45Params, type VolcesSeedream45Resource, type VolcesSubjectDetectionParams, type VolcesSubjectDetectionResource, type VolcesSubjectRecognitionParams, type VolcesSubjectRecognitionResource, agentChatCompletions, alibabaAnimateAnyoneDetect, alibabaAnimateAnyoneTemplate, alibabaAnimateAnyoneVideo, alibabaQianwenImage, alibabaWan22T2iFlash, alibabaWan22T2iPlus, alibabaWan25I2iPreview, alibabaWan25T2iPreview, alibabaWanx20T2iTurbo, alibabaWanx21I2vPlus, alibabaWanx21I2vTurbo, alibabaWanx21T2iPlus, alibabaWanx21T2iTurbo, alibabaWanx21T2vPlus, alibabaWanx21T2vTurbo, alibabaWanx22I2vFlash, alibabaWanx22I2vPlus, alibabaWanx22T2vPlus, alibabaWanx25I2vPreview, alibabaWanx25T2vPreview, alibabaWanx26I2v, alibabaWanx26Reference, alibabaWanx26T2v, blackforestlabsFlux11Pro, blackforestlabsFlux1Pro, blackforestlabsFlux2Flex, blackforestlabsFlux2FlexEdit, blackforestlabsFlux2Pro, blackforestlabsFlux2ProEdit, blackforestlabsFluxKontextMax, blackforestlabsFluxKontextPro, createAndWaitTask, createConfig, createImageMessage, createTextMessage, createTool, elevenlabsTtsGenerator, getClient, getDefaultPollingOptions, googleGemini3ProImage, googleGeminiImage, googleImagen4FastGenerate, googleImagen4Generate, googleImagen4UltraGenerate, googleVeo20Generate001, googleVeo20GenerateExp, googleVeo20GeneratePreview, googleVeo30FastGenerate001, googleVeo30Generate001, googleVeo31, initSeacloud, klingAvatar, klingDurationExtension, klingEffectsMultiV1, klingEffectsMultiV15, klingEffectsMultiV16, klingEffectsSingle, klingLipsync, klingOmniImage, klingOmniVideo, klingV1, klingV15, klingV15I2v, klingV16, klingV16I2v, klingV1I2v, klingV21I2v, klingV21Master, klingV21MasterI2v, klingV25Turbo, klingV25TurboI2v, klingV26, klingV26I2v, klingV2Master, klingV2MasterI2v, llmChatCompletions, microsoftGptImage1, microsoftGptImage15, microsoftSora2, minimaxHailuo02, minimaxHailuo02I2v, minimaxHailuo23FastI2v, minimaxHailuo23I2v, minimaxI2v01, minimaxI2v01Director, minimaxI2v01Live, minimaxT2a, minimaxT2v01, minimaxT2v01Director, pixverseV35I2v, pixverseV35T2v, pixverseV35Transition, pixverseV45I2v, pixverseV45T2v, pixverseV45Transition, pixverseV4I2v, pixverseV4T2v, pixverseV4Transition, pixverseV55I2v, pixverseV55T2v, pixverseV55Transition, pixverseV5I2v, pixverseV5T2v, pixverseV5Transition, pollTaskUntilComplete, resetConfig, runwayGen3aTurboI2v, setDefaultPollingOptions, tencentHunyuan3d, tencentHunyuan3dPro, tencentHunyuan3dRapid, tencentImageCreation3, tencentMpsSuperResolution, validateConfig, vidu15, vidu15I2v, vidu20I2v, viduQ1, viduQ1I2v, viduQ2, viduTemplate, viduTemplateV2, volcesJimeng30, volcesJimeng31, volcesJimengDreamActorM1, volcesJimengI2i30, volcesRealmanAvatarImitatorV2v, volcesRealmanAvatarPictureOmniV15, volcesRealmanAvatarPictureOmniV2, volcesSeed3d, volcesSeedance30, volcesSeedance30I2v, volcesSeedance30Pro, volcesSeedanceProFast, volcesSeededit20, volcesSeededit30, volcesSeededit30I2i, volcesSeededit3dStyle, volcesSeededitMultiIp, volcesSeededitMultiStyle, volcesSeededitPortrait, volcesSeededitSingleIp, volcesSeedream30, volcesSeedream40, volcesSeedream45, volcesSeedream45I2i, volcesSeedream45MultiBlend, volcesSubjectDetection, volcesSubjectRecognition };