Spaces:
Running
Running
| # .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=jy0tmu2iAbPyhEFJORCECxEg7hh0pd3a | |
| # 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 | |
| # HUGGING FACE (https://huggingface.co/settings/tokens) | |
| # Limite: Ilimitado com rate limit | |
| HF_API_KEY=hf_sua_chave_aqui | |
| # ============================================================================ | |
| # 🌐 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 | |
| # |