diff --git a/.env.gen_miner.template b/.env.gen_miner.template index 34538bab..cc14da17 100644 --- a/.env.gen_miner.template +++ b/.env.gen_miner.template @@ -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= @@ -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 \ No newline at end of file diff --git a/docs/Generative-Mining.md b/docs/Generative-Mining.md index dcf3c6b4..1a850e2f 100644 --- a/docs/Generative-Mining.md +++ b/docs/Generative-Mining.md @@ -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 @@ -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