mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-08 11:01:35 +00:00
update model dropdowns
This commit is contained in:
1 parent
76770baf5b
commit
cebf5f3c22
2 files changed
+15
-2
No files matched your search
@@ -16,6 +16,7 @@ export const MODEL_TYPE_TO_CREATOR: Record<string, ModelCreator> = {
|
||||
veo_2: ModelCreator.Google,
|
||||
recraft_3: ModelCreator.Recraft,
|
||||
hunyuan_3d: ModelCreator.Tencent,
|
||||
midjourney: ModelCreator.Midjourney,
|
||||
};
|
||||
|
||||
// Get creator icon for a model type
|
||||
@@ -94,6 +95,7 @@ export const getModelDisplayName = (modelType: string): string => {
|
||||
hunyuan_3d_2p1: "Hunyuan 3D 2.1",
|
||||
hunyuan_3d: "Hunyuan 3D",
|
||||
flux_pro_kontext_max: "Flux Pro Kontext Max",
|
||||
midjourney: "Midjourney",
|
||||
// TODO: add more models here - BFlat
|
||||
};
|
||||
|
||||
@@ -105,6 +107,7 @@ export const getProviderDisplayName = (provider: string): string => {
|
||||
const displayNames: Record<string, string> = {
|
||||
artcraft: "ArtCraft",
|
||||
fal: "FAL",
|
||||
midjourney: "Midjourney",
|
||||
sora: "Sora",
|
||||
};
|
||||
|
||||
|
||||
@@ -57,7 +57,6 @@ export const ALL_MODELS: ModelConfig[] = [
|
||||
description: "High quality model",
|
||||
badges: [{ label: "15 sec." }],
|
||||
capabilities: { maxGenerationCount: 4 },
|
||||
tags: ["instructiveEdit"],
|
||||
}),
|
||||
cfg({
|
||||
id: "flux_pro_1_1",
|
||||
@@ -70,7 +69,6 @@ export const ALL_MODELS: ModelConfig[] = [
|
||||
description: "High quality model",
|
||||
badges: [{ label: "15 sec." }],
|
||||
capabilities: { maxGenerationCount: 4 },
|
||||
tags: ["instructiveEdit"],
|
||||
}),
|
||||
cfg({
|
||||
id: "flux_1_dev",
|
||||
@@ -122,6 +120,18 @@ export const ALL_MODELS: ModelConfig[] = [
|
||||
capabilities: { maxGenerationCount: 4 },
|
||||
tags: ["instructiveEdit"],
|
||||
}),
|
||||
cfg({
|
||||
id: "midjourney",
|
||||
category: "image",
|
||||
info: {
|
||||
name: "Midjourney",
|
||||
tauri_id: "midjourney",
|
||||
creator: mc.Midjourney,
|
||||
},
|
||||
description: "Incredible style and quality",
|
||||
badges: [{ label: "15 sec." }],
|
||||
capabilities: { maxGenerationCount: 4 },
|
||||
}),
|
||||
|
||||
//////////////////////////////
|
||||
// Video models
|
||||
|
||||
Reference in new issue
Block a user