feat(erase-object): optional high-quality diffusion inpainting bundle (#566)

Adds an opt-in High Quality mode to the Object Eraser, backed by a new inpaint-hq feature bundle (Stable Diffusion 1.5 inpainting via diffusers). The default fast LaMa path is unchanged. Both arch archives are published to deepsafe/feature-bundles and the manifest carries their real sha256/sizes.

Verified end to end: a fresh container pulls the bundle from HuggingFace, checksum-verifies it, extracts torch/diffusers plus the fp16 model, and the HQ sidecar erases a large object with a plausible fill.

Refs #141
This commit is contained in:
SnapOtter
2026-07-19 20:47:35 +08:00
committed by GitHub
parent 84c18eb82c
commit 1bac663a2e
41 changed files with 954 additions and 35 deletions
+2 -1
View File
@@ -48,12 +48,13 @@ test.describe("Feature API", () => {
});
expect(response.ok()).toBeTruthy();
const data = (await response.json()) as { bundles: BundleInfo[] };
expect(data.bundles).toHaveLength(7);
expect(data.bundles).toHaveLength(8);
const expectedBundles = [
"background-removal",
"face-detection",
"object-eraser-colorize",
"inpaint-hq",
"upscale-enhance",
"photo-restoration",
"ocr",