Skip to content

Your lightweight open-source personal agent.

docs(image-generation): collapse redundant Quick Setup examples

chengyongru59548b0a04e8
diff --git a/docs/image-generation.md b/docs/image-generation.md
index dc6f270d2..6ca049290 100644
--- a/docs/image-generation.md
+++ b/docs/image-generation.md
@@ -6,8 +6,6 @@ The feature is disabled by default. Enable it in `~/.nanobot/config.json`, confi
## Quick Setup
-OpenRouter example:
-
```json
{
"providers": {
@@ -19,76 +17,13 @@ OpenRouter example:
"imageGeneration": {
"enabled": true,
"provider": "openrouter",
- "model": "openai/gpt-5.4-image-2",
- "defaultAspectRatio": "1:1",
- "defaultImageSize": "1K"
- }
- }
-}
-```
-
-AIHubMix example:
-
-```json
-{
- "providers": {
- "aihubmix": {
- "apiKey": "${AIHUBMIX_API_KEY}"
- }
- },
- "tools": {
- "imageGeneration": {
- "enabled": true,
- "provider": "aihubmix",
- "model": "gpt-image-2-free",
- "defaultAspectRatio": "1:1",
- "defaultImageSize": "1K"
- }
- }
-}
-```
-
-MiniMax example:
-
-```json
-{
- "providers": {
- "minimax": {
- "apiKey": "${MINIMAX_API_KEY}"
- }
- },
- "tools": {
- "imageGeneration": {
- "enabled": true,
- "provider": "minimax",
- "model": "image-01",
- "defaultAspectRatio": "1:1"
- }
- }
-}
-```
-
-Gemini example (Imagen 4):
-
-```json
-{
- "providers": {
- "gemini": {
- "apiKey": "${GEMINI_API_KEY}"
- }
- },
- "tools": {
- "imageGeneration": {
- "enabled": true,
- "provider": "gemini",
- "model": "imagen-4.0-generate-001",
- "defaultAspectRatio": "1:1"
+ "model": "openai/gpt-5.4-image-2"
}
}
}
```
-For Gemini Flash (which supports reference-image edits) see the [Gemini](#gemini) section below.
+See [Provider Notes](#provider-notes) for AIHubMix, MiniMax, and Gemini configuration examples.
> [!TIP]
> Prefer environment variables for API keys. nanobot resolves `${VAR_NAME}` values from the environment at startup.