🎬 火宝短剧 - 基于AI的一站式短剧生成平台 《一句话生成完整短剧,从剧本到成片全自动化》 Huobao Drama - An AI-Powered End-to-End Short Drama Generator "One Sentence to Complete Drama: Fully Automated from Script to Final Video"
TypeScript
fix: Fix the issue MiniMax videos fail to download
MouT4d98461feeb9
diff --git a/pkg/video/minimax_client.go b/pkg/video/minimax_client.goindex c543427..882b910 100644--- a/pkg/video/minimax_client.go+++ b/pkg/video/minimax_client.go@@ -87,12 +87,12 @@ type MinimaxQueryResponse struct {// MinimaxFileResponse 获取文件信息的响应type MinimaxFileResponse struct {File struct {- FileID string `json:"file_id"`- Bytes int `json:"bytes"`- CreatedAt int64 `json:"created_at"`- Filename string `json:"filename"`- Purpose string `json:"purpose"`- DownloadURL string `json:"download_url"`+ FileID interface{} `json:"file_id"` // 可能是 string 或 number+ Bytes int `json:"bytes"`+ CreatedAt int64 `json:"created_at"`+ Filename string `json:"filename"`+ Purpose string `json:"purpose"`+ DownloadURL string `json:"download_url"`} `json:"file"`BaseResp struct {StatusCode int `json:"status_code"`