Package | Description |
---|---|
com.tencentcloudapi.aiart.v20221229 | |
com.tencentcloudapi.aiart.v20221229.models |
Modifier and Type | Method and Description |
---|---|
TextToImageResponse |
AiartClient.TextToImage(TextToImageRequest req)
智能文生图接口将根据输入的描述文本,智能生成与之相关的结果图。
输入:256个字符以内的描述性文本,推荐使用中文。
输出:对应风格及分辨率的 AI 生成图。
可支持的风格详见 [智能文生图风格列表](https://cloud.tencent.com/document/product/1668/86249),请将列表中的“风格编号”传入 Styles 数组,建议选择一种风格。
请求频率限制为1次/秒。
|
Constructor and Description |
---|
TextToImageRequest(TextToImageRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2023. All rights reserved.