账号注册与登录
欢迎使用zenstory小说写作工作台!本文档将详细介绍如何注册和登录你的账号,开始AI辅助创作之旅。
注册方式
邮箱注册(推荐)
邮箱注册是最常用的方式,需要验证你的邮箱地址以确保账户安全。
注册步骤
-
访问注册页面
- 打开zenstory官网首页
- 点击右上角「注册」按钮
- 或直接访问
/register 页面
-
填写注册信息
- 用户名:3个字符以上,将成为你在zenstory的唯一标识
- 邮箱地址:使用常用邮箱,用于接收验证码和找回密码
- 密码:至少6个字符,建议包含字母和数字
- 确认密码:再次输入密码确保无误
-
填写邀请码(可选但推荐)
- 如果你有邀请码,在注册表单底部找到「邀请码」输入框
- 输入格式:
XXXX-XXXX(如:ABCD-1234)
- 使用邀请码注册并完成邮箱验证后可获得 100 积分奖励
- 邀请码会实时验证,有效时显示绿色勾号
-
提交注册
- 点击「注册」按钮
- 系统会向你的邮箱发送6位数字验证码
- 页面自动跳转到邮箱验证页面
-
验证邮箱
- 打开你的邮箱,找到来自zenstory的验证邮件
- 复制邮件中的6位验证码
- 在验证页面输入验证码
- 点击「验证」按钮
-
完成注册
- 验证成功后自动登录
- 跳转到Dashboard首页
- 开始创建你的第一个项目
提示:如果没有收到验证邮件,请检查垃圾邮件文件夹,或点击「重新发送验证码」按钮(60秒冷却时间)。
Google账号登录
快捷登录方式,无需填写表单和验证邮箱。

