Function: useTextToImage()
useTextToImage(
TextToImageProps):TextToImageType
Defined in: hooks/computer_vision/useTextToImage.ts:14
React hook for managing a Text to Image instance.
Parameters
TextToImageProps
Configuration object containing model source, inferenceCallback, and optional preventLoad flag.
Returns
Ready to use Text to Image model.