mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
refactor(ai): remove mode, add colorizeStrength to restore options
This commit is contained in:
@@ -4,13 +4,13 @@ import sharp from "sharp";
|
||||
import { type ProgressCallback, parseStdoutJson, runPythonWithProgress } from "./bridge.js";
|
||||
|
||||
export interface RestorePhotoOptions {
|
||||
mode?: string;
|
||||
scratchRemoval?: boolean;
|
||||
faceEnhancement?: boolean;
|
||||
fidelity?: number;
|
||||
denoise?: boolean;
|
||||
denoiseStrength?: number;
|
||||
colorize?: boolean;
|
||||
colorizeStrength?: number;
|
||||
}
|
||||
|
||||
export interface RestorePhotoResult {
|
||||
|
||||
Reference in New Issue
Block a user