Skip to content

feat(minimax): add image generation support - #2240

Open
octo-patch wants to merge 1 commit into
0xPlaygrounds:mainfrom
octo-patch:octo/20260801-text-to-image-tool-recvqK5q9H3T3g
Open

feat(minimax): add image generation support#2240
octo-patch wants to merge 1 commit into
0xPlaygrounds:mainfrom
octo-patch:octo/20260801-text-to-image-tool-recvqK5q9H3T3g

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: MiniMax image generation was unavailable even though the provider exposes dedicated image generation models and endpoints.

Changes:

  • enable image generation for the MiniMax client and export the image model constants
  • map supported request fields to the dedicated image generation endpoint for global and China clients
  • handle base64 and URL responses without forwarding authorization to image download URLs
  • preserve HTTP failures and provider status errors with their original response bodies

Checks:

  • cargo fmt --all -- --check
  • cargo test -p rig-core --features image providers::minimax
  • cargo clippy -p rig-core --features image --all-targets -- -D warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant