Komut#buildwithclaude
0
Image to video
İlk kare görüntüsünden 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
İlk kare görüntüsünden 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/image-to-video/raw -o .claude/commands/image-to-video.mdHedef dosya: .claude/commands/image-to-video.md
Animate a still image with the MiniMax video-generation endpoint. The image is
supplied as the first_frame_image (a public URL or a data: base64 string) and
becomes the opening frame of the clip. Returns the task_id for polling.
$ARGUMENTS: the first token is the first_frame_image; any remaining
text is an optional prompt describing the motion.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, I2V-01-Director, I2V-01-live, I2V-01.model and first_frame_image are required. Optional fields: prompt,
prompt_optimizer, fast_pretreatment, duration, resolution, callback_url.task_id (check base_resp.status_code == 0).# 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",
"first_frame_image": "https://example.com/first-frame.jpg",
"prompt": "Slow push-in as the character turns toward the camera",
"prompt_optimizer": true,
"duration": 6,
"resolution": "1080P"
}'
{
"task_id": "176843928495987",
"base_resp": { "status_code": 0, "status_msg": "success" }
}
Pass the returned task_id to /minimax-video:query-video.