Skip to content

[Feature]: Support for Custom Upscaling Models #1869

In progress

Description

@MeltedSn0w

What would you like Filee to do?

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.

Activity

  1. added
    enhancement
    on Nov 27, 2026
  2. KnifeLemon commented on Nov 28, 2026

    @KnifeLemon
    Owner

    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.

  3. MeltedSn0w commented on Nov 28, 2026

    @MeltedSn0w
    Author

    Thanks for the response! @KnifeLemon

    There are two models I frequently use:

    • realesr-animevideov3-x4 from Upscayl's official custom models collection:
      https://github.com/upscayl/custom-models

    • RealESRGAN_x4plus_anime_6B, which I converted myself into NCNN format (.param and .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!

  4. cre8ive-marketing commented on Dec 1, 2026

    @cre8ive-marketing
    Collaborator

    @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

    • Add model: in the Upscale tool and the preset editor, "Add model…" takes a .param + .bin pair (NCNN, as Upscayl uses).
      • Where it goes: copied into a custom folder next to the curated ones (UpscaleModels).
      • Scale: asked once (2×, 3× or 4×), since NCNN files don't say it.
    • Curated models stay pinned: their SHA-256 checks don't change.
      • Custom ones: the hash is recorded when the model is added and checked before each run, so a file changed later is refused.
    • Preset: stores the model's id. A preset that names a missing custom model is greyed with the reason.
    • No schema step: custom models live in the engines folder, not in settings.

    Tests

    • Listing: adding a model pair lists it with its scale.
    • Changed file: a changed .bin is refused.
    • Missing model: a preset naming it is unavailable with the reason.

    @MeltedSn0w's two models

    • realesr-animevideov3-x4 is 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.
  5. KnifeLemon commented on Dec 2, 2026

    @KnifeLemon
    Owner

    @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.
    • New strings go in all 23 i18n files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions