Merge pull request #1363 from feitianbubu/pr/add-jimeng-image

feat: 增加即梦生图功能
This commit is contained in:
Calcium-Ion
2025-07-18 20:45:49 +08:00
committed by GitHub
8 changed files with 421 additions and 2 deletions

View File

@@ -63,6 +63,8 @@ func ChannelType2APIType(channelType int) (int, bool) {
apiType = constant.APITypeXai
case constant.ChannelTypeCoze:
apiType = constant.APITypeCoze
case constant.ChannelTypeJimeng:
apiType = constant.APITypeJimeng
}
if apiType == -1 {
return constant.APITypeOpenAI, false