Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

52.9 KB
Raw Blame
<div class="group/composer w-full rounded-[20px] border bg-background p-2.5 shadow-soft transition-[border-color,box-shadow] focus-within:border-primary focus-within:ring-4 focus-within:ring-brand-faint sm:rounded-composer">
<div class="relative">
<div aria-hidden="true" class="w-full px-2.5 py-1.5 text-left text-base leading-relaxed whitespace-pre-wrap break-words pointer-events-none absolute inset-0 overflow-hidden text-foreground">​</div>
<textarea rows="1" placeholder="Describe an image… try “a koi pond at night, neon rain”" aria-label="Prompt" spellCheck="true" class="w-full px-2.5 py-1.5 text-left text-base leading-relaxed whitespace-pre-wrap break-words scrollbar-none relative field-sizing-content resize-none bg-transparent text-transparent caret-foreground outline-none placeholder:text-subtle-foreground selection:bg-brand-faint selection:text-transparent max-h-52 min-h-12">
</textarea>
</div>
<div class="flex items-center gap-2">
<div data-composer-toolbar="true" class="scrollbar-none -my-1 flex min-w-0 flex-1 items-center gap-1.5 overflow-x-auto py-1 sm:flex-wrap sm:overflow-x-visible">
<button type="button" aria-label="Add media" class="grid size-8 shrink-0 place-items-center rounded-full bg-secondary text-secondary-foreground transition-colors outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring/50" data-state="closed" data-slot="popover-trigger" aria-haspopup="dialog" aria-expanded="false">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus size-4" aria-hidden="true">
<path d="M5 12h14">
</path>
<path d="M12 5v14">
</path>
</svg>
</button>
<span class="flex min-w-0 shrink-0 max-sm:order-2 max-sm:min-w-[4.5rem] max-sm:shrink max-sm:[&amp;&gt;button]:min-w-0 max-sm:[&amp;&gt;button]:shrink max-sm:[&amp;&gt;button&gt;svg:first-child]:hidden">
<button data-slot="popover-trigger" data-variant="secondary" data-size="sm" class="group/button inline-flex items-center justify-center border border-transparent bg-clip-padding whitespace-nowrap transition-[color,background-color,border-color,box-shadow,scale] duration-(--motion-base) ease-(--ease-standard) outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:duration-(--motion-fast) active:not-aria-[haspopup]:scale-(--motion-press-card) disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-3.5 h-8 shrink-0 gap-1.5 rounded-full px-3 text-[13px] font-medium" aria-label="Model: Auto. Change model" type="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cpu size-3.5" aria-hidden="true">
<path d="M12 20v2">
</path>
<path d="M12 2v2">
</path>
<path d="M17 20v2">
</path>
<path d="M17 2v2">
</path>
<path d="M2 12h2">
</path>
<path d="M2 17h2">
</path>
<path d="M2 7h2">
</path>
<path d="M20 12h2">
</path>
<path d="M20 17h2">
</path>
<path d="M20 7h2">
</path>
<path d="M7 20v2">
</path>
<path d="M7 2v2">
</path>
<rect x="4" y="4" width="16" height="16" rx="2">
</rect>
<rect x="8" y="8" width="8" height="8" rx="1">
</rect>
</svg>
<span class="max-w-40 truncate max-sm:hidden sm:max-w-44">Auto</span>
<span class="max-w-40 truncate sm:hidden">Auto</span>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-3.5 opacity-60" aria-hidden="true">
<path d="m6 9 6 6 6-6">
</path>
</svg>
</button>
</span>
<button type="button" class="grid size-8 shrink-0 place-items-center rounded-full bg-secondary text-secondary-foreground transition-colors outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring/50 max-sm:order-3" aria-label="Add an element" data-state="closed" data-slot="tooltip-trigger">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-at-sign size-3.5" aria-hidden="true">
<circle cx="12" cy="12" r="4">
</circle>
<path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8">
</path>
</svg>
</button>
<span class="contents max-sm:hidden">
<button type="button" aria-pressed="false" data-state="closed" data-slot="tooltip-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard size-3.5" aria-hidden="true">
<rect width="7" height="9" x="3" y="3" rx="1">
</rect>
<rect width="7" height="5" x="14" y="3" rx="1">
</rect>
<rect width="7" height="9" x="14" y="12" rx="1">
</rect>
<rect width="7" height="5" x="3" y="16" rx="1">
</rect>
</svg>Layout</button>
</span>
<button type="button" aria-label="Settings: 1:1, 1.5K, ×1" aria-haspopup="dialog" aria-expanded="false" data-state="closed" data-slot="popover-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent relative tabular-nums max-sm:w-8 max-sm:justify-center max-sm:px-0 max-sm:order-1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sliders-horizontal size-3.5" aria-hidden="true">
<path d="M10 5H3">
</path>
<path d="M12 19H3">
</path>
<path d="M14 3v4">
</path>
<path d="M16 17v4">
</path>
<path d="M21 12h-9">
</path>
<path d="M21 19h-5">
</path>
<path d="M21 5h-7">
</path>
<path d="M8 10v4">
</path>
<path d="M8 12H3">
</path>
</svg>
<span class="max-sm:hidden">1:1 · 1.5K · ×1</span>
</button>
<span class="contents max-sm:hidden">
<span aria-hidden="true" class="h-8 w-40 shrink-0 animate-pulse rounded-full bg-secondary">
</span>
</span>
</div>
<span class="shrink-0 text-[12px] font-medium text-muted-foreground tabular-nums" data-state="closed" data-slot="tooltip-trigger">
<span class="sm:hidden">Free · GPU</span>
<span class="hidden sm:inline">Free · your GPU</span>
</span>
<button data-slot="tooltip-trigger" data-variant="default" data-size="icon" class="group/button inline-flex items-center justify-center border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-[color,background-color,border-color,box-shadow,scale] duration-(--motion-base) ease-(--ease-standard) outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:duration-(--motion-fast) disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 text-primary-foreground active:not-aria-[haspopup]:scale-(--motion-press) size-10 shrink-0 rounded-full bg-primary/70 hover:bg-primary/80" aria-label="Generate — Write a prompt first" data-state="closed">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-up size-4" aria-hidden="true">
<path d="m5 12 7-7 7 7">
</path>
<path d="M12 19V5">
</path>
</svg>
</button>
</div>
<div aria-live="polite">
</div>
</div>

