
AI-StoryLab
AI-StoryLab 是一款基于 Next.js 的智能故事创作平台,集成音频制作与 AI 绘图提示词生成功能。 - aigc17/Al-StoryLab
aigc17
README
AI-StoryLab
AI-StoryLab 是一个基于 Next.js 开发的智能故事创作平台,它能够帮助用户生成故事并添加音频效果,让故事更加生动有趣。同时支持生成配套的绘图提示词,方便用户使用 Midjourney、Recraft 等 AI 绘图工具创建插图。
主要功能
- 故事生成:根据主题自动生成故事内容
- 语音合成:支持中英文语音生成
- 中文:使用 海螺 MiniMax 语音服务
- 英文:使用 Replicate Kokoro 语音服务
- 音效生成:使用 ElevenLabs 生成逼真的音效
- 智能建议:自动推荐合适的音效位置
- 绘图提示词:为故事场景自动生成 AI 绘图提示词
- 导出功能:
- 导出音效位置指南
- 导出绘图提示词
技术栈
- 框架:Next.js 14
- 语言:TypeScript
- 样式:Tailwind CSS
- UI组件:shadcn/ui (基于 Radix UI 的组件库)
- AI服务:
- DeepSeek:故事生成和绘图提示词生成
- MiniMax:中文语音
- Kokoro:英文语音
- ElevenLabs:音效生成
开始使用
- 克隆项目
git clone https://github.com/nicekate/Al-StoryLab.git
cd Al-StoryLab
- 安装依赖
npm install
- 配置环境变量
复制
.env.example
文件并重命名为.env.local
,填入必要的 API 密钥:
需要在以下平台注册并获取 API 密钥:
- DeepSeek API Key (获取地址)
- MiniMax API Key 和 Group ID (获取地址)
- ElevenLabs API Key (获取地址)
- Replicate API Token (获取地址)
将获取的密钥填入 .env.local
:
- DEEPSEEK_API_KEY
- MINIMAX_API_KEY
- MINIMAX_GROUP_ID
- ELEVENLABS_API_KEY
- REPLICATE_API_TOKEN
- 启动开发服务器
npm run dev
- 访问 http://localhost:3000 开始使用
使用指南
生成故事
- 输入故事主题或使用自动生成的提示
- 选择语言(中文/英文)
- 点击生成按钮
添加音效
- 使用智能建议生成音效提示词
- 选择合适的音效位置
- 点击生成音效
生成绘图提示词
- 在故事生成后,点击"生成绘图提示词"
- 系统会为每个关键场景生成 AI 绘图提示词
- 可以直接复制使用或导出保存
许可证
MIT
Recommended Servers

E2B
Using MCP to run code via e2b.
Mult Fetch MCP Server
A versatile MCP-compliant web content fetching tool that supports multiple modes (browser/node), formats (HTML/JSON/Markdown/Text), and intelligent proxy detection, with bilingual interface (English/Chinese).
AIO-MCP Server
🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from
Persistent Knowledge Graph
An implementation of persistent memory for Claude using a local knowledge graph, allowing the AI to remember information about users across conversations with customizable storage location.
React MCP
react-mcp integrates with Claude Desktop, enabling the creation and modification of React apps based on user prompts

Any OpenAI Compatible API Integrations
Integrate Claude with Any OpenAI SDK Compatible Chat Completion API - OpenAI, Perplexity, Groq, xAI, PyroPrompts and more.
Exa MCP
A Model Context Protocol server that enables AI assistants like Claude to perform real-time web searches using the Exa AI Search API in a safe and controlled manner.
AI 图像生成服务
可用于cursor 集成 mcp server
Web Research Server
A Model Context Protocol server that enables Claude to perform web research by integrating Google search, extracting webpage content, and capturing screenshots.
MySQL Server
Allows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.