seacloud-sdk 0.12.5 → 0.12.6

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
@@ -1609,54 +1609,45 @@ declare function alibabaWanx21T2vTurbo(params: AlibabaWanx21T2vTurboParams): Pro
1609
1609
 
1610
1610
  interface AlibabaWanx22I2vFlashParams {
1611
1611
  /**
1612
- * 输入参数对象
1612
+ * 输入参数,包含文本提示词
1613
1613
  */
1614
- input?: {
1614
+ input: {
1615
1615
  /**
1616
- * 文本提示词,描述要生成视频内容
1617
- * @default ""
1618
- * @length 0 - 800
1616
+ * 文本提示词,描述要生成的视频内容,长度不超过800字符
1619
1617
  */
1620
- prompt?: string;
1618
+ prompt: string;
1621
1619
  /**
1622
- * 输入图像URL,支持HTTP/HTTPS URL或Base64编码的图像数据
1620
+ * 负面提示词,描述不希望出现在视频中的内容,长度不超过500字符
1623
1621
  */
1624
- img_url: string;
1622
+ negative_prompt?: string;
1625
1623
  };
1626
1624
  /**
1627
- * 视频生成参数
1625
+ * 生成参数,配置视频生成选项
1628
1626
  */
1629
1627
  parameters?: {
1630
1628
  /**
1631
- * 负面提示词,描述不希望出现在生成视频中的内容
1632
- * @default ""
1633
- * @length 0 - 500
1634
- */
1635
- negative_prompt?: string;
1636
- /**
1637
- * 视频分辨率
1638
- * @default "720P"
1639
- * @values 480P | 720P | 1080P
1629
+ * 视频分辨率,支持480P档位和1080P档位,默认1920*1080
1630
+ * @default "1920*1080"
1631
+ * @values 832*480 | 480*832 | 624*624 | 1920*1080 | 1080*1920 | 1440*1440 | 1632*1248 | 1248*1632
1640
1632
  */
1641
- resolution?: '480P' | '720P' | '1080P';
1633
+ size?: '832*480' | '480*832' | '624*624' | '1920*1080' | '1080*1920' | '1440*1440' | '1632*1248' | '1248*1632';
1642
1634
  /**
1643
- * 视频时长(秒),固定为5
1635
+ * 视频时长(秒),wan2.2-t2v-plus固定为5秒,不可修改
1644
1636
  * @default 5
1645
- * @range 5 - 5
1646
1637
  */
1647
- duration?: number;
1638
+ duration?: 5;
1648
1639
  /**
1649
- * 随机种子,用于可重现的生成结果
1640
+ * 随机种子,用于生成可重复的结果,范围0-2147483647
1650
1641
  * @range 0 - 2147483647
1651
1642
  */
1652
1643
  seed?: number;
1653
1644
  /**
1654
- * 是否启用提示词扩展
1645
+ * 是否启用提示词自动扩展,开启后会丰富和优化提示词,默认true
1655
1646
  * @default true
1656
1647
  */
1657
1648
  prompt_extend?: boolean;
1658
1649
  /**
1659
- * 是否添加水印
1650
+ * 是否在生成的视频上添加水印,默认false
1660
1651
  * @default false
1661
1652
  */
1662
1653
  watermark?: boolean;
@@ -1672,16 +1663,16 @@ interface AlibabaWanx22I2vFlashResource {
1672
1663
  /**
1673
1664
  * alibaba_wanx22_i2v_flash
1674
1665
  *
1675
- * Alibaba Wanx2.2 I2V Flash 视频生成器实现
1666
+ * Alibaba Wanx2.2 T2V Flash 视频生成器实现
1676
1667
  *
1677
- * Image-to-Video generation implementation for Alibaba Wanx2.2 I2V Flash API.
1668
+ * Text-to-Video generation implementation for Alibaba Wanx2.2 Flash API.
1678
1669
  *
1679
- * Model: wan2.2-i2v-flash
1680
- * Features: 图像生成视频 (Image-to-Video)
1670
+ * Model: wan2.2-t2v-flash
1671
+ * Features: 文本生成视频 (Text-to-Video)
1681
1672
  * Duration: 5秒 (固定)
1682
- * Resolution: 480P, 720P, 1080P (支持)
1673
+ * Resolution: 支持多种分辨率 (默认1920*1080)
1683
1674
  *
1684
- * API Documentation: https://help.aliyun.com/zh/model-studio/image-to-video-api-reference
1675
+ * API Documentation: https://help.aliyun.com/zh/model-studio/text-to-video-api-reference
1685
1676
  *
1686
1677
  * @example
1687
1678
  * ```typescript
@@ -1690,7 +1681,13 @@ interface AlibabaWanx22I2vFlashResource {
1690
1681
  * initSeacloud('your-api-key');
1691
1682
  *
1692
1683
  * const result = await alibabaWanx22I2vFlash({
1693
- * // 参数见 AlibabaWanx22I2vFlashParams 接口定义
1684
+ * input: {
1685
+ * prompt: "A beautiful landscape with mountains and rivers"
1686
+ * },
1687
+ * parameters: {
1688
+ * size: "1920*1080",
1689
+ * duration: 5
1690
+ * }
1694
1691
  * });
1695
1692
  *
1696
1693
  * console.log(result); // 返回生成的资源列表
@@ -1705,7 +1702,7 @@ interface AlibabaWanx22I2vPlusParams {
1705
1702
  /**
1706
1703
  * 输入参数
1707
1704
  */
1708
- input?: {
1705
+ input: {
1709
1706
  /**
1710
1707
  * 图像URL,I2V模型必需,支持Base64编码或HTTP/HTTPS URL
1711
1708
  */
@@ -2132,7 +2129,7 @@ interface AlibabaWanx26I2vParams {
2132
2129
  /**
2133
2130
  * 输入图片URL或Base64编码(自动转换为JPEG格式的Base64)
2134
2131
  */
2135
- img_url?: string;
2132
+ img_url: string;
2136
2133
  /**
2137
2134
  * 自定义背景音乐URL(可选)
2138
2135
  */
@@ -2172,7 +2169,7 @@ interface AlibabaWanx26I2vParams {
2172
2169
  /**
2173
2170
  * 是否启用多镜头模式(仅在prompt_extend=true时生效)
2174
2171
  */
2175
- shot_type?: string;
2172
+ multi_shots?: boolean;
2176
2173
  /**
2177
2174
  * 反向提示词,描述不希望出现的内容
2178
2175
  */
@@ -2204,7 +2201,19 @@ interface AlibabaWanx26I2vResource {
2204
2201
  * initSeacloud('your-api-key');
2205
2202
  *
2206
2203
  * const result = await alibabaWanx26I2v({
2207
- * // 参数见 AlibabaWanx26I2vParams 接口定义
2204
+ * input: {
2205
+ * img_url: "https://example.com/image.jpg",
2206
+ * prompt: "A beautiful video animation with smooth movements",
2207
+ * audio_url: "https://example.com/music.mp3"
2208
+ * },
2209
+ * parameters: {
2210
+ * resolution: "1080P",
2211
+ * duration: 10,
2212
+ * prompt_extend: true,
2213
+ * audio: true,
2214
+ * multi_shots: true,
2215
+ * watermark: false
2216
+ * }
2208
2217
  * });
2209
2218
  *
2210
2219
  * console.log(result); // 返回生成的资源列表
@@ -2219,7 +2228,7 @@ interface AlibabaWanx26ReferenceParams {
2219
2228
  /**
2220
2229
  * 输入参数
2221
2230
  */
2222
- input?: {
2231
+ input: {
2223
2232
  /**
2224
2233
  * 视频生成提示词,最大长度2000字符
2225
2234
  * @length 0 - 2000
@@ -2238,12 +2247,6 @@ interface AlibabaWanx26ReferenceParams {
2238
2247
  * 生成参数
2239
2248
  */
2240
2249
  parameters?: {
2241
- /**
2242
- * 视频分辨率,可选值:480P、720P、1080P
2243
- * @default "1080P"
2244
- * @values 480P | 720P | 1080P
2245
- */
2246
- resolution?: '480P' | '720P' | '1080P';
2247
2250
  /**
2248
2251
  * 视频时长(秒),可选值:5、10(参考视频时不支持15秒)
2249
2252
  * @default 5
@@ -2274,11 +2277,11 @@ interface AlibabaWanx26ReferenceParams {
2274
2277
  */
2275
2278
  seed?: number;
2276
2279
  /**
2277
- * 视频分辨率,支持 '832*480', '480*832', '624*624', '1280*720', '720*1280', '960*960', '1088*832', '832*1088', '1920*1080', '1080*1920', '1440*1440', '1632*1248', '1248*1632'
2280
+ * 视频分辨率
2278
2281
  * @default "1920*1080"
2279
- * @values 832*480 | 480*832 | 624*624 | 1280*720 | 720*1280 | 960*960 | 1088*832 | 832*1088 | 1920*1080 | 1080*1920 | 1440*1440 | 1632*1248 | 1248*1632
2282
+ * @values 1280*720 | 720*1280 | 960*960 | 1088*832 | 832*1088 | 1920*1080 | 1080*1920 | 1440*1440 | 1632*1248 | 1248*1632
2280
2283
  */
2281
- size?: '832*480' | '480*832' | '624*624' | '1280*720' | '720*1280' | '960*960' | '1088*832' | '832*1088' | '1920*1080' | '1080*1920' | '1440*1440' | '1632*1248' | '1248*1632';
2284
+ size?: '1280*720' | '720*1280' | '960*960' | '1088*832' | '832*1088' | '1920*1080' | '1080*1920' | '1440*1440' | '1632*1248' | '1248*1632';
2282
2285
  };
2283
2286
  }
2284
2287
  interface AlibabaWanx26ReferenceResource {
@@ -5166,25 +5169,34 @@ declare function klingV1(params: KlingV1Params): Promise<KlingV1Resource[]>;
5166
5169
 
5167
5170
  interface KlingV15Params {
5168
5171
  /**
5169
- * 文本提示词,必填参数。长度范围: 1-2500字符
5172
+ * 文本提示词,必填参数
5173
+ * @minLength 1
5174
+ * @maxLength 2500
5170
5175
  */
5171
5176
  prompt: string;
5172
5177
  /**
5173
- * 视频时长,必填参数。可选值: "5"(5秒)、"10"(10秒),也支持整数格式510
5174
- * @values 5 | 10
5178
+ * 视频时长(秒),可选参数。支持字符串"5""10"或整数510
5179
+ * @default 5
5180
+ * @values 5 | 10 | "5" | "10"
5175
5181
  */
5176
- duration: '5' | '10';
5182
+ duration?: 5 | 10 | '5' | '10';
5177
5183
  /**
5178
- * 视频宽高比,可选参数。支持: "16:9", "9:16", "1:1"
5179
- * @values 16:9 | 9:16 | 1:1
5184
+ * 视频宽高比,可选参数
5185
+ * @default "16:9"
5186
+ * @values "16:9" | "9:16" | "1:1"
5180
5187
  */
5181
5188
  aspect_ratio?: '16:9' | '9:16' | '1:1';
5182
5189
  /**
5183
5190
  * 负面提示词,可选参数。用于指定不希望出现在生成视频中的内容
5191
+ * @minLength 1
5192
+ * @maxLength 2500
5184
5193
  */
5185
5194
  negative_prompt?: string;
5186
5195
  /**
5187
- * CFG比例参数,可选参数。用于控制生成内容与提示词的匹配程度
5196
+ * CFG比例参数,可选参数。用于控制生成内容与提示词的匹配程度,数值越高,模型的灵活性程度越低,与用户提示的关联性也就越强
5197
+ * @default 0.5
5198
+ * @min 0
5199
+ * @max 1
5188
5200
  */
5189
5201
  cfg_scale?: number;
5190
5202
  /**
@@ -7242,11 +7254,11 @@ interface PixverseV35TransitionParams {
7242
7254
  */
7243
7255
  last_frame_image?: string | string[];
7244
7256
  /**
7245
- * 视频时长(秒)。支持: 3, 4, 5。默认: 5
7257
+ * 视频时长(秒)。支持: 5, 8。默认: 5
7246
7258
  */
7247
7259
  duration?: number;
7248
7260
  /**
7249
- * 视频质量。支持: 270p, 540p, 720p, 1080p。默认: 540p
7261
+ * 视频质量。支持: 360p, 540p, 720p, 1080p。默认: 540p
7250
7262
  */
7251
7263
  quality?: string;
7252
7264
  /**
@@ -7293,8 +7305,8 @@ interface PixverseV35TransitionResource {
7293
7305
  *
7294
7306
  * Model: v3.5
7295
7307
  * Features: 首尾帧过渡视频生成 (First-Last Frame Transition)
7296
- * Duration: 3, 4, 5
7297
- * Quality: 270p, 540p, 720p, 1080p
7308
+ * Duration: 5, 8
7309
+ * Quality: 360p, 540p, 720p, 1080p
7298
7310
  * Motion Modes: normal, fast
7299
7311
  *
7300
7312
  * API Documentation: https://docs.platform.pixverse.ai/transitionfirst-last-frame-generation-15123014e0
@@ -7327,17 +7339,17 @@ interface PixverseV35I2vParams {
7327
7339
  */
7328
7340
  img_ids?: string[];
7329
7341
  /**
7330
- * 视频时长,5或10
7342
+ * 视频时长,5或8
7331
7343
  * @default 5
7332
- * @values 5 | 10
7344
+ * @values 5 | 8
7333
7345
  */
7334
- duration?: 5 | 10;
7346
+ duration: 5 | 8;
7335
7347
  /**
7336
7348
  * 视频质量
7337
7349
  * @default "540p"
7338
- * @values 270p | 540p | 720p | 1080p
7350
+ * @values 360p | 540p | 720p | 1080p
7339
7351
  */
7340
- quality?: '270p' | '540p' | '720p' | '1080p';
7352
+ quality: '360p' | '540p' | '720p' | '1080p';
7341
7353
  /**
7342
7354
  * 运动模式,可选参数
7343
7355
  * @default "normal"
@@ -7520,9 +7532,9 @@ declare function pixverseV35T2v(params: PixverseV35T2vParams): Promise<PixverseV
7520
7532
  */
7521
7533
  interface PixverseV45TransitionParams {
7522
7534
  /**
7523
- * 视频生成提示词(可选),描述过渡效果的内容
7535
+ * 视频生成提示词(必填),描述过渡效果的内容
7524
7536
  */
7525
- prompt?: string;
7537
+ prompt: string;
7526
7538
  /**
7527
7539
  * 首帧图像(与first_frame_image二选一,必填),支持URL或Base64格式,会自动上传到PixVerse
7528
7540
  */
@@ -7540,27 +7552,46 @@ interface PixverseV45TransitionParams {
7540
7552
  */
7541
7553
  last_frame_image?: string | string[];
7542
7554
  /**
7543
- * 视频时长(秒),V4.5支持5秒、8秒、10秒,默认5秒
7555
+ * 视频宽高比(可选),默认16:9
7556
+ * @default "16:9"
7557
+ * @values 16:9 | 9:16 | 1:1 | 4:3 | 3:4
7558
+ */
7559
+ aspect_ratio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4';
7560
+ /**
7561
+ * 视频时长(秒),V4.5支持5秒或8秒,默认5秒
7544
7562
  * @default 5
7545
- * @values 5 | 8 | 10
7563
+ * @values 5 | 8
7546
7564
  */
7547
- duration?: 5 | 8 | 10;
7565
+ duration?: 5 | 8;
7548
7566
  /**
7549
- * 视频质量(可选),支持: 270p, 540p(默认), 720p, 1080p
7567
+ * 视频质量(可选),支持: 360p, 540p(默认), 720p, 1080p
7550
7568
  * @default "540p"
7551
- * @values 270p | 540p | 720p | 1080p
7569
+ * @values 360p | 540p | 720p | 1080p
7552
7570
  */
7553
- quality?: '270p' | '540p' | '720p' | '1080p';
7571
+ quality?: '360p' | '540p' | '720p' | '1080p';
7572
+ /**
7573
+ * 负向提示词(可选),描述不希望在视频中出现的内容
7574
+ */
7575
+ negative_prompt?: string;
7554
7576
  /**
7555
7577
  * 运动模式(可选),支持: normal(标准), fast(快速),默认normal
7556
7578
  * @default "normal"
7557
7579
  * @values normal | fast
7558
7580
  */
7559
7581
  motion_mode?: 'normal' | 'fast';
7582
+ /**
7583
+ * 摄像机运动(可选),控制视频中的摄像机运动方向
7584
+ * @values zoom_in | zoom_out | pan_left | pan_right | tilt_up | tilt_down
7585
+ */
7586
+ camera_movement?: 'zoom_in' | 'zoom_out' | 'pan_left' | 'pan_right' | 'tilt_up' | 'tilt_down';
7560
7587
  /**
7561
7588
  * 随机种子(可选),用于可重现的生成结果
7562
7589
  */
7563
7590
  seed?: number;
7591
+ /**
7592
+ * 模板ID(可选),用于使用预定义模板
7593
+ */
7594
+ template_id?: number;
7564
7595
  /**
7565
7596
  * 音效开关(可选)
7566
7597
  */
@@ -7598,7 +7629,7 @@ interface PixverseV45TransitionResource {
7598
7629
  * Features:
7599
7630
  * - 通过首尾两帧图像生成平滑过渡视频
7600
7631
  * - 支持5秒、8秒、10秒视频时长
7601
- * - 支持四种质量等级:270p、540p(默认)、720p、1080p
7632
+ * - 支持四种质量等级:360p、540p(默认)、720p、1080p
7602
7633
  * - 支持两种运动模式:normal(标准)、fast(快速)
7603
7634
  * - 支持音效和唇形同步TTS功能
7604
7635
  * - 图片自动上传到PixVerse
@@ -8030,31 +8061,31 @@ interface PixverseV4TransitionParams {
8030
8061
  /**
8031
8062
  * 首帧图像,必填参数。支持URL或Base64格式,与first_frame_image二选一
8032
8063
  */
8033
- first_frame_img?: string | string[];
8064
+ first_frame_img?: string;
8034
8065
  /**
8035
8066
  * 首帧图像,必填参数。支持URL或Base64格式,与first_frame_img二选一
8036
8067
  */
8037
- first_frame_image?: string | string[];
8068
+ first_frame_image?: string;
8038
8069
  /**
8039
8070
  * 尾帧图像,必填参数。支持URL或Base64格式,与last_frame_image二选一
8040
8071
  */
8041
- last_frame_img?: string | string[];
8072
+ last_frame_img?: string;
8042
8073
  /**
8043
8074
  * 尾帧图像,必填参数。支持URL或Base64格式,与last_frame_img二选一
8044
8075
  */
8045
- last_frame_image?: string | string[];
8076
+ last_frame_image?: string;
8046
8077
  /**
8047
- * 视频时长(秒),可选5秒或10秒,默认5秒
8078
+ * 视频时长(秒),可选5秒或8秒,默认5秒
8048
8079
  * @default 5
8049
- * @values 5 | 10
8080
+ * @values 5 | 8
8050
8081
  */
8051
- duration?: 5 | 10;
8082
+ duration: 5 | 8;
8052
8083
  /**
8053
- * 视频质量,可选270p、540p、720p、1080p,默认540p
8084
+ * 视频质量,可选360p、540p、720p、1080p,默认540p
8054
8085
  * @default "540p"
8055
- * @values 270p | 540p | 720p | 1080p
8086
+ * @values 360p | 540p | 720p | 1080p
8056
8087
  */
8057
- quality?: '270p' | '540p' | '720p' | '1080p';
8088
+ quality: '360p' | '540p' | '720p' | '1080p';
8058
8089
  /**
8059
8090
  * 运动模式,可选normal(标准)、fast(快速),默认normal
8060
8091
  * @default "normal"
@@ -8316,35 +8347,36 @@ interface PixverseV55TransitionParams {
8316
8347
  * 视频生成提示词
8317
8348
  */
8318
8349
  prompt: string;
8319
- /**
8320
- * 首帧图片URL或Base64数据,会自动上传至PixVerse并转换为img_id
8321
- */
8322
- first_frame_img: string;
8323
8350
  /**
8324
8351
  * 首帧图片URL或Base64数据(兼容字段),会自动上传至PixVerse并转换为img_id
8325
8352
  */
8326
- first_frame_image?: string;
8353
+ first_frame_img?: string;
8327
8354
  /**
8328
- * 尾帧图片URL或Base64数据,会自动上传至PixVerse并转换为img_id
8355
+ * 首帧图片URL或Base64数据,会自动上传至PixVerse并转换为img_id
8329
8356
  */
8330
- last_frame_img: string;
8357
+ first_frame_image: string;
8331
8358
  /**
8332
8359
  * 尾帧图片URL或Base64数据(兼容字段),会自动上传至PixVerse并转换为img_id
8333
8360
  */
8334
- last_frame_image?: string;
8361
+ last_frame_img?: string;
8335
8362
  /**
8336
- * 视频时长(秒),V5.5支持5秒,默认5秒
8337
- * @default 5
8363
+ * 尾帧图片URL或Base64数据,会自动上传至PixVerse并转换为img_id
8338
8364
  */
8339
- duration?: number;
8365
+ last_frame_image: string;
8340
8366
  /**
8341
- * 视频质量,默认540p
8342
- * @default "540p"
8343
- * @values 540p | 720p | 1080p
8367
+ * 视频时长(秒),1080p不能使用10秒
8368
+ * @values 5 | 8 | 10
8344
8369
  */
8345
- quality?: '540p' | '720p' | '1080p';
8370
+ duration: 5 | 8 | 10;
8371
+ /**
8372
+ * 视频质量,Turbo可以使用360p
8373
+ * @values 360p | 540p | 720p | 1080p
8374
+ */
8375
+ quality: '360p' | '540p' | '720p' | '1080p';
8346
8376
  /**
8347
8377
  * 随机种子,用于生成可复现的结果(可选)
8378
+ * @min 0
8379
+ * @max 2147483647
8348
8380
  */
8349
8381
  seed?: number;
8350
8382
  /**
@@ -8625,11 +8657,11 @@ interface PixverseV5TransitionParams {
8625
8657
  */
8626
8658
  duration?: 5;
8627
8659
  /**
8628
- * 视频质量(可选),支持: 270p, 540p(默认), 720p, 1080p
8660
+ * 视频质量(可选),支持: 360p, 540p(默认), 720p, 1080p
8629
8661
  * @default "540p"
8630
- * @values 270p | 540p | 720p | 1080p
8662
+ * @values 360p | 540p | 720p | 1080p
8631
8663
  */
8632
- quality?: '270p' | '540p' | '720p' | '1080p';
8664
+ quality?: '360p' | '540p' | '720p' | '1080p';
8633
8665
  /**
8634
8666
  * 运动模式(可选),支持: normal(标准), fast(快速),默认normal
8635
8667
  * @default "normal"
@@ -8677,7 +8709,7 @@ interface PixverseV5TransitionResource {
8677
8709
  * Features:
8678
8710
  * - 通过首尾两帧图像生成平滑过渡视频
8679
8711
  * - 固定5秒视频时长
8680
- * - 支持四种质量等级:270p、540p(默认)、720p、1080p
8712
+ * - 支持四种质量等级:360p、540p(默认)、720p、1080p
8681
8713
  * - 支持两种运动模式:normal(标准)、fast(快速)
8682
8714
  * - 支持音效和唇形同步TTS功能
8683
8715
  * - 图片自动上传到PixVerse
@@ -13562,17 +13594,33 @@ declare function youchuanDiffusion(params: YouchuanDiffusionParams): Promise<You
13562
13594
 
13563
13595
  interface YouchuanEditParams {
13564
13596
  /**
13565
- * 图像URL,必须是有效的HTTP/HTTPS URL,长度不超过1024字符
13597
+ * 任务ID
13566
13598
  */
13567
- imgUrl: string;
13599
+ jobId?: string;
13600
+ /**
13601
+ * 图像编号,必须是0、1、2或3
13602
+ */
13603
+ imageNo?: 0 | 1 | 2 | 3;
13604
+ /**
13605
+ * 重混提示词,长度1-8192字符
13606
+ */
13607
+ remixPrompt?: string;
13608
+ /**
13609
+ * 画布参数
13610
+ */
13611
+ canvas?: object;
13568
13612
  /**
13569
- * 编辑提示词,长度必须在1-8192字符之间
13613
+ * 图像位置参数
13570
13614
  */
13571
- editPrompt: string;
13615
+ imgPos?: object;
13572
13616
  /**
13573
13617
  * 回调URL,必须是有效的HTTP/HTTPS URL
13574
13618
  */
13575
13619
  callback?: string;
13620
+ /**
13621
+ * 遮罩参数
13622
+ */
13623
+ mask?: object;
13576
13624
  }
13577
13625
  interface YouchuanEditResource {
13578
13626
  type: string;
@@ -13597,8 +13645,9 @@ interface YouchuanEditResource {
13597
13645
  * initSeacloud('your-api-key');
13598
13646
  *
13599
13647
  * const result = await youchuanEdit({
13600
- * imgUrl: 'https://example.com/image.jpg',
13601
- * editPrompt: 'Make the sky more blue'
13648
+ * jobId: 'your-job-id',
13649
+ * imageNo: 0,
13650
+ * remixPrompt: 'Make the sky more blue'
13602
13651
  * });
13603
13652
  *
13604
13653
  * console.log(result); // 返回生成的资源列表
@@ -13716,6 +13765,36 @@ interface YouchuanExtendVideoResource {
13716
13765
  */
13717
13766
  declare function youchuanExtendVideo(params: YouchuanExtendVideoParams): Promise<YouchuanExtendVideoResource[]>;
13718
13767
 
13768
+ /**
13769
+ * 修复区域参数
13770
+ */
13771
+ interface YouchuanInpaintArea {
13772
+ /**
13773
+ * 区域宽度,范围500-4096
13774
+ */
13775
+ width: number;
13776
+ /**
13777
+ * 区域高度,范围500-4096
13778
+ */
13779
+ height: number;
13780
+ /**
13781
+ * 区域坐标点数组,至少包含6个坐标值(3个点)
13782
+ */
13783
+ points: number[];
13784
+ }
13785
+ /**
13786
+ * 遮罩参数,必须包含areas或url
13787
+ */
13788
+ interface YouchuanInpaintMask {
13789
+ /**
13790
+ * 区域数组
13791
+ */
13792
+ areas?: YouchuanInpaintArea[];
13793
+ /**
13794
+ * 遮罩图像URL
13795
+ */
13796
+ url?: string;
13797
+ }
13719
13798
  interface YouchuanInpaintParams {
13720
13799
  /**
13721
13800
  * 任务ID
@@ -13727,17 +13806,17 @@ interface YouchuanInpaintParams {
13727
13806
  */
13728
13807
  imageNo: 0 | 1 | 2 | 3;
13729
13808
  /**
13730
- * 修复区域坐标,格式为对象,包含区域信息
13809
+ * 重混提示词,长度必须在1-8192字符之间
13731
13810
  */
13732
- area?: Record<string, any>;
13811
+ remixPrompt: string;
13733
13812
  /**
13734
- * 遮罩图像URL
13813
+ * 修复区域参数
13735
13814
  */
13736
- mask?: string;
13815
+ area?: YouchuanInpaintArea;
13737
13816
  /**
13738
- * 重混提示词,长度必须在1-8192字符之间
13817
+ * 遮罩参数,必须包含areas或url
13739
13818
  */
13740
- remixPrompt: string;
13819
+ mask?: YouchuanInpaintMask;
13741
13820
  /**
13742
13821
  * 回调URL,必须是有效的HTTP/HTTPS URL
13743
13822
  */
@@ -13765,13 +13844,43 @@ interface YouchuanInpaintResource {
13765
13844
  *
13766
13845
  * initSeacloud('your-api-key');
13767
13846
  *
13768
- * const result = await youchuanInpaint({
13847
+ * // 使用遮罩URL
13848
+ * const result1 = await youchuanInpaint({
13769
13849
  * jobId: 'your-job-id',
13770
13850
  * imageNo: 0,
13771
- * remixPrompt: 'Fill with blue sky'
13851
+ * remixPrompt: 'Fill with blue sky',
13852
+ * mask: {
13853
+ * url: 'https://example.com/mask.png'
13854
+ * }
13772
13855
  * });
13773
13856
  *
13774
- * console.log(result); // 返回生成的资源列表
13857
+ * // 使用区域坐标
13858
+ * const result2 = await youchuanInpaint({
13859
+ * jobId: 'your-job-id',
13860
+ * imageNo: 0,
13861
+ * remixPrompt: 'Fill with green grass',
13862
+ * area: {
13863
+ * width: 1024,
13864
+ * height: 768,
13865
+ * points: [100, 100, 200, 100, 200, 200, 100, 200]
13866
+ * }
13867
+ * });
13868
+ *
13869
+ * // 使用遮罩区域数组
13870
+ * const result3 = await youchuanInpaint({
13871
+ * jobId: 'your-job-id',
13872
+ * imageNo: 0,
13873
+ * remixPrompt: 'Fill with sky',
13874
+ * mask: {
13875
+ * areas: [{
13876
+ * width: 1024,
13877
+ * height: 768,
13878
+ * points: [100, 100, 200, 100, 200, 200]
13879
+ * }]
13880
+ * }
13881
+ * });
13882
+ *
13883
+ * console.log(result1); // 返回生成的资源列表
13775
13884
  * ```
13776
13885
  *
13777
13886
  * @param params 请求参数,详见 YouchuanInpaintParams 接口定义
@@ -13790,9 +13899,9 @@ interface YouchuanOutpaintParams {
13790
13899
  */
13791
13900
  imageNo: 0 | 1 | 2 | 3;
13792
13901
  /**
13793
- * 扩展参数,包含扩展方向和大小信息
13902
+ * 扩展比例,必须是1.1到2.0之间的数字
13794
13903
  */
13795
- extend?: Record<string, any>;
13904
+ scale: number;
13796
13905
  /**
13797
13906
  * 重混提示词,长度必须在1-8192字符之间
13798
13907
  */
@@ -13826,7 +13935,8 @@ interface YouchuanOutpaintResource {
13826
13935
  *
13827
13936
  * const result = await youchuanOutpaint({
13828
13937
  * jobId: 'your-job-id',
13829
- * imageNo: 0
13938
+ * imageNo: 0,
13939
+ * scale: 1.5
13830
13940
  * });
13831
13941
  *
13832
13942
  * console.log(result); // 返回生成的资源列表
@@ -14326,4 +14436,4 @@ declare function validateResourceUrl(resource: Resource, resourceType?: string):
14326
14436
  */
14327
14437
  declare function validateResources(resources: Resource[], resourceType?: string): void;
14328
14438
 
14329
- 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 AppGenerationInput, type AppGenerationParams, type AppGenerationResource, type AppGenerationResult, type AppSearchParams, type AppSearchResponse, 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 FrameResult, 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 InitOptions, 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 LabelItem, 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 QuickAppBackgroundRemoverStandardParams, type QuickAppBackgroundRemoverStandardResource, type RiskType, type RunwayGen3aTurboI2vParams, type RunwayGen3aTurboI2vResource, type ScanParams, type ScanResponse, SeacloudClient, type SeacloudConfig, SeacloudError, type TaskError, type TaskResult, type TaskStatus, type TemplateSpec, type TemplateSpecConstraint, type TemplateSpecInput, type TemplateSpecOutput, type TemplateSpecsParams, type TemplateSpecsResponse, 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 ViduQ2I2vReferenceParams, type ViduQ2I2vReferenceResource, type ViduQ2Params, type ViduQ2ReferenceSubject, 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, type YouchuanDiffusionParams, type YouchuanDiffusionResource, type YouchuanEditParams, type YouchuanEditResource, type YouchuanEnhanceParams, type YouchuanEnhanceResource, type YouchuanExtendVideoParams, type YouchuanExtendVideoResource, type YouchuanInpaintParams, type YouchuanInpaintResource, type YouchuanOutpaintParams, type YouchuanOutpaintResource, type YouchuanPanParams, type YouchuanPanResource, type YouchuanRemixParams, type YouchuanRemixResource, type YouchuanRemoveBackgroundParams, type YouchuanRemoveBackgroundResource, type YouchuanRetextureParams, type YouchuanRetextureResource, type YouchuanUploadpaintParams, type YouchuanUploadpaintResource, type YouchuanUpscaleParams, type YouchuanUpscaleResource, type YouchuanVariationParams, type YouchuanVariationResource, type YouchuanVideoDiffusionParams, type YouchuanVideoDiffusionResource, type YouchuanVideoUpscaleParams, type YouchuanVideoUpscaleResource, agentChatCompletions, alibabaAnimateAnyoneDetect, alibabaAnimateAnyoneTemplate, alibabaAnimateAnyoneVideo, alibabaQianwenImage, alibabaWan22T2iFlash, alibabaWan22T2iPlus, alibabaWan25I2iPreview, alibabaWan25T2iPreview, alibabaWanx20T2iTurbo, alibabaWanx21I2vPlus, alibabaWanx21I2vTurbo, alibabaWanx21T2iPlus, alibabaWanx21T2iTurbo, alibabaWanx21T2vPlus, alibabaWanx21T2vTurbo, alibabaWanx22I2vFlash, alibabaWanx22I2vPlus, alibabaWanx22T2vPlus, alibabaWanx25I2vPreview, alibabaWanx25T2vPreview, alibabaWanx26I2v, alibabaWanx26Reference, alibabaWanx26T2v, appGeneration, appSearch, blackforestlabsFlux11Pro, blackforestlabsFlux1Pro, blackforestlabsFlux2Flex, blackforestlabsFlux2FlexEdit, blackforestlabsFlux2Pro, blackforestlabsFlux2ProEdit, blackforestlabsFluxKontextMax, blackforestlabsFluxKontextPro, createAndWaitTask, createAudioMessage, createConfig, createImageMessage, createTextMessage, createTool, createVideoMessage, elevenlabsTtsGenerator, getClient, getDefaultPollingOptions, getHostFromParent, getTaskStatus, 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, quickAppBackgroundRemoverStandard, resetConfig, runwayGen3aTurboI2v, scan, setDefaultPollingOptions, templateSpecs, tencentHunyuan3d, tencentHunyuan3dPro, tencentHunyuan3dRapid, tencentImageCreation3, tencentMpsSuperResolution, validateConfig, validateResourceUrl, validateResources, vidu15, vidu15I2v, vidu20I2v, viduQ1, viduQ1I2v, viduQ2, viduQ2I2vReference, 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, youchuanDiffusion, youchuanEdit, youchuanEnhance, youchuanExtendVideo, youchuanInpaint, youchuanOutpaint, youchuanPan, youchuanRemix, youchuanRemoveBackground, youchuanRetexture, youchuanUploadpaint, youchuanUpscale, youchuanVariation, youchuanVideoDiffusion, youchuanVideoUpscale };
14439
+ 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 AppGenerationInput, type AppGenerationParams, type AppGenerationResource, type AppGenerationResult, type AppSearchParams, type AppSearchResponse, 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 FrameResult, 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 InitOptions, 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 LabelItem, 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 QuickAppBackgroundRemoverStandardParams, type QuickAppBackgroundRemoverStandardResource, type RiskType, type RunwayGen3aTurboI2vParams, type RunwayGen3aTurboI2vResource, type ScanParams, type ScanResponse, SeacloudClient, type SeacloudConfig, SeacloudError, type TaskError, type TaskResult, type TaskStatus, type TemplateSpec, type TemplateSpecConstraint, type TemplateSpecInput, type TemplateSpecOutput, type TemplateSpecsParams, type TemplateSpecsResponse, 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 ViduQ2I2vReferenceParams, type ViduQ2I2vReferenceResource, type ViduQ2Params, type ViduQ2ReferenceSubject, 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, type YouchuanDiffusionParams, type YouchuanDiffusionResource, type YouchuanEditParams, type YouchuanEditResource, type YouchuanEnhanceParams, type YouchuanEnhanceResource, type YouchuanExtendVideoParams, type YouchuanExtendVideoResource, type YouchuanInpaintArea, type YouchuanInpaintMask, type YouchuanInpaintParams, type YouchuanInpaintResource, type YouchuanOutpaintParams, type YouchuanOutpaintResource, type YouchuanPanParams, type YouchuanPanResource, type YouchuanRemixParams, type YouchuanRemixResource, type YouchuanRemoveBackgroundParams, type YouchuanRemoveBackgroundResource, type YouchuanRetextureParams, type YouchuanRetextureResource, type YouchuanUploadpaintParams, type YouchuanUploadpaintResource, type YouchuanUpscaleParams, type YouchuanUpscaleResource, type YouchuanVariationParams, type YouchuanVariationResource, type YouchuanVideoDiffusionParams, type YouchuanVideoDiffusionResource, type YouchuanVideoUpscaleParams, type YouchuanVideoUpscaleResource, agentChatCompletions, alibabaAnimateAnyoneDetect, alibabaAnimateAnyoneTemplate, alibabaAnimateAnyoneVideo, alibabaQianwenImage, alibabaWan22T2iFlash, alibabaWan22T2iPlus, alibabaWan25I2iPreview, alibabaWan25T2iPreview, alibabaWanx20T2iTurbo, alibabaWanx21I2vPlus, alibabaWanx21I2vTurbo, alibabaWanx21T2iPlus, alibabaWanx21T2iTurbo, alibabaWanx21T2vPlus, alibabaWanx21T2vTurbo, alibabaWanx22I2vFlash, alibabaWanx22I2vPlus, alibabaWanx22T2vPlus, alibabaWanx25I2vPreview, alibabaWanx25T2vPreview, alibabaWanx26I2v, alibabaWanx26Reference, alibabaWanx26T2v, appGeneration, appSearch, blackforestlabsFlux11Pro, blackforestlabsFlux1Pro, blackforestlabsFlux2Flex, blackforestlabsFlux2FlexEdit, blackforestlabsFlux2Pro, blackforestlabsFlux2ProEdit, blackforestlabsFluxKontextMax, blackforestlabsFluxKontextPro, createAndWaitTask, createAudioMessage, createConfig, createImageMessage, createTextMessage, createTool, createVideoMessage, elevenlabsTtsGenerator, getClient, getDefaultPollingOptions, getHostFromParent, getTaskStatus, 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, quickAppBackgroundRemoverStandard, resetConfig, runwayGen3aTurboI2v, scan, setDefaultPollingOptions, templateSpecs, tencentHunyuan3d, tencentHunyuan3dPro, tencentHunyuan3dRapid, tencentImageCreation3, tencentMpsSuperResolution, validateConfig, validateResourceUrl, validateResources, vidu15, vidu15I2v, vidu20I2v, viduQ1, viduQ1I2v, viduQ2, viduQ2I2vReference, 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, youchuanDiffusion, youchuanEdit, youchuanEnhance, youchuanExtendVideo, youchuanInpaint, youchuanOutpaint, youchuanPan, youchuanRemix, youchuanRemoveBackground, youchuanRetexture, youchuanUploadpaint, youchuanUpscale, youchuanVariation, youchuanVideoDiffusion, youchuanVideoUpscale };