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
create: local lanes for music/lipsync/extend/motion, character stays cloud
purplee81b0e2af97a
diff --git a/src/components/create/experimental/IntentBar.tsx b/src/components/create/experimental/IntentBar.tsxindex 255da033..3b790d0a 100644--- a/src/components/create/experimental/IntentBar.tsx+++ b/src/components/create/experimental/IntentBar.tsx@@ -1,6 +1,5 @@import { Cloud } from 'lucide-react'import { useCreateStore } from '../../../stores/createStore'-import { useSettingsStore } from '../../../stores/settingsStore'import { useUIStore, type CloudTeaserTarget } from '../../../stores/uiStore'import { INTENTS } from './intents'import { cn } from '../ui/cn'@@ -18,17 +17,14 @@ export function IntentBar() {const intent = useCreateStore((s) => s.intent())const setIntent = useCreateStore((s) => s.setIntent)const backend = useCreateStore((s) => s.backend)- const teasersEnabled = useSettingsStore((s) => s.settings.cloudTeasersEnabled)const setCloudTeaser = useUIStore((s) => s.setCloudTeaser)- // Hosted-ONLY intents (upscale/eraser + character training) are live on the- // cloud backend; on local they stay VISIBLE as locked teasers (cloud glyph,- // sheet on tap) while the discovery layer is on. The 2.5.8 lanes with- // hasLocalLane (music / lipsync / extend / motion) are REAL local tabs —- // always selectable, always visible; their cloud glyph becomes a small- // "Try cloud" affordance that opens the same teaser sheet.- const intents = INTENTS.filter(- (m) => !m.cloudOnly || m.hasLocalLane || backend === 'cloud' || teasersEnabled,- )+ // Every tool is always in the bar. The 2.5.8 lanes with hasLocalLane+ // (lipsync / music / extend / motion) are REAL local tabs — plain selectable+ // pills with NO cloud glyph (David 2026-07-19: the top row only carries a+ // cloud badge for the genuinely hosted-only tools). Only upscale, eraser and+ // character training (cloudOnly, no local backend) render as locked,+ // cloud-tagged pills in local mode; a tap opens the teaser sheet / plans gate.+ const intents = INTENTSreturn (<div@@ -41,10 +37,6 @@ export function IntentBar() {>{intents.map((meta) => {const locked = meta.cloudOnly === true && !meta.hasLocalLane && backend !== 'cloud'- // Local mode + a lane that also exists hosted: show the glyph as a- // real "Try cloud" button next to the (unlocked) pill.- const tryCloud = meta.cloudOnly === true && meta.hasLocalLane === true- && backend !== 'cloud' && teasersEnabledconst selected = !locked && intent === meta.idconst Icon = meta.iconreturn (@@ -82,31 +74,6 @@ export function IntentBar() {aria-hidden/>)}- {tryCloud && (- // Nested interactive element inside a radio is invalid — a- // keyboard-reachable span with a click handler keeps the pill- // itself the only button. Opens the cloud sheet for this lane.- <span- role="button"- tabIndex={0}- aria-label={`Try ${meta.label} on LU Cloud`}- title={`Try ${meta.label} on LU Cloud`}- onClick={(e) => {- e.stopPropagation()- setCloudTeaser({ surface: 'intent', intent: meta.id as TeaserIntent })- }}- onKeyDown={(e) => {- if (e.key === 'Enter' || e.key === ' ') {- e.preventDefault()- e.stopPropagation()- setCloudTeaser({ surface: 'intent', intent: meta.id as TeaserIntent })- }- }}- className="absolute top-0 right-0 p-0.5 rounded-full text-violet-500 dark:text-violet-200 hover:scale-125 transition-transform"- >- <Cloud size={11} strokeWidth={2.4} />- </span>- )}<spanclassName={cn('overflow-hidden whitespace-nowrap min-w-0 t-control transition-[max-width,opacity,padding] duration-200',diff --git a/src/components/create/experimental/__tests__/intents.test.ts b/src/components/create/experimental/__tests__/intents.test.tsindex 3c26493c..612c3083 100644--- a/src/components/create/experimental/__tests__/intents.test.ts+++ b/src/components/create/experimental/__tests__/intents.test.ts@@ -5,14 +5,15 @@ import { LOCAL_LANE_OPS } from '../../../../stores/createStore'// David 2026-07-10 made the advanced ops cloud-only; David 2026-07-12 brought// Edit BACK to local as the 4th local tab (checkpoint mask inpaint —// VAEEncodeForInpaint / InpaintModelConditioning); David 2026-07-17 brought-// Animate (local I2V) back as the 5th — the lu-labs port had regressed it to-// cloud-only. 2.5.8 gives ALL five specialized categories REAL local lanes-// (hasLocalLane): music / lipsync / extend / motion on core ComfyUI node-// families, character training on the bundled musubi trainer. Only upscale-// and eraser remain hosted-only.+// Animate (local I2V) back as the 5th. 2.5.8 gives FOUR specialized categories+// REAL local lanes (hasLocalLane): music / lipsync / extend / motion on core+// ComfyUI node families (motion additionally needs the DWPose pack, which+// loads fine on Windows via the OpenCV CPU fallback). Upscale, eraser AND+// character stay hosted-only — character training is cloud-first (David+// 2026-07-19) until a local trainer runtime ships.describe('intent cloud gating', () => {- it('upscale and eraser stay hosted-only (no local lane)', () => {- for (const id of ['upscale', 'eraser'] as const) {+ it('upscale, eraser and character stay hosted-only (no local lane)', () => {+ for (const id of ['upscale', 'eraser', 'character'] as const) {expect(INTENT_MAP[id].cloudOnly, id).toBe(true)expect(INTENT_MAP[id].hasLocalLane, id).toBeUndefined()}@@ -25,7 +26,7 @@ describe('intent cloud gating', () => {})it('the 2.5.8 lanes are dual: hosted clip AND a local lane', () => {- for (const id of ['music', 'lipsync', 'extend', 'motion', 'character'] as const) {+ for (const id of ['music', 'lipsync', 'extend', 'motion'] as const) {expect(INTENT_MAP[id].cloudOnly, id).toBe(true)expect(INTENT_MAP[id].hasLocalLane, id).toBe(true)}@@ -36,9 +37,9 @@ describe('intent cloud gating', () => {expect(fromMeta).toEqual([...LOCAL_LANE_OPS].sort())})- it('the local IntentBar filter keeps the 5 classic tabs plus the 5 lanes selectable', () => {+ it('the local IntentBar filter keeps the 5 classic tabs plus the 4 lanes selectable', () => {const selectable = INTENTS.filter((m) => !m.cloudOnly || m.hasLocalLane).map((m) => m.id)- expect(selectable).toEqual(['image', 'edit', 'removebg', 'video', 'animate', 'character', 'lipsync', 'music', 'extend', 'motion'])+ expect(selectable).toEqual(['image', 'edit', 'removebg', 'video', 'animate', 'lipsync', 'music', 'extend', 'motion'])})it('local edit gates on the inpaint capability + image models', () => {@@ -56,15 +57,15 @@ describe('intent cloud gating', () => {expect(INTENT_MAP.animate.requiresModels).toBe('video')})- it('the lanes gate on their own model kinds + the pose capability', () => {+ it('the lanes gate on their own model kinds', () => {expect(INTENT_MAP.music.requiresModels).toBe('audio')expect(INTENT_MAP.lipsync.requiresModels).toBe('lipsync')// Extend rides the regular i2v-capable video list (last-frame continue).expect(INTENT_MAP.extend.requiresModels).toBe('video')+ // Motion gates on the VACE/Animate model list AND the DWPose pack.expect(INTENT_MAP.motion.requiresModels).toBe('motion')expect(INTENT_MAP.motion.capability).toBe('dwpose')- // Character gates itself inside its panel (trainer env + base files),- // not on a ComfyUI model list.+ // Character is hosted-only — no local model gate.expect(INTENT_MAP.character.requiresModels).toBeUndefined()})})diff --git a/src/components/create/experimental/intents.ts b/src/components/create/experimental/intents.tsindex 8bf1544a..451a5f74 100644--- a/src/components/create/experimental/intents.ts+++ b/src/components/create/experimental/intents.ts@@ -92,20 +92,20 @@ export const INTENTS: IntentMeta[] = [},// ── 2.5.8 specialized categories (2026-07-17 David). All have hosted- // endpoints (cloudOnly = cloud clip/teaser exists) and ALL run locally- // since 2.5.8 (hasLocalLane) — core ComfyUI node families (ACE audio,- // Wan S2V, I2V last-frame chain, Wan Animate/VACE) plus the bundled- // musubi trainer for characters. Their composer surfaces own the extra- // inputs (training set, audio, driving video, extend pick), so- // needsSource / needsPrompt describe only the shared composer scaffolding. ──+ // endpoints (cloudOnly = cloud clip/teaser exists); music, lipsync, extend+ // and motion ALSO run locally (hasLocalLane) on core ComfyUI node families+ // (ACE audio, Wan S2V, I2V last-frame chain, Wan VACE/Animate). Their+ // composer surfaces own the extra inputs (training set, audio, driving+ // video, extend pick), so needsSource / needsPrompt describe only the+ // shared composer scaffolding. ──{- // Local lane trains a Z-Image LoRA on the user's GPU (Rust-managed- // musubi-tuner venv); the panel gates itself on trainer env + base files,- // so no requiresModels here.+ // Character training is CLOUD-FIRST (David 2026-07-19): the local lane+ // needs a whole trainer runtime (musubi-tuner venv) that 2.5.8 does not+ // ship, so no hasLocalLane until that exists.id: 'character', label: 'Character Studio', short: 'Character', icon: UserRound,placeholder: 'Describe the scene for your character…',needsSource: false, needsPrompt: false, allowsMask: false, isVideo: false,- cloudOnly: true, hasLocalLane: true,+ cloudOnly: true,examples: [],},{@@ -139,13 +139,15 @@ export const INTENTS: IntentMeta[] = [examples: [],},{- // Character image + driving video are composer chips (see lipsync note).- // Local lane needs the DWPose extractor (controlnet_aux pack) on top of- // the Animate/VACE model files.+ // Local lane on Wan VACE/Animate + DWPose (comfyui_controlnet_aux).+ // DWPose imports fine on Windows (falls back to OpenCV on CPU when+ // onnxruntime-gpu is absent — slower, not broken); the pack only shows+ // up after a ComfyUI restart, which installCapability performs.id: 'motion', label: 'Motion Control', short: 'Motion', icon: PersonStanding,placeholder: 'Optional: extra style/scene hints…',needsSource: false, needsPrompt: false, allowsMask: false, isVideo: true,- cloudOnly: true, hasLocalLane: true, requiresModels: 'motion', capability: 'dwpose',+ capability: 'dwpose',+ cloudOnly: true, hasLocalLane: true, requiresModels: 'motion',examples: [],},]diff --git a/src/stores/__tests__/createStore.test.ts b/src/stores/__tests__/createStore.test.tsindex 10331435..29ad2e0a 100644--- a/src/stores/__tests__/createStore.test.ts+++ b/src/stores/__tests__/createStore.test.ts@@ -774,14 +774,24 @@ describe('createStore', () => {expect(after.source).not.toBeNull()})- it('keeps character — its local training lane arrived in 2.5.8 (musubi)', () => {+ it('clears character — training is cloud-first (David 2026-07-19), no local lane in 2.5.8', () => {const s = useCreateStore.getState()s.setBackend('cloud')s.setIntent('character')useCreateStore.getState().setBackend('local')const after = useCreateStore.getState()- expect(after.cloudOp).toBe('character')- expect(after.intent()).toBe('character')+ expect(after.cloudOp).toBeNull()+ expect(after.intent()).not.toBe('character')+ })++ it('keeps motion — its DWPose + VACE local lane shipped in 2.5.8', () => {+ const s = useCreateStore.getState()+ s.setBackend('cloud')+ s.setIntent('motion')+ useCreateStore.getState().setBackend('local')+ const after = useCreateStore.getState()+ expect(after.cloudOp).toBe('motion')+ expect(after.intent()).toBe('motion')})it('flipping to cloud never resets anything', () => {diff --git a/src/stores/createStore.ts b/src/stores/createStore.tsindex 00e9c91a..6ac4a874 100644--- a/src/stores/createStore.ts+++ b/src/stores/createStore.ts@@ -37,11 +37,13 @@ export type CloudOp = 'character' | 'lipsync' | 'music' | 'extend' | 'motion'/** Which of the specialized categories ALSO run on the local ComfyUI backend* (2.5.8 local lanes: ACE music, Wan S2V talking character, last-frame-chain- * extend, Wan Animate/VACE motion, musubi character training). Single source- * of truth for the intent metadata, the IntentBar lock state and the- * backend-flip cleanup below — lives here (lowest layer) so intents.ts can- * derive from it without a component→store import cycle. */-export const LOCAL_LANE_OPS: ReadonlySet<CloudOp> = new Set(['music', 'lipsync', 'extend', 'motion', 'character'])+ * extend, Wan VACE/Animate motion). Single source of truth for the intent+ * metadata, the IntentBar lock state and the backend-flip cleanup below —+ * lives here (lowest layer) so intents.ts can derive from it without a+ * component→store import cycle. */+// Character stays cloud-first (David 2026-07-19): its local lane needs a+// trainer runtime (musubi venv) that 2.5.8 does not ship.+export const LOCAL_LANE_OPS: ReadonlySet<CloudOp> = new Set(['music', 'lipsync', 'extend', 'motion'])/** An audio/video file (or training image) staged in the composer before* upload. `blob` carries the bytes for the cloud upload; `url` is a local