A prompt based image generator website
- Model: Stable Diffusion
- Model deployment: Replicate
- Web host: Vercel
vercel environment variables not working
issues:
- Renaming REPLICATE_API_TOKEN to NEXT_PUBLIC_REPLICATE_API_TOKEN
- Then redeployed the app
- If the above still doesn't work, check back after a while as the issue might be intermittent due to Vercel cache
Useful links discussing this issue Vercel not supporting environment variable Similar discussion