This function allows you to search and retrieve random images with specified filters. Useful for displaying images in a feed or gallery based on some user conditions.
You should initialize InitLummi before using this method.
Copy
import { SearchRandomImages } from 'lummi'import { imageId } from '@/data'const { data, success, message } = await SearchRandomImages({})