<div class="group/composer w-full rounded-[20px] border bg-background p-2.5 shadow-soft transition-[border-color,box-shadow] focus-within:border-primary focus-within:ring-4 focus-within:ring-brand-faint sm:rounded-composer">
<div class="relative">
<div aria-hidden="true" class="w-full px-2.5 py-1.5 text-left text-base leading-relaxed whitespace-pre-wrap break-words pointer-events-none absolute inset-0 overflow-hidden text-foreground">​</div>
<textarea rows="1" placeholder="Describe an image… try “a koi pond at night, neon rain”" aria-label="Prompt" spellCheck="true" class="w-full px-2.5 py-1.5 text-left text-base leading-relaxed whitespace-pre-wrap break-words scrollbar-none relative field-sizing-content resize-none bg-transparent text-transparent caret-foreground outline-none placeholder:text-subtle-foreground selection:bg-brand-faint selection:text-transparent max-h-52 min-h-12">
</textarea>
</div>
<div class="flex items-center gap-2">
<div data-composer-toolbar="true" class="scrollbar-none -my-1 flex min-w-0 flex-1 items-center gap-1.5 overflow-x-auto py-1 sm:flex-wrap sm:overflow-x-visible">
<button type="button" aria-label="Add media" class="grid size-8 shrink-0 place-items-center rounded-full bg-secondary text-secondary-foreground transition-colors outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring/50" data-state="closed" data-slot="popover-trigger" aria-haspopup="dialog" aria-expanded="false">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus size-4" aria-hidden="true">
<path d="M5 12h14">
</path>
<path d="M12 5v14">
</path>
</svg>
</button>
<span class="flex min-w-0 shrink-0 max-sm:order-2 max-sm:min-w-[4.5rem] max-sm:shrink max-sm:[&amp;&gt;button]:min-w-0 max-sm:[&amp;&gt;button]:shrink max-sm:[&amp;&gt;button&gt;svg:first-child]:hidden">
<button data-slot="popover-trigger" data-variant="secondary" data-size="sm" class="group/button inline-flex items-center justify-center border border-transparent bg-clip-padding whitespace-nowrap transition-[color,background-color,border-color,box-shadow,scale] duration-(--motion-base) ease-(--ease-standard) outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:duration-(--motion-fast) active:not-aria-[haspopup]:scale-(--motion-press-card) disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-3.5 h-8 shrink-0 gap-1.5 rounded-full px-3 text-[13px] font-medium" aria-label="Model: Auto. Change model" type="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cpu size-3.5" aria-hidden="true">
<path d="M12 20v2">
</path>
<path d="M12 2v2">
</path>
<path d="M17 20v2">
</path>
<path d="M17 2v2">
</path>
<path d="M2 12h2">
</path>
<path d="M2 17h2">
</path>
<path d="M2 7h2">
</path>
<path d="M20 12h2">
</path>
<path d="M20 17h2">
</path>
<path d="M20 7h2">
</path>
<path d="M7 20v2">
</path>
<path d="M7 2v2">
</path>
<rect x="4" y="4" width="16" height="16" rx="2">
</rect>
<rect x="8" y="8" width="8" height="8" rx="1">
</rect>
</svg>
<span class="max-w-40 truncate max-sm:hidden sm:max-w-44">Auto</span>
<span class="max-w-40 truncate sm:hidden">Auto</span>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-3.5 opacity-60" aria-hidden="true">
<path d="m6 9 6 6 6-6">
</path>
</svg>
</button>
</span>
<button type="button" class="grid size-8 shrink-0 place-items-center rounded-full bg-secondary text-secondary-foreground transition-colors outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring/50 max-sm:order-3" aria-label="Add an element" data-state="closed" data-slot="tooltip-trigger">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-at-sign size-3.5" aria-hidden="true">
<circle cx="12" cy="12" r="4">
</circle>
<path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8">
</path>
</svg>
</button>
<span class="contents max-sm:hidden">
<button type="button" aria-pressed="false" data-state="closed" data-slot="tooltip-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard size-3.5" aria-hidden="true">
<rect width="7" height="9" x="3" y="3" rx="1">
</rect>
<rect width="7" height="5" x="14" y="3" rx="1">
</rect>
<rect width="7" height="9" x="14" y="12" rx="1">
</rect>
<rect width="7" height="5" x="3" y="16" rx="1">
</rect>
</svg>Layout</button>
</span>
<button type="button" aria-label="Settings: 1:1, 1.5K, ×1" aria-haspopup="dialog" aria-expanded="false" data-state="closed" data-slot="popover-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent relative tabular-nums max-sm:w-8 max-sm:justify-center max-sm:px-0 max-sm:order-1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sliders-horizontal size-3.5" aria-hidden="true">
<path d="M10 5H3">
</path>
<path d="M12 19H3">
</path>
<path d="M14 3v4">
</path>
<path d="M16 17v4">
</path>
<path d="M21 12h-9">
</path>
<path d="M21 19h-5">
</path>
<path d="M21 5h-7">
</path>
<path d="M8 10v4">
</path>
<path d="M8 12H3">
</path>
</svg>
<span class="max-sm:hidden">1:1 · 1.5K · ×1</span>
</button>
<span class="contents max-sm:hidden">
<span aria-hidden="true" class="h-8 w-40 shrink-0 animate-pulse rounded-full bg-secondary">
</span>
</span>
</div>
<span class="shrink-0 text-[12px] font-medium text-muted-foreground tabular-nums" data-state="closed" data-slot="tooltip-trigger">
<span class="sm:hidden">Free · GPU</span>
<span class="hidden sm:inline">Free · your GPU</span>
</span>
<button data-slot="tooltip-trigger" data-variant="default" data-size="icon" class="group/button inline-flex items-center justify-center border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-[color,background-color,border-color,box-shadow,scale] duration-(--motion-base) ease-(--ease-standard) outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:duration-(--motion-fast) disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 text-primary-foreground active:not-aria-[haspopup]:scale-(--motion-press) size-10 shrink-0 rounded-full bg-primary/70 hover:bg-primary/80" aria-label="Generate — Write a prompt first" data-state="closed">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-up size-4" aria-hidden="true">
<path d="m5 12 7-7 7 7">
</path>
<path d="M12 19V5">
</path>
</svg>
</button>
</div>
<div aria-live="polite">
</div>
</div>

