Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.gen_miner.template
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ OPENAI_API_KEY=
# OpenRouter (multi-model access)
OPEN_ROUTER_API_KEY=

# StabilityAI
STABILITY_API_KEY=

# Hugging Face (for model downloads)
HUGGINGFACE_HUB_TOKEN=

Expand Down Expand Up @@ -87,4 +90,5 @@ BT_LOGGING_LEVEL=INFO
# Get API keys:
# - OpenAI: https://platform.openai.com/api-keys
# - OpenRouter: https://openrouter.ai/keys
# - StabilityAI: https://platform.stability.ai/account/keys
# - Hugging Face: https://huggingface.co/settings/tokens
8 changes: 8 additions & 0 deletions docs/Generative-Mining.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ BT_LOGGING_LEVEL=info
# Configure API keys for external services, or use local generation
OPENAI_API_KEY=your_openai_api_key
OPEN_ROUTER_API_KEY=your_openrouter_api_key
STABILITY_API_KEY=your_stabilityai_api_key

# Optional Settings
AUTO_UPDATE=false
Expand Down Expand Up @@ -84,6 +85,13 @@ Generative miners support multiple generation approaches. You can choose between
- **Models**: Google Gemini Flash Image Preview, various other models
- **Website**: [OpenRouter.ai](https://openrouter.ai)

### StabilityAI Service
- **API Key**: `STABILITY_API_KEY`
- **Supported**: Image generation
- **Models**: SD 3.5 variant models
- **Website**: [Stability.ai](https://stability.ai/)
- **Pricing**: ~$0.0035/image (SD 3.5 Medium)

### Local Service (Open Source Models)
- **API Key**: None required
- **Supported**: Local model inference with open source models
Expand Down