public class DashscopeImageDialect extends AbstractImageDialect
| Constructor and Description |
|---|
DashscopeImageDialect() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildRequestJson(ImageConfig config,
ImageOptions options,
String prompt)
构建请求数据
|
static DashscopeImageDialect |
getInstance() |
boolean |
matched(ImageConfig config)
匹配检测
|
ImageResponse |
parseResponseJson(ImageConfig config,
String respJson)
分析响应数据
|
public static DashscopeImageDialect getInstance()
public boolean matched(ImageConfig config)
config - 聊天配置public String buildRequestJson(ImageConfig config, ImageOptions options, String prompt)
ImageDialectbuildRequestJson in interface ImageDialectbuildRequestJson in class AbstractImageDialectconfig - 聊天配置options - 聊天选项public ImageResponse parseResponseJson(ImageConfig config, String respJson)
ImageDialectconfig - 聊天配置Copyright © 2025. All rights reserved.