Komut#buildwithclaude
0
Download video
Tamamlanmış bir MiniMax videosunun indirme URL'sini dosya kimliğine göre alın ve dosyayı kaydedin.
yazan kuscubasiece·8 Eylül 2026
Kaynak: davepoon/claude-code-subagents-collection · MIT
Tamamlanmış bir MiniMax videosunun indirme URL'sini dosya kimliğine göre alın ve dosyayı kaydedin.
Kaynak: davepoon/claude-code-subagents-collection · MIT
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/download-video/raw -o .claude/commands/download-video.mdHedef dosya: .claude/commands/download-video.md
Resolve a finished video's file_id (returned by /minimax-video:query-video) into
a download URL and save the file locally.
file_id from $ARGUMENTS (required); an optional second token is the
output path (default ./minimax-video.mp4).global (default): https://api.minimax.io/v1/files/retrievecn: https://api.minimaxi.com/v1/files/retrieveMINIMAX_API_KEY environment variable.file_id query parameter, read the download URL
from file.download_url, then fetch that URL to the output path.base_resp.status_code == 0 before downloading.# region=global -> https://api.minimax.io ; region=cn -> https://api.minimaxi.com
curl -sS -G "https://api.minimax.io/v1/files/retrieve" \
-H "Authorization: Bearer $MINIMAX_API_KEY" \
--data-urlencode "file_id=205258526306433"
# then download the resolved URL
curl -sS -L -o "./minimax-video.mp4" "<file.download_url from the response above>"
{
"file": {
"file_id": "205258526306433",
"download_url": "https://cdn.minimax.io/.../output.mp4"
},
"base_resp": { "status_code": 0, "status_msg": "success" }
}