Skip to main content

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.

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.
import { SearchRandomImages } from 'lummi'
import { imageId } from '@/data'

const { data, success, message } = await SearchRandomImages({})