Skip to main content

No authentication required

The MoneyPrinterTurbo API does not require any token or API key to call its endpoints. All routes are open by default.
If you expose MoneyPrinterTurbo on a public network, anyone with access to the server can trigger video generation and consume your LLM and video-source API credits. Protect the service with a firewall rule, reverse proxy authentication (e.g. HTTP basic auth via nginx), or a VPN.

External API keys

The API keys you configure in config.toml — for OpenAI, Pexels, Pixabay, Azure, etc. — are used by the server to call those external services on your behalf. They are not credentials for calling the MoneyPrinterTurbo API itself. See Configuration to set up your external API keys.

Enabling token-based auth (advanced)

The codebase includes a commented-out token verification dependency. To enable it, uncomment the relevant line in app/controllers/v1/video.py and app/controllers/v1/llm.py:
# Change this:
router = new_router()

# To this:
router = new_router(dependencies=[Depends(base.verify_token)])
Enabling token auth requires implementing the verify_token logic in app/controllers/base.py to suit your needs (e.g. a static bearer token or JWT validation).

Build docs developers (and LLMs) love