3 Commits

Author SHA1 Message Date
smallmj
9643620f1a fix: i2i mode jq command to handle base64 with embedded newlines
- Use 'jq -Rs split' instead of 'jq -R' to properly handle base64 data URIs
  that may contain embedded newlines in the data
- Fix double-nesting of subject_reference array causing API error 2013
- Also fix: base64 -w 0 to avoid line wrapping in base64 output
- Write payload to temp file for curl to avoid shell arg length limits
- Add full response output on API error for easier debugging

Fixes #53
2026-04-01 10:27:53 +08:00
Claude
b4e6c16f4b fix(image): use temp files for jq to avoid Windows command-line length limit
When running in i2i (image-to-image) mode, the script passes a
base64-encoded image as a jq argument on the command line. On Windows,
cmd.exe limits arguments to ~32 KB, causing 'Argument list too long' errors
when the reference image is large.

Fix: write intermediate JSON fragments to temp files and pass them to jq
via --from-file instead of on the command line. This works reliably on
Windows and is equally valid on Linux/macOS.

Fixes the i2i (--mode i2i --ref-image) workflow on Windows.
2026-03-27 01:11:07 +08:00
yuanhe
bb821d62d3 feat: add minimax-multimodal-toolkit skill
Add community skill for MiniMax multimodal content generation,
covering TTS, voice cloning, music, video (t2v/i2v/sef/ref/long-form),
image (t2i/i2i), and FFmpeg-based media processing tools.

Made-with: Cursor
2026-03-25 10:37:56 +08:00