Skip to content

The VS Code of video editing, built for agents.

TypeScript

Update model options in genai configuration

konstantin-paulus7a2eee7fe0c2
diff --git a/apps/web/src/components/genai/config.ts b/apps/web/src/components/genai/config.ts
index e8bcb877..1f04c6a4 100644
--- a/apps/web/src/components/genai/config.ts
+++ b/apps/web/src/components/genai/config.ts
@@ -338,25 +338,19 @@ const seconds = (from: number, to: number) => Array.from({ length: to - from + 1
const image = { mode: "IMAGE", aspectRatios: ALL_ASPECT_RATIOS, counts: [1, 2, 3, 4] } satisfies Partial<ModelOption>;
const video = { mode: "VIDEO" } satisfies Partial<ModelOption>;
-/** Most relevant first, per mode: the order the model menu lists them in. */
+/**
+ * Most relevant first, per mode: the order the model menu lists them in. Image
+ * models follow the Artificial Analysis text-to-image leaderboard.
+ */
export const MODEL_OPTIONS: ModelOption[] = [
{
...image,
- id: "nano-banana-2.1",
- name: "Nano Banana 2.1",
- icon: "large-google",
- description: "Google's newest, sharper edits at Flash cost.",
- references: 14,
- resolutions: ["1K", "2K", "4K"],
- },
- {
- ...image,
- id: "nano-banana-pro",
- name: "Nano Banana Pro",
- icon: "large-google",
- description: "Pro control, readable text, ultra consistent.",
- references: 14,
- resolutions: ["1K", "2K", "4K"],
+ id: "flux-2-klein",
+ name: "FLUX.2 Klein",
+ icon: "large-bfl",
+ description: "Low budget, high quality, fast.",
+ references: 4,
+ resolutions: ["1K"],
},
{
...image,
@@ -367,6 +361,24 @@ export const MODEL_OPTIONS: ModelOption[] = [
references: 16,
resolutions: ["1K"],
},
+ // {
+ // ...image,
+ // id: "nano-banana-2.1",
+ // name: "Nano Banana 2.1",
+ // icon: "large-google",
+ // description: "Google's newest, sharper edits at Flash cost.",
+ // references: 14,
+ // resolutions: ["1K", "2K", "4K"],
+ // },
+ {
+ ...image,
+ id: "grok-imagine-image-2.0",
+ name: "Grok Imagine 2.0",
+ icon: "large-grok",
+ description: "Fast, vivid, photoreal images.",
+ references: 3,
+ resolutions: ["1K", "2K"],
+ },
{
...image,
id: "nano-banana-2",
@@ -376,15 +388,6 @@ export const MODEL_OPTIONS: ModelOption[] = [
references: 14,
resolutions: ["1K", "2K", "4K"],
},
- {
- ...image,
- id: "seedream-5.0-pro",
- name: "Seedream 5.0 Pro",
- icon: "large-bytedance",
- description: "Lifelike scenes, precise multi image edits.",
- references: 14,
- resolutions: ["1K", "2K"],
- },
{
...image,
id: "flux-3-image",
@@ -396,31 +399,22 @@ export const MODEL_OPTIONS: ModelOption[] = [
},
{
...image,
- id: "flux-2-pro",
- name: "FLUX.2 Pro",
- icon: "large-bfl",
- description: "Frontier quality, consistent references.",
- references: 8,
- resolutions: ["1K"],
+ id: "nano-banana-pro",
+ name: "Nano Banana Pro",
+ icon: "large-google",
+ description: "Pro control, readable text, ultra consistent.",
+ references: 14,
+ resolutions: ["1K", "2K", "4K"],
},
{
...image,
- id: "grok-imagine-image-2.0",
- name: "Grok Imagine 2.0",
- icon: "large-grok",
- description: "Fast, vivid, photoreal images.",
- references: 3,
+ id: "seedream-5.0-pro",
+ name: "Seedream 5.0 Pro",
+ icon: "large-bytedance",
+ description: "Lifelike scenes, precise multi image edits.",
+ references: 14,
resolutions: ["1K", "2K"],
},
- {
- ...image,
- id: "flux-2-klein",
- name: "FLUX.2 Klein",
- icon: "large-bfl",
- description: "Low budget, high quality, fast.",
- references: 4,
- resolutions: ["1K"],
- },
{
...image,
id: "krea-2-large",
@@ -431,6 +425,15 @@ export const MODEL_OPTIONS: ModelOption[] = [
aspectRatios: ["16:9", "9:16", "1:1", "4:3"],
resolutions: ["1K"],
},
+ {
+ ...image,
+ id: "flux-2-pro",
+ name: "FLUX.2 Pro",
+ icon: "large-bfl",
+ description: "Frontier quality, consistent references.",
+ references: 8,
+ resolutions: ["1K"],
+ },
{
...video,
id: "veo-3.1",