Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/components/SettingsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -433,10 +433,10 @@ export function SettingsModal({ isOpen, onClose, initialTab }: SettingsModalProp
<div className="flex-1">
<div className="flex items-center gap-2">
<Zap className="h-4 w-4 text-blue-400" />
<span className="text-sm font-medium text-white">Generate With API</span>
<span className="text-sm font-medium text-white">Use LTX API Models</span>
</div>
<p className="text-xs text-zinc-400 mt-1">
Use LTX API for video generation when an LTX API key is configured.
Unlocks LTX-2.3 Fast and Pro in the model selector. Local generation supports Fast only.
</p>
</div>
<div className={`w-5 h-5 rounded-full border-2 flex items-center justify-center ${
Expand Down
20 changes: 16 additions & 4 deletions frontend/views/GenSpace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -914,10 +914,22 @@ function PromptBar({
title="MODEL"
value={resolvedVideoOptions.selectedModel ?? settings.model}
onChange={(v) => onSettingsChange({ ...settings, model: v })}
options={resolvedVideoOptions.modelOptions.map((item) => ({
value: item.pipeline,
label: item.spec.display_name,
}))}
options={[
...resolvedVideoOptions.modelOptions.map((item) => ({
value: item.pipeline,
label: item.spec.display_name,
})),
...(
isLocalMode && !resolvedVideoOptions.modelOptions.some((item) => item.pipeline === 'pro')
? [{
value: 'pro',
label: 'LTX-2.3 Pro (API)',
disabled: true,
tooltip: 'Enable LTX API models in Settings → General',
}]
: []
),
]}
trigger={
<>
<LightricksIcon className="h-3.5 w-3.5" />
Expand Down