Skip to content

Add minimax-video plugin for MiniMax-Hailuo video generation - #255

Merged
davepoon merged 1 commit into
davepoon:mainfrom
octo-patch:octo/20260729-text-to-video-tool-recvqagC7Dnl5D
Jul 30, 2026
Merged

Add minimax-video plugin for MiniMax-Hailuo video generation#255
davepoon merged 1 commit into
davepoon:mainfrom
octo-patch:octo/20260729-text-to-video-tool-recvqagC7Dnl5D

Conversation

@octo-patch

Copy link
Copy Markdown
Contributor

Reason: The marketplace had no MiniMax-Hailuo video-generation plugin, so this adds text-to-video and image-to-video with create, query, and download across the global and China endpoints.

Summary

Adds a new minimax-video plugin that lets Claude Code generate videos with
MiniMax-Hailuo-2.3 and download the results. It wraps the asynchronous video
API — submit a task, poll status, retrieve the file — as four slash commands,
each usable against the global (api.minimax.io) or China (api.minimaxi.com) host.

Component Details

  • Name: minimax-video
  • Type: Plugin (slash commands)
  • Commands:
    • /minimax-video:text-to-videoPOST /v1/video_generation from a text prompt
    • /minimax-video:image-to-videoPOST /v1/video_generation from a first-frame image
    • /minimax-video:query-videoGET /v1/query/video_generation to poll a task_id
    • /minimax-video:download-videoGET /v1/files/retrieve to resolve a file_id
  • Default model MiniMax-Hailuo-2.3; also documents MiniMax-Hailuo-2.3-Fast,
    MiniMax-Hailuo-02, T2V-01-Director, T2V-01, I2V-01-Director, I2V-01-live, I2V-01.
  • Auth via Authorization: Bearer $MINIMAX_API_KEY; success is base_resp.status_code == 0.

Files

  • plugins/minimax-video/.claude-plugin/plugin.json
  • plugins/minimax-video/commands/{text-to-video,image-to-video,query-video,download-video}.md
  • plugins/minimax-video/README.md

Testing

  • npm run validate — all validations passed
  • npm run test:unit — JS pagination tests pass (the TypeScript test needs a newer Node's --experimental-strip-types and was not run in this environment)
  • Command frontmatter validated against scripts/command-schema.json

@davepoon davepoon left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this contribution — looks solid.

Reviewed for security, prompt injection, and fit with the repo:

  • Command frontmatter and integration-sync category validate cleanly
  • Auth uses $MINIMAX_API_KEY (no secrets in-repo)
  • Endpoints/models match the MiniMax video-generation API flow (create → query → download)
  • No remote instruction loading or prompt-injection patterns
  • CI is green (schema validation + integration tests)

Merging.

@davepoon
davepoon merged commit d461d82 into davepoon:main Jul 30, 2026
4 checks passed
@davepoon

Copy link
Copy Markdown
Owner

Merged — thanks for the MiniMax video plugin. Welcome to the collection.

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.

2 participants