<div class="group/composer w-full rounded-[20px] border bg-background p-2.5 shadow-soft transition-[border-color,box-shadow] focus-within:border-primary focus-within:ring-4 focus-within:ring-brand-faint sm:rounded-composer">
<div class="relative">
<div aria-hidden="true" class="w-full px-2.5 py-1.5 text-left text-base leading-relaxed whitespace-pre-wrap break-words pointer-events-none absolute inset-0 overflow-hidden text-foreground">​</div>
<textarea rows="1" placeholder="Describe an image… try “a koi pond at night, neon rain”" aria-label="Prompt" spellCheck="true" class="w-full px-2.5 py-1.5 text-left text-base leading-relaxed whitespace-pre-wrap break-words scrollbar-none relative field-sizing-content resize-none bg-transparent text-transparent caret-foreground outline-none placeholder:text-subtle-foreground selection:bg-brand-faint selection:text-transparent max-h-52 min-h-12">
</textarea>
</div>
<div class="flex items-center gap-2">
<div data-composer-toolbar="true" class="scrollbar-none -my-1 flex min-w-0 flex-1 items-center gap-1.5 overflow-x-auto py-1 sm:flex-wrap sm:overflow-x-visible">
<button type="button" aria-label="Add media" class="grid size-8 shrink-0 place-items-center rounded-full bg-secondary text-secondary-foreground transition-colors outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring/50" data-state="closed" data-slot="popover-trigger" aria-haspopup="dialog" aria-expanded="false">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus size-4" aria-hidden="true">
<path d="M5 12h14">
</path>
<path d="M12 5v14">
</path>
</svg>
</button>
<span class="flex min-w-0 shrink-0 max-sm:order-2 max-sm:min-w-[4.5rem] max-sm:shrink max-sm:[&amp;&gt;button]:min-w-0 max-sm:[&amp;&gt;button]:shrink max-sm:[&amp;&gt;button&gt;svg:first-child]:hidden">
<button data-slot="popover-trigger" data-variant="secondary" data-size="sm" class="group/button inline-flex items-center justify-center border border-transparent bg-clip-padding whitespace-nowrap transition-[color,background-color,border-color,box-shadow,scale] duration-(--motion-base) ease-(--ease-standard) outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:duration-(--motion-fast) active:not-aria-[haspopup]:scale-(--motion-press-card) disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-3.5 h-8 shrink-0 gap-1.5 rounded-full px-3 text-[13px] font-medium" aria-label="Model: Nano Banana Pro. Change model" type="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cloud size-3.5" aria-hidden="true">
<path d="M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z">
</path>
</svg>
<span class="max-w-40 truncate max-sm:hidden sm:max-w-44">Nano Banana Pro</span>
<span class="max-w-40 truncate sm:hidden">Nano Banana Pro</span>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-3.5 opacity-60" aria-hidden="true">
<path d="m6 9 6 6 6-6">
</path>
</svg>
</button>
</span>
<button type="button" class="grid size-8 shrink-0 place-items-center rounded-full bg-secondary text-secondary-foreground transition-colors outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring/50 max-sm:order-3" aria-label="Add an element" data-state="closed" data-slot="tooltip-trigger">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-at-sign size-3.5" aria-hidden="true">
<circle cx="12" cy="12" r="4">
</circle>
<path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8">
</path>
</svg>
</button>
<span class="contents max-sm:hidden">
<button type="button" aria-pressed="false" data-state="closed" data-slot="tooltip-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard size-3.5" aria-hidden="true">
<rect width="7" height="9" x="3" y="3" rx="1">
</rect>
<rect width="7" height="5" x="14" y="3" rx="1">
</rect>
<rect width="7" height="9" x="14" y="12" rx="1">
</rect>
<rect width="7" height="5" x="3" y="16" rx="1">
</rect>
</svg>Layout</button>
</span>
<button type="button" aria-label="Settings: 1:1, 1K, ×1" aria-haspopup="dialog" aria-expanded="false" data-state="closed" data-slot="popover-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent relative tabular-nums max-sm:w-8 max-sm:justify-center max-sm:px-0 max-sm:order-1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sliders-horizontal size-3.5" aria-hidden="true">
<path d="M10 5H3">
</path>
<path d="M12 19H3">
</path>
<path d="M14 3v4">
</path>
<path d="M16 17v4">
</path>
<path d="M21 12h-9">
</path>
<path d="M21 19h-5">
</path>
<path d="M21 5h-7">
</path>
<path d="M8 10v4">
</path>
<path d="M8 12H3">
</path>
</svg>
<span class="max-sm:hidden">1:1 · 1K · ×1</span>
</button>
<span class="contents max-sm:hidden">
<span aria-hidden="true" class="h-8 w-40 shrink-0 animate-pulse rounded-full bg-secondary">
</span>
</span>
</div>
<button data-slot="tooltip-trigger" data-variant="default" data-size="icon" class="group/button inline-flex items-center justify-center border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-[color,background-color,border-color,box-shadow,scale] duration-(--motion-base) ease-(--ease-standard) outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:duration-(--motion-fast) disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 text-primary-foreground active:not-aria-[haspopup]:scale-(--motion-press) size-10 shrink-0 rounded-full bg-primary/70 hover:bg-primary/80" aria-label="Generate — Write a prompt first" data-state="closed">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-up size-4" aria-hidden="true">
<path d="m5 12 7-7 7 7">
</path>
<path d="M12 19V5">
</path>
</svg>
</button>
</div>
<div aria-live="polite">
</div>
</div>

