diff --git a/packages/stablestudio-plugin/src/Plugin.ts b/packages/stablestudio-plugin/src/Plugin.ts index b148a81..5ba5419 100644 --- a/packages/stablestudio-plugin/src/Plugin.ts +++ b/packages/stablestudio-plugin/src/Plugin.ts @@ -194,7 +194,7 @@ export type Plugin

= { /** If you want to provide a list of resolutions in pixels to choose from, you can return them via this function and they will be presented as a slider in the UI */ getStableDiffusionAllowedResolutions?: ( model?: ID - ) => { width: number; height: number }[] | undefined; + ) => MaybePromise<{ width: number; height: number }[] | undefined>; /** Determines the default count passed to `createStableDiffusionImages` */ getStableDiffusionDefaultCount?: () => number | undefined;