# .env.example — Copie para .env e preencha suas chaves # ============================================================================ # 🔥 CHAVES DE API — OBTENHA EM: # ============================================================================ # MISTRAL (https://console.mistral.ai/) # Limite: 60k tokens/mês grátis MISTRAL_API_KEY=uuK8bVZ5BJQtcnhqQoimaNzWDr10WTu3 # GOOGLE GEMINI (https://aistudio.google.com/app/apikey) # Limite: 1.5M tokens/mês grátis GEMINI_API_KEY=AIzaSyBcX3wqmEDYTrggNNbv31-A2QG2A7IssRc # GROQ (https://console.groq.com/keys) # Limite: ~10k tokens/dia grátis GROQ_API_KEY=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 # COHERE (https://dashboard.cohere.com/api-keys) # Limite: 1k gerações/mês grátis COHERE_API_KEY=sua_chave_aqui # TOGETHER AI (https://api.together.xyz/settings/api-keys) # Limite: $25 créditos iniciais grátis TOGETHER_API_KEY=sua_chave_aqui # OPENROUTER (https://openrouter.ai/keys) OPENROUTER_API_KEY=sua_chave_aqui # HUGGING FACE (https://huggingface.co/settings/tokens) # Limite: Ilimitado com rate limit HF_API_KEY=hf_sua_chave_aqui # CELLCOG (https://cellcog.ai/) # Limite: Dependente do plano (Livre até Pro) # Habilita: Imagem (padrão), Vídeo, Áudio, Pesquisa Profunda, Análise de Dados CELLCOG_API_KEY=sua_chave_cellcog_aqui CELLCOG_BASE_URL=https://api.cellcog.ai/v1 # ============================================================================ # 🔒 LOG MASKING & SECURITY # ============================================================================ # Salt para mascaramento de logs (previne rainbow table attacks) # Gere com: python3 -c "import secrets; print(secrets.token_urlsafe(32))" LOG_MASKING_SALT=xK7pL9mQ2R5sT8vW3bY6cZ1dF4gH9jN0k-oP_aB # ============================================================================ # 🌐 CONFIGURAÇÕES DE SERVIDOR (OPCIONAL) # ============================================================================ API_HOST=0.0.0.0 API_PORT=7860 # ============================================================================ # 📝 NOTAS # ============================================================================ # # 1. Copie este arquivo: cp .env.example .env # 2. Preencha PELO MENOS Mistral + Gemini (mínimo 2 APIs) # 3. Adicione .env ao .gitignore (NUNCA commite chaves!) # 4. Para Hugging Face Spaces: adicione chaves em Repository Secrets #