mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(ai): pass quality tier through Node outpaint bridge
Add optional tier field to OutpaintOptions interface and forward it as the 7th argument to the Python outpaint script, defaulting to balanced.
This commit is contained in:
@@ -8,6 +8,7 @@ export interface OutpaintOptions {
|
||||
extendRight: number;
|
||||
extendBottom: number;
|
||||
extendLeft: number;
|
||||
tier?: "fast" | "balanced" | "high";
|
||||
}
|
||||
|
||||
export async function outpaint(
|
||||
@@ -31,6 +32,7 @@ export async function outpaint(
|
||||
String(options.extendRight),
|
||||
String(options.extendBottom),
|
||||
String(options.extendLeft),
|
||||
options.tier ?? "balanced",
|
||||
],
|
||||
{ onProgress },
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user