<div class="group/composer w-full rounded-[20px] border bg-background p-2.5 shadow-soft transition-[border-color,box-shadow] focus-within:border-primary focus-within:ring-4 focus-within:ring-brand-faint sm:rounded-composer">
<div class="relative">
<div aria-hidden="true" class="w-full px-2.5 py-1.5 text-left text-base leading-relaxed whitespace-pre-wrap break-words pointer-events-none absolute inset-0 overflow-hidden text-foreground">​</div>
<textarea rows="1" placeholder="Describe a shot… e.g. “slow dolly-in on a rainy street, neon reflections”" aria-label="Prompt" spellCheck="true" class="w-full px-2.5 py-1.5 text-left text-base leading-relaxed whitespace-pre-wrap break-words scrollbar-none relative field-sizing-content resize-none bg-transparent text-transparent caret-foreground outline-none placeholder:text-subtle-foreground selection:bg-brand-faint selection:text-transparent max-h-52 min-h-12">
</textarea>
</div>
<div class="flex items-center gap-2">
<div data-composer-toolbar="true" class="scrollbar-none -my-1 flex min-w-0 flex-1 items-center gap-1.5 overflow-x-auto py-1 sm:flex-wrap sm:overflow-x-visible">
<button type="button" aria-label="Add media" class="grid size-8 shrink-0 place-items-center rounded-full bg-secondary text-secondary-foreground transition-colors outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring/50" data-state="closed" data-slot="popover-trigger" aria-haspopup="dialog" aria-expanded="false">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus size-4" aria-hidden="true">
<path d="M5 12h14">
</path>
<path d="M12 5v14">
</path>
</svg>
</button>
<button type="button" aria-pressed="false" title="Images, clips and a voice or music clip the shot follows" class="inline-flex h-8 shrink-0 items-center rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent gap-1.5">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-library size-3.5" aria-hidden="true">
<path d="m16 6 4 14">
</path>
<path d="M12 6v14">
</path>
<path d="M8 8v12">
</path>
<path d="M4 4v16">
</path>
</svg>
<span class="max-sm:sr-only">References</span>
</button>
<span class="flex min-w-0 shrink-0 max-sm:order-2 max-sm:min-w-[4.5rem] max-sm:shrink max-sm:[&amp;&gt;button]:min-w-0 max-sm:[&amp;&gt;button]:shrink max-sm:[&amp;&gt;button&gt;svg:first-child]:hidden">
<button data-slot="popover-trigger" data-variant="secondary" data-size="sm" class="group/button inline-flex items-center justify-center border border-transparent bg-clip-padding whitespace-nowrap transition-[color,background-color,border-color,box-shadow,scale] duration-(--motion-base) ease-(--ease-standard) outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:duration-(--motion-fast) active:not-aria-[haspopup]:scale-(--motion-press-card) disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-3.5 h-8 shrink-0 gap-1.5 rounded-full px-3 text-[13px] font-medium" aria-label="Model: MiniMax H3. Change model" type="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cpu size-3.5" aria-hidden="true">
<path d="M12 20v2">
</path>
<path d="M12 2v2">
</path>
<path d="M17 20v2">
</path>
<path d="M17 2v2">
</path>
<path d="M2 12h2">
</path>
<path d="M2 17h2">
</path>
<path d="M2 7h2">
</path>
<path d="M20 12h2">
</path>
<path d="M20 17h2">
</path>
<path d="M20 7h2">
</path>
<path d="M7 20v2">
</path>
<path d="M7 2v2">
</path>
<rect x="4" y="4" width="16" height="16" rx="2">
</rect>
<rect x="8" y="8" width="8" height="8" rx="1">
</rect>
</svg>
<span class="max-w-40 truncate max-sm:hidden sm:max-w-44">MiniMax H3</span>
<span class="max-w-40 truncate sm:hidden">MiniMax H3</span>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-3.5 opacity-60" aria-hidden="true">
<path d="m6 9 6 6 6-6">
</path>
</svg>
</button>
</span>
<button type="button" class="grid size-8 shrink-0 place-items-center rounded-full bg-secondary text-secondary-foreground transition-colors outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring/50 max-sm:order-3" aria-label="Add an element" data-state="closed" data-slot="tooltip-trigger">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-at-sign size-3.5" aria-hidden="true">
<circle cx="12" cy="12" r="4">
</circle>
<path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8">
</path>
</svg>
</button>
<span class="contents max-sm:hidden">
<button type="button" aria-pressed="false" data-state="closed" data-slot="tooltip-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-gallery-horizontal-end size-3.5" aria-hidden="true">
<path d="M2 7v10">
</path>
<path d="M6 5v14">
</path>
<rect width="12" height="18" x="10" y="3" rx="2">
</rect>
</svg>Frames</button>
</span>
<button type="button" aria-label="Settings: Auto, 768p, 5s, ×1" aria-haspopup="dialog" aria-expanded="false" data-state="closed" data-slot="popover-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent relative tabular-nums max-sm:w-8 max-sm:justify-center max-sm:px-0 max-sm:order-1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sliders-horizontal size-3.5" aria-hidden="true">
<path d="M10 5H3">
</path>
<path d="M12 19H3">
</path>
<path d="M14 3v4">
</path>
<path d="M16 17v4">
</path>
<path d="M21 12h-9">
</path>
<path d="M21 19h-5">
</path>
<path d="M21 5h-7">
</path>
<path d="M8 10v4">
</path>
<path d="M8 12H3">
</path>
</svg>
<span class="max-sm:hidden">Auto · 768p · 5s · ×1</span>
</button>
<span class="contents max-sm:hidden">
<span aria-hidden="true" class="h-8 w-32 shrink-0 animate-pulse rounded-full bg-secondary">
</span>
<button type="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed" data-slot="popover-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clapperboard size-3.5" aria-hidden="true">
<path d="m12.296 3.464 3.02 3.956">
</path>
<path d="M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z">
</path>
<path d="M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z">
</path>
<path d="m6.18 5.276 3.1 3.899">
</path>
</svg>Director</button>
</span>
</div>
<span class="shrink-0 text-[12px] font-medium text-muted-foreground tabular-nums" data-state="closed" data-slot="tooltip-trigger">
<span class="sm:hidden">Free · GPU</span>
<span class="hidden sm:inline">Free · your GPU</span>
</span>
<button data-slot="tooltip-trigger" data-variant="default" data-size="icon" class="group/button inline-flex items-center justify-center border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-[color,background-color,border-color,box-shadow,scale] duration-(--motion-base) ease-(--ease-standard) outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:duration-(--motion-fast) disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 text-primary-foreground active:not-aria-[haspopup]:scale-(--motion-press) size-10 shrink-0 rounded-full bg-primary/70 hover:bg-primary/80" aria-label="Generate — Write a prompt first" data-state="closed">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-up size-4" aria-hidden="true">
<path d="m5 12 7-7 7 7">
</path>
<path d="M12 19V5">
</path>
</svg>
</button>
</div>
<div aria-live="polite">
</div>
</div>

