Komut#buildwithclaude
0
Text to video
Bir metin isteminden MiniMax-Hailuo-2.3 video oluşturma görevi oluşturun ve görev kimliğini döndürün.
yazan kuscubasiece·8 Eylül 2026
Kaynak: davepoon/claude-code-subagents-collection · MIT
Bir metin isteminden MiniMax-Hailuo-2.3 video oluşturma görevi oluşturun ve görev kimliğini döndürün.
Kaynak: davepoon/claude-code-subagents-collection · MIT
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/text-to-video/raw -o .claude/commands/text-to-video.mdHedef dosya: .claude/commands/text-to-video.md
Submit a text prompt to the MiniMax video-generation endpoint and return the
task_id that identifies the asynchronous job. Follow up with /minimax-video:query-video
to poll status and /minimax-video:download-video to fetch the result.
$ARGUMENTS. Choose the endpoint host by region:
global (default): https://api.minimax.io/v1/video_generationcn: https://api.minimaxi.com/v1/video_generationMINIMAX_API_KEY environment variable.model to MiniMax-Hailuo-2.3. Other accepted models: MiniMax-Hailuo-2.3-Fast,
MiniMax-Hailuo-02, T2V-01-Director, T2V-01.model and prompt are required. Optional fields: prompt_optimizer,
fast_pretreatment, duration, resolution, callback_url.task_id from the response (also check
base_resp.status_code, where 0 means success).# region=global -> https://api.minimax.io ; region=cn -> https://api.minimaxi.com
curl -sS -X POST "https://api.minimax.io/v1/video_generation" \
-H "Authorization: Bearer $MINIMAX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "MiniMax-Hailuo-2.3",
"prompt": "A neon koi swimming through a rainy Tokyo alley at night",
"prompt_optimizer": true,
"fast_pretreatment": false,
"duration": 6,
"resolution": "1080P"
}'
{
"task_id": "176843928495123",
"base_resp": { "status_code": 0, "status_msg": "success" }
}
Pass the returned task_id to /minimax-video:query-video.