Files
AIGC/demo/deploy_baota/frontend/static/promptOptimizer-7b528a8c.js
AIGC Developer dbd06435cb feat: 完成管理员密码登录修复和项目清理
- 修复BCryptPasswordEncoder密码验证问题
- 实现密码设置提示弹窗功能(仅对无密码用户显示一次)
- 优化修改密码逻辑和验证流程
- 更新Welcome页面背景样式
- 清理临时SQL文件和测试代码
- 移动数据库备份文件到database/backups目录
- 删除不必要的MD文档和临时文件
2025-11-21 16:10:00 +08:00

2 lines
307 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{e as r}from"./index-467ea2ad.js";const e=async(t,o="text-to-video")=>{if(!t||!t.trim())throw new Error("提示词不能为空");if(t.length>2e3)throw new Error("提示词过长请控制在2000字符以内");return r.post("/prompt/optimize",{prompt:t.trim(),type:o},{timeout:3e4})};export{e as o};