To use the Lummi SDK, you need a valid token, which can be obtained from the Lummi Developer Portal. This token is required to authenticate your requests to Lummi services.

Follow these steps to authenticate and start using the Lummi SDK:

import { InitLummi } from 'lummi'
import { LUMMI_API_KEY } from '@/envs'

await InitLummi(LUMMI_API_KEY)

Once you initialize the Lummi with the Init method, you can call any method from the SDK without needing to pass the token again.