
LLMAI-writer
None
Stars: 65

README:
LLMAI-writer 是一个功能强大的 AI 辅助小说创作工具,利用最先进的大型语言模型帮助作家构思、规划和创作小说。无论您是经验丰富的作家还是初学者,LLMAI-writer 都能帮助您更高效地完成创作过程。
- 大纲生成:根据您的创意、主题和风格,AI 自动生成完整的小说大纲
- 总大纲编辑:编辑小说标题、核心主题、故事梗概和世界观设定
- 章节大纲编辑:管理卷和章节结构,编辑章节摘要
- 人物设计:创建和管理小说中的角色,包括背景、性格、外貌等详细信息
- 章节生成:基于大纲和前后章节上下文,生成连贯的章节内容
- 主流 AI 模型:支持 OpenAI 的 GPT 系列、Anthropic 的 Claude 系列、Google 的 Gemini 系列
- 开源模型:支持 ModelScope 的 DeepSeek-R1 模型
- 自定义 API:支持任何兼容 OpenAI 协议的 API 服务
- 流式输出:所有模型均支持流式输出,实时查看生成过程
- 提示词模板:内置多种提示词模板,也可自定义和保存模板
- 上下文感知:章节生成时自动考虑前后章节的内容,保持故事连贯性
- 自动编号:自动为章节添加序号,并在重排序时更新
- 拖放排序:支持通过拖放重新排序卷和章节
- 深色模式:支持明亮和深色两种界面主题
必读提示: 本项目必须使用 Python 3.9 或更高版本!Gemini 功能依赖的 google-genai 库仅支持 Python 3.9+,这是 Google 官方的要求。如果您使用较旧版本的 Python,请参考常见问题部分的解决方案。
- 操作系统:Windows 10/11、macOS 10.14+、Linux
- Python:3.9 或更高版本
- 网络连接:用于访问 AI API 服务
- 硬盘空间:约 100MB(不包括生成的小说文件)
git clone https://github.com/WhatRUHuh/LLMAI-writer.git
cd LLMAI-writer
pip install -r requirements.txt
- 复制
config.example.ini
为config.ini
- 编辑
config.ini
,填入您的 API 密钥和其他配置
小贴士: 如果您此前从未接触过代码,建议您使用 Cursor、WindSurf、Cline、RooCode、Trae、Augment 等工具询问 AI 大模型,它们会自动帮您解释代码的功能和使用方法。
python main.py
- 在"大纲生成"标签页中填写小说的基本信息(标题、类型、主题、风格等)
- 设置卷数、每卷章节数和人物数量
- 选择 AI 模型并点击"生成大纲"按钮
- 在"总大纲编辑"标签页中完善标题、主题、简介和世界观设定
- 在"章节大纲编辑"标签页中管理卷和章节结构
- 使用 AI 辅助编辑功能优化大纲内容
- 在"人物编辑"标签页中创建和管理角色
- 设置角色的基本信息、背景故事、性格特点等
- 使用 AI 辅助生成丰富的角色设定
- 在"章节生成"标签页中选择要编辑的章节
- 使用 AI 辅助编辑功能生成章节内容
- 系统会自动考虑前后章节的内容,保持故事连贯性
- 使用工具栏上的"保存"和"打开"按钮保存和加载小说项目(.ainovel 格式)
- 可以导出为纯文本或其他格式
config.ini
文件包含以下配置项:
[Proxy]
enabled = true/false
http_proxy = http://127.0.0.1:7890
https_proxy = http://127.0.0.1:7890
[OpenAI]
api_key = your_openai_api_key
model_name = gpt-4-turbo
[Claude]
api_key = your_anthropic_api_key
model_name = claude-3-opus-20240229
[Gemini]
api_key = your_google_api_key
model_name = gemini-1.5-pro
[ModelScope]
api_key = your_modelscope_api_key
model_name = deepseek-r1-chat
[CustomOpenAI]
enabled = true/false
base_url = https://your-custom-openai-compatible-api.com/v1
api_key = your_custom_api_key
model_name = your_model_name
如果安装依赖时遇到问题,可以尝试手动安装主要依赖:
pip install PyQt6 openai anthropic google-genai
注意:如果安装 google-genai 失败,请确保您使用的是 Python 3.9 或更高版本。
如果您的 Python 版本低于 3.9,您有以下选择:
- 升级 Python:强烈推荐升级到 Python 3.9 或更高版本以获得完整功能
-
移除 Gemini 相关代码:如果无法升级 Python,您可以从项目中删除与 Gemini 相关的代码(主要在
models/gemini_model.py
和 UI 中的相关选项)
注意:根据 Google 官方文档,Gemini API 的 Python SDK 仅支持 Python 3.9 及更高版本,不存在兼容旧版本 Python 的方法。
- 确保您的 API 密钥正确
- 如果需要代理访问 API,请在配置文件中正确设置代理
- 检查网络连接是否正常
- 尝试重启应用程序
- 检查是否安装了最新版本的 PyQt6
- 在不同的操作系统上,界面可能有细微差异
- 特别感谢克劳德先生(Mr. Claude)在本项目开发过程中提供的源码支持与技术指导
- 感谢所有开源项目和 API 提供商,使本项目成为可能
- 感谢所有用户的反馈和建议,帮助我们不断改进
如有问题或建议,请通过 GitHub Issues 与我们联系。
For Tasks:
Click tags to check more tools for each tasksFor Jobs:
Alternative AI tools for LLMAI-writer
Similar Open Source Tools

