This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/4777775e-6187-4f68-84a6-158a69f08512
Prerequisites: Node.js
- Install dependencies:
npm install - Configure AI model access:
- Set
MODEL_SERVER_URLin.envto your self-hosted model gateway, for examplehttp://127.0.0.1:8000 - Set
MODEL_NAMEto the model name exposed by your local server, such asgpt-4o-minior your own self-hosted model name. - If your local model gateway requires a key, set
MODEL_SERVER_API_KEYas well. - Set
VIDEO_MODEL_URLto your real video generation endpoint. - If the video service requires a key, set
VIDEO_MODEL_API_KEYtoo.
- Set
- Start the model proxy server:
npm run api - Run the app:
npm run dev
If the local model server is unavailable, the app will fall back to the built-in question bank so the interface still remains usable.
