From c8d3154f839be557b6f8e76a87292f99a9953ba8 Mon Sep 17 00:00:00 2001 From: ciaranbor <81697641+ciaranbor@users.noreply.github.com> Date: Fri, 6 Feb 2026 15:59:06 +0000 Subject: [PATCH] More image dimensions (#1395) ## Motivation More dimensions for image generation ## Changes - dashboard/src/lib/components/ImageParamsPanel.svelte: Added "1024x1365" and "1365x1024" to the sizeOptions array - dashboard/src/lib/stores/app.svelte.ts: Extended the size type in ImageGenerationParams interface to include the two new dimension options --- dashboard/src/lib/components/ImageParamsPanel.svelte | 2 ++ dashboard/src/lib/stores/app.svelte.ts | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dashboard/src/lib/components/ImageParamsPanel.svelte b/dashboard/src/lib/components/ImageParamsPanel.svelte index 5a126f38..8da07559 100644 --- a/dashboard/src/lib/components/ImageParamsPanel.svelte +++ b/dashboard/src/lib/components/ImageParamsPanel.svelte @@ -64,6 +64,8 @@ "1024x1024", "1024x768", "768x1024", + "1024x1365", + "1365x1024", ]; const qualityOptions: ImageGenerationParams["quality"][] = [ diff --git a/dashboard/src/lib/stores/app.svelte.ts b/dashboard/src/lib/stores/app.svelte.ts index ffb7efcc..341ea384 100644 --- a/dashboard/src/lib/stores/app.svelte.ts +++ b/dashboard/src/lib/stores/app.svelte.ts @@ -286,7 +286,14 @@ const IMAGE_PARAMS_STORAGE_KEY = "exo-image-generation-params"; // Image generation params interface matching backend API export interface ImageGenerationParams { // Basic params - size: "512x512" | "768x768" | "1024x1024" | "1024x768" | "768x1024"; + size: + | "512x512" + | "768x768" + | "1024x1024" + | "1024x768" + | "768x1024" + | "1024x1365" + | "1365x1024"; quality: "low" | "medium" | "high"; outputFormat: "png" | "jpeg"; numImages: number;