tencentcloud-sdk-nodejs-aiart 4.1.167 → 4.1.174
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
|
@@ -257,30 +257,23 @@ export interface UploadTrainPortraitImagesResponse {
|
|
|
257
257
|
*/
|
|
258
258
|
export interface SubmitTemplateToImageJobRequest {
|
|
259
259
|
/**
|
|
260
|
-
*
|
|
261
|
-
Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
|
|
262
|
-
图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
|
|
260
|
+
* <p>算法将根据输入的图片,结合文本描述智能生成与之相关的图像。Base64 和 Url 必须提供一个,如果都提供以 Url 为准。图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。</p>
|
|
263
261
|
*/
|
|
264
262
|
Image: Image;
|
|
265
263
|
/**
|
|
266
|
-
*
|
|
264
|
+
* <p>绘画风格当前仅支持美术馆风格(gallerying)。</p>
|
|
267
265
|
*/
|
|
268
266
|
Style?: string;
|
|
269
267
|
/**
|
|
270
|
-
*
|
|
268
|
+
* <p>特效模式,默认使用人像模式。</p>枚举值:<ul><li> Person: 人像模式,仅支持上传人像图片。</li><li> Pet: 宠物模式,支持宠物等非人像图片。</li></ul>默认值:Person
|
|
271
269
|
*/
|
|
272
270
|
Mode?: string;
|
|
273
271
|
/**
|
|
274
|
-
*
|
|
275
|
-
1:添加。
|
|
276
|
-
0:不添加。
|
|
277
|
-
其他数值:默认按1处理。
|
|
278
|
-
建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
|
|
272
|
+
* <p>为生成结果图添加显式水印标识的开关,默认为1。<br />1:添加。<br />0:不添加。<br />其他数值:默认按1处理。<br />建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。</p>
|
|
279
273
|
*/
|
|
280
274
|
LogoAdd?: number;
|
|
281
275
|
/**
|
|
282
|
-
*
|
|
283
|
-
默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
|
|
276
|
+
* <p>标识内容设置。默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。</p>
|
|
284
277
|
*/
|
|
285
278
|
LogoParam?: LogoParam;
|
|
286
279
|
}
|
|
@@ -751,7 +744,7 @@ export interface FaceInfo {
|
|
|
751
744
|
*/
|
|
752
745
|
export interface SubmitTemplateToImageJobResponse {
|
|
753
746
|
/**
|
|
754
|
-
*
|
|
747
|
+
* <p>任务 ID。</p>
|
|
755
748
|
*/
|
|
756
749
|
JobId?: string;
|
|
757
750
|
/**
|