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.

feat: Uncensored/Mainstream sub-tabs for Image + Video Discover

PurpleDoubleD65d1e80525a1
diff --git a/src/api/discover.ts b/src/api/discover.ts
index 2ad0b469..e5fea2a4 100644
--- a/src/api/discover.ts
+++ b/src/api/discover.ts
@@ -253,6 +253,7 @@ export function getImageBundles(): ModelBundle[] {
name: 'Juggernaut XL V9 (Photorealistic)',
description: 'Best photorealistic SDXL checkpoint. All-in-one — just install and generate.',
tags: ['SDXL', 'Photorealistic', '1024px'],
+ uncensored: true,
totalSizeGB: 6.5,
vramRequired: '6-8 GB',
workflow: 'wan',
@@ -271,6 +272,7 @@ export function getImageBundles(): ModelBundle[] {
name: 'RealVisXL V5 (Photorealistic)',
description: 'Great for portraits, landscapes, and product photos. Ready to use.',
tags: ['SDXL', 'Photorealistic', '1024px'],
+ uncensored: true,
totalSizeGB: 3.5,
vramRequired: '6-8 GB',
workflow: 'wan',
@@ -397,6 +399,25 @@ export function getImageBundles(): ModelBundle[] {
},
],
},
+ {
+ name: 'Pony Diffusion V6 XL (Anime/Stylized)',
+ description: 'Top anime and stylized checkpoint. Uncensored, no content filter. Great for creative work.',
+ tags: ['SDXL', 'Anime', 'Stylized', '1024px'],
+ uncensored: true,
+ totalSizeGB: 6.5,
+ vramRequired: '6-8 GB',
+ workflow: 'wan',
+ url: 'https://civitai.com/models/257749/pony-diffusion-v6-xl',
+ files: [
+ {
+ name: 'Pony Diffusion V6 XL',
+ description: 'SDXL checkpoint — anime and stylized art.',
+ pulls: '', tags: ['Checkpoint', '6.5 GB'], updated: '',
+ downloadUrl: 'https://huggingface.co/AstraliteHeart/pony-diffusion-v6-xl/resolve/main/v6.safetensors',
+ filename: 'ponyDiffusionV6XL.safetensors', subfolder: 'checkpoints', sizeGB: 6.5,
+ },
+ ],
+ },
]
}
@@ -427,6 +448,7 @@ export interface ModelBundle {
files: DiscoverModel[]
url?: string
hot?: boolean
+ uncensored?: boolean
}
export function getVideoBundles(): ModelBundle[] {
@@ -436,6 +458,7 @@ export function getVideoBundles(): ModelBundle[] {
description: 'Best for 8-10 GB VRAM GPUs. Generates 480p video. Fast and lightweight.',
tags: ['Wan 2.1', '480p', 'Fast'],
hot: true,
+ uncensored: true,
totalSizeGB: 7.6,
vramRequired: '8-10 GB',
workflow: 'wan',
@@ -468,6 +491,7 @@ export function getVideoBundles(): ModelBundle[] {
name: 'Wan 2.1 — 14B FP8 (High Quality)',
description: 'Best quality for 12+ GB VRAM. Generates up to 720p. Slower but much better results.',
tags: ['Wan 2.1', '720p', 'Quality'],
+ uncensored: true,
totalSizeGB: 19.1,
vramRequired: '12+ GB',
workflow: 'wan',
diff --git a/src/components/models/DiscoverModels.tsx b/src/components/models/DiscoverModels.tsx
index eed0d21c..7a67600f 100644
--- a/src/components/models/DiscoverModels.tsx
+++ b/src/components/models/DiscoverModels.tsx
@@ -199,7 +199,7 @@ export function DiscoverModels({ category }: Props) {
const [downloads, setDownloads] = useState<Record<string, DownloadProgress>>({})
const [downloadMeta, setDownloadMeta] = useState<Record<string, { url: string; subfolder: string }>>({})
const [systemVRAM, setSystemVRAM] = useState<number | null>(null)
- const [textSubTab, setTextSubTab] = useState<'uncensored' | 'mainstream'>('uncensored')
+ const [subTab, setSubTab] = useState<'uncensored' | 'mainstream'>('uncensored')
const { pullModel, isPulling, pullProgress, models: installedModels } = useModels()
const pollRef = useRef<ReturnType<typeof setInterval> | null>(null)
@@ -280,9 +280,10 @@ export function DiscoverModels({ category }: Props) {
return parseVRAM(a.vramRequired) - parseVRAM(b.vramRequired)
})
+ const tabFilteredBundles = sortedBundles.filter(b => subTab === 'uncensored' ? b.uncensored : !b.uncensored)
const filteredBundles = search
- ? sortedBundles.filter((b) => b.name.toLowerCase().includes(search.toLowerCase()) || b.description.toLowerCase().includes(search.toLowerCase()))
- : sortedBundles
+ ? tabFilteredBundles.filter((b) => b.name.toLowerCase().includes(search.toLowerCase()) || b.description.toLowerCase().includes(search.toLowerCase()))
+ : tabFilteredBundles
const isInstalled = (name: string) => installedModels.some((m) => m.name.startsWith(name.split(':')[0]))
@@ -490,6 +491,30 @@ export function DiscoverModels({ category }: Props) {
</p>
)}
+ {/* Sub-tabs: Uncensored / Mainstream — all categories */}
+ <div className="flex gap-4 mb-4">
+ <button
+ onClick={() => setSubTab('uncensored')}
+ className={`flex items-center gap-2 transition-all ${
+ subTab === 'uncensored' ? 'opacity-100' : 'opacity-40 hover:opacity-70'
+ }`}
+ >
+ <div className={`w-1 h-5 rounded-full ${subTab === 'uncensored' ? 'bg-red-500' : 'bg-red-500/50'}`} />
+ <span className="text-[0.75rem] font-semibold text-gray-900 dark:text-white uppercase tracking-wider">Uncensored</span>
+ <span className="text-[0.55rem] text-gray-500">{isText ? 'No filters, no limits' : 'No content filter'}</span>
+ </button>
+ <button
+ onClick={() => setSubTab('mainstream')}
+ className={`flex items-center gap-2 transition-all ${
+ subTab === 'mainstream' ? 'opacity-100' : 'opacity-40 hover:opacity-70'
+ }`}
+ >
+ <div className={`w-1 h-5 rounded-full ${subTab === 'mainstream' ? 'bg-blue-500' : 'bg-blue-500/50'}`} />
+ <span className="text-[0.75rem] font-semibold text-gray-900 dark:text-white uppercase tracking-wider">Mainstream</span>
+ <span className="text-[0.55rem] text-gray-500">{isText ? 'Tool calling + vision' : 'Popular + high quality'}</span>
+ </button>
+ </div>
+
{/* Model Bundles (Image + Video) — same grid style as text models */}
{(isImage || isVideo) && filteredBundles.length > 0 && (
<div className="grid grid-cols-1 md:grid-cols-2 gap-3">
@@ -632,38 +657,12 @@ export function DiscoverModels({ category }: Props) {
</GlassCard>
)}
- {/* Sub-tabs for text: Uncensored / Mainstream — section header style, clickable */}
- {isText && (
- <div className="flex gap-4 mb-4">
- <button
- onClick={() => setTextSubTab('uncensored')}
- className={`flex items-center gap-2 transition-all ${
- textSubTab === 'uncensored' ? 'opacity-100' : 'opacity-40 hover:opacity-70'
- }`}
- >
- <div className={`w-1 h-5 rounded-full ${textSubTab === 'uncensored' ? 'bg-red-500' : 'bg-red-500/50'}`} />
- <span className="text-[0.75rem] font-semibold text-gray-900 dark:text-white uppercase tracking-wider">Uncensored</span>
- <span className="text-[0.55rem] text-gray-500">No filters, no limits</span>
- </button>
- <button
- onClick={() => setTextSubTab('mainstream')}
- className={`flex items-center gap-2 transition-all ${
- textSubTab === 'mainstream' ? 'opacity-100' : 'opacity-40 hover:opacity-70'
- }`}
- >
- <div className={`w-1 h-5 rounded-full ${textSubTab === 'mainstream' ? 'bg-blue-500' : 'bg-blue-500/50'}`} />
- <span className="text-[0.75rem] font-semibold text-gray-900 dark:text-white uppercase tracking-wider">Mainstream</span>
- <span className="text-[0.55rem] text-gray-500">Tool calling + vision</span>
- </button>
- </div>
- )}
-
{loading ? (
<div className="text-center py-8 text-gray-500">Loading models...</div>
) : isText ? (
<>
{/* Active sub-tab content */}
- {textSubTab === 'uncensored' && (
+ {subTab === 'uncensored' && (
<div className="grid grid-cols-1 md:grid-cols-2 gap-3">
{filteredUncensored.map((model, i) => (
<ModelDiscoverCard key={model.name} model={model} index={i} isText={isText} getModelDownloadState={getModelDownloadState} pullModel={pullModel} isPulling={isPulling} isInstalled={isInstalled} handleDownload={handleDownload} />
@@ -673,7 +672,7 @@ export function DiscoverModels({ category }: Props) {
)}
</div>
)}
- {textSubTab === 'mainstream' && (
+ {subTab === 'mainstream' && (
<div className="grid grid-cols-1 md:grid-cols-2 gap-3">
{filteredMainstream.map((model, i) => (
<ModelDiscoverCard key={model.name} model={model} index={i} isText={isText} getModelDownloadState={getModelDownloadState} pullModel={pullModel} isPulling={isPulling} isInstalled={isInstalled} handleDownload={handleDownload} />