不要 Python,让我们用 Rust 实现跨平台高性能的 AI 推理!(🇨🇳) Slides
你是否想通过文档自动化生成这样的 PPT?那就来试试 Next AI Slide 吧!(也在尝试把 Slide 构建流程开源成 skill,ing)
AI-powered Slidev Markdown generator. Turn natural language prompts into Slidev slides with copy/download support. with:slidevjs/slidev#2435
npm installCreate .env.local and set:
OPENAI_API_KEY=你的 OpenAI Key
OPENAI_MODEL=gpt-4o-mini
OPENAI_BASE_URL=https://api.openai.com/v1If no key is set, the API returns a local fallback template.
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 in your browser.
Main UI: src/app/page.tsx, API: src/app/api/generate/route.ts.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Deploy on Vercel and set OPENAI_API_KEY in environment variables.
npm run build
npm run start- Uses the OpenAI API by default and can be extended to other models.
- Output is standard Slidev Markdown. Save as
slides.mdfor Slidev preview.
- Integrate Slidev CLI for real-time preview
- One-sentence PPT generation (Prompt → Slidev Markdown → Live preview)
- Paste a GitHub repo URL to generate PPT
- Reuse the repo fetching flow from github-agent
- Summarize/structure content before generating Slidev Markdown
- Live preview via Slidev CLI
- Fine-tune a Slidev-specific LLM to improve PPT quality and fit
Slidev is amazing — I haven’t used PowerPoint since switching to it.
This AI layer can:
- Lower the onboarding barrier and reach a broader audience
- Speed up slide creation for everyone
I hope more people can join or share ideas to help integrate this into the Slidev ecosystem so more users can benefit.
Contributions are very welcome.
Appendix