This function allows you to retrieve multiple random images based on the specified type. Useful for displaying images in a feed or gallery.Documentation Index
Fetch the complete documentation index at: https://lummi.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
You should initialize InitLummi before using this method.
Props
Specifies the image type:
'3d', 'illustrations', or 'images'.Maximum number of results to fetch. Defaults to
1; maximum is 20.Filters for free images only if
true. Includes both free and pro by
default.Return Props
The downloand url of the image if success, otherwise
null.Check the Image Interface and what promps it includes.
true if the request was successful, otherwise false.A message describing the result of the request.
200, 400, 401, 403, 404, 500.Read more about status codes and what they mean.