You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Support for Custom Upscaling Models #1869
I would like Filee to support importing and using custom upscaling models in its Upscale feature.
Currently, users are limited to the models provided by Filee. It would be great to have the ability to add custom NCNN models (.param and .bin) and select them directly from the Upscale interface.
This would allow users to use a wider variety of upscaling models based on their individual preferences and needs.
Why / when would you use it?
I frequently upscale images using Filee, but sometimes the models available in its Upscale feature don't produce the results I'm looking for.
When I want to use a different model that isn't included in Filee, I have to open Upscayl separately. This makes the process less convenient, especially when I want to keep all my image processing in one application.
Custom model support would allow me to use my preferred models directly in Filee without having to switch between applications.
Ideas for how it could work
Allow users to import custom NCNN models (.param and .bin files).
Provide a dedicated section to manage imported models.
Make custom models selectable directly from the existing Upscale interface.
Store imported models locally so they remain available between sessions.
Keep existing built-in models available alongside custom ones.
Upscayl Desktop already provides custom model support. It would be great if Filee could offer similar functionality through its existing Upscayl-NCNN integration, if supported by the underlying binary.
Today the Upscale tool offers a fixed list of nine models (NMKD Superscale, NMKD Siax, RealESRGAN General x4 v3, 4x LSDIR and others, all from Upscayl's custom-models collection). Each one is downloaded the first time you pick it and checked against a pinned checksum, which is why the list is fixed.
Importing your own NCNN models (.param + .bin) through the same Upscayl engine is a reasonable addition, so I'm keeping this open as a feature request. There's no date yet.
Which models do you use most? If a few come up often, adding them to the built-in list is a smaller step, so names and links (with their licences) would help.
@cre8ive-marketing OK, go ahead, on top of the tile-size change from #1947 (merged on main). UpscaleOptions now has TileSize, and UpscaleViewModel, UpscaleWindow.axaml and the preset editor (PresetEditorViewModel / PresetEditorView.axaml) changed with it. Start the UI from there.
The id is already there:UpscaleOptions.Model holds the model id, so there's no new preset field. Keep custom ids within SharedText.ModelId (^[A-Za-z0-9][A-Za-z0-9._\-]{0,79}$), so a preset naming one still passes the gallery allow-list. Also make sure a custom id can't collide with a curated one.
Lookup:UpscaleModels is a static list read from the embedded upscale-models.json. UpscalerEngine calls UpscaleModels.EnsureAsync(id), which throws for anything not in that list, and then Find(id), whose null it turns into an error. Custom models need a lookup that never reaches the downloader.
Folder: curated models live in engines/upscale-models/<id>/. Put custom ones in a folder whose name can't be a model id. Keep the file names equal to the id: upscayl-bin -n <id> looks for <id>.param / <id>.bin in the -m folder.
realesr-animevideov3-x4: it's there at our pinned commit (4b6d2cf…), along with x2/x3. It's a Real-ESRGAN model under BSD-3-Clause (xinntao/Real-ESRGAN), which is fine. Add its SHA-256 and sizes to upscale-models.json. Add a row next to the RealESRGAN ones in the Engines table of THIRD-PARTY-NOTICES.md, and the name to the models list in docs/ENGINES.md. Any other model added to the curated list needs the same licence check first.
RealESRGAN_x4plus_anime_6B: agreed, that's the "Add model…" case.
Activity
KnifeLemon commentedon Nov 28, 2026
Thanks for the detailed request, @MeltedSn0w!
Today the Upscale tool offers a fixed list of nine models (NMKD Superscale, NMKD Siax, RealESRGAN General x4 v3, 4x LSDIR and others, all from Upscayl's custom-models collection). Each one is downloaded the first time you pick it and checked against a pinned checksum, which is why the list is fixed.
Importing your own NCNN models (
.param+.bin) through the same Upscayl engine is a reasonable addition, so I'm keeping this open as a feature request. There's no date yet.Which models do you use most? If a few come up often, adding them to the built-in list is a smaller step, so names and links (with their licences) would help.
MeltedSn0w commentedon Nov 28, 2026
Thanks for the response! @KnifeLemon
There are two models I frequently use:
realesr-animevideov3-x4from Upscayl's official custom models collection:https://github.com/upscayl/custom-models
RealESRGAN_x4plus_anime_6B, which I converted myself into NCNN format (.paramand.bin).Original source and license for the second model:
It would be great to have these models available in Filee. Thanks for considering my suggestions!
cre8ive-marketing commentedon Dec 1, 2026
@KnifeLemon I've assigned myself to this one. Here's the plan; I'll start building once you OK it.
Plan: your own upscale models
.param+.binpair (NCNN, as Upscayl uses).customfolder next to the curated ones (UpscaleModels).Tests
.binis refused.@MeltedSn0w's two models
realesr-animevideov3-x4is in Upscayl's custom-models collection, so it can join the curated list with a pinned checksum.RealESRGAN_x4plus_anime_6B(BSD-3) is your own NCNN conversion, so it's the "Add model…" case. I'll test with a conversion made the same way.KnifeLemon commentedon Dec 2, 2026
@cre8ive-marketing OK, go ahead, on top of the tile-size change from #1947 (merged on
main).UpscaleOptionsnow hasTileSize, andUpscaleViewModel,UpscaleWindow.axamland the preset editor (PresetEditorViewModel/PresetEditorView.axaml) changed with it. Start the UI from there.UpscaleOptions.Modelholds the model id, so there's no new preset field. Keep custom ids withinSharedText.ModelId(^[A-Za-z0-9][A-Za-z0-9._\-]{0,79}$), so a preset naming one still passes the gallery allow-list. Also make sure a custom id can't collide with a curated one.UpscaleModelsis a static list read from the embeddedupscale-models.json.UpscalerEnginecallsUpscaleModels.EnsureAsync(id), which throws for anything not in that list, and thenFind(id), whose null it turns into an error. Custom models need a lookup that never reaches the downloader.engines/upscale-models/<id>/. Put custom ones in a folder whose name can't be a model id. Keep the file names equal to the id:upscayl-bin -n <id>looks for<id>.param/<id>.binin the-mfolder.realesr-animevideov3-x4: it's there at our pinned commit (4b6d2cf…), along with x2/x3. It's a Real-ESRGAN model under BSD-3-Clause (xinntao/Real-ESRGAN), which is fine. Add its SHA-256 and sizes toupscale-models.json. Add a row next to the RealESRGAN ones in the Engines table ofTHIRD-PARTY-NOTICES.md, and the name to the models list indocs/ENGINES.md. Any other model added to the curated list needs the same licence check first.RealESRGAN_x4plus_anime_6B: agreed, that's the "Add model…" case.