tencentcloud-sdk-nodejs-vod 4.1.186 → 4.1.187
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/package.json
CHANGED
|
@@ -6509,7 +6509,7 @@ export interface AiRecognitionTaskSegmentResult {
|
|
|
6509
6509
|
*/
|
|
6510
6510
|
export interface CreateAigcImageTaskResponse {
|
|
6511
6511
|
/**
|
|
6512
|
-
*
|
|
6512
|
+
* <p>任务 ID。</p>
|
|
6513
6513
|
*/
|
|
6514
6514
|
TaskId?: string;
|
|
6515
6515
|
/**
|
|
@@ -20651,68 +20651,55 @@ export interface AiContentReviewResult {
|
|
|
20651
20651
|
*/
|
|
20652
20652
|
export interface CreateAigcImageTaskRequest {
|
|
20653
20653
|
/**
|
|
20654
|
-
* <b
|
|
20654
|
+
* <p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
|
|
20655
20655
|
*/
|
|
20656
20656
|
SubAppId: number;
|
|
20657
20657
|
/**
|
|
20658
|
-
*
|
|
20659
|
-
<li>GEM:Gemini;</li>
|
|
20660
|
-
<li>Qwen:千问。</li>
|
|
20661
|
-
<li>Hunyuan:混元。</li>
|
|
20662
|
-
<li>Vidu:生数。</li>
|
|
20663
|
-
<li>Kling:可灵。</li>
|
|
20658
|
+
* <p>模型名称。取值:</p><li>GEM:Gemini;</li><li>Qwen:千问。</li><li>Hunyuan:混元。</li><li>Vidu:生数。</li><li>Kling:可灵。</li>
|
|
20664
20659
|
*/
|
|
20665
20660
|
ModelName: string;
|
|
20666
20661
|
/**
|
|
20667
|
-
*
|
|
20668
|
-
<li>当 ModelName 是 GEM,可选值为 2.5、3.0;</li>
|
|
20669
|
-
<li>当 ModelName 是 Qwen,可选值为 0925;</li>
|
|
20670
|
-
<li>当 ModelName 是 Hunyuan,可选值为 3.0;</li>
|
|
20671
|
-
<li>当 ModelName 是 Vidu,可选值为 q2;</li>
|
|
20672
|
-
<li>当 ModelName 是 Kling,可选值为 2.1;</li>
|
|
20662
|
+
* <p>模型版本。取值:<li>当 ModelName 是 GEM,可选值为 2.5;</li><li>当 ModelName 是 Qwen,可选值为 0925;</li><li>当 ModelName 是 Hunyuan,可选值为 3.0;</li><li>当 ModelName 是 Vidu,可选值为 q2;</li><li>当 ModelName 是 Kling,可选值为 2.1;</li></p>
|
|
20673
20663
|
*/
|
|
20674
20664
|
ModelVersion: string;
|
|
20675
20665
|
/**
|
|
20676
|
-
* AIGC 生图任务的输入图片的文件信息。默认只支持指定1
|
|
20677
|
-
* GEM 2.5:0~3张图片;
|
|
20678
|
-
* GEM 3.0:0~14张图片;
|
|
20679
|
-
* Vidu q2:0~7张图片,图片支持 png、jpeg、jpg、webp格式,图片像素不能小于 128x128,且比例需要小于1:4或4:1;
|
|
20666
|
+
* <p>AIGC 生图任务的输入图片的文件信息。默认只支持指定1个。下列模型可传多张参考图:<li>GEM 2.5:0~3张图片;</li><li>Vidu q2:0~7张图片,图片支持 png、jpeg、jpg、webp格式,图片像素不能小于 128x128,且比例需要小于1:4或4:1;</li></p>
|
|
20680
20667
|
*/
|
|
20681
20668
|
FileInfos?: Array<AigcImageTaskInputFileInfo>;
|
|
20682
20669
|
/**
|
|
20683
|
-
*
|
|
20670
|
+
* <p>生成图片的提示词。当 FileInfos 为空时,此参数必填。</p>
|
|
20684
20671
|
*/
|
|
20685
20672
|
Prompt?: string;
|
|
20686
20673
|
/**
|
|
20687
|
-
*
|
|
20674
|
+
* <p>要阻止模型生成图片的提示词。</p>
|
|
20688
20675
|
*/
|
|
20689
20676
|
NegativePrompt?: string;
|
|
20690
20677
|
/**
|
|
20691
|
-
*
|
|
20678
|
+
* <p>是否自动优化提示词。开启时将自动优化传入的 Prompt,以提升生成质量。取值有: <li>Enabled:开启;</li> <li>Disabled:关闭;</li></p>
|
|
20692
20679
|
*/
|
|
20693
20680
|
EnhancePrompt?: string;
|
|
20694
20681
|
/**
|
|
20695
|
-
*
|
|
20682
|
+
* <p>生图任务的输出媒体文件配置。</p>
|
|
20696
20683
|
*/
|
|
20697
20684
|
OutputConfig?: AigcImageOutputConfig;
|
|
20698
20685
|
/**
|
|
20699
|
-
*
|
|
20686
|
+
* <p>输入文件的区域信息。当文件url是国外地址时候,可选Oversea。默认Mainland。</p>
|
|
20700
20687
|
*/
|
|
20701
20688
|
InputRegion?: string;
|
|
20702
20689
|
/**
|
|
20703
|
-
*
|
|
20690
|
+
* <p>用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。</p>
|
|
20704
20691
|
*/
|
|
20705
20692
|
SessionId?: string;
|
|
20706
20693
|
/**
|
|
20707
|
-
*
|
|
20694
|
+
* <p>来源上下文,用于透传用户请求信息,音画质重生完成回调将返回该字段值,最长 1000 个字符。</p>
|
|
20708
20695
|
*/
|
|
20709
20696
|
SessionContext?: string;
|
|
20710
20697
|
/**
|
|
20711
|
-
*
|
|
20698
|
+
* <p>任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。</p>
|
|
20712
20699
|
*/
|
|
20713
20700
|
TasksPriority?: number;
|
|
20714
20701
|
/**
|
|
20715
|
-
*
|
|
20702
|
+
* <p>保留字段,特殊用途时使用。</p>
|
|
20716
20703
|
*/
|
|
20717
20704
|
ExtInfo?: string;
|
|
20718
20705
|
}
|