<div class="group/composer w-full rounded-[20px] border bg-background p-2.5 shadow-soft transition-[border-color,box-shadow] focus-within:border-primary focus-within:ring-4 focus-within:ring-brand-faint sm:rounded-composer">
<div class="relative">
<div aria-hidden="true" class="w-full px-2.5 py-1.5 text-left text-base leading-relaxed whitespace-pre-wrap break-words pointer-events-none absolute inset-0 overflow-hidden text-foreground">​</div>
<textarea rows="1" placeholder="Describe a shot… e.g. “slow dolly-in on a rainy street, neon reflections”" aria-label="Prompt" spellCheck="true" class="w-full px-2.5 py-1.5 text-left text-base leading-relaxed whitespace-pre-wrap break-words scrollbar-none relative field-sizing-content resize-none bg-transparent text-transparent caret-foreground outline-none placeholder:text-subtle-foreground selection:bg-brand-faint selection:text-transparent max-h-52 min-h-12">
</textarea>
</div>
<div class="flex items-center gap-2">
<div data-composer-toolbar="true" class="scrollbar-none -my-1 flex min-w-0 flex-1 items-center gap-1.5 overflow-x-auto py-1 sm:flex-wrap sm:overflow-x-visible">
<button type="button" aria-label="Add media" class="grid size-8 shrink-0 place-items-center rounded-full bg-secondary text-secondary-foreground transition-colors outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring/50" data-state="closed" data-slot="popover-trigger" aria-haspopup="dialog" aria-expanded="false">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus size-4" aria-hidden="true">
<path d="M5 12h14">
</path>
<path d="M12 5v14">
</path>
</svg>
</button>
<button type="button" aria-pressed="false" title="Images, clips and a voice or music clip the shot follows" class="inline-flex h-8 shrink-0 items-center rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent gap-1.5">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-library size-3.5" aria-hidden="true">
<path d="m16 6 4 14">
</path>
<path d="M12 6v14">
</path>
<path d="M8 8v12">
</path>
<path d="M4 4v16">
</path>
</svg>
<span class="max-sm:sr-only">References</span>
</button>
<span class="flex min-w-0 shrink-0 max-sm:order-2 max-sm:min-w-[4.5rem] max-sm:shrink max-sm:[&amp;&gt;button]:min-w-0 max-sm:[&amp;&gt;button]:shrink max-sm:[&amp;&gt;button&gt;svg:first-child]:hidden">
<button data-slot="popover-trigger" data-variant="secondary" data-size="sm" class="group/button inline-flex items-center justify-center border border-transparent bg-clip-padding whitespace-nowrap transition-[color,background-color,border-color,box-shadow,scale] duration-(--motion-base) ease-(--ease-standard) outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:duration-(--motion-fast) active:not-aria-[haspopup]:scale-(--motion-press-card) disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-3.5 h-8 shrink-0 gap-1.5 rounded-full px-3 text-[13px] font-medium" aria-label="Model: MiniMax H3. Change model" type="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cpu size-3.5" aria-hidden="true">
<path d="M12 20v2">
</path>
<path d="M12 2v2">
</path>
<path d="M17 20v2">
</path>
<path d="M17 2v2">
</path>
<path d="M2 12h2">
</path>
<path d="M2 17h2">
</path>
<path d="M2 7h2">
</path>
<path d="M20 12h2">
</path>
<path d="M20 17h2">
</path>
<path d="M20 7h2">
</path>
<path d="M7 20v2">
</path>
<path d="M7 2v2">
</path>
<rect x="4" y="4" width="16" height="16" rx="2">
</rect>
<rect x="8" y="8" width="8" height="8" rx="1">
</rect>
</svg>
<span class="max-w-40 truncate max-sm:hidden sm:max-w-44">MiniMax H3</span>
<span class="max-w-40 truncate sm:hidden">MiniMax H3</span>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-3.5 opacity-60" aria-hidden="true">
<path d="m6 9 6 6 6-6">
</path>
</svg>
</button>
</span>
<button type="button" class="grid size-8 shrink-0 place-items-center rounded-full bg-secondary text-secondary-foreground transition-colors outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring/50 max-sm:order-3" aria-label="Add an element" data-state="closed" data-slot="tooltip-trigger">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-at-sign size-3.5" aria-hidden="true">
<circle cx="12" cy="12" r="4">
</circle>
<path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8">
</path>
</svg>
</button>
<span class="contents max-sm:hidden">
<button type="button" aria-pressed="false" data-state="closed" data-slot="tooltip-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-gallery-horizontal-end size-3.5" aria-hidden="true">
<path d="M2 7v10">
</path>
<path d="M6 5v14">
</path>
<rect width="12" height="18" x="10" y="3" rx="2">
</rect>
</svg>Frames</button>
</span>
<button type="button" aria-label="Settings: Auto, 768p, 5s, ×1" aria-haspopup="dialog" aria-expanded="false" data-state="closed" data-slot="popover-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent relative tabular-nums max-sm:w-8 max-sm:justify-center max-sm:px-0 max-sm:order-1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sliders-horizontal size-3.5" aria-hidden="true">
<path d="M10 5H3">
</path>
<path d="M12 19H3">
</path>
<path d="M14 3v4">
</path>
<path d="M16 17v4">
</path>
<path d="M21 12h-9">
</path>
<path d="M21 19h-5">
</path>
<path d="M21 5h-7">
</path>
<path d="M8 10v4">
</path>
<path d="M8 12H3">
</path>
</svg>
<span class="max-sm:hidden">Auto · 768p · 5s · ×1</span>
</button>
<span class="contents max-sm:hidden">
<span aria-hidden="true" class="h-8 w-32 shrink-0 animate-pulse rounded-full bg-secondary">
</span>
<button type="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed" data-slot="popover-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clapperboard size-3.5" aria-hidden="true">
<path d="m12.296 3.464 3.02 3.956">
</path>
<path d="M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z">
</path>
<path d="M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z">
</path>
<path d="m6.18 5.276 3.1 3.899">
</path>
</svg>Director</button>
</span>
</div>
<span class="shrink-0 text-[12px] font-medium text-muted-foreground tabular-nums" data-state="closed" data-slot="tooltip-trigger">
<span class="sm:hidden">Free · GPU</span>
<span class="hidden sm:inline">Free · your GPU</span>
</span>
<button data-slot="tooltip-trigger" data-variant="default" data-size="icon" class="group/button inline-flex items-center justify-center border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-[color,background-color,border-color,box-shadow,scale] duration-(--motion-base) ease-(--ease-standard) outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:duration-(--motion-fast) disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 text-primary-foreground active:not-aria-[haspopup]:scale-(--motion-press) size-10 shrink-0 rounded-full bg-primary/70 hover:bg-primary/80" aria-label="Generate — Write a prompt first" data-state="closed">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-up size-4" aria-hidden="true">
<path d="m5 12 7-7 7 7">
</path>
<path d="M12 19V5">
</path>
</svg>
</button>
</div>
<div aria-live="polite">
</div>
</div>