AI-Drug-Discovery-Design
AI-Drug-Discovery-Design is a repository focused on Artificial Intelligence-assisted Drug Discovery and Design. It explores the use of AI technology to accelerate and optimize the drug development process. The advantages of AI in drug design include speeding up research cycles, improving accuracy through data-driven models, reducing costs by minimizing experimental redundancies, and enabling personalized drug design for specific patients or disease characteristics.

aimoneyhunter
AiMoneyHunter is a comprehensive collection of information on AI side hustle opportunities, covering various methods, technologies, tools, platforms, and channels for making money with AI. It aims to break information barriers in the AI era, enabling everyone to leverage AI intelligence for side hustles and earn extra income. The repository includes curated AI-related content sources, tips on starting a side hustle, and insights on using AI technologies for various money-making tasks.

AHU-AI-Repository
This repository is dedicated to the learning and exchange of resources for the School of Artificial Intelligence at Anhui University. Notes will be published on this website first: https://www.aoaoaoao.cn and will be synchronized to the repository regularly. You can also contact me at [email protected].

blog
这是一个程序员关于 ChatGPT 学习过程的记录,其中包括了 ChatGPT 的使用技巧、相关工具和资源的整理,以及一些个人见解和思考。 **使用技巧** * **充值 OpenAI API**:可以通过 https://beta.openai.com/account/api-keys 进行充值,支持信用卡和 PayPal。 * **使用专梯**:推荐使用稳定的专梯,可以有效提高 ChatGPT 的访问速度和稳定性。 * **使用魔法**:可以通过 https://my.x-air.app:666/#/register?aff=32853 访问 ChatGPT,无需魔法即可访问。 * **下载各种 apk**:可以通过 https://apkcombo.com 下载各种安卓应用的 apk 文件。 * **ChatGPT 官网**:ChatGPT 的官方网站是 https://ai.com。 * **Midjourney**:Midjourney 是一个生成式 AI 图像平台,可以通过 https://midjourney.com 访问。 * **文本转视频**:可以通过 https://www.d-id.com 将文本转换为视频。 * **国内大模型**:国内也有很多大模型,如阿里巴巴的通义千问、百度文心一言、讯飞星火、阿里巴巴通义听悟等。 * **查看 OpenAI 状态**:可以通过 https://status.openai.com/ 查看 OpenAI 的服务状态。 * **Canva 画图**:Canva 是一个在线平面设计平台,可以通过 https://www.canva.cn 进行画图。 **相关工具和资源** * **文字转语音**:可以通过 https://modelscope.cn/models?page=1&tasks=text-to-speech&type=audio 找到文字转语音的模型。 * **可好好玩玩的项目**: * https://github.com/sunner/ChatALL * https://github.com/labring/FastGPT * https://github.com/songquanpeng/one-api * **个人博客**: * https://baoyu.io/ * https://gorden-sun.notion.site/527689cd2b294e60912f040095e803c5?v=4f6cc12006c94f47aee4dc909511aeb5 * **srt 2 lrc 歌词**:可以通过 https://gotranscript.com/subtitle-converter 将 srt 格式的字幕转换为 lrc 格式的歌词。 * **5 种速率限制**:OpenAI API 有 5 种速率限制:RPM(每分钟请求数)、RPD(每天请求数)、TPM(每分钟 tokens 数量)、TPD(每天 tokens 数量)、IPM(每分钟图像数量)。 * **扣子平台**:coze.cn 是一个扣子平台,可以提供各种扣子。 * **通过云函数免费使用 GPT-3.5**:可以通过 https://juejin.cn/post/7353849549540589587 免费使用 GPT-3.5。 * **不蒜子 统计网页基数**:可以通过 https://busuanzi.ibruce.info/ 统计网页的基数。 * **视频总结和翻译网页**:可以通过 https://glarity.app/zh-CN 总结和翻译视频。 * **视频翻译和配音工具**:可以通过 https://github.com/jianchang512/pyvideotrans 翻译和配音视频。 * **文字生成音频**:可以通过 https://www.cnblogs.com/jijunjian/p/18118366 将文字生成音频。 * **memo ai**:memo.ac 是一个多模态 AI 平台,可以将视频链接、播客链接、本地音视频转换为文字,支持多语言转录后翻译,还可以将文字转换为新的音频。 * **视频总结工具**:可以通过 https://summarize.ing/ 总结视频。 * **可每天免费玩玩**:可以通过 https://www.perplexity.ai/ 每天免费玩玩。 * **Suno.ai**:Suno.ai 是一个 AI 语言模型,可以通过 https://bibigpt.co/ 访问。 * **CapCut**:CapCut 是一个视频编辑软件,可以通过 https://www.capcut.cn/ 下载。 * **Valla.ai**:Valla.ai 是一个多模态 AI 模型,可以通过 https://www.valla.ai/ 访问。 * **Viggle.ai**:Viggle.ai 是一个 AI 视频生成平台,可以通过 https://viggle.ai 访问。 * **使用免费的 GPU 部署文生图大模型**:可以通过 https://www.cnblogs.com/xuxiaona/p/18088404 部署文生图大模型。 * **语音转文字**:可以通过 https://speech.microsoft.com/portal 将语音转换为文字。 * **投资界的 ai**:可以通过 https://reportify.cc/ 了解投资界的 ai。 * **抓取小视频 app 的各种信息**:可以通过 https://github.com/NanmiCoder/MediaCrawler 抓取小视频 app 的各种信息。 * **马斯克 Grok1 开源**:马斯克的 Grok1 模型已经开源,可以通过 https://github.com/xai-org/grok-1 访问。 * **ChatALL**:ChatALL 是一个跨端支持的聊天机器人,可以通过 https://github.com/sunner/ChatALL 访问。 * **零一万物**:零一万物是一个 AI 平台,可以通过 https://www.01.ai/cn 访问。 * **智普**:智普是一个 AI 语言模型,可以通过 https://chatglm.cn/ 访问。 * **memo ai 下载**:可以通过 https://memo.ac/ 下载 memo ai。 * **ffmpeg 学习**:可以通过 https://www.ruanyifeng.com/blog/2020/01/ffmpeg.html 学习 ffmpeg。 * **自动生成文章小工具**:可以通过 https://www.cognition-labs.com/blog 生成文章。 * **简易商城**:可以通过 https://www.cnblogs.com/whuanle/p/18086537 搭建简易商城。 * **物联网**:可以通过 https://www.cnblogs.com/xuxiaona/p/18088404 学习物联网。 * **自定义表单、自定义列表、自定义上传和下载、自定义流程、自定义报表**:可以通过 https://www.cnblogs.com/whuanle/p/18086537 实现自定义表单、自定义列表、自定义上传和下载、自定义流程、自定义报表。 **个人见解和思考** * ChatGPT 是一个强大的工具,可以用来提高工作效率和创造力。 * ChatGPT 的使用门槛较低,即使是非技术人员也可以轻松上手。 * ChatGPT 的发展速度非常快,未来可能会对各个行业产生深远的影响。 * 我们应该理性看待 ChatGPT,既要看到它的优点,也要意识到它的局限性。 * 我们应该积极探索 ChatGPT 的应用场景,为社会创造价值。

