Everything you need to build your next AI powered application. Built with:
- Vercel AI SDK
- Next.js 16
- Tailwind CSS
- shadcn/ui
git clone https://github.com/ChangoMan/ai-sdk-template
cd ai-sdk-templatenpm installcp .env.example .env.localThen open .env.local and fill in your API keys:
GOOGLE_GENERATIVE_AI_API_KEY- Get from Google GeminiOPENAI_API_KEY- (Optional) Get from OpenAI
By default, this template will use the Google Generative AI Provider since it has a generous free tier. However, if you want to try out the image generation feature, you may need to add a billing plan.
npm run devOpen http://localhost:3000 in your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
To learn more about the Vercel AI SDK, check out the following resources:
- AI SDK Documentation - learn about AI SDK features and API.
- AI SDK Providers - explore different AI provider integrations.
- AI SDK Examples - see practical examples and use cases.
You can check out the AI SDK GitHub repository - your feedback and contributions are welcome!