Skip to content

Add MiniMax text-to-image support - #9

Open
octo-patch wants to merge 2 commits into
centminmod:masterfrom
octo-patch:octo/20260812-text-to-image-tool-recvrT780jQq7q
Open

Add MiniMax text-to-image support#9
octo-patch wants to merge 2 commits into
centminmod:masterfrom
octo-patch:octo/20260812-text-to-image-tool-recvrT780jQq7q

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: Add direct MiniMax text-to-image generation to the executable image-creator skill.

  • add global and China endpoint selection with Bearer authentication
  • support both image models and the documented text-to-image request controls
  • decode URL and base64 responses with API error handling
  • document setup and usage, with focused provider tests

Checks:

  • PYTHONDONTWRITEBYTECODE=1 uv run python -m unittest discover -s .claude/skills/ai-image-creator/tests -v
  • PYTHONDONTWRITEBYTECODE=1 uv run python .claude/skills/ai-image-creator/scripts/generate-image.py --list-models
  • PYTHONDONTWRITEBYTECODE=1 uv run python -c 'from pathlib import Path; p=Path(".claude/skills/ai-image-creator/scripts/generate-image.py"); compile(p.read_text(), str(p), "exec")'
  • git diff --check

@octo-patch

Copy link
Copy Markdown
Author

I added support for MiniMax subject references via repeatable --subject-reference HTTPS URLs and updated the focused tests and docs. I ran python3 -m unittest discover -s .claude/skills/ai-image-creator/tests -v, the model-list smoke check, the compile check, and git diff --check.

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