Skip to content

Add MiniMax image generation tool - #8209

Open
Octopus (octo-patch) wants to merge 1 commit into
microsoft:mainfrom
octo-patch:octo/20260908-text-to-image-tool-recvsf5vu1LoPc
Open

Add MiniMax image generation tool#8209
Octopus (octo-patch) wants to merge 1 commit into
microsoft:mainfrom
octo-patch:octo/20260908-text-to-image-tool-recvsf5vu1LoPc

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: Add a MiniMax image-generation tool for regional endpoints and URL or base64 responses.

This adds a component-serializable image generation tool with validated text-to-image arguments, selectable global and China endpoints, Bearer authentication, and typed response metadata. The client handles both URL and base64 image payloads and surfaces API-level failures.

Tests cover each regional endpoint, both response formats, API errors, argument validation, and component round trips.

Checks:

  • ruff format --check packages/autogen-ext/src/autogen_ext/tools/minimax packages/autogen-ext/tests/tools/minimax
  • ruff check packages/autogen-ext/src/autogen_ext/tools/minimax packages/autogen-ext/tests/tools/minimax
  • pytest -q packages/autogen-ext/tests/tools/minimax/test_image_generation.py

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