AI-StoryLab

AI-StoryLab

AI-StoryLab 是一款基于 Next.js 的智能故事创作平台,集成音频制作与 AI 绘图提示词生成功能。 - aigc17/Al-StoryLab

aigc17

Digital Note Management
Remote Shell Execution
AI Content Generation
Visit Server

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:音效生成

开始使用

  1. 克隆项目
git clone https://github.com/nicekate/Al-StoryLab.git
cd Al-StoryLab
  1. 安装依赖
npm install
  1. 配置环境变量 复制 .env.example 文件并重命名为 .env.local,填入必要的 API 密钥:

需要在以下平台注册并获取 API 密钥:

将获取的密钥填入 .env.local

  • DEEPSEEK_API_KEY
  • MINIMAX_API_KEY
  • MINIMAX_GROUP_ID
  • ELEVENLABS_API_KEY
  • REPLICATE_API_TOKEN
  1. 启动开发服务器
npm run dev
  1. 访问 http://localhost:3000 开始使用

使用指南

生成故事

  1. 输入故事主题或使用自动生成的提示
  2. 选择语言(中文/英文)
  3. 点击生成按钮

添加音效

  1. 使用智能建议生成音效提示词
  2. 选择合适的音效位置
  3. 点击生成音效

生成绘图提示词

  1. 在故事生成后,点击"生成绘图提示词"
  2. 系统会为每个关键场景生成 AI 绘图提示词
  3. 可以直接复制使用或导出保存

许可证

MIT

Recommended Servers

E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Mult Fetch MCP Server

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).

Featured
Local
AIO-MCP Server

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

Featured
Local
Persistent Knowledge Graph

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.

Featured
Local
React MCP

React MCP

react-mcp integrates with Claude Desktop, enabling the creation and modification of React apps based on user prompts

Featured
Local
Any OpenAI Compatible API Integrations

Any OpenAI Compatible API Integrations

Integrate Claude with Any OpenAI SDK Compatible Chat Completion API - OpenAI, Perplexity, Groq, xAI, PyroPrompts and more.

Featured
Exa MCP

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.

Featured
AI 图像生成服务

AI 图像生成服务

可用于cursor 集成 mcp server

Featured
Web Research 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.

Featured
MySQL Server

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.

Featured