All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 28s
1.3 KiB
1.3 KiB
Run and deploy your AI Studio app
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/a38a3cd5-7f82-49f0-a26e-99be4d77f863
Run Locally
Prerequisites: Node.js, system ffmpeg, and system ffprobe
- Install dependencies:
npm install - Configure .env with:
ARK_API_KEYGEMINI_API_KEYMINIMAX_API_KEY - Optional defaults:
DEFAULT_LLM_PROVIDER=doubaoDOUBAO_MODEL=doubao-seed-2-0-pro-260215FFMPEG_PATH=/path/to/ffmpeg(optional)FFPROBE_PATH=/path/to/ffprobe(optional) - Run the app:
npm run dev
Model Switching
- Subtitle generation now runs through the server and supports
DoubaoandGemini. - The editor shows an
LLMselector and defaults toDoubao. TTSstays fixed onMiniMaxregardless of the selected LLM.- All provider keys are read from
.env; the browser no longer calls LLM providers directly.
Subtitle Generation
- Subtitle generation is now driven by server-side multimodal LLM calls on the uploaded video file.
- No separate local alignment/ASR backend is required for
/api/generate-subtitles.