chore: update project files
This commit is contained in:
@@ -0,0 +1 @@
|
||||
import{a as r}from"./index-2fb4354b.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};
|
||||
Reference in New Issue
Block a user