| Constructor and Description |
|---|
Image() |
| Modifier and Type | Method and Description |
|---|---|
String |
getB64Json()
获取 base64
|
String |
getUrl()
获取 url
|
static Image |
ofBase64(byte[] base64)
由 base64 构建
|
static Image |
ofBase64(String base64String)
由 base64String 构建
|
static Image |
ofUrl(String url)
由 url 构建
|
String |
toDataString(boolean useMime)
转为带媒体信息的字符串
|
String |
toString() |
public static Image ofBase64(byte[] base64)
public String getB64Json()
public String toDataString(boolean useMime)
toDataString in interface AiMediaCopyright © 2025. All rights reserved.