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