使用步骤
- 在登录或注册页面找到「使用Google登录」按钮
- 点击按钮,跳转到Google授权页面
- 选择你的Google账户
- 授权zenstory访问你的基本信息(邮箱、姓名、头像)
- 自动完成注册/登录,跳转到工作台
优势
- 无需记忆密码:使用Google账户即可登录
- 无需邮箱验证:Google已验证你的邮箱,跳过验证步骤
- 自动填充信息:系统自动使用你的Google姓名和头像
- 更安全便捷:享受Google的安全保护和双重认证
注意:首次使用Google登录会自动创建账户,系统会根据你的Google信息生成用户名。如果用户名已被占用,会自动添加数字后缀(如:zhangsan2)。
邀请码系统
zenstory采用邀请制注册,鼓励社区良性增长。
获取邀请码
邀请码可通过以下方式获取:
- 已注册用户:向你的朋友、同事索取
- 官方渠道:在官方社区、Discord频道申请
- 活动赠送:参与官方举办的创作活动获得
邀请奖励机制
使用邀请码注册后,双方均可获得奖励:
| 角色 |
奖励内容 |
奖励时间 |
| 邀请人 |
100积分 |
被邀请人完成邮箱验证后 |
| 被邀请人 |
100积分 |
完成邮箱验证后 |
邀请码使用规则
- 格式:
XXXX-XXXX(8位字母数字组合)
- 使用次数:每个邀请码最多可使用3次
- 有效期:部分邀请码可能有过期时间
- 实时验证:输入邀请码后系统会实时验证有效性
- 防刷机制:系统会检测异常注册行为(如相同IP、设备指纹),确保公平使用
通过链接自动填充
如果你收到的邀请链接包含邀请码参数,系统会自动填充:
https://zenstory.ai/register?invite=ABCD-1234
访问此链接后,邀请码输入框会自动填入 ABCD-1234。
登录与登出
登录操作
登录步骤
- 访问
/login 页面或点击首页「登录」按钮
- 输入用户名或邮箱地址(两者均可)
- 输入密码
- 点击「登录」按钮
登录后行为
登录成功后,系统会根据你的项目状态智能跳转:
- 有项目:跳转到最近使用的项目
- 无项目:跳转到Dashboard首页,引导创建第一个项目
- SSO跳转:如果是从外部应用跳转登录,登录成功后会自动返回原应用并携带认证令牌
记住登录状态
zenstory使用JWT令牌管理登录状态:
- 访问令牌:有效期较短(如2小时),用于API请求
- 刷新令牌:有效期较长(如7天),用于自动刷新访问令牌
- 自动刷新:当访问令牌过期时,系统自动使用刷新令牌获取新令牌
- 无需重复登录:只要刷新令牌有效,就无需重新登录
安全提示:不要在公共电脑上勾选浏览器的「记住密码」功能。zenstory的令牌存储在浏览器本地存储中,退出浏览器不会清除。
安全登出
登出步骤
- 点击页面右上角的用户头像或用户名
- 在下拉菜单中点击「登出」按钮
- 清除本地存储的认证令牌
- 跳转到登录页面
自动登出情况
以下情况会自动登出:
- 刷新令牌过期(超过7天未活动)
- 服务器返回401未授权错误
- 检测到令牌被篡改
- 用户在其他设备修改密码
密码找回
忘记密码时,可通过注册邮箱重置密码。
重置步骤
-
进入找回密码页面
- 在登录页面点击「忘记密码?」链接
- 或直接访问
/forgot-password 页面
-
输入邮箱地址
-
查收邮件
- 打开邮箱,找到来自zenstory的密码重置邮件
- 邮件包含重置链接,有效期 1小时
-
重置密码
- 点击邮件中的重置链接
- 在打开的页面中输入新密码(至少6个字符)
- 再次输入确认新密码
- 点击「确认重置」按钮
-
重新登录
- 重置成功后,使用新密码登录
- 所有其他设备的登录状态会失效,需重新登录
注意:重置链接只能使用一次。如果链接过期,需要重新申请重置邮件。
账号设置
登录后,可以在设置页面修改个人信息。
修改昵称
- 进入「设置」页面
- 在「个人信息」部分找到「昵称」输入框
- 修改昵称(用户名不可修改)
- 点击「保存」按钮
修改密码
- 进入「设置」页面
- 在「安全设置」部分点击「修改密码」
- 输入当前密码
- 输入新密码(至少6个字符)
- 确认新密码
- 点击「确认修改」
- 修改成功后,所有设备需使用新密码重新登录
主题切换
zenstory支持亮色/暗色主题:
-
进入「设置」页面
-
在「外观设置」部分找到「主题」选项
-
选择:
- 亮色模式:白色背景,适合白天使用
- 暗色模式:深色背景,适合夜间使用,保护视力
- 跟随系统:自动根据系统设置切换
-
选择后立即生效,无需刷新页面
语言切换
zenstory支持多语言界面:
-
进入「设置」页面
-
在「语言设置」部分选择界面语言
-
目前支持:
-
切换后页面会自动刷新,应用新语言
常见问题
没有收到验证邮件?
可能原因及解决方法:
- 邮件在垃圾箱:检查垃圾邮件文件夹
- 邮箱地址错误:确认填写的邮箱无误
- 邮件延迟:等待2-3分钟,部分邮箱服务商可能延迟
- 频繁请求:如果多次点击「重新发送」,会有60秒冷却时间
- 邮箱被屏蔽:尝试使用其他邮箱注册(如Gmail、QQ邮箱等常用邮箱)
提示「邮箱已被注册」?
解决方法:
- 该邮箱已注册过账户,请直接登录
- 如果忘记密码,使用「忘记密码」功能重置
- 如果想使用新邮箱,需要更换邮箱地址注册
邀请码无效?
可能原因:
- 邀请码已过期:部分邀请码有有效期限制
- 邀请码已达上限:每个邀请码最多使用3次
- 邀请码被停用:邀请人可能主动停用了邀请码
- 格式错误:确保邀请码格式为
XXXX-XXXX
解决方法:联系邀请人获取新的邀请码,或在社区申请新的邀请码。
Google登录失败?
可能原因及解决方法:
- 浏览器阻止弹窗:允许浏览器弹窗,或手动跳转到Google授权页面
- 网络问题:检查网络连接,确保能访问Google服务
- Google服务异常:稍后重试,或改用邮箱注册
- 账户权限不足:确保授权zenstory访问基本信息(邮箱、姓名)
登录后立即被登出?
可能原因:
- 令牌过期:刷新令牌已过期(超过7天未活动),需重新登录
- 密码被修改:在其他设备修改了密码,所有设备需重新登录
- 令牌验证失败:清除浏览器缓存和本地存储,重新登录
- 服务器异常:稍后重试,或联系客服
安全建议
为了保护你的账户安全,请遵循以下建议:
-
使用强密码
- 至少8个字符
- 包含大小写字母、数字和特殊符号
- 避免使用生日、手机号等易猜测信息
-
定期更换密码
- 每3-6个月更换一次密码
- 不要在多个网站使用相同密码
-
谨慎使用公共设备
- 不要在公共电脑上勾选「记住密码」
- 使用后及时登出
- 清除浏览器缓存和Cookie
-
保护邀请码
- 不要在公开场合分享邀请码
- 定期检查邀请码使用情况
- 发现异常立即停用邀请码
-
启用双重认证(即将推出)
获取帮助
如果遇到账号相关问题,可以通过以下方式获取帮助:
下一步
完成注册和登录后,你可以:
祝你创作愉快!
Account Registration and Login
Welcome to zenstory Novel Writing Workbench! This document will guide you through registering and logging into your account to begin your AI-assisted creative journey.
Registration Methods
Email Registration (Recommended)
Email registration is the most common method and requires verifying your email address to ensure account security.
[Screenshot: Registration form showing username, email, password, confirm password fields and invite code input]
Registration Steps
-
Access the Registration Page
- Visit the zenstory official website homepage
- Click the "Register" button in the top right corner
- Or directly access the
/register page
-
Fill in Registration Information
- Username: At least 3 characters, this will be your unique identifier on zenstory
- Email Address: Use your regular email for receiving verification codes and password recovery
- Password: At least 6 characters, recommended to include letters and numbers
- Confirm Password: Re-enter your password to ensure accuracy
-
Enter Invite Code (Optional but Recommended)
- If you have an invite code, find the "Invite Code" input field at the bottom of the registration form
- Format:
XXXX-XXXX (e.g., ABCD-1234)
- Registering with an invite code and completing email verification grants you 100 points
- The invite code is validated in real-time, showing a green checkmark when valid
-
Submit Registration
- Click the "Register" button
- The system will send a 6-digit verification code to your email
- The page will automatically redirect to the email verification page
[Screenshot: Email verification page showing verification code input and resend button]
-
Verify Email
- Open your email and find the verification email from zenstory
- Copy the 6-digit verification code from the email
- Enter the verification code on the verification page
- Click the "Verify" button
-
Complete Registration
- After successful verification, you'll be automatically logged in
- Redirect to the Dashboard homepage
- Start creating your first project
Tip: If you don't receive the verification email, check your spam folder or click the "Resend Verification Code" button (60-second cooldown).
Google Account Login
A quick login method that doesn't require filling out forms or email verification.
[Screenshot: Login/Registration page highlighting the "Sign in with Google" button]
Usage Steps
- Find the "Sign in with Google" button on the login or registration page
- Click the button to redirect to the Google authorization page
- Select your Google account
- Authorize zenstory to access your basic information (email, name, avatar)
- Registration/login will complete automatically and redirect to the workbench
Advantages
- No password to remember: Simply use your Google account to log in
- No email verification required: Google has already verified your email, so you can skip this step
- Auto-fill information: The system automatically uses your Google name and avatar
- More secure and convenient: Enjoy Google's security protection and two-factor authentication
Note: First-time Google login will automatically create an account, and the system will generate a username based on your Google information. If the username is already taken, a numeric suffix will be automatically added (e.g., zhangsan2).
Invite Code System
zenstory uses an invitation-based registration system to encourage healthy community growth.
[Screenshot: Invite code input field showing green checkmark validation status for valid code]
Obtaining an Invite Code
Invite codes can be obtained through:
- Registered users: Ask your friends or colleagues for one
- Official channels: Apply through the official community or Discord channel
- Event giveaways: Participate in official creative events to receive codes
Invitation Reward Mechanism
After registering with an invite code, both parties receive rewards:
| Role |
Reward |
When |
| Inviter |
100 points |
After invitee completes email verification |
| Invitee |
100 points |
After completing email verification |
Invite Code Usage Rules
- Format:
XXXX-XXXX (8-character alphanumeric combination)
- Usage limit: Each invite code can be used up to 3 times
- Validity period: Some invite codes may have expiration dates
- Real-time validation: The system validates invite codes in real-time when entered
- Anti-abuse mechanism: The system detects abnormal registration behavior (such as same IP, device fingerprint) to ensure fair use
Auto-fill via Link
If you receive an invitation link containing an invite code parameter, the system will auto-fill it:
https://zenstory.ai/register?invite=ABCD-1234
After visiting this link, the invite code input field will automatically populate with ABCD-1234.
Login and Logout
Login Process
[Screenshot: Login page showing username/email input, password input, and login button]
Login Steps
- Visit the
/login page or click the "Login" button on the homepage
- Enter your username or email address (either works)
- Enter your password
- Click the "Login" button
Post-Login Behavior
After successful login, the system intelligently redirects based on your project status:
- Has projects: Redirect to the most recently used project
- No projects: Redirect to Dashboard homepage, guided to create first project
- SSO redirect: If logging in from an external application, you'll automatically return to the original app with authentication tokens
Remember Login State
zenstory uses JWT tokens to manage login state:
- Access token: Short validity period (e.g., 2 hours), used for API requests
- Refresh token: Longer validity period (e.g., 7 days), used to automatically refresh access tokens
- Auto-refresh: When the access token expires, the system automatically uses the refresh token to obtain a new one
- No repeated logins: As long as the refresh token is valid, no need to log in again
Security Tip: Don't check your browser's "Remember password" feature on public computers. zenstory's tokens are stored in browser local storage and won't be cleared when you exit the browser.
Secure Logout
[Screenshot: User menu dropdown highlighting the "Logout" option]
Logout Steps
- Click your avatar or username in the top right corner of the page
- Click the "Logout" button in the dropdown menu
- Clear locally stored authentication tokens
- Redirect to the login page
Automatic Logout Situations
You will be automatically logged out in these situations:
- Refresh token expired (more than 7 days of inactivity)
- Server returns 401 unauthorized error
- Token tampering detected
- User changed password on another device
Password Recovery
If you forget your password, you can reset it through your registered email.
[Screenshot: Forgot password page showing email input field]
Reset Steps
-
Access Password Recovery Page
- Click the "Forgot Password?" link on the login page
- Or directly access the
/forgot-password page
-
Enter Email Address
- Fill in the email address you used during registration
- Click the "Send Reset Link" button
-
Check Your Email
- Open your email and find the password reset email from zenstory
- The email contains a reset link valid for 1 hour
-
Reset Password
- Click the reset link in the email
- Enter a new password on the opened page (at least 6 characters)
- Re-enter to confirm the new password
- Click the "Confirm Reset" button
-
Log In Again
- After successful reset, log in with your new password
- All login sessions on other devices will be invalidated and require re-login
Note: The reset link can only be used once. If the link expires, you'll need to request a new reset email.
Account Settings
After logging in, you can modify your personal information in the settings page.
[Screenshot: Settings page showing nickname, avatar, password modification, and theme switching options]
Change Nickname
- Go to the "Settings" page
- Find the "Nickname" input field in the "Personal Information" section
- Modify your nickname (username cannot be changed)
- Click the "Save" button
Change Password
- Go to the "Settings" page
- Click "Change Password" in the "Security Settings" section
- Enter your current password
- Enter your new password (at least 6 characters)
- Confirm your new password
- Click "Confirm Change"
- After successful change, all devices must re-login with the new password
Theme Switching
zenstory supports light/dark themes:
-
Go to the "Settings" page
-
Find the "Theme" option in the "Appearance Settings" section
-
Choose:
- Light Mode: White background, suitable for daytime use
- Dark Mode: Dark background, suitable for nighttime use, easier on the eyes
- Follow System: Automatically switches based on system settings
-
Changes take effect immediately, no page refresh needed
Language Switching
zenstory supports multiple interface languages:
-
Go to the "Settings" page
-
Select interface language in the "Language Settings" section
-
Currently supported:
- Chinese (Simplified): Default language
- English: English interface
-
The page will automatically refresh after switching to apply the new language
Frequently Asked Questions
Didn't receive verification email?
Possible causes and solutions:
- Email in spam folder: Check your spam/junk folder
- Incorrect email address: Confirm the email you entered is correct
- Email delay: Wait 2-3 minutes, some email providers may have delays
- Too many requests: If you clicked "Resend" multiple times, there's a 60-second cooldown
- Email blocked: Try registering with a different email (e.g., Gmail, Outlook, or other commonly used email services)
Seeing "Email already registered"?
Solutions:
- This email is already registered, please log in directly
- If you forgot your password, use the "Forgot Password" feature to reset it
- If you want to use a new email, you'll need to register with a different email address
Invite code invalid?
Possible causes:
- Invite code expired: Some invite codes have expiration dates
- Invite code reached limit: Each invite code can be used up to 3 times
- Invite code disabled: The inviter may have manually disabled the code
- Format error: Ensure the invite code format is
XXXX-XXXX
Solution: Contact the inviter for a new invite code, or apply for one in the community.
Google login failed?
Possible causes and solutions:
- Browser blocked popup: Allow browser popups, or manually redirect to the Google authorization page
- Network issue: Check your network connection and ensure you can access Google services
- Google service error: Try again later, or use email registration instead
- Insufficient account permissions: Ensure you authorize zenstory to access basic information (email, name)
Logged out immediately after login?
Possible causes:
- Token expired: Refresh token has expired (more than 7 days of inactivity), need to log in again
- Password changed: Password was changed on another device, all devices need to re-login
- Token validation failed: Clear browser cache and local storage, then log in again
- Server error: Try again later, or contact customer support
Security Recommendations
To protect your account security, please follow these recommendations:
-
Use a Strong Password
- At least 8 characters
- Include uppercase and lowercase letters, numbers, and special characters
- Avoid using easily guessable information like birthdays or phone numbers
-
Change Password Regularly
- Change your password every 3-6 months
- Don't use the same password across multiple websites
-
Be Cautious on Public Devices
- Don't check "Remember password" on public computers
- Log out promptly after use
- Clear browser cache and cookies
-
Protect Your Invite Code
- Don't share invite codes in public places
- Regularly check invite code usage
- Disable invite codes immediately if you notice unusual activity
-
Enable Two-Factor Authentication (Coming Soon)
- Bind a phone number or authenticator app
- Require dynamic verification code during login
Getting Help
If you encounter account-related issues, you can get help through:
- Online Documentation: Visit docs.zenstory.ai for complete documentation
- Help Center: Click the "Help" button in the app to view FAQs
- Community Forum: Ask questions at community.zenstory.ai
- Customer Support Email: Send an email to support@zenstory.ai
- Issue Feedback: Submit a ticket by clicking "Feedback" in the settings page
Next Steps
After completing registration and login, you can:
Happy writing!