Skip to content

Latentry 0.9.0

Choose a tag to compare

@33rd-kk 33rd-kk released this 18 Oct 13:40
e282e35

Upgrading from 0.8.2: after the usual update, stop and start the engine
on Setup once, so it runs engine 0.7.0 with hires fix and Upscale (Setup
says so while the old one runs). There is nothing new to install.

Hires fix

  • A Hires fix section on Generate: each picture drawn from the prompt
    (with or without a skeleton pose) is upscaled and redrawn at the larger
    size: choose the upscaler, how much larger, the hires steps (0: as many as
    the first pass) and the denoising strength. Off by default. The progress
    bar counts both passes, and the second pass runs exactly the hires steps
    on every backend.
  • On A1111 / Forge it is the web UI's own hires fix, with its upscalers
    (Lanczos, R-ESRGAN and the like) and latent modes. Only upscalers already
    on disk are offered, so none makes the web UI download a model. Forge and
    its forks get the fields their second pass needs and the first pass's CFG.
  • On ComfyUI the built-in graph upscales with Lanczos or an upscale model
    from ComfyUI's upscale_models folder (listed by file name, so its
    folders stay on that machine), then samples again with the same prompts,
    LoRAs and skeleton. A workflow from the folder keeps its own passes.
  • On Latentry's engine SDXL and Anima models upscale with Lanczos (no
    upscale model to fetch) and redraw on the same weights and LoRAs, one
    picture at a time, decoding the larger picture in tiles. With SDXL the
    second pass follows the skeleton too; on Anima, hires fix and a pose do
    not go together yet.
  • Saved like A1111: the picture records the size it was drawn at with
    Hires upscale, Hires steps and Hires upscaler, so other tools read it,
    and the gallery's Generate with these settings turns hires fix back on.
    Reading an A1111 picture no longer takes its hires Denoising strength
    for an img2img source's.

Upscale

  • Upscale a picture from the gallery: a new Upscale button in the
    side panel (and a third mode of the source image) makes a finished picture
    larger and redraws its detail, hires fix for a picture that already exists.
    The picture's own prompts come along. A1111 / Forge enlarge it in the
    Extras tab with the chosen upscaler, ComfyUI in the graph with Lanczos or
    an upscale model, Latentry's engine with Lanczos; then one redraw at the
    hires denoise. Up to 4096 pixels a side.
  • Recorded as an upscale: the saved picture says mode upscale, the
    size it had before and its hires settings.

Gallery

  • The real size: the side panel's Size is now the picture's own size. For
    a picture drawn smaller and then enlarged, a Drawn at line shows the
    size its settings name. The panel also shows a picture's hires settings.

Backend API

  • /api/health may answer hires, upscale and upscalers, and
    /api/generate takes hr_scale, hr_steps, hr_denoise, hr_upscaler
    and upscale, for diffusers-compatible servers that want to offer them
    (see docs/backend-api.md).

Update

Check node --version first: 0.9.0 needs 22.19 or newer.

git pull
./install.sh                                          # Linux, macOS
powershell -ExecutionPolicy Bypass -File install.ps1  # Windows

The install script keeps your .env.local and settings, reinstalls and rebuilds. Stop a running Latentry before you run it.

New install

git clone https://github.com/33rd-kk/latentry.git
cd latentry
./install.sh                                          # Linux, macOS
powershell -ExecutionPolicy Bypass -File install.ps1  # Windows

Or download latentry-0.9.0.tar.gz (or .zip) below, check where it came from with gh attestation verify latentry-0.9.0.tar.gz --repo 33rd-kk/latentry --source-ref refs/tags/v0.9.0 (or against SHA256SUMS), unpack it and run the install script inside.

Then open http://localhost:3000/setup. See Getting started.