@joedeanvapi/task-sdk 0.1.3

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.
@@ -0,0 +1,2852 @@
1
+ // 该文件由 scripts/generate-models.ts 从 VAPI /v1/task 配置生成,请勿手写修改。
2
+ export const VAPI_TASK_MODEL = {
3
+ "FLUX": "flux",
4
+ "FLUX_SCHNELL": "flux-schnell",
5
+ "FLUX_DEV": "flux-dev",
6
+ "QWEN_IMAGE": "qwen-image",
7
+ "FLUX11_PRO": "flux11-pro",
8
+ "FLUX11_ULTRA": "flux11-ultra",
9
+ "Z_IMAGE_TURBO": "z-image-turbo",
10
+ "P_IMAGE": "p-image",
11
+ "SORA": "sora",
12
+ "NANO_BANANA": "nano-banana",
13
+ "NANO_BANANA_2": "nano-banana-2",
14
+ "NANO_BANANA_PRO": "nano-banana-pro",
15
+ "SEEDREAM": "seedream",
16
+ "P_IMAGE_EDIT": "p-image-edit",
17
+ "FLUX_KONTEXT_DEV": "flux-kontext-dev",
18
+ "FLUX_KONTEXT_PRO": "flux-kontext-pro",
19
+ "FLUX_KONTEXT_MAX": "flux-kontext-max",
20
+ "REAL_ESRGAN": "real-esrgan",
21
+ "BIREFNET": "birefnet",
22
+ "FACE_SWAP": "faceSwap",
23
+ "SEEDANCE_2": "seedance-2",
24
+ "SEEDANCE_2_FAST": "seedance-2-fast",
25
+ "KLING_1_6_STD": "kling-1-6-std",
26
+ "KLING_1_6_PRO": "kling-1-6-pro",
27
+ "SEEDANCE_1_PRO": "seedance-1-pro",
28
+ "SEEDANCE_1_PRO_FAST": "seedance-1-pro-fast",
29
+ "VEO_3_FAST": "veo-3-fast",
30
+ "VEO_3": "veo-3",
31
+ "VEO_3_1_FAST": "veo-3.1-fast",
32
+ "VEO_3_1": "veo-3.1",
33
+ "SORA_2": "sora-2",
34
+ "SORA_2_PRO": "sora-2-pro",
35
+ "WAN_2_2": "wan-2.2",
36
+ "P_VIDEO_AVATAR": "p-video-avatar",
37
+ "SUNO": "suno",
38
+ "MUSIC_LYRICS": "music-lyrics",
39
+ "MUSIC_STYLE": "music-style",
40
+ "VOCAL_REMOVER": "vocal-remover",
41
+ "FISH_VOICE_CLONE": "fish-voice-clone",
42
+ "FISH_TTS_S1": "fish-s1",
43
+ "FISH_TTS_S2_PRO": "fish-s2-pro",
44
+ "FISH_ASR": "fish-asr",
45
+ "QWEN3_TTS": "qwen3-tts"
46
+ };
47
+ export const VAPI_TASK_MODELS = [
48
+ "flux",
49
+ "flux-schnell",
50
+ "flux-dev",
51
+ "qwen-image",
52
+ "flux11-pro",
53
+ "flux11-ultra",
54
+ "z-image-turbo",
55
+ "p-image",
56
+ "sora",
57
+ "nano-banana",
58
+ "nano-banana-2",
59
+ "nano-banana-pro",
60
+ "seedream",
61
+ "p-image-edit",
62
+ "flux-kontext-dev",
63
+ "flux-kontext-pro",
64
+ "flux-kontext-max",
65
+ "real-esrgan",
66
+ "birefnet",
67
+ "faceSwap",
68
+ "seedance-2",
69
+ "seedance-2-fast",
70
+ "kling-1-6-std",
71
+ "kling-1-6-pro",
72
+ "seedance-1-pro",
73
+ "seedance-1-pro-fast",
74
+ "veo-3-fast",
75
+ "veo-3",
76
+ "veo-3.1-fast",
77
+ "veo-3.1",
78
+ "sora-2",
79
+ "sora-2-pro",
80
+ "wan-2.2",
81
+ "p-video-avatar",
82
+ "suno",
83
+ "music-lyrics",
84
+ "music-style",
85
+ "vocal-remover",
86
+ "fish-voice-clone",
87
+ "fish-s1",
88
+ "fish-s2-pro",
89
+ "fish-asr",
90
+ "qwen3-tts"
91
+ ];
92
+ export const VAPI_TASK_MODEL_SPECS = [
93
+ {
94
+ "model": "flux",
95
+ "group": "image",
96
+ "bizTypes": [
97
+ "text-to-image"
98
+ ],
99
+ "inputFields": [
100
+ {
101
+ "name": "text",
102
+ "type": "string",
103
+ "required": true,
104
+ "normalizeDomain": false,
105
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
106
+ },
107
+ {
108
+ "name": "aspectRatio",
109
+ "type": "string",
110
+ "required": true,
111
+ "allowedValues": [
112
+ "1:1",
113
+ "3:2",
114
+ "2:3",
115
+ "16:9",
116
+ "9:16",
117
+ "4:3",
118
+ "3:4"
119
+ ],
120
+ "normalizeDomain": false,
121
+ "description": "生成内容的画幅比例。"
122
+ },
123
+ {
124
+ "name": "num",
125
+ "type": "integer",
126
+ "required": false,
127
+ "defaultValue": 1,
128
+ "min": 1,
129
+ "normalizeDomain": false,
130
+ "description": "本次请求需要创建的任务数量。"
131
+ },
132
+ {
133
+ "name": "translate",
134
+ "type": "boolean",
135
+ "required": false,
136
+ "defaultValue": true,
137
+ "normalizeDomain": false,
138
+ "description": "是否启用提示词翻译。"
139
+ }
140
+ ],
141
+ "validationNotes": [
142
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
143
+ ]
144
+ },
145
+ {
146
+ "model": "flux-schnell",
147
+ "group": "image",
148
+ "bizTypes": [
149
+ "text-to-image"
150
+ ],
151
+ "inputFields": [
152
+ {
153
+ "name": "text",
154
+ "type": "string",
155
+ "required": true,
156
+ "normalizeDomain": false,
157
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
158
+ },
159
+ {
160
+ "name": "aspectRatio",
161
+ "type": "string",
162
+ "required": true,
163
+ "allowedValues": [
164
+ "1:1",
165
+ "3:2",
166
+ "2:3",
167
+ "16:9",
168
+ "9:16",
169
+ "4:3",
170
+ "3:4"
171
+ ],
172
+ "normalizeDomain": false,
173
+ "description": "生成内容的画幅比例。"
174
+ },
175
+ {
176
+ "name": "num",
177
+ "type": "integer",
178
+ "required": false,
179
+ "defaultValue": 1,
180
+ "min": 1,
181
+ "normalizeDomain": false,
182
+ "description": "本次请求需要创建的任务数量。"
183
+ },
184
+ {
185
+ "name": "translate",
186
+ "type": "boolean",
187
+ "required": false,
188
+ "defaultValue": true,
189
+ "normalizeDomain": false,
190
+ "description": "是否启用提示词翻译。"
191
+ }
192
+ ],
193
+ "validationNotes": [
194
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
195
+ ]
196
+ },
197
+ {
198
+ "model": "flux-dev",
199
+ "group": "image",
200
+ "bizTypes": [
201
+ "text-to-image"
202
+ ],
203
+ "inputFields": [
204
+ {
205
+ "name": "text",
206
+ "type": "string",
207
+ "required": true,
208
+ "normalizeDomain": false,
209
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
210
+ },
211
+ {
212
+ "name": "aspectRatio",
213
+ "type": "string",
214
+ "required": true,
215
+ "allowedValues": [
216
+ "1:1",
217
+ "3:2",
218
+ "2:3",
219
+ "16:9",
220
+ "9:16",
221
+ "4:3",
222
+ "3:4"
223
+ ],
224
+ "normalizeDomain": false,
225
+ "description": "生成内容的画幅比例。"
226
+ },
227
+ {
228
+ "name": "num",
229
+ "type": "integer",
230
+ "required": false,
231
+ "defaultValue": 1,
232
+ "min": 1,
233
+ "normalizeDomain": false,
234
+ "description": "本次请求需要创建的任务数量。"
235
+ },
236
+ {
237
+ "name": "translate",
238
+ "type": "boolean",
239
+ "required": false,
240
+ "defaultValue": true,
241
+ "normalizeDomain": false,
242
+ "description": "是否启用提示词翻译。"
243
+ }
244
+ ],
245
+ "validationNotes": [
246
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
247
+ ]
248
+ },
249
+ {
250
+ "model": "qwen-image",
251
+ "group": "image",
252
+ "bizTypes": [
253
+ "text-to-image"
254
+ ],
255
+ "inputFields": [
256
+ {
257
+ "name": "text",
258
+ "type": "string",
259
+ "required": true,
260
+ "normalizeDomain": false,
261
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
262
+ },
263
+ {
264
+ "name": "aspectRatio",
265
+ "type": "string",
266
+ "required": true,
267
+ "allowedValues": [
268
+ "auto",
269
+ "1:1",
270
+ "3:2",
271
+ "2:3",
272
+ "16:9",
273
+ "9:16",
274
+ "4:3",
275
+ "3:4",
276
+ "21:9"
277
+ ],
278
+ "normalizeDomain": false,
279
+ "description": "生成内容的画幅比例。"
280
+ },
281
+ {
282
+ "name": "num",
283
+ "type": "integer",
284
+ "required": false,
285
+ "defaultValue": 1,
286
+ "min": 1,
287
+ "normalizeDomain": false,
288
+ "description": "本次请求需要创建的任务数量。"
289
+ },
290
+ {
291
+ "name": "translate",
292
+ "type": "boolean",
293
+ "required": false,
294
+ "defaultValue": true,
295
+ "normalizeDomain": false,
296
+ "description": "是否启用提示词翻译。"
297
+ }
298
+ ],
299
+ "validationNotes": [
300
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
301
+ ]
302
+ },
303
+ {
304
+ "model": "flux11-pro",
305
+ "group": "image",
306
+ "bizTypes": [
307
+ "text-to-image"
308
+ ],
309
+ "inputFields": [
310
+ {
311
+ "name": "text",
312
+ "type": "string",
313
+ "required": true,
314
+ "normalizeDomain": false,
315
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
316
+ },
317
+ {
318
+ "name": "aspectRatio",
319
+ "type": "string",
320
+ "required": true,
321
+ "allowedValues": [
322
+ "1:1",
323
+ "3:2",
324
+ "2:3",
325
+ "16:9",
326
+ "9:16",
327
+ "4:3",
328
+ "3:4"
329
+ ],
330
+ "normalizeDomain": false,
331
+ "description": "生成内容的画幅比例。"
332
+ },
333
+ {
334
+ "name": "num",
335
+ "type": "integer",
336
+ "required": false,
337
+ "defaultValue": 1,
338
+ "min": 1,
339
+ "normalizeDomain": false,
340
+ "description": "本次请求需要创建的任务数量。"
341
+ },
342
+ {
343
+ "name": "translate",
344
+ "type": "boolean",
345
+ "required": false,
346
+ "defaultValue": true,
347
+ "normalizeDomain": false,
348
+ "description": "是否启用提示词翻译。"
349
+ }
350
+ ],
351
+ "validationNotes": [
352
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
353
+ ]
354
+ },
355
+ {
356
+ "model": "flux11-ultra",
357
+ "group": "image",
358
+ "bizTypes": [
359
+ "text-to-image"
360
+ ],
361
+ "inputFields": [
362
+ {
363
+ "name": "text",
364
+ "type": "string",
365
+ "required": true,
366
+ "normalizeDomain": false,
367
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
368
+ },
369
+ {
370
+ "name": "aspectRatio",
371
+ "type": "string",
372
+ "required": true,
373
+ "allowedValues": [
374
+ "auto",
375
+ "1:1",
376
+ "3:2",
377
+ "2:3",
378
+ "16:9",
379
+ "9:16",
380
+ "4:3",
381
+ "3:4",
382
+ "21:9"
383
+ ],
384
+ "normalizeDomain": false,
385
+ "description": "生成内容的画幅比例。"
386
+ },
387
+ {
388
+ "name": "num",
389
+ "type": "integer",
390
+ "required": false,
391
+ "defaultValue": 1,
392
+ "min": 1,
393
+ "normalizeDomain": false,
394
+ "description": "本次请求需要创建的任务数量。"
395
+ },
396
+ {
397
+ "name": "translate",
398
+ "type": "boolean",
399
+ "required": false,
400
+ "defaultValue": true,
401
+ "normalizeDomain": false,
402
+ "description": "是否启用提示词翻译。"
403
+ }
404
+ ],
405
+ "validationNotes": [
406
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
407
+ ]
408
+ },
409
+ {
410
+ "model": "z-image-turbo",
411
+ "group": "image",
412
+ "bizTypes": [
413
+ "text-to-image"
414
+ ],
415
+ "inputFields": [
416
+ {
417
+ "name": "text",
418
+ "type": "string",
419
+ "required": true,
420
+ "normalizeDomain": false,
421
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
422
+ },
423
+ {
424
+ "name": "aspectRatio",
425
+ "type": "string",
426
+ "required": true,
427
+ "allowedValues": [
428
+ "auto",
429
+ "1:1",
430
+ "3:2",
431
+ "2:3",
432
+ "16:9",
433
+ "9:16",
434
+ "4:3",
435
+ "3:4"
436
+ ],
437
+ "normalizeDomain": false,
438
+ "description": "生成内容的画幅比例。"
439
+ },
440
+ {
441
+ "name": "num",
442
+ "type": "integer",
443
+ "required": false,
444
+ "defaultValue": 1,
445
+ "min": 1,
446
+ "normalizeDomain": false,
447
+ "description": "本次请求需要创建的任务数量。"
448
+ },
449
+ {
450
+ "name": "translate",
451
+ "type": "boolean",
452
+ "required": false,
453
+ "defaultValue": true,
454
+ "normalizeDomain": false,
455
+ "description": "是否启用提示词翻译。"
456
+ }
457
+ ],
458
+ "validationNotes": [
459
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
460
+ ]
461
+ },
462
+ {
463
+ "model": "p-image",
464
+ "group": "image",
465
+ "bizTypes": [
466
+ "text-to-image"
467
+ ],
468
+ "inputFields": [
469
+ {
470
+ "name": "text",
471
+ "type": "string",
472
+ "required": true,
473
+ "normalizeDomain": false,
474
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
475
+ },
476
+ {
477
+ "name": "aspectRatio",
478
+ "type": "string",
479
+ "required": true,
480
+ "allowedValues": [
481
+ "1:1",
482
+ "3:2",
483
+ "2:3",
484
+ "16:9",
485
+ "9:16",
486
+ "4:3",
487
+ "3:4"
488
+ ],
489
+ "normalizeDomain": false,
490
+ "description": "生成内容的画幅比例。"
491
+ },
492
+ {
493
+ "name": "num",
494
+ "type": "integer",
495
+ "required": false,
496
+ "defaultValue": 1,
497
+ "min": 1,
498
+ "normalizeDomain": false,
499
+ "description": "本次请求需要创建的任务数量。"
500
+ },
501
+ {
502
+ "name": "translate",
503
+ "type": "boolean",
504
+ "required": false,
505
+ "defaultValue": true,
506
+ "normalizeDomain": false,
507
+ "description": "是否启用提示词翻译。"
508
+ }
509
+ ],
510
+ "validationNotes": [
511
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
512
+ ]
513
+ },
514
+ {
515
+ "model": "sora",
516
+ "group": "image",
517
+ "bizTypes": [
518
+ "image-to-image"
519
+ ],
520
+ "inputFields": [
521
+ {
522
+ "name": "text",
523
+ "type": "string",
524
+ "required": true,
525
+ "normalizeDomain": false,
526
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
527
+ },
528
+ {
529
+ "name": "imageUrls",
530
+ "type": "stringArray",
531
+ "required": false,
532
+ "maxItems": 5,
533
+ "normalizeDomain": true,
534
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
535
+ },
536
+ {
537
+ "name": "aspectRatio",
538
+ "type": "string",
539
+ "required": true,
540
+ "allowedValues": [
541
+ "auto",
542
+ "1:1",
543
+ "3:2",
544
+ "2:3",
545
+ "16:9",
546
+ "9:16",
547
+ "4:3",
548
+ "3:4",
549
+ "21:9",
550
+ "9:21",
551
+ "1:3",
552
+ "3:1",
553
+ "2:1",
554
+ "1:2"
555
+ ],
556
+ "normalizeDomain": false,
557
+ "description": "生成内容的画幅比例。"
558
+ },
559
+ {
560
+ "name": "num",
561
+ "type": "integer",
562
+ "required": false,
563
+ "defaultValue": 1,
564
+ "min": 1,
565
+ "normalizeDomain": false,
566
+ "description": "本次请求需要创建的任务数量。"
567
+ },
568
+ {
569
+ "name": "resolution",
570
+ "type": "string",
571
+ "required": false,
572
+ "normalizeDomain": false,
573
+ "description": "生成内容分辨率。"
574
+ }
575
+ ],
576
+ "mediaImageLimits": {
577
+ "minImages": 0,
578
+ "maxImages": 5
579
+ },
580
+ "validationNotes": [
581
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
582
+ "图片输入数量限制:至少 0 张,最多 5 张;按公开字段 imageUrls 计算。"
583
+ ]
584
+ },
585
+ {
586
+ "model": "nano-banana",
587
+ "group": "image",
588
+ "bizTypes": [
589
+ "image-to-image"
590
+ ],
591
+ "inputFields": [
592
+ {
593
+ "name": "text",
594
+ "type": "string",
595
+ "required": true,
596
+ "normalizeDomain": false,
597
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
598
+ },
599
+ {
600
+ "name": "imageUrls",
601
+ "type": "stringArray",
602
+ "required": false,
603
+ "maxItems": 5,
604
+ "normalizeDomain": true,
605
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
606
+ },
607
+ {
608
+ "name": "aspectRatio",
609
+ "type": "string",
610
+ "required": true,
611
+ "allowedValues": [
612
+ "auto",
613
+ "1:1",
614
+ "3:2",
615
+ "2:3",
616
+ "16:9",
617
+ "9:16",
618
+ "4:3",
619
+ "3:4",
620
+ "5:4",
621
+ "4:5",
622
+ "21:9"
623
+ ],
624
+ "normalizeDomain": false,
625
+ "description": "生成内容的画幅比例。"
626
+ },
627
+ {
628
+ "name": "num",
629
+ "type": "integer",
630
+ "required": false,
631
+ "defaultValue": 1,
632
+ "min": 1,
633
+ "normalizeDomain": false,
634
+ "description": "本次请求需要创建的任务数量。"
635
+ },
636
+ {
637
+ "name": "resolution",
638
+ "type": "string",
639
+ "required": false,
640
+ "normalizeDomain": false,
641
+ "description": "生成内容分辨率。"
642
+ }
643
+ ],
644
+ "mediaImageLimits": {
645
+ "minImages": 0,
646
+ "maxImages": 5
647
+ },
648
+ "validationNotes": [
649
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
650
+ "图片输入数量限制:至少 0 张,最多 5 张;按公开字段 imageUrls 计算。"
651
+ ]
652
+ },
653
+ {
654
+ "model": "nano-banana-2",
655
+ "group": "image",
656
+ "bizTypes": [
657
+ "image-to-image"
658
+ ],
659
+ "inputFields": [
660
+ {
661
+ "name": "text",
662
+ "type": "string",
663
+ "required": true,
664
+ "normalizeDomain": false,
665
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
666
+ },
667
+ {
668
+ "name": "imageUrls",
669
+ "type": "stringArray",
670
+ "required": false,
671
+ "maxItems": 5,
672
+ "normalizeDomain": true,
673
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
674
+ },
675
+ {
676
+ "name": "aspectRatio",
677
+ "type": "string",
678
+ "required": true,
679
+ "allowedValues": [
680
+ "auto",
681
+ "1:1",
682
+ "3:2",
683
+ "2:3",
684
+ "16:9",
685
+ "9:16",
686
+ "4:3",
687
+ "3:4",
688
+ "5:4",
689
+ "4:5",
690
+ "21:9",
691
+ "1:4",
692
+ "4:1",
693
+ "1:8",
694
+ "8:1"
695
+ ],
696
+ "normalizeDomain": false,
697
+ "description": "生成内容的画幅比例。"
698
+ },
699
+ {
700
+ "name": "num",
701
+ "type": "integer",
702
+ "required": false,
703
+ "defaultValue": 1,
704
+ "min": 1,
705
+ "normalizeDomain": false,
706
+ "description": "本次请求需要创建的任务数量。"
707
+ },
708
+ {
709
+ "name": "resolution",
710
+ "type": "string",
711
+ "required": false,
712
+ "allowedValues": [
713
+ "1k",
714
+ "2k",
715
+ "4k"
716
+ ],
717
+ "normalizeDomain": false,
718
+ "description": "生成内容分辨率。"
719
+ }
720
+ ],
721
+ "mediaImageLimits": {
722
+ "minImages": 0,
723
+ "maxImages": 5
724
+ },
725
+ "validationNotes": [
726
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
727
+ "图片输入数量限制:至少 0 张,最多 5 张;按公开字段 imageUrls 计算。"
728
+ ]
729
+ },
730
+ {
731
+ "model": "nano-banana-pro",
732
+ "group": "image",
733
+ "bizTypes": [
734
+ "image-to-image"
735
+ ],
736
+ "inputFields": [
737
+ {
738
+ "name": "text",
739
+ "type": "string",
740
+ "required": true,
741
+ "normalizeDomain": false,
742
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
743
+ },
744
+ {
745
+ "name": "imageUrls",
746
+ "type": "stringArray",
747
+ "required": false,
748
+ "maxItems": 5,
749
+ "normalizeDomain": true,
750
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
751
+ },
752
+ {
753
+ "name": "aspectRatio",
754
+ "type": "string",
755
+ "required": true,
756
+ "allowedValues": [
757
+ "auto",
758
+ "1:1",
759
+ "3:2",
760
+ "2:3",
761
+ "16:9",
762
+ "9:16",
763
+ "4:3",
764
+ "3:4",
765
+ "5:4",
766
+ "4:5",
767
+ "21:9"
768
+ ],
769
+ "normalizeDomain": false,
770
+ "description": "生成内容的画幅比例。"
771
+ },
772
+ {
773
+ "name": "num",
774
+ "type": "integer",
775
+ "required": false,
776
+ "defaultValue": 1,
777
+ "min": 1,
778
+ "normalizeDomain": false,
779
+ "description": "本次请求需要创建的任务数量。"
780
+ },
781
+ {
782
+ "name": "resolution",
783
+ "type": "string",
784
+ "required": false,
785
+ "allowedValues": [
786
+ "1k",
787
+ "2k",
788
+ "4k"
789
+ ],
790
+ "normalizeDomain": false,
791
+ "description": "生成内容分辨率。"
792
+ }
793
+ ],
794
+ "mediaImageLimits": {
795
+ "minImages": 0,
796
+ "maxImages": 5
797
+ },
798
+ "validationNotes": [
799
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
800
+ "图片输入数量限制:至少 0 张,最多 5 张;按公开字段 imageUrls 计算。"
801
+ ]
802
+ },
803
+ {
804
+ "model": "seedream",
805
+ "group": "image",
806
+ "bizTypes": [
807
+ "image-to-image"
808
+ ],
809
+ "inputFields": [
810
+ {
811
+ "name": "text",
812
+ "type": "string",
813
+ "required": true,
814
+ "normalizeDomain": false,
815
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
816
+ },
817
+ {
818
+ "name": "imageUrls",
819
+ "type": "stringArray",
820
+ "required": false,
821
+ "maxItems": 14,
822
+ "normalizeDomain": true,
823
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
824
+ },
825
+ {
826
+ "name": "aspectRatio",
827
+ "type": "string",
828
+ "required": true,
829
+ "allowedValues": [
830
+ "1:1",
831
+ "3:2",
832
+ "2:3",
833
+ "16:9",
834
+ "9:16",
835
+ "4:3",
836
+ "3:4"
837
+ ],
838
+ "normalizeDomain": false,
839
+ "description": "生成内容的画幅比例。"
840
+ },
841
+ {
842
+ "name": "num",
843
+ "type": "integer",
844
+ "required": false,
845
+ "defaultValue": 1,
846
+ "min": 1,
847
+ "normalizeDomain": false,
848
+ "description": "本次请求需要创建的任务数量。"
849
+ },
850
+ {
851
+ "name": "resolution",
852
+ "type": "string",
853
+ "required": false,
854
+ "normalizeDomain": false,
855
+ "description": "生成内容分辨率。"
856
+ }
857
+ ],
858
+ "mediaImageLimits": {
859
+ "minImages": 0,
860
+ "maxImages": 14
861
+ },
862
+ "validationNotes": [
863
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
864
+ "图片输入数量限制:至少 0 张,最多 14 张;按公开字段 imageUrls 计算。"
865
+ ]
866
+ },
867
+ {
868
+ "model": "p-image-edit",
869
+ "group": "image",
870
+ "bizTypes": [
871
+ "image-to-image"
872
+ ],
873
+ "inputFields": [
874
+ {
875
+ "name": "text",
876
+ "type": "string",
877
+ "required": true,
878
+ "normalizeDomain": false,
879
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
880
+ },
881
+ {
882
+ "name": "imageUrls",
883
+ "type": "stringArray",
884
+ "required": true,
885
+ "minItems": 1,
886
+ "maxItems": 5,
887
+ "normalizeDomain": true,
888
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
889
+ },
890
+ {
891
+ "name": "aspectRatio",
892
+ "type": "string",
893
+ "required": true,
894
+ "allowedValues": [
895
+ "auto",
896
+ "1:1",
897
+ "3:2",
898
+ "2:3",
899
+ "16:9",
900
+ "9:16",
901
+ "4:3",
902
+ "3:4"
903
+ ],
904
+ "normalizeDomain": false,
905
+ "description": "生成内容的画幅比例。"
906
+ },
907
+ {
908
+ "name": "num",
909
+ "type": "integer",
910
+ "required": false,
911
+ "defaultValue": 1,
912
+ "min": 1,
913
+ "normalizeDomain": false,
914
+ "description": "本次请求需要创建的任务数量。"
915
+ },
916
+ {
917
+ "name": "resolution",
918
+ "type": "string",
919
+ "required": false,
920
+ "normalizeDomain": false,
921
+ "description": "生成内容分辨率。"
922
+ }
923
+ ],
924
+ "mediaImageLimits": {
925
+ "minImages": 1,
926
+ "maxImages": 5
927
+ },
928
+ "validationNotes": [
929
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
930
+ "图片输入数量限制:至少 1 张,最多 5 张;按公开字段 imageUrls 计算。"
931
+ ]
932
+ },
933
+ {
934
+ "model": "flux-kontext-dev",
935
+ "group": "image",
936
+ "bizTypes": [
937
+ "image-editor"
938
+ ],
939
+ "inputFields": [
940
+ {
941
+ "name": "text",
942
+ "type": "string",
943
+ "required": true,
944
+ "normalizeDomain": false,
945
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
946
+ },
947
+ {
948
+ "name": "imageUrl",
949
+ "type": "string",
950
+ "required": true,
951
+ "normalizeDomain": true,
952
+ "description": "单张图片 URL,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
953
+ },
954
+ {
955
+ "name": "aspectRatio",
956
+ "type": "string",
957
+ "required": true,
958
+ "allowedValues": [
959
+ "auto",
960
+ "1:1",
961
+ "3:2",
962
+ "2:3",
963
+ "16:9",
964
+ "9:16",
965
+ "4:3",
966
+ "3:4"
967
+ ],
968
+ "normalizeDomain": false,
969
+ "description": "生成内容的画幅比例。"
970
+ },
971
+ {
972
+ "name": "num",
973
+ "type": "integer",
974
+ "required": false,
975
+ "defaultValue": 1,
976
+ "min": 1,
977
+ "normalizeDomain": false,
978
+ "description": "本次请求需要创建的任务数量。"
979
+ },
980
+ {
981
+ "name": "translate",
982
+ "type": "boolean",
983
+ "required": false,
984
+ "defaultValue": true,
985
+ "normalizeDomain": false,
986
+ "description": "是否启用提示词翻译。"
987
+ }
988
+ ],
989
+ "mediaImageLimits": {
990
+ "minImages": 1,
991
+ "maxImages": 1
992
+ },
993
+ "validationNotes": [
994
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
995
+ "图片输入数量限制:至少 1 张,最多 1 张;按公开字段 imageUrl 计算。"
996
+ ]
997
+ },
998
+ {
999
+ "model": "flux-kontext-pro",
1000
+ "group": "image",
1001
+ "bizTypes": [
1002
+ "image-editor"
1003
+ ],
1004
+ "inputFields": [
1005
+ {
1006
+ "name": "text",
1007
+ "type": "string",
1008
+ "required": true,
1009
+ "normalizeDomain": false,
1010
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
1011
+ },
1012
+ {
1013
+ "name": "imageUrl",
1014
+ "type": "string",
1015
+ "required": true,
1016
+ "normalizeDomain": true,
1017
+ "description": "单张图片 URL,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1018
+ },
1019
+ {
1020
+ "name": "aspectRatio",
1021
+ "type": "string",
1022
+ "required": true,
1023
+ "allowedValues": [
1024
+ "auto",
1025
+ "1:1",
1026
+ "3:2",
1027
+ "2:3",
1028
+ "16:9",
1029
+ "9:16",
1030
+ "4:3",
1031
+ "3:4"
1032
+ ],
1033
+ "normalizeDomain": false,
1034
+ "description": "生成内容的画幅比例。"
1035
+ },
1036
+ {
1037
+ "name": "num",
1038
+ "type": "integer",
1039
+ "required": false,
1040
+ "defaultValue": 1,
1041
+ "min": 1,
1042
+ "normalizeDomain": false,
1043
+ "description": "本次请求需要创建的任务数量。"
1044
+ },
1045
+ {
1046
+ "name": "translate",
1047
+ "type": "boolean",
1048
+ "required": false,
1049
+ "defaultValue": true,
1050
+ "normalizeDomain": false,
1051
+ "description": "是否启用提示词翻译。"
1052
+ }
1053
+ ],
1054
+ "mediaImageLimits": {
1055
+ "minImages": 1,
1056
+ "maxImages": 1
1057
+ },
1058
+ "validationNotes": [
1059
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
1060
+ "图片输入数量限制:至少 1 张,最多 1 张;按公开字段 imageUrl 计算。"
1061
+ ]
1062
+ },
1063
+ {
1064
+ "model": "flux-kontext-max",
1065
+ "group": "image",
1066
+ "bizTypes": [
1067
+ "image-editor"
1068
+ ],
1069
+ "inputFields": [
1070
+ {
1071
+ "name": "text",
1072
+ "type": "string",
1073
+ "required": true,
1074
+ "normalizeDomain": false,
1075
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
1076
+ },
1077
+ {
1078
+ "name": "imageUrl",
1079
+ "type": "string",
1080
+ "required": true,
1081
+ "normalizeDomain": true,
1082
+ "description": "单张图片 URL,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1083
+ },
1084
+ {
1085
+ "name": "aspectRatio",
1086
+ "type": "string",
1087
+ "required": true,
1088
+ "allowedValues": [
1089
+ "auto",
1090
+ "1:1",
1091
+ "3:2",
1092
+ "2:3",
1093
+ "16:9",
1094
+ "9:16",
1095
+ "4:3",
1096
+ "3:4"
1097
+ ],
1098
+ "normalizeDomain": false,
1099
+ "description": "生成内容的画幅比例。"
1100
+ },
1101
+ {
1102
+ "name": "num",
1103
+ "type": "integer",
1104
+ "required": false,
1105
+ "defaultValue": 1,
1106
+ "min": 1,
1107
+ "normalizeDomain": false,
1108
+ "description": "本次请求需要创建的任务数量。"
1109
+ },
1110
+ {
1111
+ "name": "translate",
1112
+ "type": "boolean",
1113
+ "required": false,
1114
+ "defaultValue": true,
1115
+ "normalizeDomain": false,
1116
+ "description": "是否启用提示词翻译。"
1117
+ }
1118
+ ],
1119
+ "mediaImageLimits": {
1120
+ "minImages": 1,
1121
+ "maxImages": 1
1122
+ },
1123
+ "validationNotes": [
1124
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
1125
+ "图片输入数量限制:至少 1 张,最多 1 张;按公开字段 imageUrl 计算。"
1126
+ ]
1127
+ },
1128
+ {
1129
+ "model": "real-esrgan",
1130
+ "group": "image",
1131
+ "bizTypes": [
1132
+ "image-upscale"
1133
+ ],
1134
+ "inputFields": [
1135
+ {
1136
+ "name": "imageUrl",
1137
+ "type": "string",
1138
+ "required": true,
1139
+ "normalizeDomain": true,
1140
+ "description": "单张图片 URL,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1141
+ },
1142
+ {
1143
+ "name": "upscaleFactor",
1144
+ "type": "number",
1145
+ "required": true,
1146
+ "min": 1,
1147
+ "max": 4,
1148
+ "normalizeDomain": false,
1149
+ "description": "图片放大倍数。"
1150
+ }
1151
+ ],
1152
+ "validationNotes": [
1153
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
1154
+ ]
1155
+ },
1156
+ {
1157
+ "model": "birefnet",
1158
+ "group": "image",
1159
+ "bizTypes": [
1160
+ "background-remove"
1161
+ ],
1162
+ "inputFields": [
1163
+ {
1164
+ "name": "imageUrl",
1165
+ "type": "string",
1166
+ "required": true,
1167
+ "normalizeDomain": true,
1168
+ "description": "单张图片 URL,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1169
+ }
1170
+ ],
1171
+ "validationNotes": [
1172
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
1173
+ ]
1174
+ },
1175
+ {
1176
+ "model": "faceSwap",
1177
+ "group": "image",
1178
+ "bizTypes": [
1179
+ "face-swap"
1180
+ ],
1181
+ "inputFields": [
1182
+ {
1183
+ "name": "imageUrls",
1184
+ "type": "stringArray",
1185
+ "required": true,
1186
+ "minItems": 2,
1187
+ "maxItems": 2,
1188
+ "normalizeDomain": true,
1189
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1190
+ }
1191
+ ],
1192
+ "validationNotes": [
1193
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
1194
+ ]
1195
+ },
1196
+ {
1197
+ "model": "seedance-2",
1198
+ "group": "video",
1199
+ "bizTypes": [
1200
+ "video"
1201
+ ],
1202
+ "inputFields": [
1203
+ {
1204
+ "name": "text",
1205
+ "type": "string",
1206
+ "required": true,
1207
+ "normalizeDomain": false,
1208
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
1209
+ },
1210
+ {
1211
+ "name": "duration",
1212
+ "type": "integer",
1213
+ "required": false,
1214
+ "min": 4,
1215
+ "max": 15,
1216
+ "normalizeDomain": false,
1217
+ "description": "视频或音频生成时长。"
1218
+ },
1219
+ {
1220
+ "name": "aspectRatio",
1221
+ "type": "string",
1222
+ "required": false,
1223
+ "allowedValues": [
1224
+ "16:9",
1225
+ "4:3",
1226
+ "1:1",
1227
+ "3:4",
1228
+ "9:16",
1229
+ "21:9",
1230
+ "auto"
1231
+ ],
1232
+ "normalizeDomain": false,
1233
+ "description": "生成内容的画幅比例。"
1234
+ },
1235
+ {
1236
+ "name": "resolution",
1237
+ "type": "string",
1238
+ "required": false,
1239
+ "allowedValues": [
1240
+ "480p",
1241
+ "720p"
1242
+ ],
1243
+ "normalizeDomain": false,
1244
+ "description": "生成内容分辨率。"
1245
+ },
1246
+ {
1247
+ "name": "imageUrls",
1248
+ "type": "stringArray",
1249
+ "required": false,
1250
+ "maxItems": 9,
1251
+ "normalizeDomain": true,
1252
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1253
+ },
1254
+ {
1255
+ "name": "videoUrls",
1256
+ "type": "stringArray",
1257
+ "required": false,
1258
+ "maxItems": 3,
1259
+ "normalizeDomain": true,
1260
+ "description": "视频 URL 数组。 URL 会进行历史资源域名归一化。"
1261
+ },
1262
+ {
1263
+ "name": "audioUrls",
1264
+ "type": "stringArray",
1265
+ "required": false,
1266
+ "maxItems": 3,
1267
+ "normalizeDomain": true,
1268
+ "description": "音频 URL 数组。 URL 会进行历史资源域名归一化。"
1269
+ },
1270
+ {
1271
+ "name": "generateAudio",
1272
+ "type": "boolean",
1273
+ "required": false,
1274
+ "normalizeDomain": false,
1275
+ "description": "视频模型是否生成音频。"
1276
+ },
1277
+ {
1278
+ "name": "webSearch",
1279
+ "type": "boolean",
1280
+ "required": false,
1281
+ "normalizeDomain": false,
1282
+ "description": "视频模型是否启用联网搜索能力。"
1283
+ }
1284
+ ],
1285
+ "validationNotes": [
1286
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
1287
+ ]
1288
+ },
1289
+ {
1290
+ "model": "seedance-2-fast",
1291
+ "group": "video",
1292
+ "bizTypes": [
1293
+ "video"
1294
+ ],
1295
+ "inputFields": [
1296
+ {
1297
+ "name": "text",
1298
+ "type": "string",
1299
+ "required": true,
1300
+ "normalizeDomain": false,
1301
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
1302
+ },
1303
+ {
1304
+ "name": "duration",
1305
+ "type": "integer",
1306
+ "required": false,
1307
+ "min": 4,
1308
+ "max": 15,
1309
+ "normalizeDomain": false,
1310
+ "description": "视频或音频生成时长。"
1311
+ },
1312
+ {
1313
+ "name": "aspectRatio",
1314
+ "type": "string",
1315
+ "required": false,
1316
+ "allowedValues": [
1317
+ "16:9",
1318
+ "4:3",
1319
+ "1:1",
1320
+ "3:4",
1321
+ "9:16",
1322
+ "21:9",
1323
+ "auto"
1324
+ ],
1325
+ "normalizeDomain": false,
1326
+ "description": "生成内容的画幅比例。"
1327
+ },
1328
+ {
1329
+ "name": "resolution",
1330
+ "type": "string",
1331
+ "required": false,
1332
+ "allowedValues": [
1333
+ "480p",
1334
+ "720p"
1335
+ ],
1336
+ "normalizeDomain": false,
1337
+ "description": "生成内容分辨率。"
1338
+ },
1339
+ {
1340
+ "name": "imageUrls",
1341
+ "type": "stringArray",
1342
+ "required": false,
1343
+ "maxItems": 9,
1344
+ "normalizeDomain": true,
1345
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1346
+ },
1347
+ {
1348
+ "name": "videoUrls",
1349
+ "type": "stringArray",
1350
+ "required": false,
1351
+ "maxItems": 3,
1352
+ "normalizeDomain": true,
1353
+ "description": "视频 URL 数组。 URL 会进行历史资源域名归一化。"
1354
+ },
1355
+ {
1356
+ "name": "audioUrls",
1357
+ "type": "stringArray",
1358
+ "required": false,
1359
+ "maxItems": 3,
1360
+ "normalizeDomain": true,
1361
+ "description": "音频 URL 数组。 URL 会进行历史资源域名归一化。"
1362
+ },
1363
+ {
1364
+ "name": "generateAudio",
1365
+ "type": "boolean",
1366
+ "required": false,
1367
+ "normalizeDomain": false,
1368
+ "description": "视频模型是否生成音频。"
1369
+ },
1370
+ {
1371
+ "name": "webSearch",
1372
+ "type": "boolean",
1373
+ "required": false,
1374
+ "normalizeDomain": false,
1375
+ "description": "视频模型是否启用联网搜索能力。"
1376
+ }
1377
+ ],
1378
+ "validationNotes": [
1379
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
1380
+ ]
1381
+ },
1382
+ {
1383
+ "model": "kling-1-6-std",
1384
+ "group": "video",
1385
+ "bizTypes": [
1386
+ "image-to-video",
1387
+ "text-to-video"
1388
+ ],
1389
+ "inputFields": [
1390
+ {
1391
+ "name": "text",
1392
+ "type": "string",
1393
+ "required": true,
1394
+ "normalizeDomain": false,
1395
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
1396
+ },
1397
+ {
1398
+ "name": "imageUrls",
1399
+ "type": "stringArray",
1400
+ "required": false,
1401
+ "normalizeDomain": true,
1402
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1403
+ },
1404
+ {
1405
+ "name": "firstFrame",
1406
+ "type": "string",
1407
+ "required": false,
1408
+ "normalizeDomain": true,
1409
+ "description": "图生视频首帧图片 URL。 URL 会进行历史资源域名归一化。"
1410
+ },
1411
+ {
1412
+ "name": "lastFrame",
1413
+ "type": "string",
1414
+ "required": false,
1415
+ "normalizeDomain": true,
1416
+ "description": "图生视频尾帧图片 URL。 URL 会进行历史资源域名归一化。"
1417
+ },
1418
+ {
1419
+ "name": "references",
1420
+ "type": "string",
1421
+ "required": false,
1422
+ "normalizeDomain": true,
1423
+ "description": "旧视频模型使用的参考媒体字段。 URL 会进行历史资源域名归一化。"
1424
+ },
1425
+ {
1426
+ "name": "aspectRatio",
1427
+ "type": "string",
1428
+ "required": false,
1429
+ "allowedValues": [
1430
+ "1:1",
1431
+ "3:2",
1432
+ "2:3",
1433
+ "5:4",
1434
+ "4:5",
1435
+ "3:4",
1436
+ "4:3",
1437
+ "1:4",
1438
+ "4:1",
1439
+ "1:8",
1440
+ "8:1",
1441
+ "9:16",
1442
+ "16:9",
1443
+ "21:9",
1444
+ "9:21",
1445
+ "1:3",
1446
+ "3:1",
1447
+ "2:1",
1448
+ "1:2",
1449
+ "auto"
1450
+ ],
1451
+ "normalizeDomain": false,
1452
+ "description": "生成内容的画幅比例。"
1453
+ },
1454
+ {
1455
+ "name": "duration",
1456
+ "type": "integer",
1457
+ "required": false,
1458
+ "min": 1,
1459
+ "max": 15,
1460
+ "normalizeDomain": false,
1461
+ "description": "视频或音频生成时长。"
1462
+ },
1463
+ {
1464
+ "name": "resolution",
1465
+ "type": "string",
1466
+ "required": false,
1467
+ "allowedValues": [
1468
+ "480p",
1469
+ "720p",
1470
+ "1080p"
1471
+ ],
1472
+ "normalizeDomain": false,
1473
+ "description": "生成内容分辨率。"
1474
+ }
1475
+ ],
1476
+ "validationNotes": [
1477
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
1478
+ "该模型会根据输入字段自动分流到不同业务变体。"
1479
+ ]
1480
+ },
1481
+ {
1482
+ "model": "kling-1-6-pro",
1483
+ "group": "video",
1484
+ "bizTypes": [
1485
+ "image-to-video",
1486
+ "text-to-video"
1487
+ ],
1488
+ "inputFields": [
1489
+ {
1490
+ "name": "text",
1491
+ "type": "string",
1492
+ "required": true,
1493
+ "normalizeDomain": false,
1494
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
1495
+ },
1496
+ {
1497
+ "name": "imageUrls",
1498
+ "type": "stringArray",
1499
+ "required": false,
1500
+ "normalizeDomain": true,
1501
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1502
+ },
1503
+ {
1504
+ "name": "firstFrame",
1505
+ "type": "string",
1506
+ "required": false,
1507
+ "normalizeDomain": true,
1508
+ "description": "图生视频首帧图片 URL。 URL 会进行历史资源域名归一化。"
1509
+ },
1510
+ {
1511
+ "name": "lastFrame",
1512
+ "type": "string",
1513
+ "required": false,
1514
+ "normalizeDomain": true,
1515
+ "description": "图生视频尾帧图片 URL。 URL 会进行历史资源域名归一化。"
1516
+ },
1517
+ {
1518
+ "name": "references",
1519
+ "type": "string",
1520
+ "required": false,
1521
+ "normalizeDomain": true,
1522
+ "description": "旧视频模型使用的参考媒体字段。 URL 会进行历史资源域名归一化。"
1523
+ },
1524
+ {
1525
+ "name": "aspectRatio",
1526
+ "type": "string",
1527
+ "required": false,
1528
+ "allowedValues": [
1529
+ "1:1",
1530
+ "3:2",
1531
+ "2:3",
1532
+ "5:4",
1533
+ "4:5",
1534
+ "3:4",
1535
+ "4:3",
1536
+ "1:4",
1537
+ "4:1",
1538
+ "1:8",
1539
+ "8:1",
1540
+ "9:16",
1541
+ "16:9",
1542
+ "21:9",
1543
+ "9:21",
1544
+ "1:3",
1545
+ "3:1",
1546
+ "2:1",
1547
+ "1:2",
1548
+ "auto"
1549
+ ],
1550
+ "normalizeDomain": false,
1551
+ "description": "生成内容的画幅比例。"
1552
+ },
1553
+ {
1554
+ "name": "duration",
1555
+ "type": "integer",
1556
+ "required": false,
1557
+ "min": 1,
1558
+ "max": 15,
1559
+ "normalizeDomain": false,
1560
+ "description": "视频或音频生成时长。"
1561
+ },
1562
+ {
1563
+ "name": "resolution",
1564
+ "type": "string",
1565
+ "required": false,
1566
+ "allowedValues": [
1567
+ "480p",
1568
+ "720p",
1569
+ "1080p"
1570
+ ],
1571
+ "normalizeDomain": false,
1572
+ "description": "生成内容分辨率。"
1573
+ }
1574
+ ],
1575
+ "validationNotes": [
1576
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
1577
+ "该模型会根据输入字段自动分流到不同业务变体。"
1578
+ ]
1579
+ },
1580
+ {
1581
+ "model": "seedance-1-pro",
1582
+ "group": "video",
1583
+ "bizTypes": [
1584
+ "image-to-video",
1585
+ "text-to-video"
1586
+ ],
1587
+ "inputFields": [
1588
+ {
1589
+ "name": "text",
1590
+ "type": "string",
1591
+ "required": true,
1592
+ "normalizeDomain": false,
1593
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
1594
+ },
1595
+ {
1596
+ "name": "imageUrls",
1597
+ "type": "stringArray",
1598
+ "required": false,
1599
+ "normalizeDomain": true,
1600
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1601
+ },
1602
+ {
1603
+ "name": "firstFrame",
1604
+ "type": "string",
1605
+ "required": false,
1606
+ "normalizeDomain": true,
1607
+ "description": "图生视频首帧图片 URL。 URL 会进行历史资源域名归一化。"
1608
+ },
1609
+ {
1610
+ "name": "lastFrame",
1611
+ "type": "string",
1612
+ "required": false,
1613
+ "normalizeDomain": true,
1614
+ "description": "图生视频尾帧图片 URL。 URL 会进行历史资源域名归一化。"
1615
+ },
1616
+ {
1617
+ "name": "references",
1618
+ "type": "string",
1619
+ "required": false,
1620
+ "normalizeDomain": true,
1621
+ "description": "旧视频模型使用的参考媒体字段。 URL 会进行历史资源域名归一化。"
1622
+ },
1623
+ {
1624
+ "name": "aspectRatio",
1625
+ "type": "string",
1626
+ "required": false,
1627
+ "allowedValues": [
1628
+ "1:1",
1629
+ "3:2",
1630
+ "2:3",
1631
+ "5:4",
1632
+ "4:5",
1633
+ "3:4",
1634
+ "4:3",
1635
+ "1:4",
1636
+ "4:1",
1637
+ "1:8",
1638
+ "8:1",
1639
+ "9:16",
1640
+ "16:9",
1641
+ "21:9",
1642
+ "9:21",
1643
+ "1:3",
1644
+ "3:1",
1645
+ "2:1",
1646
+ "1:2",
1647
+ "auto"
1648
+ ],
1649
+ "normalizeDomain": false,
1650
+ "description": "生成内容的画幅比例。"
1651
+ },
1652
+ {
1653
+ "name": "duration",
1654
+ "type": "integer",
1655
+ "required": false,
1656
+ "min": 1,
1657
+ "max": 15,
1658
+ "normalizeDomain": false,
1659
+ "description": "视频或音频生成时长。"
1660
+ },
1661
+ {
1662
+ "name": "resolution",
1663
+ "type": "string",
1664
+ "required": false,
1665
+ "allowedValues": [
1666
+ "480p",
1667
+ "720p",
1668
+ "1080p"
1669
+ ],
1670
+ "normalizeDomain": false,
1671
+ "description": "生成内容分辨率。"
1672
+ }
1673
+ ],
1674
+ "validationNotes": [
1675
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
1676
+ "该模型会根据输入字段自动分流到不同业务变体。"
1677
+ ]
1678
+ },
1679
+ {
1680
+ "model": "seedance-1-pro-fast",
1681
+ "group": "video",
1682
+ "bizTypes": [
1683
+ "image-to-video",
1684
+ "text-to-video"
1685
+ ],
1686
+ "inputFields": [
1687
+ {
1688
+ "name": "text",
1689
+ "type": "string",
1690
+ "required": true,
1691
+ "normalizeDomain": false,
1692
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
1693
+ },
1694
+ {
1695
+ "name": "imageUrls",
1696
+ "type": "stringArray",
1697
+ "required": false,
1698
+ "normalizeDomain": true,
1699
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1700
+ },
1701
+ {
1702
+ "name": "firstFrame",
1703
+ "type": "string",
1704
+ "required": false,
1705
+ "normalizeDomain": true,
1706
+ "description": "图生视频首帧图片 URL。 URL 会进行历史资源域名归一化。"
1707
+ },
1708
+ {
1709
+ "name": "lastFrame",
1710
+ "type": "string",
1711
+ "required": false,
1712
+ "normalizeDomain": true,
1713
+ "description": "图生视频尾帧图片 URL。 URL 会进行历史资源域名归一化。"
1714
+ },
1715
+ {
1716
+ "name": "references",
1717
+ "type": "string",
1718
+ "required": false,
1719
+ "normalizeDomain": true,
1720
+ "description": "旧视频模型使用的参考媒体字段。 URL 会进行历史资源域名归一化。"
1721
+ },
1722
+ {
1723
+ "name": "aspectRatio",
1724
+ "type": "string",
1725
+ "required": false,
1726
+ "allowedValues": [
1727
+ "1:1",
1728
+ "3:2",
1729
+ "2:3",
1730
+ "5:4",
1731
+ "4:5",
1732
+ "3:4",
1733
+ "4:3",
1734
+ "1:4",
1735
+ "4:1",
1736
+ "1:8",
1737
+ "8:1",
1738
+ "9:16",
1739
+ "16:9",
1740
+ "21:9",
1741
+ "9:21",
1742
+ "1:3",
1743
+ "3:1",
1744
+ "2:1",
1745
+ "1:2",
1746
+ "auto"
1747
+ ],
1748
+ "normalizeDomain": false,
1749
+ "description": "生成内容的画幅比例。"
1750
+ },
1751
+ {
1752
+ "name": "duration",
1753
+ "type": "integer",
1754
+ "required": false,
1755
+ "min": 1,
1756
+ "max": 15,
1757
+ "normalizeDomain": false,
1758
+ "description": "视频或音频生成时长。"
1759
+ },
1760
+ {
1761
+ "name": "resolution",
1762
+ "type": "string",
1763
+ "required": false,
1764
+ "allowedValues": [
1765
+ "480p",
1766
+ "720p",
1767
+ "1080p"
1768
+ ],
1769
+ "normalizeDomain": false,
1770
+ "description": "生成内容分辨率。"
1771
+ }
1772
+ ],
1773
+ "validationNotes": [
1774
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
1775
+ "该模型会根据输入字段自动分流到不同业务变体。"
1776
+ ]
1777
+ },
1778
+ {
1779
+ "model": "veo-3-fast",
1780
+ "group": "video",
1781
+ "bizTypes": [
1782
+ "image-to-video",
1783
+ "text-to-video"
1784
+ ],
1785
+ "inputFields": [
1786
+ {
1787
+ "name": "text",
1788
+ "type": "string",
1789
+ "required": true,
1790
+ "normalizeDomain": false,
1791
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
1792
+ },
1793
+ {
1794
+ "name": "imageUrls",
1795
+ "type": "stringArray",
1796
+ "required": false,
1797
+ "normalizeDomain": true,
1798
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1799
+ },
1800
+ {
1801
+ "name": "firstFrame",
1802
+ "type": "string",
1803
+ "required": false,
1804
+ "normalizeDomain": true,
1805
+ "description": "图生视频首帧图片 URL。 URL 会进行历史资源域名归一化。"
1806
+ },
1807
+ {
1808
+ "name": "lastFrame",
1809
+ "type": "string",
1810
+ "required": false,
1811
+ "normalizeDomain": true,
1812
+ "description": "图生视频尾帧图片 URL。 URL 会进行历史资源域名归一化。"
1813
+ },
1814
+ {
1815
+ "name": "references",
1816
+ "type": "string",
1817
+ "required": false,
1818
+ "normalizeDomain": true,
1819
+ "description": "旧视频模型使用的参考媒体字段。 URL 会进行历史资源域名归一化。"
1820
+ },
1821
+ {
1822
+ "name": "aspectRatio",
1823
+ "type": "string",
1824
+ "required": false,
1825
+ "allowedValues": [
1826
+ "1:1",
1827
+ "3:2",
1828
+ "2:3",
1829
+ "5:4",
1830
+ "4:5",
1831
+ "3:4",
1832
+ "4:3",
1833
+ "1:4",
1834
+ "4:1",
1835
+ "1:8",
1836
+ "8:1",
1837
+ "9:16",
1838
+ "16:9",
1839
+ "21:9",
1840
+ "9:21",
1841
+ "1:3",
1842
+ "3:1",
1843
+ "2:1",
1844
+ "1:2",
1845
+ "auto"
1846
+ ],
1847
+ "normalizeDomain": false,
1848
+ "description": "生成内容的画幅比例。"
1849
+ },
1850
+ {
1851
+ "name": "duration",
1852
+ "type": "integer",
1853
+ "required": false,
1854
+ "min": 1,
1855
+ "max": 15,
1856
+ "normalizeDomain": false,
1857
+ "description": "视频或音频生成时长。"
1858
+ },
1859
+ {
1860
+ "name": "resolution",
1861
+ "type": "string",
1862
+ "required": false,
1863
+ "allowedValues": [
1864
+ "480p",
1865
+ "720p",
1866
+ "1080p"
1867
+ ],
1868
+ "normalizeDomain": false,
1869
+ "description": "生成内容分辨率。"
1870
+ }
1871
+ ],
1872
+ "validationNotes": [
1873
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
1874
+ "该模型会根据输入字段自动分流到不同业务变体。"
1875
+ ]
1876
+ },
1877
+ {
1878
+ "model": "veo-3",
1879
+ "group": "video",
1880
+ "bizTypes": [
1881
+ "image-to-video",
1882
+ "text-to-video"
1883
+ ],
1884
+ "inputFields": [
1885
+ {
1886
+ "name": "text",
1887
+ "type": "string",
1888
+ "required": true,
1889
+ "normalizeDomain": false,
1890
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
1891
+ },
1892
+ {
1893
+ "name": "imageUrls",
1894
+ "type": "stringArray",
1895
+ "required": false,
1896
+ "normalizeDomain": true,
1897
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1898
+ },
1899
+ {
1900
+ "name": "firstFrame",
1901
+ "type": "string",
1902
+ "required": false,
1903
+ "normalizeDomain": true,
1904
+ "description": "图生视频首帧图片 URL。 URL 会进行历史资源域名归一化。"
1905
+ },
1906
+ {
1907
+ "name": "lastFrame",
1908
+ "type": "string",
1909
+ "required": false,
1910
+ "normalizeDomain": true,
1911
+ "description": "图生视频尾帧图片 URL。 URL 会进行历史资源域名归一化。"
1912
+ },
1913
+ {
1914
+ "name": "references",
1915
+ "type": "string",
1916
+ "required": false,
1917
+ "normalizeDomain": true,
1918
+ "description": "旧视频模型使用的参考媒体字段。 URL 会进行历史资源域名归一化。"
1919
+ },
1920
+ {
1921
+ "name": "aspectRatio",
1922
+ "type": "string",
1923
+ "required": false,
1924
+ "allowedValues": [
1925
+ "1:1",
1926
+ "3:2",
1927
+ "2:3",
1928
+ "5:4",
1929
+ "4:5",
1930
+ "3:4",
1931
+ "4:3",
1932
+ "1:4",
1933
+ "4:1",
1934
+ "1:8",
1935
+ "8:1",
1936
+ "9:16",
1937
+ "16:9",
1938
+ "21:9",
1939
+ "9:21",
1940
+ "1:3",
1941
+ "3:1",
1942
+ "2:1",
1943
+ "1:2",
1944
+ "auto"
1945
+ ],
1946
+ "normalizeDomain": false,
1947
+ "description": "生成内容的画幅比例。"
1948
+ },
1949
+ {
1950
+ "name": "duration",
1951
+ "type": "integer",
1952
+ "required": false,
1953
+ "min": 1,
1954
+ "max": 15,
1955
+ "normalizeDomain": false,
1956
+ "description": "视频或音频生成时长。"
1957
+ },
1958
+ {
1959
+ "name": "resolution",
1960
+ "type": "string",
1961
+ "required": false,
1962
+ "allowedValues": [
1963
+ "480p",
1964
+ "720p",
1965
+ "1080p"
1966
+ ],
1967
+ "normalizeDomain": false,
1968
+ "description": "生成内容分辨率。"
1969
+ }
1970
+ ],
1971
+ "validationNotes": [
1972
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
1973
+ "该模型会根据输入字段自动分流到不同业务变体。"
1974
+ ]
1975
+ },
1976
+ {
1977
+ "model": "veo-3.1-fast",
1978
+ "group": "video",
1979
+ "bizTypes": [
1980
+ "image-to-video",
1981
+ "text-to-video"
1982
+ ],
1983
+ "inputFields": [
1984
+ {
1985
+ "name": "text",
1986
+ "type": "string",
1987
+ "required": true,
1988
+ "normalizeDomain": false,
1989
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
1990
+ },
1991
+ {
1992
+ "name": "imageUrls",
1993
+ "type": "stringArray",
1994
+ "required": false,
1995
+ "normalizeDomain": true,
1996
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
1997
+ },
1998
+ {
1999
+ "name": "firstFrame",
2000
+ "type": "string",
2001
+ "required": false,
2002
+ "normalizeDomain": true,
2003
+ "description": "图生视频首帧图片 URL。 URL 会进行历史资源域名归一化。"
2004
+ },
2005
+ {
2006
+ "name": "lastFrame",
2007
+ "type": "string",
2008
+ "required": false,
2009
+ "normalizeDomain": true,
2010
+ "description": "图生视频尾帧图片 URL。 URL 会进行历史资源域名归一化。"
2011
+ },
2012
+ {
2013
+ "name": "references",
2014
+ "type": "string",
2015
+ "required": false,
2016
+ "normalizeDomain": true,
2017
+ "description": "旧视频模型使用的参考媒体字段。 URL 会进行历史资源域名归一化。"
2018
+ },
2019
+ {
2020
+ "name": "aspectRatio",
2021
+ "type": "string",
2022
+ "required": false,
2023
+ "allowedValues": [
2024
+ "1:1",
2025
+ "3:2",
2026
+ "2:3",
2027
+ "5:4",
2028
+ "4:5",
2029
+ "3:4",
2030
+ "4:3",
2031
+ "1:4",
2032
+ "4:1",
2033
+ "1:8",
2034
+ "8:1",
2035
+ "9:16",
2036
+ "16:9",
2037
+ "21:9",
2038
+ "9:21",
2039
+ "1:3",
2040
+ "3:1",
2041
+ "2:1",
2042
+ "1:2",
2043
+ "auto"
2044
+ ],
2045
+ "normalizeDomain": false,
2046
+ "description": "生成内容的画幅比例。"
2047
+ },
2048
+ {
2049
+ "name": "duration",
2050
+ "type": "integer",
2051
+ "required": false,
2052
+ "min": 1,
2053
+ "max": 15,
2054
+ "normalizeDomain": false,
2055
+ "description": "视频或音频生成时长。"
2056
+ },
2057
+ {
2058
+ "name": "resolution",
2059
+ "type": "string",
2060
+ "required": false,
2061
+ "allowedValues": [
2062
+ "480p",
2063
+ "720p",
2064
+ "1080p"
2065
+ ],
2066
+ "normalizeDomain": false,
2067
+ "description": "生成内容分辨率。"
2068
+ }
2069
+ ],
2070
+ "validationNotes": [
2071
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
2072
+ "该模型会根据输入字段自动分流到不同业务变体。"
2073
+ ]
2074
+ },
2075
+ {
2076
+ "model": "veo-3.1",
2077
+ "group": "video",
2078
+ "bizTypes": [
2079
+ "image-to-video",
2080
+ "text-to-video"
2081
+ ],
2082
+ "inputFields": [
2083
+ {
2084
+ "name": "text",
2085
+ "type": "string",
2086
+ "required": true,
2087
+ "normalizeDomain": false,
2088
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
2089
+ },
2090
+ {
2091
+ "name": "imageUrls",
2092
+ "type": "stringArray",
2093
+ "required": false,
2094
+ "normalizeDomain": true,
2095
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
2096
+ },
2097
+ {
2098
+ "name": "firstFrame",
2099
+ "type": "string",
2100
+ "required": false,
2101
+ "normalizeDomain": true,
2102
+ "description": "图生视频首帧图片 URL。 URL 会进行历史资源域名归一化。"
2103
+ },
2104
+ {
2105
+ "name": "lastFrame",
2106
+ "type": "string",
2107
+ "required": false,
2108
+ "normalizeDomain": true,
2109
+ "description": "图生视频尾帧图片 URL。 URL 会进行历史资源域名归一化。"
2110
+ },
2111
+ {
2112
+ "name": "references",
2113
+ "type": "string",
2114
+ "required": false,
2115
+ "normalizeDomain": true,
2116
+ "description": "旧视频模型使用的参考媒体字段。 URL 会进行历史资源域名归一化。"
2117
+ },
2118
+ {
2119
+ "name": "aspectRatio",
2120
+ "type": "string",
2121
+ "required": false,
2122
+ "allowedValues": [
2123
+ "1:1",
2124
+ "3:2",
2125
+ "2:3",
2126
+ "5:4",
2127
+ "4:5",
2128
+ "3:4",
2129
+ "4:3",
2130
+ "1:4",
2131
+ "4:1",
2132
+ "1:8",
2133
+ "8:1",
2134
+ "9:16",
2135
+ "16:9",
2136
+ "21:9",
2137
+ "9:21",
2138
+ "1:3",
2139
+ "3:1",
2140
+ "2:1",
2141
+ "1:2",
2142
+ "auto"
2143
+ ],
2144
+ "normalizeDomain": false,
2145
+ "description": "生成内容的画幅比例。"
2146
+ },
2147
+ {
2148
+ "name": "duration",
2149
+ "type": "integer",
2150
+ "required": false,
2151
+ "min": 1,
2152
+ "max": 15,
2153
+ "normalizeDomain": false,
2154
+ "description": "视频或音频生成时长。"
2155
+ },
2156
+ {
2157
+ "name": "resolution",
2158
+ "type": "string",
2159
+ "required": false,
2160
+ "allowedValues": [
2161
+ "480p",
2162
+ "720p",
2163
+ "1080p"
2164
+ ],
2165
+ "normalizeDomain": false,
2166
+ "description": "生成内容分辨率。"
2167
+ }
2168
+ ],
2169
+ "validationNotes": [
2170
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
2171
+ "该模型会根据输入字段自动分流到不同业务变体。"
2172
+ ]
2173
+ },
2174
+ {
2175
+ "model": "sora-2",
2176
+ "group": "video",
2177
+ "bizTypes": [
2178
+ "image-to-video",
2179
+ "text-to-video"
2180
+ ],
2181
+ "inputFields": [
2182
+ {
2183
+ "name": "text",
2184
+ "type": "string",
2185
+ "required": true,
2186
+ "normalizeDomain": false,
2187
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
2188
+ },
2189
+ {
2190
+ "name": "imageUrls",
2191
+ "type": "stringArray",
2192
+ "required": false,
2193
+ "normalizeDomain": true,
2194
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
2195
+ },
2196
+ {
2197
+ "name": "firstFrame",
2198
+ "type": "string",
2199
+ "required": false,
2200
+ "normalizeDomain": true,
2201
+ "description": "图生视频首帧图片 URL。 URL 会进行历史资源域名归一化。"
2202
+ },
2203
+ {
2204
+ "name": "lastFrame",
2205
+ "type": "string",
2206
+ "required": false,
2207
+ "normalizeDomain": true,
2208
+ "description": "图生视频尾帧图片 URL。 URL 会进行历史资源域名归一化。"
2209
+ },
2210
+ {
2211
+ "name": "references",
2212
+ "type": "string",
2213
+ "required": false,
2214
+ "normalizeDomain": true,
2215
+ "description": "旧视频模型使用的参考媒体字段。 URL 会进行历史资源域名归一化。"
2216
+ },
2217
+ {
2218
+ "name": "aspectRatio",
2219
+ "type": "string",
2220
+ "required": false,
2221
+ "allowedValues": [
2222
+ "1:1",
2223
+ "3:2",
2224
+ "2:3",
2225
+ "5:4",
2226
+ "4:5",
2227
+ "3:4",
2228
+ "4:3",
2229
+ "1:4",
2230
+ "4:1",
2231
+ "1:8",
2232
+ "8:1",
2233
+ "9:16",
2234
+ "16:9",
2235
+ "21:9",
2236
+ "9:21",
2237
+ "1:3",
2238
+ "3:1",
2239
+ "2:1",
2240
+ "1:2",
2241
+ "auto"
2242
+ ],
2243
+ "normalizeDomain": false,
2244
+ "description": "生成内容的画幅比例。"
2245
+ },
2246
+ {
2247
+ "name": "duration",
2248
+ "type": "integer",
2249
+ "required": false,
2250
+ "min": 1,
2251
+ "max": 15,
2252
+ "normalizeDomain": false,
2253
+ "description": "视频或音频生成时长。"
2254
+ },
2255
+ {
2256
+ "name": "resolution",
2257
+ "type": "string",
2258
+ "required": false,
2259
+ "allowedValues": [
2260
+ "480p",
2261
+ "720p",
2262
+ "1080p"
2263
+ ],
2264
+ "normalizeDomain": false,
2265
+ "description": "生成内容分辨率。"
2266
+ }
2267
+ ],
2268
+ "validationNotes": [
2269
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
2270
+ "该模型会根据输入字段自动分流到不同业务变体。"
2271
+ ]
2272
+ },
2273
+ {
2274
+ "model": "sora-2-pro",
2275
+ "group": "video",
2276
+ "bizTypes": [
2277
+ "image-to-video",
2278
+ "text-to-video"
2279
+ ],
2280
+ "inputFields": [
2281
+ {
2282
+ "name": "text",
2283
+ "type": "string",
2284
+ "required": true,
2285
+ "normalizeDomain": false,
2286
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
2287
+ },
2288
+ {
2289
+ "name": "imageUrls",
2290
+ "type": "stringArray",
2291
+ "required": false,
2292
+ "normalizeDomain": true,
2293
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
2294
+ },
2295
+ {
2296
+ "name": "firstFrame",
2297
+ "type": "string",
2298
+ "required": false,
2299
+ "normalizeDomain": true,
2300
+ "description": "图生视频首帧图片 URL。 URL 会进行历史资源域名归一化。"
2301
+ },
2302
+ {
2303
+ "name": "lastFrame",
2304
+ "type": "string",
2305
+ "required": false,
2306
+ "normalizeDomain": true,
2307
+ "description": "图生视频尾帧图片 URL。 URL 会进行历史资源域名归一化。"
2308
+ },
2309
+ {
2310
+ "name": "references",
2311
+ "type": "string",
2312
+ "required": false,
2313
+ "normalizeDomain": true,
2314
+ "description": "旧视频模型使用的参考媒体字段。 URL 会进行历史资源域名归一化。"
2315
+ },
2316
+ {
2317
+ "name": "aspectRatio",
2318
+ "type": "string",
2319
+ "required": false,
2320
+ "allowedValues": [
2321
+ "1:1",
2322
+ "3:2",
2323
+ "2:3",
2324
+ "5:4",
2325
+ "4:5",
2326
+ "3:4",
2327
+ "4:3",
2328
+ "1:4",
2329
+ "4:1",
2330
+ "1:8",
2331
+ "8:1",
2332
+ "9:16",
2333
+ "16:9",
2334
+ "21:9",
2335
+ "9:21",
2336
+ "1:3",
2337
+ "3:1",
2338
+ "2:1",
2339
+ "1:2",
2340
+ "auto"
2341
+ ],
2342
+ "normalizeDomain": false,
2343
+ "description": "生成内容的画幅比例。"
2344
+ },
2345
+ {
2346
+ "name": "duration",
2347
+ "type": "integer",
2348
+ "required": false,
2349
+ "min": 1,
2350
+ "max": 15,
2351
+ "normalizeDomain": false,
2352
+ "description": "视频或音频生成时长。"
2353
+ },
2354
+ {
2355
+ "name": "resolution",
2356
+ "type": "string",
2357
+ "required": false,
2358
+ "allowedValues": [
2359
+ "480p",
2360
+ "720p",
2361
+ "1080p"
2362
+ ],
2363
+ "normalizeDomain": false,
2364
+ "description": "生成内容分辨率。"
2365
+ }
2366
+ ],
2367
+ "validationNotes": [
2368
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
2369
+ "该模型会根据输入字段自动分流到不同业务变体。"
2370
+ ]
2371
+ },
2372
+ {
2373
+ "model": "wan-2.2",
2374
+ "group": "video",
2375
+ "bizTypes": [
2376
+ "image-to-video",
2377
+ "text-to-video"
2378
+ ],
2379
+ "inputFields": [
2380
+ {
2381
+ "name": "text",
2382
+ "type": "string",
2383
+ "required": true,
2384
+ "normalizeDomain": false,
2385
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
2386
+ },
2387
+ {
2388
+ "name": "imageUrls",
2389
+ "type": "stringArray",
2390
+ "required": false,
2391
+ "normalizeDomain": true,
2392
+ "description": "图片 URL 数组,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
2393
+ },
2394
+ {
2395
+ "name": "firstFrame",
2396
+ "type": "string",
2397
+ "required": false,
2398
+ "normalizeDomain": true,
2399
+ "description": "图生视频首帧图片 URL。 URL 会进行历史资源域名归一化。"
2400
+ },
2401
+ {
2402
+ "name": "lastFrame",
2403
+ "type": "string",
2404
+ "required": false,
2405
+ "normalizeDomain": true,
2406
+ "description": "图生视频尾帧图片 URL。 URL 会进行历史资源域名归一化。"
2407
+ },
2408
+ {
2409
+ "name": "references",
2410
+ "type": "string",
2411
+ "required": false,
2412
+ "normalizeDomain": true,
2413
+ "description": "旧视频模型使用的参考媒体字段。 URL 会进行历史资源域名归一化。"
2414
+ },
2415
+ {
2416
+ "name": "aspectRatio",
2417
+ "type": "string",
2418
+ "required": false,
2419
+ "allowedValues": [
2420
+ "1:1",
2421
+ "3:2",
2422
+ "2:3",
2423
+ "5:4",
2424
+ "4:5",
2425
+ "3:4",
2426
+ "4:3",
2427
+ "1:4",
2428
+ "4:1",
2429
+ "1:8",
2430
+ "8:1",
2431
+ "9:16",
2432
+ "16:9",
2433
+ "21:9",
2434
+ "9:21",
2435
+ "1:3",
2436
+ "3:1",
2437
+ "2:1",
2438
+ "1:2",
2439
+ "auto"
2440
+ ],
2441
+ "normalizeDomain": false,
2442
+ "description": "生成内容的画幅比例。"
2443
+ },
2444
+ {
2445
+ "name": "duration",
2446
+ "type": "integer",
2447
+ "required": false,
2448
+ "min": 1,
2449
+ "max": 15,
2450
+ "normalizeDomain": false,
2451
+ "description": "视频或音频生成时长。"
2452
+ },
2453
+ {
2454
+ "name": "resolution",
2455
+ "type": "string",
2456
+ "required": false,
2457
+ "allowedValues": [
2458
+ "480p",
2459
+ "720p",
2460
+ "1080p"
2461
+ ],
2462
+ "normalizeDomain": false,
2463
+ "description": "生成内容分辨率。"
2464
+ }
2465
+ ],
2466
+ "validationNotes": [
2467
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
2468
+ "该模型会根据输入字段自动分流到不同业务变体。"
2469
+ ]
2470
+ },
2471
+ {
2472
+ "model": "p-video-avatar",
2473
+ "group": "video",
2474
+ "bizTypes": [
2475
+ "video-avatar"
2476
+ ],
2477
+ "inputFields": [
2478
+ {
2479
+ "name": "imageUrl",
2480
+ "type": "string",
2481
+ "required": true,
2482
+ "normalizeDomain": true,
2483
+ "description": "单张图片 URL,会参与图片数量限制计算。 URL 会进行历史资源域名归一化。"
2484
+ },
2485
+ {
2486
+ "name": "audioUrl",
2487
+ "type": "string",
2488
+ "required": false,
2489
+ "normalizeDomain": true,
2490
+ "description": "音频 URL;在视频头像中作为声音来源,在语音转文本中作为待识别音频。 URL 会进行历史资源域名归一化。"
2491
+ },
2492
+ {
2493
+ "name": "voice",
2494
+ "type": "string",
2495
+ "required": false,
2496
+ "normalizeDomain": false,
2497
+ "description": "视频头像使用的声音标识。"
2498
+ },
2499
+ {
2500
+ "name": "resolution",
2501
+ "type": "string",
2502
+ "required": false,
2503
+ "allowedValues": [
2504
+ "720p",
2505
+ "1080p"
2506
+ ],
2507
+ "normalizeDomain": false,
2508
+ "description": "生成内容分辨率。"
2509
+ },
2510
+ {
2511
+ "name": "videoPrompt",
2512
+ "type": "string",
2513
+ "required": false,
2514
+ "normalizeDomain": false,
2515
+ "description": "视频头像的视频画面提示词。"
2516
+ },
2517
+ {
2518
+ "name": "voicePrompt",
2519
+ "type": "string",
2520
+ "required": false,
2521
+ "normalizeDomain": false,
2522
+ "description": "视频头像的声音提示词。"
2523
+ },
2524
+ {
2525
+ "name": "voiceScript",
2526
+ "type": "string",
2527
+ "required": false,
2528
+ "normalizeDomain": false,
2529
+ "description": "视频头像生成语音时使用的脚本文本。"
2530
+ },
2531
+ {
2532
+ "name": "voiceLanguage",
2533
+ "type": "string",
2534
+ "required": false,
2535
+ "normalizeDomain": false,
2536
+ "description": "视频头像生成语音时使用的语言。"
2537
+ }
2538
+ ],
2539
+ "validationNotes": [
2540
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
2541
+ "input.voiceScript 或 input.audioUrl 至少传一个,用于确定视频头像的声音来源。"
2542
+ ]
2543
+ },
2544
+ {
2545
+ "model": "suno",
2546
+ "group": "music",
2547
+ "bizTypes": [
2548
+ "text-to-music",
2549
+ "lyrics-to-music"
2550
+ ],
2551
+ "inputFields": [
2552
+ {
2553
+ "name": "text",
2554
+ "type": "string",
2555
+ "required": false,
2556
+ "normalizeDomain": false,
2557
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
2558
+ },
2559
+ {
2560
+ "name": "lyrics",
2561
+ "type": "string",
2562
+ "required": false,
2563
+ "normalizeDomain": false,
2564
+ "description": "歌词生音乐使用的完整歌词。"
2565
+ },
2566
+ {
2567
+ "name": "styleOfMusic",
2568
+ "type": "string",
2569
+ "required": false,
2570
+ "normalizeDomain": false,
2571
+ "description": "歌词生音乐使用的音乐风格描述。"
2572
+ },
2573
+ {
2574
+ "name": "title",
2575
+ "type": "string",
2576
+ "required": false,
2577
+ "normalizeDomain": false,
2578
+ "description": "歌词生音乐生成时使用的标题。"
2579
+ },
2580
+ {
2581
+ "name": "instrumental",
2582
+ "type": "boolean",
2583
+ "required": false,
2584
+ "defaultValue": false,
2585
+ "normalizeDomain": false,
2586
+ "description": "音乐生成是否为纯音乐。"
2587
+ }
2588
+ ],
2589
+ "validationNotes": [
2590
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。",
2591
+ "该模型会根据输入字段自动分流到不同业务变体。",
2592
+ "input.text 和 input.lyrics 二选一,不能同时传;传 lyrics 时还必须传 styleOfMusic 和 title。"
2593
+ ]
2594
+ },
2595
+ {
2596
+ "model": "music-lyrics",
2597
+ "group": "music",
2598
+ "bizTypes": [
2599
+ "music-lyrics"
2600
+ ],
2601
+ "inputFields": [
2602
+ {
2603
+ "name": "text",
2604
+ "type": "string",
2605
+ "required": true,
2606
+ "normalizeDomain": false,
2607
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
2608
+ }
2609
+ ],
2610
+ "validationNotes": [
2611
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
2612
+ ]
2613
+ },
2614
+ {
2615
+ "model": "music-style",
2616
+ "group": "music",
2617
+ "bizTypes": [
2618
+ "music-style"
2619
+ ],
2620
+ "inputFields": [
2621
+ {
2622
+ "name": "text",
2623
+ "type": "string",
2624
+ "required": true,
2625
+ "normalizeDomain": false,
2626
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
2627
+ }
2628
+ ],
2629
+ "validationNotes": [
2630
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
2631
+ ]
2632
+ },
2633
+ {
2634
+ "model": "vocal-remover",
2635
+ "group": "image",
2636
+ "bizTypes": [
2637
+ "vocal-remover"
2638
+ ],
2639
+ "inputFields": [
2640
+ {
2641
+ "name": "audioUrl",
2642
+ "type": "string",
2643
+ "required": true,
2644
+ "normalizeDomain": true,
2645
+ "description": "音频 URL;在视频头像中作为声音来源,在语音转文本中作为待识别音频。 URL 会进行历史资源域名归一化。"
2646
+ }
2647
+ ],
2648
+ "validationNotes": [
2649
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
2650
+ ]
2651
+ },
2652
+ {
2653
+ "model": "fish-voice-clone",
2654
+ "group": "voice",
2655
+ "bizTypes": [
2656
+ "voice-clone"
2657
+ ],
2658
+ "inputFields": [
2659
+ {
2660
+ "name": "sourceAudioUrl",
2661
+ "type": "string",
2662
+ "required": true,
2663
+ "normalizeDomain": true,
2664
+ "description": "声音克隆源音频 URL。 URL 会进行历史资源域名归一化。"
2665
+ },
2666
+ {
2667
+ "name": "text",
2668
+ "type": "string",
2669
+ "required": false,
2670
+ "normalizeDomain": false,
2671
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
2672
+ }
2673
+ ],
2674
+ "validationNotes": [
2675
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
2676
+ ]
2677
+ },
2678
+ {
2679
+ "model": "fish-s1",
2680
+ "group": "voice",
2681
+ "bizTypes": [
2682
+ "text-to-speech"
2683
+ ],
2684
+ "inputFields": [
2685
+ {
2686
+ "name": "text",
2687
+ "type": "string",
2688
+ "required": true,
2689
+ "normalizeDomain": false,
2690
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
2691
+ },
2692
+ {
2693
+ "name": "voiceModelId",
2694
+ "type": "string",
2695
+ "required": true,
2696
+ "normalizeDomain": false,
2697
+ "description": "文生语音使用的声音模型 ID。"
2698
+ },
2699
+ {
2700
+ "name": "format",
2701
+ "type": "string",
2702
+ "required": true,
2703
+ "allowedValues": [
2704
+ "wav",
2705
+ "pcm",
2706
+ "mp3",
2707
+ "opus"
2708
+ ],
2709
+ "normalizeDomain": false,
2710
+ "description": "文生语音输出音频格式。"
2711
+ },
2712
+ {
2713
+ "name": "speed",
2714
+ "type": "number",
2715
+ "required": false,
2716
+ "min": 0.5,
2717
+ "max": 2,
2718
+ "normalizeDomain": false,
2719
+ "description": "文生语音语速。"
2720
+ },
2721
+ {
2722
+ "name": "volume",
2723
+ "type": "number",
2724
+ "required": false,
2725
+ "min": -10,
2726
+ "max": 10,
2727
+ "normalizeDomain": false,
2728
+ "description": "文生语音音量。"
2729
+ }
2730
+ ],
2731
+ "validationNotes": [
2732
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
2733
+ ]
2734
+ },
2735
+ {
2736
+ "model": "fish-s2-pro",
2737
+ "group": "voice",
2738
+ "bizTypes": [
2739
+ "text-to-speech"
2740
+ ],
2741
+ "inputFields": [
2742
+ {
2743
+ "name": "text",
2744
+ "type": "string",
2745
+ "required": true,
2746
+ "normalizeDomain": false,
2747
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
2748
+ },
2749
+ {
2750
+ "name": "voiceModelId",
2751
+ "type": "string",
2752
+ "required": true,
2753
+ "normalizeDomain": false,
2754
+ "description": "文生语音使用的声音模型 ID。"
2755
+ },
2756
+ {
2757
+ "name": "format",
2758
+ "type": "string",
2759
+ "required": true,
2760
+ "allowedValues": [
2761
+ "wav",
2762
+ "pcm",
2763
+ "mp3",
2764
+ "opus"
2765
+ ],
2766
+ "normalizeDomain": false,
2767
+ "description": "文生语音输出音频格式。"
2768
+ },
2769
+ {
2770
+ "name": "speed",
2771
+ "type": "number",
2772
+ "required": false,
2773
+ "min": 0.5,
2774
+ "max": 2,
2775
+ "normalizeDomain": false,
2776
+ "description": "文生语音语速。"
2777
+ },
2778
+ {
2779
+ "name": "volume",
2780
+ "type": "number",
2781
+ "required": false,
2782
+ "min": -10,
2783
+ "max": 10,
2784
+ "normalizeDomain": false,
2785
+ "description": "文生语音音量。"
2786
+ }
2787
+ ],
2788
+ "validationNotes": [
2789
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
2790
+ ]
2791
+ },
2792
+ {
2793
+ "model": "fish-asr",
2794
+ "group": "voice",
2795
+ "bizTypes": [
2796
+ "speech-to-text"
2797
+ ],
2798
+ "inputFields": [
2799
+ {
2800
+ "name": "audioUrl",
2801
+ "type": "string",
2802
+ "required": true,
2803
+ "normalizeDomain": true,
2804
+ "description": "音频 URL;在视频头像中作为声音来源,在语音转文本中作为待识别音频。 URL 会进行历史资源域名归一化。"
2805
+ }
2806
+ ],
2807
+ "validationNotes": [
2808
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
2809
+ ]
2810
+ },
2811
+ {
2812
+ "model": "qwen3-tts",
2813
+ "group": "voice",
2814
+ "bizTypes": [
2815
+ "voice-design"
2816
+ ],
2817
+ "inputFields": [
2818
+ {
2819
+ "name": "text",
2820
+ "type": "string",
2821
+ "required": true,
2822
+ "normalizeDomain": false,
2823
+ "description": "文本提示词或待处理文本,具体语义由模型业务决定。"
2824
+ },
2825
+ {
2826
+ "name": "voiceDescription",
2827
+ "type": "string",
2828
+ "required": true,
2829
+ "normalizeDomain": false,
2830
+ "description": "声音设计使用的声音描述。"
2831
+ },
2832
+ {
2833
+ "name": "language",
2834
+ "type": "string",
2835
+ "required": false,
2836
+ "normalizeDomain": false,
2837
+ "description": "声音设计或语音生成使用的语言。"
2838
+ },
2839
+ {
2840
+ "name": "styleInstruction",
2841
+ "type": "string",
2842
+ "required": false,
2843
+ "normalizeDomain": false,
2844
+ "description": "声音设计使用的风格指令。"
2845
+ }
2846
+ ],
2847
+ "validationNotes": [
2848
+ "未声明在 inputFields 中的 input 字段会被忽略,不参与校验和任务 payload。"
2849
+ ]
2850
+ }
2851
+ ];
2852
+ //# sourceMappingURL=generated-models.js.map