godoos
GodoOS is an efficient intranet office operating system that includes various office tools such as word/excel/ppt/pdf/internal chat/whiteboard/mind map, with native file storage support. The platform interface mimics the Windows style, making it easy to operate while maintaining low resource consumption and high performance. It automatically connects to intranet users without registration, enabling instant communication and file sharing. The flexible and highly configurable app store allows for unlimited expansion.

MaiMBot
MaiMBot is an intelligent QQ group chat bot based on a large language model. It is developed using the nonebot2 framework, utilizes LLM for conversation abilities, MongoDB for data persistence, and NapCat for QQ protocol support. The bot features keyword-triggered proactive responses, dynamic prompt construction, support for images and message forwarding, typo generation, multiple replies, emotion-based emoji responses, daily schedule generation, user relationship management, knowledge base, and group impressions. Work-in-progress features include personality, group atmosphere, image handling, humor, meme functions, and Minecraft interactions. The tool is in active development with plans for GIF compatibility, mini-program link parsing, bug fixes, documentation improvements, and logic enhancements for emoji sending.

vpnfast.github.io
VPNFast is a lightweight and fast VPN service provider that offers secure and private internet access. With VPNFast, users can protect their online privacy, bypass geo-restrictions, and secure their internet connection from hackers and snoopers. The service provides high-speed servers in multiple locations worldwide, ensuring a reliable and seamless VPN experience for users. VPNFast is easy to use, with a user-friendly interface and simple setup process. Whether you're browsing the web, streaming content, or accessing sensitive information, VPNFast helps you stay safe and anonymous online.

