Skeudenn / hooks/use-image-upscaler / ImageUpscalerResult
Interface: ImageUpscalerResult ​
Defined in: src/hooks/use-image-upscaler.ts:31
State returned by useImageUpscaler.
Properties ​
error ​
error:
string|null
Defined in: src/hooks/use-image-upscaler.ts:37
Set when the last attempt failed; the caller falls back to the original image either way.
isUpscaling ​
isUpscaling:
boolean
Defined in: src/hooks/use-image-upscaler.ts:35
True while the model is loading or running on the current image.
upscaledUrl ​
upscaledUrl:
string|null
Defined in: src/hooks/use-image-upscaler.ts:33
Data URL of the AI-upscaled image, or null while disabled/unavailable.