feat: add MiniMax image generation provider support

Add MiniMaxImageGenerationClient with support for:
- Text-to-image generation via MiniMax image-01 model
- Reference image support (subject_reference)
- Aspect ratio selection
- Proper error handling aligned with existing providers

Wire up MiniMax provider config in ImageGenerationTool, gateway,
serve, and Nanobot class.
This commit is contained in:
yaotutu
2026-05-19 15:35:19 +08:00
committed by Xubin Ren
parent 7411afa0e7
commit 4e0d872588
4 changed files with 144 additions and 1 deletions
+1
View File
@@ -66,6 +66,7 @@ class Nanobot:
image_generation_provider_configs={
"openrouter": config.providers.openrouter,
"aihubmix": config.providers.aihubmix,
"minimax": config.providers.minimax,
},
)
return cls(loop)