Package | Description |
---|---|
com.tencentcloudapi.aiart.v20221229.models |
Modifier and Type | Method and Description |
---|---|
Image |
TextToImageRapidRequest.getImage()
Get 参考图。
- Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
- 当传入Image参数时,Style和Resolution参数不生效,输出图分辨率将保持Image传入图分辨率。
- 图片限制:单边分辨率大于128且小于2048;图片小于6M;格式支持 jpg、jpeg、png、bmp、tiff、webp。
|
Modifier and Type | Method and Description |
---|---|
void |
TextToImageRapidRequest.setImage(Image Image)
Set 参考图。
- Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
- 当传入Image参数时,Style和Resolution参数不生效,输出图分辨率将保持Image传入图分辨率。
- 图片限制:单边分辨率大于128且小于2048;图片小于6M;格式支持 jpg、jpeg、png、bmp、tiff、webp。
|
Constructor and Description |
---|
Image(Image 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 © 2025. All rights reserved.