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.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(create-3d): what the browser check of the 3D tab found
purplee7ffa396c992
diff --git a/src/components/create/experimental/CreateExperimental.tsx b/src/components/create/experimental/CreateExperimental.tsxindex 9c5dac5b..84f04ffd 100644--- a/src/components/create/experimental/CreateExperimental.tsx+++ b/src/components/create/experimental/CreateExperimental.tsx@@ -42,7 +42,7 @@ import { Modal } from '../../ui/Modal'const PresetWorkshop = lazy(() =>import('./PresetWorkshop').then((m) => ({ default: m.PresetWorkshop })),)-import { INTENT_MAP, isIntentAvailable } from './intents'+import { INTENT_MAP, intentNeedsSource, isIntentAvailable } from './intents'import { studioIntentOf, studioPickFor } from '../../../lib/render/create-studio'import { modelForOp, useCloudCatalogStore } from '../../../stores/cloudCatalogStore'import { stageShowsSetupCard, laneModelCount } from './stageGate'@@ -279,7 +279,10 @@ function CreateExperimentalInner() {// on a Windows or Linux machine with no ComfyUI running the Cloud tab stood// under "ComfyUI is not running. Start it from Settings or wait for// auto-start." (how-to recording 12.10.2026). It belongs to the local lane.- const banner = error ?? (backend === 'cloud' ? null : setupCardOwnsStage || comfyStarting ? null : modelLoadError)+ // 3D on a Mac runs its own engine (commands/mesh3d.rs): the state of the+ // image engine is its business only for "From text", which paints first.+ const threeDOwnEngine = intent === '3d' && isMlxImageHost() && threeDWay !== 'text'+ const banner = error ?? (backend === 'cloud' ? null : setupCardOwnsStage || comfyStarting || threeDOwnEngine ? null : modelLoadError)// "Edit with mask" on a finished image force-sets the 'edit' intent and// opens the mask editor. On the MLX Mac that is Qwen-Image 2.1 on the@@ -343,7 +346,9 @@ function CreateExperimentalInner() {const openGalleryItem = useCallback((id: string) => {const item = useCreateStore.getState().gallery.find((g) => g.id === id)if (!item) return- if (INTENT_MAP[intent].needsSource) setLightbox(item)+ // 3D from a picture or a video owns a source too, and a model opens in+ // the large view, where it can be turned.+ if (intentNeedsSource(intent, useCreateStore.getState().threeDWay) || item.type === '3d') setLightbox(item)else setShownId(id)}, [intent])diff --git a/src/components/create/experimental/ModelChip.tsx b/src/components/create/experimental/ModelChip.tsxindex d636deca..354bab82 100644--- a/src/components/create/experimental/ModelChip.tsx+++ b/src/components/create/experimental/ModelChip.tsx@@ -1,3 +1,4 @@+import { MAC_3D_MODEL, PC_3D_MODEL } from '../../../lib/three/run-local-3d'import { useCreateStore } from '../../../stores/createStore'import {useCloudCatalogStore, cloudModelById, defaultCloudModel, opPickerModels, modelCostHint, shortCount,@@ -71,7 +72,25 @@ export const CLOUD_GROUP = 'LU Cloud'// (server-driven via cloudCatalogStore) and writes the cloud model slugs.export function ModelChip() {const backend = useCreateStore((s) => s.backend)- return backend === 'cloud' ? <CloudModelChip /> : <LocalModelChip />+ const intent = useCreateStore((s) => s.intent())+ if (backend === 'cloud') return <CloudModelChip />+ // Local 3D has one model per machine (TripoSR on a Mac, TRELLIS.2 in+ // ComfyUI): it is named, there is nothing to pick.+ if (intent === '3d') return <LocalThreeDChip />+ return <LocalModelChip />+}++function LocalThreeDChip() {+ const name = isMlxImageHost() ? MAC_3D_MODEL : PC_3D_MODEL+ return (+ <span+ className="inline-flex items-center gap-1.5 h-[var(--control-h-md)] px-3 rounded-lg border border-white/[0.08] t-control text-gray-300"+ title={`${name} on this machine. Local 3D is never filtered.`}+ data-testid="model-chip-3d"+ >+ {name}+ </span>+ )}function CloudModelChip() {diff --git a/src/components/create/experimental/Stage.tsx b/src/components/create/experimental/Stage.tsxindex 42b68bc2..d8d03d42 100644--- a/src/components/create/experimental/Stage.tsx+++ b/src/components/create/experimental/Stage.tsx@@ -8,6 +8,7 @@ import { musicText } from '../../../lib/render/music-ui'import { useCreateExp } from './CreateContext'import { INTENT_MAP, intentNeedsSource } from './intents'import { ThreeDSetupCard, ThreeDVideoHint, useThreeDLocal } from './ThreeDStage'+import { THREE_D_TEXT } from '../../../lib/three/three-d-text'import { editNeedsMask, defaultCloudModel, modelForOp } from '../../../stores/cloudCatalogStore'import { stageShowsSetupCard, laneModelCount } from './stageGate'import { needsMaskFor } from './maskGate'@@ -185,7 +186,9 @@ export function Stage({ displayed, onOpenMaskEditor, onEditResult, onAnimateResuconst howtoTopic = stageHowtoTopic(intent, backend, isMlxImageHost())if (isGenerating) {body = <GeneratingView />- } else if (intent === '3d' && threeDSetup.needsSetup) {+ } else if (intent === '3d' && threeDSetup.needsSetup && !(displayed?.type === '3d' && !(needsSource && source && !freshResult))) {+ // A model already made (in the cloud, or before) is shown; the setup+ // takes the Stage when there is nothing to show.body = <ThreeDSetupCard setup={threeDSetup} />} else if (modelsMissing || installRun) {body = <ModelInstallCard kind={meta.requiresModels!} />@@ -418,7 +421,8 @@ function InputSlot() {: <UploadCloud className="text-lu-accent drop-shadow-[0_0_7px_var(--color-lu-accent-ring)]" size={30} strokeWidth={ICON_STROKE_MARK} />)}<div className="text-center">- <div className="t-title text-gray-300">{meta.id === 'removebg' ? 'Drop an image to cut out' : meta.id === 'animate' ? 'Drop an image to animate' : meta.id === 'upscale' ? 'Drop an image to enhance' : 'Drop an image to edit'}</div>+ <div className="t-title text-gray-300">{meta.id === '3d' ? THREE_D_TEXT.dropImage : meta.id === 'removebg' ? 'Drop an image to cut out' : meta.id === 'animate' ? 'Drop an image to animate' : meta.id === 'upscale' ? 'Drop an image to enhance' : 'Drop an image to edit'}</div>+ {meta.id === '3d' && <div className="t-body text-gray-500">{THREE_D_TEXT.dropImageSub}</div>}<div className="t-body text-gray-600">or click to browse · PNG, JPG, WebP</div>{batchOffered && <div className="t-body text-gray-600">Pick several to give them all the same run</div>}</div>diff --git a/src/components/create/experimental/ThreeDControls.tsx b/src/components/create/experimental/ThreeDControls.tsxindex 6e1d57ba..c356f4e6 100644--- a/src/components/create/experimental/ThreeDControls.tsx+++ b/src/components/create/experimental/ThreeDControls.tsx@@ -208,7 +208,6 @@ function VideoFrames({ maxViews }: { maxViews: number }) {<Film size={14} />{name ?? T.dropVideo}</button>- {!frames.length && !reading && <span className="t-meta text-gray-500">{T.dropVideoSub}</span>}{reading && <span className="t-meta text-gray-400">{T.framesReading}</span>}{frames.length > 0 && (<>diff --git a/src/components/create/experimental/ThreeDStage.tsx b/src/components/create/experimental/ThreeDStage.tsxindex 9f8b4ddf..159aa19c 100644--- a/src/components/create/experimental/ThreeDStage.tsx+++ b/src/components/create/experimental/ThreeDStage.tsx@@ -117,7 +117,7 @@ function installLine(st: { status: string; download_progress?: number; download_export function ThreeDSetupCard({ setup }: { setup: ThreeDSetup }) {const mac = isMlxImageHost()return (- <div className="flex flex-col items-center gap-3 max-w-[440px] text-center p-6" data-testid="three-d-setup">+ <div className="m-auto flex flex-col items-center gap-3 max-w-[440px] text-center p-6" data-testid="three-d-setup"><Box size={30} className="text-gray-400" /><h3 className="t-title text-gray-100">{mac ? SETUP_TEXT.macTitle : SETUP_TEXT.pcTitle}</h3><p className="t-body text-gray-400">{mac ? SETUP_TEXT.macBody : SETUP_TEXT.pcBody}</p>@@ -127,7 +127,7 @@ export function ThreeDSetupCard({ setup }: { setup: ThreeDSetup }) {<Button variant="secondary" onClick={setup.cancel}>{SETUP_TEXT.cancel}</Button></>) : (- <Button onClick={setup.install} data-testid="three-d-setup-install">{SETUP_TEXT.install}</Button>+ <Button variant="primary" onClick={setup.install} data-testid="three-d-setup-install">{SETUP_TEXT.install}</Button>)}{setup.error && <p className="t-meta text-red-300" role="alert">{setup.error}</p>}</div>@@ -138,7 +138,7 @@ export function ThreeDSetupCard({ setup }: { setup: ThreeDSetup }) {* first still frame will stand here. */export function ThreeDVideoHint() {return (- <div className="flex flex-col items-center gap-2 max-w-[420px] text-center p-6" data-testid="three-d-video-hint">+ <div className="m-auto flex flex-col items-center gap-2 max-w-[420px] text-center p-6" data-testid="three-d-video-hint"><Film size={28} className="text-gray-400" /><p className="t-body text-gray-300">{T.dropVideo}</p><p className="t-meta text-gray-500">{T.dropVideoSub}</p>diff --git a/src/components/create/experimental/laneHint.ts b/src/components/create/experimental/laneHint.tsindex 4995298e..838f0851 100644--- a/src/components/create/experimental/laneHint.ts+++ b/src/components/create/experimental/laneHint.ts@@ -58,6 +58,8 @@ export function noPromptHint(id: CreateIntent, backend: CreateBackend = 'local',return backend === 'local'? 'Add a character image and a driving dance/pose video above, then hit Create. The prompt is optional.': 'No prompt needed. Add a character image and a driving dance/pose video above, then hit Create.'+ case '3d':+ return 'No prompt needed. Add a picture or a short video of one object, then hit Create.'default:return 'No prompt needed. Just hit Create to remove the background.'}