pollinations library

Functions

fetchImage(String prompt) Future<(Uint8List?, String?)>
Fetches the specified image as an Uint8List of image file data (Uint8List, null) or (null, errorMessage)