minimax-video-gen

minimax-video-gen is a skill for Claude Code from desirecore/market. It costs 100 tokens per session (2,686 once invoked), scanned A, original, MIT.

A guide for generating videos with MiniMax's Hailuo model from text, images, or subject references. Video generation runs as a background task that must be checked until finished.

In plain words
What is it for?
Use it for text-to-video, image-to-video, subject-reference video generation, and retrieving completed videos through the configured service.
Why use it?
It provides the required sequence for submitting a video request, tracking its progress, downloading the result, and making it available for use.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it for text-to-video, image-to-video, subject-reference video generation, and retrieving completed videos through the configured service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desirecore/market/minimax-video-gen
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add desirecore/market --skill minimax-video-gen
Clone the repo
git clone --depth 1 https://github.com/desirecore/market

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for minimax-video-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/desirecore/market/minimax-video-gen/github.svg)](https://agentmods.dev/skills/desirecore/market/minimax-video-gen)
Your own site
<a href="https://agentmods.dev/skills/desirecore/market/minimax-video-gen"><img src="https://agentmods.dev/badge/skills/desirecore/market/minimax-video-gen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for minimax-video-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/desirecore/market/minimax-video-gen"><img src="https://agentmods.dev/badge/skills/desirecore/market/minimax-video-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,686 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.02686
Opus 5 $0.00050 $0.01343
Sonnet 5 $0.00020 $0.00537
Haiku 4.5 $0.00010 $0.00269

Measured 11d ago against content hash 10d6139b8d36, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

minimax-video-gen scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. **Use Bash curl throughout** — do not use the HttpRequest tool or Python
skills/minimax-video-gen/SKILL.md · 265 lines

How it starts

The opening of the file, as written. The whole thing — 265 lines — stays where its author put it; the contents beside it link to each section on GitHub.

minimax-video-gen Skill

Mandatory Rules (violation will cause failure)

  1. Must use HTTPS to access agent-servicehttps://127.0.0.1:${PORT} with -k to skip certificate verification
  2. Use Bash curl throughout — do not use the HttpRequest tool or Python
  3. Polling interval is 10 seconds — use sleep 10 to wait
  4. Must use providerId — do not use provider, or requests will route to the wrong upstream

Full Execution Flow

Prerequisites

  • The user has already configured and enabled a Provider with video_gen service in Resource Manager → Compute and entered the API Key
  • agent-service is running

Core Concept: Four-Step Asynchronous Flow

Video generation uses an asynchronous task model via the NewAPI gateway:

  1. Submit task: POST /video/generations to create a task, receive a task_id
  2. Poll status: GET /videos/{task_id} until status is "completed"
  3. Download & upload: download from data.metadata.url, upload to media-store
  4. Display: use dc-media:// protocol to show the video

Provider Selection (Important)

Use providerId (not provider) to target the correct gateway. When the provider is a NewAPI gateway (e.g. desirecore-cloud), use providerId. Do not use provider: "minimax" — this would route to the MiniMax native host, which does not support the NewAPI /video/generations path.

{
  "providerId": "desirecore-cloud",
  "serviceType": "video_gen",
  "endpoint": "/video/generations",
  ...
}

Model Selection and Fallback Strategy

Model Supported Modes Characteristics Use Case
MiniMax-Hailuo-2.3 Text-to-video + image-to-video Highest quality, default first choice Default when the user doesn't specify
MiniMax-Hailuo-2.3-fast Image-to-video only Fast, 50% lower cost Fallback when quota is insufficient in image-to-video scenarios

Fallback rules (mandatory):

  1. Use MiniMax-Hailuo-2.3 by default
  2. When text-to-video (T2V) quota is insufficient: MiniMax-Hailuo-2.3-fast does not support text-to-video and cannot be used as a fallback. Inform the user directly that the quota is insufficient and suggest waiting for the quota to reset or switching to another video generation service (such as Kling)
  3. When image-to-video (I2V) quota is insufficient: fall back to MiniMax-Hailuo-2.3-fast and inform the user "switched to the fast model for generation"
  4. If the user is doing image-to-video and explicitly requests fast generation, use MiniMax-Hailuo-2.3-fast directly

Read the full file on GitHub · 265 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 265 lines · 100 tokens per session scan A 10d6139b8d36

Subscribe to this mod's changes

minimax-video-gen is a skill published in the GitHub repository desirecore/market (2 stars, last pushed yesterday), licensed MIT. It adds 100 tokens to every session and 2,686 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

minimax-video

A video-generation tool for creating short MP4 videos from text, images, video frames, or a subject reference. It uses the MiniMax Hailuo model and saves generated videos locally.

silingyuan0/minimax-skills · 78 tokens

minimax-cli

Nested swiss-knife reference for the MiniMax mmx CLI and the canonical MiniMax CLI procedure shipped with the TUI: install mmx-cli, discover the correct TUI-managed MiniMax preset/key slot without leaking secrets, match mainland vs international regions, and route image/video/music/TTS generation or one-shot shell…

Lingtai-AI/lingtai · 72 tokens

videoagent-video-studio

Generate short AI videos from text or images — text-to-video, image-to-video, and reference-based generation — with zero API key setup. Use when the user wants to create a video clip, animate an image, or generate video from a description.

pexoai/pexo-skills · 56 tokens

veo-3.2-prompter

Expert prompt engineering for Google Veo 3.2 (Artemis engine). Use when the user wants to generate a video with Veo 3.2, needs help crafting cinematic prompts, or mentions Veo, Google video generation, or Artemis engine.

pexoai/pexo-skills · 63 tokens

seedance-2.0-prompter

Expert prompt engineering for Seedance 2.0. Use when the user wants to generate a video with multimodal assets (images, videos, audio) and needs the best possible prompt.

pexoai/pexo-skills · 48 tokens

wegent-video-generation

Use this skill when the user asks to generate or create a video. Supports text, image, video, and audio reference materials according to the selected video model.

wecode-ai/Wegent · 32 tokens