1.2 KiB
1.2 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
- 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-260215 - 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.