diff --git a/common/endpoint_type.go b/common/endpoint_type.go
index 09174f23..58936eea 100644
--- a/common/endpoint_type.go
+++ b/common/endpoint_type.go
@@ -8,6 +8,14 @@ func GetEndpointTypesByChannelType(channelType int, modelName string) []constant
switch channelType {
case constant.ChannelTypeJina:
endpointTypes = []constant.EndpointType{constant.EndpointTypeJinaRerank}
+ case constant.ChannelTypeMidjourney, constant.ChannelTypeMidjourneyPlus:
+ endpointTypes = []constant.EndpointType{constant.EndpointTypeMidjourney}
+ case constant.ChannelTypeSunoAPI:
+ endpointTypes = []constant.EndpointType{constant.EndpointTypeSuno}
+ case constant.ChannelTypeKling:
+ endpointTypes = []constant.EndpointType{constant.EndpointTypeKling}
+ case constant.ChannelTypeJimeng:
+ endpointTypes = []constant.EndpointType{constant.EndpointTypeJimeng}
case constant.ChannelTypeAws:
fallthrough
case constant.ChannelTypeAnthropic:
diff --git a/constant/endpoint_type.go b/constant/endpoint_type.go
index a1b840db..323bf2d6 100644
--- a/constant/endpoint_type.go
+++ b/constant/endpoint_type.go
@@ -8,4 +8,8 @@ const (
EndpointTypeAnthropic EndpointType = "anthropic"
EndpointTypeGemini EndpointType = "gemini"
EndpointTypeJinaRerank EndpointType = "jina-rerank"
+ EndpointTypeMidjourney EndpointType = "midjourney-proxy"
+ EndpointTypeSuno EndpointType = "suno-proxy"
+ EndpointTypeKling EndpointType = "kling"
+ EndpointTypeJimeng EndpointType = "jimeng"
)
diff --git a/web/src/components/table/ModelPricing.js b/web/src/components/table/ModelPricing.js
index 56d40257..bf9df911 100644
--- a/web/src/components/table/ModelPricing.js
+++ b/web/src/components/table/ModelPricing.js
@@ -1,5 +1,5 @@
import React, { useContext, useEffect, useRef, useMemo, useState } from 'react';
-import { API, copy, showError, showInfo, showSuccess, getModelCategories, renderModelTag } from '../../helpers';
+import { API, copy, showError, showInfo, showSuccess, getModelCategories, renderModelTag, stringToColor } from '../../helpers';
import { useTranslation } from 'react-i18next';
import {
@@ -106,6 +106,26 @@ const ModelPricing = () => {
) : null;
}
+ function renderSupportedEndpoints(endpoints) {
+ if (!endpoints || endpoints.length === 0) {
+ return null;
+ }
+ return (
+