API Keys Setup

Configure your API keys for full Alertness AI Suite functionality

🤖

Anthropic (Claude Code)

Required

Powers Claude Code - the AI assistant that runs Alertness AI Suite. Required for all AI features.

Used for:
  • AI Chat and conversations
  • Document analysis and summarization
  • Code generation and assistance
  • All AI-powered features
Cost: Max Plan $100/month (unlimited) or API credits (~$15/M tokens)
🚀 Get Max Plan 🔑 Get API Key
🧠

OpenAI

Required for Video

Powers DALL-E 3 image generation for Alertness Engine video scenes, and OpenAI TTS voices.

Used for:
  • Alertness Engine video generation (DALL-E 3 images)
  • OpenAI TTS voices (Alloy, Echo, Fable, etc.)
  • GPT-4 fallback for certain features
Cost: DALL-E 3 HD: $0.080/image | TTS: $0.015/1K chars
🔑 Get OpenAI API Key
🔷

Google Cloud

Optional

Google Cloud TTS and Places API for location-based features.

Used for:
  • Google Cloud TTS voices
  • Places API for location data
  • Translation services
Cost: Free tier available, then pay-per-use
🔑 Get Google API Key
🤗

Hugging Face

Optional

Access to open-source models for local processing and specialized tasks.

Used for:
  • Local Stable Diffusion (FREE video generation)
  • Open-source model access
  • Specialized ML models
Cost: Free for most models
🔑 Get HF Token

📄 Your .env File

Create a file named .env in your Alertness AI Suite folder with your API keys:

# Alertness AI Suite - Environment Variables # Copy this file to .env and fill in your API keys # REQUIRED: OpenAI (for DALL-E images and TTS) OPENAI_API_KEY=sk-your-openai-key-here # RECOMMENDED: Replicate (for video generation) REPLICATE_API_TOKEN=r8_your-replicate-token-here # RECOMMENDED: ElevenLabs (for premium TTS) ELEVENLABS_API_KEY=sk_your-elevenlabs-key-here # OPTIONAL: Anthropic (if using API instead of Max plan) ANTHROPIC_API_KEY=sk-ant-your-anthropic-key-here # OPTIONAL: Google Cloud GOOGLE_API_KEY=AIzaSy-your-google-key-here # OPTIONAL: Hugging Face HF_TOKEN=hf_your-huggingface-token-here # Server settings PORT=8000

Setup Instructions:

  1. Create a new file named .env in your Alertness AI Suite folder
  2. Copy the template above and paste it into the file
  3. Replace each your-xxx-key-here with your actual API keys
  4. Save the file
  5. Restart the Alertness AI Suite server

💰 Cost Summary

Feature Provider Approximate Cost
Claude Code (unlimited) Anthropic Max $100/month
Alertness Engine Video (17 scenes) OpenAI DALL-E 3 ~$1.36
Video Generation (1 clip) Replicate $0.10 - $1.00
Premium TTS (1000 chars) ElevenLabs ~$0.30
Local Video (Stable Diffusion) Local GPU FREE