Code-Interpreter-Api
Code Interpreter API is a project that combines a scheduling center with a sandbox environment, dedicated to creating the world's best code interpreter. It aims to provide a secure, reliable API interface for remotely running code and obtaining execution results, accelerating the development of various AI agents, and being a boon to many AI enthusiasts. The project innovatively combines Docker container technology to achieve secure isolation and execution of Python code. Additionally, the project supports storing generated image data in a PostgreSQL database and accessing it through API endpoints, providing rich data processing and storage capabilities.

MoneyPrinterTurbo
MoneyPrinterTurbo is a tool that can automatically generate video content based on a provided theme or keyword. It can create video scripts, materials, subtitles, and background music, and then compile them into a high-definition short video. The tool features a web interface and an API interface, supporting AI-generated video scripts, customizable scripts, multiple HD video sizes, batch video generation, customizable video segment duration, multilingual video scripts, multiple voice synthesis options, subtitle generation with font customization, background music selection, access to high-definition and copyright-free video materials, and integration with various AI models like OpenAI, moonshot, Azure, and more. The tool aims to simplify the video creation process and offers future plans to enhance voice synthesis, add video transition effects, provide more video material sources, offer video length options, include free network proxies, enable real-time voice and music previews, support additional voice synthesis services, and facilitate automatic uploads to YouTube platform.

py-xiaozhi
py-xiaozhi is a Python-based XiaoZhi voice client designed for learning code and experiencing AI XiaoZhi's voice functions without hardware conditions. It features voice interaction, graphical interface, volume control, session management, encrypted audio transmission, CLI mode, and automatic copying of verification codes and opening browsers for first-time users. The project aims to optimize and add new features to zhh827's py-xiaozhi based on the original hardware project xiaozhi-esp32 and the Python implementation py-xiaozhi.