images-free.openapps.xyz

Source

This app’s code and revision history are public. Download a copy or explore the files below.

Public
The app’s code and revision history are public.
Owned app · rev b674d6e71b51
Run it yourself
Take the whole tree and run it on your own machine. The download needs no account. Cloning needs a sign-in.
Download .zip
bounded clone 604467e480f8468389092a3b
A copy you download is not bounded. The guarantees this app runs under - declared egress, proven invariants, writes that fail closed - live in the runtime serving this page, not in the files. What you get is auditable source you can read and run, with no runtime guarantees attached.
← All files
src/lib/model.ts
// What background removal downloads the first time it is used, pinned and checked byte for byte.
// Bumping onnxruntime-web in package.json means updating its version and hash here too.
export const ORT_VERSION = "1.30.0";

export const MODEL_FILES = [
  {
    // onnxruntime-web's WebAssembly engine (WebGPU and processor), from the npm package on jsDelivr.
    url: `https://cdn.jsdelivr.net/npm/onnxruntime-web@${ORT_VERSION}/dist/ort-wasm-simd-threaded.asyncify.wasm`,
    bytes: 26781914,
    sha256: "39f9f0894d478800487ed9f7dbe92618498db320cf55c8e3d89adff8dce658da",
  },
  {
    // ISNet general (DIS, Apache-2.0; ONNX export by IMG.LY, MIT; int8 weights by xrds, MIT), at a fixed commit.
    url: "https://huggingface.co/xrds/isnet-general-onnx-int8/resolve/71eff2372ec9c8edbc6ca637ded591423d23b65a/onnx/model_quantized.onnx",
    bytes: 44229662,
    sha256: "3b21a6706dc8d6e4ba9f5b31ebc6940f6c785b58862e27bb25daa9dd4424b87f",
  },
] as const;

export const MODEL_BYTES = MODEL_FILES.reduce((n, f) => n + f.bytes, 0);

Change history

Quality pass: background removal, blur background, paste images
b674d6e71b · 5 hours ago
Bounded source sync
c6622bcbd1 · 1 day ago
Bounded source sync
92ecc89502 · 1 day ago
Bounded source sync
ae2f8b8be0 · 1 day ago