Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(create): honest cloud model list for Edit + drop the dead Aspect knob

purple5ed29f6bb6e7
diff --git a/src/components/create/experimental/Composer.tsx b/src/components/create/experimental/Composer.tsx
index dd1658c6..c8a6f2d9 100644
--- a/src/components/create/experimental/Composer.tsx
+++ b/src/components/create/experimental/Composer.tsx
@@ -228,7 +228,11 @@ function QuickControls() {
/>
</LabeledControl>
- {!meta.isVideo && (
+ {/* Aspect only where the output size is actually user-chosen — a pure
+ from-scratch image. Edit/mask ops force the output to the source
+ image's dimensions (useCloudCreate overrides w/h from the source), so
+ the control was dead there; video has no aspect knob at all. */}
+ {!meta.isVideo && !meta.needsSource && (
<LabeledControl label="Aspect">
<Segmented
size="sm"
diff --git a/src/components/create/experimental/ModelChip.tsx b/src/components/create/experimental/ModelChip.tsx
index 65cba2e1..55f7f00a 100644
--- a/src/components/create/experimental/ModelChip.tsx
+++ b/src/components/create/experimental/ModelChip.tsx
@@ -1,5 +1,5 @@
import { useCreateStore } from '../../../stores/createStore'
-import { useCloudCatalogStore, defaultCloudModel } from '../../../stores/cloudCatalogStore'
+import { useCloudCatalogStore, defaultCloudModel, defaultEditModel, isEditCapable } from '../../../stores/cloudCatalogStore'
import { Select, type SelectOption } from '../ui/Select'
import { TYPE_BADGE } from './badges'
@@ -15,6 +15,7 @@ export function ModelChip() {
function CloudModelChip() {
const mode = useCreateStore((s) => s.mode)
+ const intent = useCreateStore((s) => s.intent())
const cloudImageModel = useCreateStore((s) => s.cloudImageModel)
const cloudVideoModel = useCreateStore((s) => s.cloudVideoModel)
const setCloudImageModel = useCreateStore((s) => s.setCloudImageModel)
@@ -23,8 +24,16 @@ function CloudModelChip() {
const isVideo = mode === 'video'
const kind = isVideo ? 'video' : 'image'
- const list = models.filter((m) => m.kind === kind)
- const value = (isVideo ? cloudVideoModel : cloudImageModel) || defaultCloudModel(kind)?.id || ''
+ // Edit needs a masked-img2img model (flux-dev today). Only offer the models
+ // that can actually do it — otherwise the picker lists t2i-only checkpoints
+ // that useCloudCreate silently swaps out at submit, so the user's choice was
+ // a lie. (Video: every catalog clip model is t2v+i2v, so no per-op filter.)
+ const editOnly = intent === 'edit'
+ const list = models.filter((m) => m.kind === kind && (!editOnly || m.edit))
+ const current = (isVideo ? cloudVideoModel : cloudImageModel) || defaultCloudModel(kind)?.id || ''
+ // Reflect the model the run will really use, so a t2i model left over from
+ // the Image tab doesn't show as "selected" on an edit it can't perform.
+ const value = editOnly && !isEditCapable(current) ? (defaultEditModel()?.id ?? current) : current
const options: SelectOption[] = list.map((m) => ({
value: m.id,