<div class="group/composer w-full rounded-[20px] border bg-background p-2.5 shadow-soft transition-[border-color,box-shadow] focus-within:border-primary focus-within:ring-4 focus-within:ring-brand-faint sm:rounded-composer">
<div class="relative">
<div aria-hidden="true" class="w-full px-2.5 py-1.5 text-left text-base leading-relaxed whitespace-pre-wrap break-words pointer-events-none absolute inset-0 overflow-hidden text-foreground">​</div>
<textarea rows="1" placeholder="Describe a shot… e.g. “slow dolly-in on a rainy street, neon reflections”" aria-label="Prompt" spellCheck="true" class="w-full px-2.5 py-1.5 text-left text-base leading-relaxed whitespace-pre-wrap break-words scrollbar-none relative field-sizing-content resize-none bg-transparent text-transparent caret-foreground outline-none placeholder:text-subtle-foreground selection:bg-brand-faint selection:text-transparent max-h-52 min-h-12">
</textarea>
</div>
<div class="flex items-center gap-2">
<div data-composer-toolbar="true" class="scrollbar-none -my-1 flex min-w-0 flex-1 items-center gap-1.5 overflow-x-auto py-1 sm:flex-wrap sm:overflow-x-visible">
<button type="button" aria-label="Add media" class="grid size-8 shrink-0 place-items-center rounded-full bg-secondary text-secondary-foreground transition-colors outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring/50" data-state="closed" data-slot="popover-trigger" aria-haspopup="dialog" aria-expanded="false">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-plus size-4" aria-hidden="true">
<path d="M5 12h14">
</path>
<path d="M12 5v14">
</path>
</svg>
</button>
<span class="flex min-w-0 shrink-0 max-sm:order-2 max-sm:min-w-[4.5rem] max-sm:shrink max-sm:[&amp;&gt;button]:min-w-0 max-sm:[&amp;&gt;button]:shrink max-sm:[&amp;&gt;button&gt;svg:first-child]:hidden">
<button data-slot="popover-trigger" data-variant="secondary" data-size="sm" class="group/button inline-flex items-center justify-center border border-transparent bg-clip-padding whitespace-nowrap transition-[color,background-color,border-color,box-shadow,scale] duration-(--motion-base) ease-(--ease-standard) outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:duration-(--motion-fast) active:not-aria-[haspopup]:scale-(--motion-press-card) disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-3.5 h-8 shrink-0 gap-1.5 rounded-full px-3 text-[13px] font-medium" aria-label="Model: MiniMax H3. Change model" type="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cloud size-3.5" aria-hidden="true">
<path d="M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z">
</path>
</svg>
<span class="max-w-40 truncate max-sm:hidden sm:max-w-44">MiniMax H3</span>
<span class="max-w-40 truncate sm:hidden">MiniMax H3</span>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down size-3.5 opacity-60" aria-hidden="true">
<path d="m6 9 6 6 6-6">
</path>
</svg>
</button>
</span>
<button type="button" class="grid size-8 shrink-0 place-items-center rounded-full bg-secondary text-secondary-foreground transition-colors outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring/50 max-sm:order-3" aria-label="Add an element" data-state="closed" data-slot="tooltip-trigger">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-at-sign size-3.5" aria-hidden="true">
<circle cx="12" cy="12" r="4">
</circle>
<path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8">
</path>
</svg>
</button>
<span class="contents max-sm:hidden">
<button type="button" aria-pressed="false" data-state="closed" data-slot="tooltip-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-gallery-horizontal-end size-3.5" aria-hidden="true">
<path d="M2 7v10">
</path>
<path d="M6 5v14">
</path>
<rect width="12" height="18" x="10" y="3" rx="2">
</rect>
</svg>Frames</button>
</span>
<button type="button" aria-label="Settings: 16:9, 768P, 5s, ×1" aria-haspopup="dialog" aria-expanded="false" data-state="closed" data-slot="popover-trigger" class="inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full px-3 text-[13px] font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring/50 bg-secondary text-secondary-foreground hover:bg-accent relative tabular-nums max-sm:w-8 max-sm:justify-center max-sm:px-0 max-sm:order-1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sliders-horizontal size-3.5" aria-hidden="true">
<path d="M10 5H3">
</path>
<path d="M12 19H3">
</path>
<path d="M14 3v4">
</path>
<path d="M16 17v4">
</path>
<path d="M21 12h-9">
</path>
<path d="M21 19h-5">
</path>
<path d="M21 5h-7">
</path>
<path d="M8 10v4">
</path>
<path d="M8 12H3">
</path>
</svg>
<span class="max-sm:hidden">16:9 · 768P · 5s · ×1</span>
</button>
<span class="contents max-sm:hidden">
<span aria-hidden="true" class="h-8 w-32 shrink-0 animate-pulse rounded-full bg-secondary">
</span>
</span>
</div>
<button data-slot="tooltip-trigger" data-variant="default" data-size="icon" class="group/button inline-flex items-center justify-center border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-[color,background-color,border-color,box-shadow,scale] duration-(--motion-base) ease-(--ease-standard) outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:duration-(--motion-fast) disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 text-primary-foreground active:not-aria-[haspopup]:scale-(--motion-press) size-10 shrink-0 rounded-full bg-primary/70 hover:bg-primary/80" aria-label="Generate — Write a prompt first" data-state="closed">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-up size-4" aria-hidden="true">
<path d="m5 12 7-7 7 7">
</path>
<path d="M12 19V5">
</path>
</svg>
</button>
</div>
<div aria-live="polite">
</div>
</div>