Merge pull request #2190 from Sh1n3zZ/support-replicate-channel

feat: replicate channel flux model
This commit is contained in:
Calcium-Ion
2025-11-10 17:22:31 +08:00
committed by GitHub
11 changed files with 614 additions and 29 deletions

View File

@@ -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;

View File

@@ -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} />;