seacloud-sdk 0.12.4 → 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/cli.js +77 -49
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +238 -122
- package/dist/index.js +269 -203
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -83,7 +83,13 @@ declare class SeacloudError extends Error {
|
|
|
83
83
|
declare class SeacloudClient {
|
|
84
84
|
private config;
|
|
85
85
|
private providedApiKey?;
|
|
86
|
-
constructor(
|
|
86
|
+
private constructor();
|
|
87
|
+
/**
|
|
88
|
+
* 创建 SeacloudClient 实例(异步工厂方法)
|
|
89
|
+
* @param config 配置选项
|
|
90
|
+
* @returns SeacloudClient 实例
|
|
91
|
+
*/
|
|
92
|
+
static create(config?: SeacloudConfig): Promise<SeacloudClient>;
|
|
87
93
|
/**
|
|
88
94
|
* 创建一个新任务
|
|
89
95
|
* @param endpoint API 端点路径(例如:/model/tasks)
|
|
@@ -162,7 +168,7 @@ declare function initSeacloud(apiKeyOrConfig?: string | InitOptions, options?: {
|
|
|
162
168
|
*
|
|
163
169
|
* @returns SeacloudClient 实例
|
|
164
170
|
*/
|
|
165
|
-
declare function getClient(): SeacloudClient
|
|
171
|
+
declare function getClient(): Promise<SeacloudClient>;
|
|
166
172
|
/**
|
|
167
173
|
* 获取默认轮询选项
|
|
168
174
|
*/
|
|
@@ -194,7 +200,7 @@ declare function getHostFromParent(timeout?: number): Promise<string | null>;
|
|
|
194
200
|
* @param options 配置选项
|
|
195
201
|
* @returns 完整的配置对象
|
|
196
202
|
*/
|
|
197
|
-
declare function createConfig(options?: SeacloudConfig): Required<SeacloudConfig
|
|
203
|
+
declare function createConfig(options?: SeacloudConfig): Promise<Required<SeacloudConfig>>;
|
|
198
204
|
/**
|
|
199
205
|
* 验证配置
|
|
200
206
|
* @param config 配置对象
|
|
@@ -1603,54 +1609,45 @@ declare function alibabaWanx21T2vTurbo(params: AlibabaWanx21T2vTurboParams): Pro
|
|
|
1603
1609
|
|
|
1604
1610
|
interface AlibabaWanx22I2vFlashParams {
|
|
1605
1611
|
/**
|
|
1606
|
-
*
|
|
1612
|
+
* 输入参数,包含文本提示词
|
|
1607
1613
|
*/
|
|
1608
|
-
input
|
|
1614
|
+
input: {
|
|
1609
1615
|
/**
|
|
1610
|
-
*
|
|
1611
|
-
* @default ""
|
|
1612
|
-
* @length 0 - 800
|
|
1616
|
+
* 文本提示词,描述要生成的视频内容,长度不超过800字符
|
|
1613
1617
|
*/
|
|
1614
|
-
prompt
|
|
1618
|
+
prompt: string;
|
|
1615
1619
|
/**
|
|
1616
|
-
*
|
|
1620
|
+
* 负面提示词,描述不希望出现在视频中的内容,长度不超过500字符
|
|
1617
1621
|
*/
|
|
1618
|
-
|
|
1622
|
+
negative_prompt?: string;
|
|
1619
1623
|
};
|
|
1620
1624
|
/**
|
|
1621
|
-
*
|
|
1625
|
+
* 生成参数,配置视频生成选项
|
|
1622
1626
|
*/
|
|
1623
1627
|
parameters?: {
|
|
1624
1628
|
/**
|
|
1625
|
-
*
|
|
1626
|
-
* @default ""
|
|
1627
|
-
* @
|
|
1628
|
-
*/
|
|
1629
|
-
negative_prompt?: string;
|
|
1630
|
-
/**
|
|
1631
|
-
* 视频分辨率
|
|
1632
|
-
* @default "720P"
|
|
1633
|
-
* @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
|
|
1634
1632
|
*/
|
|
1635
|
-
|
|
1633
|
+
size?: '832*480' | '480*832' | '624*624' | '1920*1080' | '1080*1920' | '1440*1440' | '1632*1248' | '1248*1632';
|
|
1636
1634
|
/**
|
|
1637
|
-
*
|
|
1635
|
+
* 视频时长(秒),wan2.2-t2v-plus固定为5秒,不可修改
|
|
1638
1636
|
* @default 5
|
|
1639
|
-
* @range 5 - 5
|
|
1640
1637
|
*/
|
|
1641
|
-
duration?:
|
|
1638
|
+
duration?: 5;
|
|
1642
1639
|
/**
|
|
1643
|
-
*
|
|
1640
|
+
* 随机种子,用于生成可重复的结果,范围0-2147483647
|
|
1644
1641
|
* @range 0 - 2147483647
|
|
1645
1642
|
*/
|
|
1646
1643
|
seed?: number;
|
|
1647
1644
|
/**
|
|
1648
|
-
*
|
|
1645
|
+
* 是否启用提示词自动扩展,开启后会丰富和优化提示词,默认true
|
|
1649
1646
|
* @default true
|
|
1650
1647
|
*/
|
|
1651
1648
|
prompt_extend?: boolean;
|
|
1652
1649
|
/**
|
|
1653
|
-
*
|
|
1650
|
+
* 是否在生成的视频上添加水印,默认false
|
|
1654
1651
|
* @default false
|
|
1655
1652
|
*/
|
|
1656
1653
|
watermark?: boolean;
|
|
@@ -1666,16 +1663,16 @@ interface AlibabaWanx22I2vFlashResource {
|
|
|
1666
1663
|
/**
|
|
1667
1664
|
* alibaba_wanx22_i2v_flash
|
|
1668
1665
|
*
|
|
1669
|
-
* Alibaba Wanx2.2
|
|
1666
|
+
* Alibaba Wanx2.2 T2V Flash 视频生成器实现
|
|
1670
1667
|
*
|
|
1671
|
-
*
|
|
1668
|
+
* Text-to-Video generation implementation for Alibaba Wanx2.2 Flash API.
|
|
1672
1669
|
*
|
|
1673
|
-
* Model: wan2.2-
|
|
1674
|
-
* Features:
|
|
1670
|
+
* Model: wan2.2-t2v-flash
|
|
1671
|
+
* Features: 文本生成视频 (Text-to-Video)
|
|
1675
1672
|
* Duration: 5秒 (固定)
|
|
1676
|
-
* Resolution:
|
|
1673
|
+
* Resolution: 支持多种分辨率 (默认1920*1080)
|
|
1677
1674
|
*
|
|
1678
|
-
* API Documentation: https://help.aliyun.com/zh/model-studio/
|
|
1675
|
+
* API Documentation: https://help.aliyun.com/zh/model-studio/text-to-video-api-reference
|
|
1679
1676
|
*
|
|
1680
1677
|
* @example
|
|
1681
1678
|
* ```typescript
|
|
@@ -1684,7 +1681,13 @@ interface AlibabaWanx22I2vFlashResource {
|
|
|
1684
1681
|
* initSeacloud('your-api-key');
|
|
1685
1682
|
*
|
|
1686
1683
|
* const result = await alibabaWanx22I2vFlash({
|
|
1687
|
-
*
|
|
1684
|
+
* input: {
|
|
1685
|
+
* prompt: "A beautiful landscape with mountains and rivers"
|
|
1686
|
+
* },
|
|
1687
|
+
* parameters: {
|
|
1688
|
+
* size: "1920*1080",
|
|
1689
|
+
* duration: 5
|
|
1690
|
+
* }
|
|
1688
1691
|
* });
|
|
1689
1692
|
*
|
|
1690
1693
|
* console.log(result); // 返回生成的资源列表
|
|
@@ -1699,7 +1702,7 @@ interface AlibabaWanx22I2vPlusParams {
|
|
|
1699
1702
|
/**
|
|
1700
1703
|
* 输入参数
|
|
1701
1704
|
*/
|
|
1702
|
-
input
|
|
1705
|
+
input: {
|
|
1703
1706
|
/**
|
|
1704
1707
|
* 图像URL,I2V模型必需,支持Base64编码或HTTP/HTTPS URL
|
|
1705
1708
|
*/
|
|
@@ -2126,7 +2129,7 @@ interface AlibabaWanx26I2vParams {
|
|
|
2126
2129
|
/**
|
|
2127
2130
|
* 输入图片URL或Base64编码(自动转换为JPEG格式的Base64)
|
|
2128
2131
|
*/
|
|
2129
|
-
img_url
|
|
2132
|
+
img_url: string;
|
|
2130
2133
|
/**
|
|
2131
2134
|
* 自定义背景音乐URL(可选)
|
|
2132
2135
|
*/
|
|
@@ -2166,7 +2169,7 @@ interface AlibabaWanx26I2vParams {
|
|
|
2166
2169
|
/**
|
|
2167
2170
|
* 是否启用多镜头模式(仅在prompt_extend=true时生效)
|
|
2168
2171
|
*/
|
|
2169
|
-
|
|
2172
|
+
multi_shots?: boolean;
|
|
2170
2173
|
/**
|
|
2171
2174
|
* 反向提示词,描述不希望出现的内容
|
|
2172
2175
|
*/
|
|
@@ -2198,7 +2201,19 @@ interface AlibabaWanx26I2vResource {
|
|
|
2198
2201
|
* initSeacloud('your-api-key');
|
|
2199
2202
|
*
|
|
2200
2203
|
* const result = await alibabaWanx26I2v({
|
|
2201
|
-
*
|
|
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
|
+
* }
|
|
2202
2217
|
* });
|
|
2203
2218
|
*
|
|
2204
2219
|
* console.log(result); // 返回生成的资源列表
|
|
@@ -2213,7 +2228,7 @@ interface AlibabaWanx26ReferenceParams {
|
|
|
2213
2228
|
/**
|
|
2214
2229
|
* 输入参数
|
|
2215
2230
|
*/
|
|
2216
|
-
input
|
|
2231
|
+
input: {
|
|
2217
2232
|
/**
|
|
2218
2233
|
* 视频生成提示词,最大长度2000字符
|
|
2219
2234
|
* @length 0 - 2000
|
|
@@ -2232,12 +2247,6 @@ interface AlibabaWanx26ReferenceParams {
|
|
|
2232
2247
|
* 生成参数
|
|
2233
2248
|
*/
|
|
2234
2249
|
parameters?: {
|
|
2235
|
-
/**
|
|
2236
|
-
* 视频分辨率,可选值:480P、720P、1080P
|
|
2237
|
-
* @default "1080P"
|
|
2238
|
-
* @values 480P | 720P | 1080P
|
|
2239
|
-
*/
|
|
2240
|
-
resolution?: '480P' | '720P' | '1080P';
|
|
2241
2250
|
/**
|
|
2242
2251
|
* 视频时长(秒),可选值:5、10(参考视频时不支持15秒)
|
|
2243
2252
|
* @default 5
|
|
@@ -2268,11 +2277,11 @@ interface AlibabaWanx26ReferenceParams {
|
|
|
2268
2277
|
*/
|
|
2269
2278
|
seed?: number;
|
|
2270
2279
|
/**
|
|
2271
|
-
*
|
|
2280
|
+
* 视频分辨率
|
|
2272
2281
|
* @default "1920*1080"
|
|
2273
|
-
* @values
|
|
2282
|
+
* @values 1280*720 | 720*1280 | 960*960 | 1088*832 | 832*1088 | 1920*1080 | 1080*1920 | 1440*1440 | 1632*1248 | 1248*1632
|
|
2274
2283
|
*/
|
|
2275
|
-
size?: '
|
|
2284
|
+
size?: '1280*720' | '720*1280' | '960*960' | '1088*832' | '832*1088' | '1920*1080' | '1080*1920' | '1440*1440' | '1632*1248' | '1248*1632';
|
|
2276
2285
|
};
|
|
2277
2286
|
}
|
|
2278
2287
|
interface AlibabaWanx26ReferenceResource {
|
|
@@ -5160,25 +5169,34 @@ declare function klingV1(params: KlingV1Params): Promise<KlingV1Resource[]>;
|
|
|
5160
5169
|
|
|
5161
5170
|
interface KlingV15Params {
|
|
5162
5171
|
/**
|
|
5163
|
-
*
|
|
5172
|
+
* 文本提示词,必填参数
|
|
5173
|
+
* @minLength 1
|
|
5174
|
+
* @maxLength 2500
|
|
5164
5175
|
*/
|
|
5165
5176
|
prompt: string;
|
|
5166
5177
|
/**
|
|
5167
|
-
*
|
|
5168
|
-
* @
|
|
5178
|
+
* 视频时长(秒),可选参数。支持字符串"5"、"10"或整数5、10
|
|
5179
|
+
* @default 5
|
|
5180
|
+
* @values 5 | 10 | "5" | "10"
|
|
5169
5181
|
*/
|
|
5170
|
-
duration
|
|
5182
|
+
duration?: 5 | 10 | '5' | '10';
|
|
5171
5183
|
/**
|
|
5172
|
-
*
|
|
5173
|
-
* @
|
|
5184
|
+
* 视频宽高比,可选参数
|
|
5185
|
+
* @default "16:9"
|
|
5186
|
+
* @values "16:9" | "9:16" | "1:1"
|
|
5174
5187
|
*/
|
|
5175
5188
|
aspect_ratio?: '16:9' | '9:16' | '1:1';
|
|
5176
5189
|
/**
|
|
5177
5190
|
* 负面提示词,可选参数。用于指定不希望出现在生成视频中的内容
|
|
5191
|
+
* @minLength 1
|
|
5192
|
+
* @maxLength 2500
|
|
5178
5193
|
*/
|
|
5179
5194
|
negative_prompt?: string;
|
|
5180
5195
|
/**
|
|
5181
|
-
* CFG
|
|
5196
|
+
* CFG比例参数,可选参数。用于控制生成内容与提示词的匹配程度,数值越高,模型的灵活性程度越低,与用户提示的关联性也就越强
|
|
5197
|
+
* @default 0.5
|
|
5198
|
+
* @min 0
|
|
5199
|
+
* @max 1
|
|
5182
5200
|
*/
|
|
5183
5201
|
cfg_scale?: number;
|
|
5184
5202
|
/**
|
|
@@ -7236,11 +7254,11 @@ interface PixverseV35TransitionParams {
|
|
|
7236
7254
|
*/
|
|
7237
7255
|
last_frame_image?: string | string[];
|
|
7238
7256
|
/**
|
|
7239
|
-
* 视频时长(秒)。支持:
|
|
7257
|
+
* 视频时长(秒)。支持: 5, 8。默认: 5
|
|
7240
7258
|
*/
|
|
7241
7259
|
duration?: number;
|
|
7242
7260
|
/**
|
|
7243
|
-
* 视频质量。支持:
|
|
7261
|
+
* 视频质量。支持: 360p, 540p, 720p, 1080p。默认: 540p
|
|
7244
7262
|
*/
|
|
7245
7263
|
quality?: string;
|
|
7246
7264
|
/**
|
|
@@ -7287,8 +7305,8 @@ interface PixverseV35TransitionResource {
|
|
|
7287
7305
|
*
|
|
7288
7306
|
* Model: v3.5
|
|
7289
7307
|
* Features: 首尾帧过渡视频生成 (First-Last Frame Transition)
|
|
7290
|
-
* Duration:
|
|
7291
|
-
* Quality:
|
|
7308
|
+
* Duration: 5, 8秒
|
|
7309
|
+
* Quality: 360p, 540p, 720p, 1080p
|
|
7292
7310
|
* Motion Modes: normal, fast
|
|
7293
7311
|
*
|
|
7294
7312
|
* API Documentation: https://docs.platform.pixverse.ai/transitionfirst-last-frame-generation-15123014e0
|
|
@@ -7321,17 +7339,17 @@ interface PixverseV35I2vParams {
|
|
|
7321
7339
|
*/
|
|
7322
7340
|
img_ids?: string[];
|
|
7323
7341
|
/**
|
|
7324
|
-
* 视频时长,5或
|
|
7342
|
+
* 视频时长,5或8秒
|
|
7325
7343
|
* @default 5
|
|
7326
|
-
* @values 5 |
|
|
7344
|
+
* @values 5 | 8
|
|
7327
7345
|
*/
|
|
7328
|
-
duration
|
|
7346
|
+
duration: 5 | 8;
|
|
7329
7347
|
/**
|
|
7330
7348
|
* 视频质量
|
|
7331
7349
|
* @default "540p"
|
|
7332
|
-
* @values
|
|
7350
|
+
* @values 360p | 540p | 720p | 1080p
|
|
7333
7351
|
*/
|
|
7334
|
-
quality
|
|
7352
|
+
quality: '360p' | '540p' | '720p' | '1080p';
|
|
7335
7353
|
/**
|
|
7336
7354
|
* 运动模式,可选参数
|
|
7337
7355
|
* @default "normal"
|
|
@@ -7514,9 +7532,9 @@ declare function pixverseV35T2v(params: PixverseV35T2vParams): Promise<PixverseV
|
|
|
7514
7532
|
*/
|
|
7515
7533
|
interface PixverseV45TransitionParams {
|
|
7516
7534
|
/**
|
|
7517
|
-
*
|
|
7535
|
+
* 视频生成提示词(必填),描述过渡效果的内容
|
|
7518
7536
|
*/
|
|
7519
|
-
prompt
|
|
7537
|
+
prompt: string;
|
|
7520
7538
|
/**
|
|
7521
7539
|
* 首帧图像(与first_frame_image二选一,必填),支持URL或Base64格式,会自动上传到PixVerse
|
|
7522
7540
|
*/
|
|
@@ -7534,27 +7552,46 @@ interface PixverseV45TransitionParams {
|
|
|
7534
7552
|
*/
|
|
7535
7553
|
last_frame_image?: string | string[];
|
|
7536
7554
|
/**
|
|
7537
|
-
*
|
|
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秒
|
|
7538
7562
|
* @default 5
|
|
7539
|
-
* @values 5 | 8
|
|
7563
|
+
* @values 5 | 8
|
|
7540
7564
|
*/
|
|
7541
|
-
duration?: 5 | 8
|
|
7565
|
+
duration?: 5 | 8;
|
|
7542
7566
|
/**
|
|
7543
|
-
* 视频质量(可选),支持:
|
|
7567
|
+
* 视频质量(可选),支持: 360p, 540p(默认), 720p, 1080p
|
|
7544
7568
|
* @default "540p"
|
|
7545
|
-
* @values
|
|
7569
|
+
* @values 360p | 540p | 720p | 1080p
|
|
7546
7570
|
*/
|
|
7547
|
-
quality?: '
|
|
7571
|
+
quality?: '360p' | '540p' | '720p' | '1080p';
|
|
7572
|
+
/**
|
|
7573
|
+
* 负向提示词(可选),描述不希望在视频中出现的内容
|
|
7574
|
+
*/
|
|
7575
|
+
negative_prompt?: string;
|
|
7548
7576
|
/**
|
|
7549
7577
|
* 运动模式(可选),支持: normal(标准), fast(快速),默认normal
|
|
7550
7578
|
* @default "normal"
|
|
7551
7579
|
* @values normal | fast
|
|
7552
7580
|
*/
|
|
7553
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';
|
|
7554
7587
|
/**
|
|
7555
7588
|
* 随机种子(可选),用于可重现的生成结果
|
|
7556
7589
|
*/
|
|
7557
7590
|
seed?: number;
|
|
7591
|
+
/**
|
|
7592
|
+
* 模板ID(可选),用于使用预定义模板
|
|
7593
|
+
*/
|
|
7594
|
+
template_id?: number;
|
|
7558
7595
|
/**
|
|
7559
7596
|
* 音效开关(可选)
|
|
7560
7597
|
*/
|
|
@@ -7592,7 +7629,7 @@ interface PixverseV45TransitionResource {
|
|
|
7592
7629
|
* Features:
|
|
7593
7630
|
* - 通过首尾两帧图像生成平滑过渡视频
|
|
7594
7631
|
* - 支持5秒、8秒、10秒视频时长
|
|
7595
|
-
* - 支持四种质量等级:
|
|
7632
|
+
* - 支持四种质量等级:360p、540p(默认)、720p、1080p
|
|
7596
7633
|
* - 支持两种运动模式:normal(标准)、fast(快速)
|
|
7597
7634
|
* - 支持音效和唇形同步TTS功能
|
|
7598
7635
|
* - 图片自动上传到PixVerse
|
|
@@ -8024,31 +8061,31 @@ interface PixverseV4TransitionParams {
|
|
|
8024
8061
|
/**
|
|
8025
8062
|
* 首帧图像,必填参数。支持URL或Base64格式,与first_frame_image二选一
|
|
8026
8063
|
*/
|
|
8027
|
-
first_frame_img?: string
|
|
8064
|
+
first_frame_img?: string;
|
|
8028
8065
|
/**
|
|
8029
8066
|
* 首帧图像,必填参数。支持URL或Base64格式,与first_frame_img二选一
|
|
8030
8067
|
*/
|
|
8031
|
-
first_frame_image?: string
|
|
8068
|
+
first_frame_image?: string;
|
|
8032
8069
|
/**
|
|
8033
8070
|
* 尾帧图像,必填参数。支持URL或Base64格式,与last_frame_image二选一
|
|
8034
8071
|
*/
|
|
8035
|
-
last_frame_img?: string
|
|
8072
|
+
last_frame_img?: string;
|
|
8036
8073
|
/**
|
|
8037
8074
|
* 尾帧图像,必填参数。支持URL或Base64格式,与last_frame_img二选一
|
|
8038
8075
|
*/
|
|
8039
|
-
last_frame_image?: string
|
|
8076
|
+
last_frame_image?: string;
|
|
8040
8077
|
/**
|
|
8041
|
-
* 视频时长(秒),可选5秒或
|
|
8078
|
+
* 视频时长(秒),可选5秒或8秒,默认5秒
|
|
8042
8079
|
* @default 5
|
|
8043
|
-
* @values 5 |
|
|
8080
|
+
* @values 5 | 8
|
|
8044
8081
|
*/
|
|
8045
|
-
duration
|
|
8082
|
+
duration: 5 | 8;
|
|
8046
8083
|
/**
|
|
8047
|
-
* 视频质量,可选
|
|
8084
|
+
* 视频质量,可选360p、540p、720p、1080p,默认540p
|
|
8048
8085
|
* @default "540p"
|
|
8049
|
-
* @values
|
|
8086
|
+
* @values 360p | 540p | 720p | 1080p
|
|
8050
8087
|
*/
|
|
8051
|
-
quality
|
|
8088
|
+
quality: '360p' | '540p' | '720p' | '1080p';
|
|
8052
8089
|
/**
|
|
8053
8090
|
* 运动模式,可选normal(标准)、fast(快速),默认normal
|
|
8054
8091
|
* @default "normal"
|
|
@@ -8310,35 +8347,36 @@ interface PixverseV55TransitionParams {
|
|
|
8310
8347
|
* 视频生成提示词
|
|
8311
8348
|
*/
|
|
8312
8349
|
prompt: string;
|
|
8313
|
-
/**
|
|
8314
|
-
* 首帧图片URL或Base64数据,会自动上传至PixVerse并转换为img_id
|
|
8315
|
-
*/
|
|
8316
|
-
first_frame_img: string;
|
|
8317
8350
|
/**
|
|
8318
8351
|
* 首帧图片URL或Base64数据(兼容字段),会自动上传至PixVerse并转换为img_id
|
|
8319
8352
|
*/
|
|
8320
|
-
|
|
8353
|
+
first_frame_img?: string;
|
|
8321
8354
|
/**
|
|
8322
|
-
*
|
|
8355
|
+
* 首帧图片URL或Base64数据,会自动上传至PixVerse并转换为img_id
|
|
8323
8356
|
*/
|
|
8324
|
-
|
|
8357
|
+
first_frame_image: string;
|
|
8325
8358
|
/**
|
|
8326
8359
|
* 尾帧图片URL或Base64数据(兼容字段),会自动上传至PixVerse并转换为img_id
|
|
8327
8360
|
*/
|
|
8328
|
-
|
|
8361
|
+
last_frame_img?: string;
|
|
8329
8362
|
/**
|
|
8330
|
-
*
|
|
8331
|
-
* @default 5
|
|
8363
|
+
* 尾帧图片URL或Base64数据,会自动上传至PixVerse并转换为img_id
|
|
8332
8364
|
*/
|
|
8333
|
-
|
|
8365
|
+
last_frame_image: string;
|
|
8334
8366
|
/**
|
|
8335
|
-
*
|
|
8336
|
-
* @
|
|
8337
|
-
* @values 540p | 720p | 1080p
|
|
8367
|
+
* 视频时长(秒),1080p不能使用10秒
|
|
8368
|
+
* @values 5 | 8 | 10
|
|
8338
8369
|
*/
|
|
8339
|
-
|
|
8370
|
+
duration: 5 | 8 | 10;
|
|
8371
|
+
/**
|
|
8372
|
+
* 视频质量,Turbo可以使用360p
|
|
8373
|
+
* @values 360p | 540p | 720p | 1080p
|
|
8374
|
+
*/
|
|
8375
|
+
quality: '360p' | '540p' | '720p' | '1080p';
|
|
8340
8376
|
/**
|
|
8341
8377
|
* 随机种子,用于生成可复现的结果(可选)
|
|
8378
|
+
* @min 0
|
|
8379
|
+
* @max 2147483647
|
|
8342
8380
|
*/
|
|
8343
8381
|
seed?: number;
|
|
8344
8382
|
/**
|
|
@@ -8619,11 +8657,11 @@ interface PixverseV5TransitionParams {
|
|
|
8619
8657
|
*/
|
|
8620
8658
|
duration?: 5;
|
|
8621
8659
|
/**
|
|
8622
|
-
* 视频质量(可选),支持:
|
|
8660
|
+
* 视频质量(可选),支持: 360p, 540p(默认), 720p, 1080p
|
|
8623
8661
|
* @default "540p"
|
|
8624
|
-
* @values
|
|
8662
|
+
* @values 360p | 540p | 720p | 1080p
|
|
8625
8663
|
*/
|
|
8626
|
-
quality?: '
|
|
8664
|
+
quality?: '360p' | '540p' | '720p' | '1080p';
|
|
8627
8665
|
/**
|
|
8628
8666
|
* 运动模式(可选),支持: normal(标准), fast(快速),默认normal
|
|
8629
8667
|
* @default "normal"
|
|
@@ -8671,7 +8709,7 @@ interface PixverseV5TransitionResource {
|
|
|
8671
8709
|
* Features:
|
|
8672
8710
|
* - 通过首尾两帧图像生成平滑过渡视频
|
|
8673
8711
|
* - 固定5秒视频时长
|
|
8674
|
-
* - 支持四种质量等级:
|
|
8712
|
+
* - 支持四种质量等级:360p、540p(默认)、720p、1080p
|
|
8675
8713
|
* - 支持两种运动模式:normal(标准)、fast(快速)
|
|
8676
8714
|
* - 支持音效和唇形同步TTS功能
|
|
8677
8715
|
* - 图片自动上传到PixVerse
|
|
@@ -13556,17 +13594,33 @@ declare function youchuanDiffusion(params: YouchuanDiffusionParams): Promise<You
|
|
|
13556
13594
|
|
|
13557
13595
|
interface YouchuanEditParams {
|
|
13558
13596
|
/**
|
|
13559
|
-
*
|
|
13597
|
+
* 任务ID
|
|
13560
13598
|
*/
|
|
13561
|
-
|
|
13599
|
+
jobId?: string;
|
|
13562
13600
|
/**
|
|
13563
|
-
*
|
|
13601
|
+
* 图像编号,必须是0、1、2或3
|
|
13564
13602
|
*/
|
|
13565
|
-
|
|
13603
|
+
imageNo?: 0 | 1 | 2 | 3;
|
|
13604
|
+
/**
|
|
13605
|
+
* 重混提示词,长度1-8192字符
|
|
13606
|
+
*/
|
|
13607
|
+
remixPrompt?: string;
|
|
13608
|
+
/**
|
|
13609
|
+
* 画布参数
|
|
13610
|
+
*/
|
|
13611
|
+
canvas?: object;
|
|
13612
|
+
/**
|
|
13613
|
+
* 图像位置参数
|
|
13614
|
+
*/
|
|
13615
|
+
imgPos?: object;
|
|
13566
13616
|
/**
|
|
13567
13617
|
* 回调URL,必须是有效的HTTP/HTTPS URL
|
|
13568
13618
|
*/
|
|
13569
13619
|
callback?: string;
|
|
13620
|
+
/**
|
|
13621
|
+
* 遮罩参数
|
|
13622
|
+
*/
|
|
13623
|
+
mask?: object;
|
|
13570
13624
|
}
|
|
13571
13625
|
interface YouchuanEditResource {
|
|
13572
13626
|
type: string;
|
|
@@ -13591,8 +13645,9 @@ interface YouchuanEditResource {
|
|
|
13591
13645
|
* initSeacloud('your-api-key');
|
|
13592
13646
|
*
|
|
13593
13647
|
* const result = await youchuanEdit({
|
|
13594
|
-
*
|
|
13595
|
-
*
|
|
13648
|
+
* jobId: 'your-job-id',
|
|
13649
|
+
* imageNo: 0,
|
|
13650
|
+
* remixPrompt: 'Make the sky more blue'
|
|
13596
13651
|
* });
|
|
13597
13652
|
*
|
|
13598
13653
|
* console.log(result); // 返回生成的资源列表
|
|
@@ -13710,6 +13765,36 @@ interface YouchuanExtendVideoResource {
|
|
|
13710
13765
|
*/
|
|
13711
13766
|
declare function youchuanExtendVideo(params: YouchuanExtendVideoParams): Promise<YouchuanExtendVideoResource[]>;
|
|
13712
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
|
+
}
|
|
13713
13798
|
interface YouchuanInpaintParams {
|
|
13714
13799
|
/**
|
|
13715
13800
|
* 任务ID
|
|
@@ -13721,17 +13806,17 @@ interface YouchuanInpaintParams {
|
|
|
13721
13806
|
*/
|
|
13722
13807
|
imageNo: 0 | 1 | 2 | 3;
|
|
13723
13808
|
/**
|
|
13724
|
-
*
|
|
13809
|
+
* 重混提示词,长度必须在1-8192字符之间
|
|
13725
13810
|
*/
|
|
13726
|
-
|
|
13811
|
+
remixPrompt: string;
|
|
13727
13812
|
/**
|
|
13728
|
-
*
|
|
13813
|
+
* 修复区域参数
|
|
13729
13814
|
*/
|
|
13730
|
-
|
|
13815
|
+
area?: YouchuanInpaintArea;
|
|
13731
13816
|
/**
|
|
13732
|
-
*
|
|
13817
|
+
* 遮罩参数,必须包含areas或url
|
|
13733
13818
|
*/
|
|
13734
|
-
|
|
13819
|
+
mask?: YouchuanInpaintMask;
|
|
13735
13820
|
/**
|
|
13736
13821
|
* 回调URL,必须是有效的HTTP/HTTPS URL
|
|
13737
13822
|
*/
|
|
@@ -13759,13 +13844,43 @@ interface YouchuanInpaintResource {
|
|
|
13759
13844
|
*
|
|
13760
13845
|
* initSeacloud('your-api-key');
|
|
13761
13846
|
*
|
|
13762
|
-
*
|
|
13847
|
+
* // 使用遮罩URL
|
|
13848
|
+
* const result1 = await youchuanInpaint({
|
|
13763
13849
|
* jobId: 'your-job-id',
|
|
13764
13850
|
* imageNo: 0,
|
|
13765
|
-
* remixPrompt: 'Fill with blue sky'
|
|
13851
|
+
* remixPrompt: 'Fill with blue sky',
|
|
13852
|
+
* mask: {
|
|
13853
|
+
* url: 'https://example.com/mask.png'
|
|
13854
|
+
* }
|
|
13766
13855
|
* });
|
|
13767
13856
|
*
|
|
13768
|
-
*
|
|
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); // 返回生成的资源列表
|
|
13769
13884
|
* ```
|
|
13770
13885
|
*
|
|
13771
13886
|
* @param params 请求参数,详见 YouchuanInpaintParams 接口定义
|
|
@@ -13784,9 +13899,9 @@ interface YouchuanOutpaintParams {
|
|
|
13784
13899
|
*/
|
|
13785
13900
|
imageNo: 0 | 1 | 2 | 3;
|
|
13786
13901
|
/**
|
|
13787
|
-
*
|
|
13902
|
+
* 扩展比例,必须是1.1到2.0之间的数字
|
|
13788
13903
|
*/
|
|
13789
|
-
|
|
13904
|
+
scale: number;
|
|
13790
13905
|
/**
|
|
13791
13906
|
* 重混提示词,长度必须在1-8192字符之间
|
|
13792
13907
|
*/
|
|
@@ -13820,7 +13935,8 @@ interface YouchuanOutpaintResource {
|
|
|
13820
13935
|
*
|
|
13821
13936
|
* const result = await youchuanOutpaint({
|
|
13822
13937
|
* jobId: 'your-job-id',
|
|
13823
|
-
* imageNo: 0
|
|
13938
|
+
* imageNo: 0,
|
|
13939
|
+
* scale: 1.5
|
|
13824
13940
|
* });
|
|
13825
13941
|
*
|
|
13826
13942
|
* console.log(result); // 返回生成的资源列表
|
|
@@ -14320,4 +14436,4 @@ declare function validateResourceUrl(resource: Resource, resourceType?: string):
|
|
|
14320
14436
|
*/
|
|
14321
14437
|
declare function validateResources(resources: Resource[], resourceType?: string): void;
|
|
14322
14438
|
|
|
14323
|
-
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 };
|