mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 04:40:59 +00:00
Merge pull request #2190 from Sh1n3zZ/support-replicate-channel
feat: replicate channel flux model
This commit is contained in:
@@ -179,6 +179,11 @@ export const CHANNEL_OPTIONS = [
|
||||
color: 'green',
|
||||
label: 'Sora',
|
||||
},
|
||||
{
|
||||
value: 56,
|
||||
color: 'blue',
|
||||
label: 'Replicate',
|
||||
},
|
||||
];
|
||||
|
||||
export const MODEL_TABLE_PAGE_SIZE = 10;
|
||||
|
||||
@@ -55,6 +55,7 @@ import {
|
||||
Kling,
|
||||
Jimeng,
|
||||
Perplexity,
|
||||
Replicate,
|
||||
} from '@lobehub/icons';
|
||||
|
||||
import {
|
||||
@@ -342,6 +343,8 @@ export function getChannelIcon(channelType) {
|
||||
return <Jimeng.Color size={iconSize} />;
|
||||
case 54: // 豆包视频 Doubao Video
|
||||
return <Doubao.Color size={iconSize} />;
|
||||
case 56: // Replicate
|
||||
return <Replicate size={iconSize} />;
|
||||
case 8: // 自定义渠道
|
||||
case 22: // 知识库:FastGPT
|
||||
return <FastGPT.Color size={iconSize} />;
|
||||
|
||||
Reference in New Issue
Block a user