🎬 火宝短剧 - 基于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
修改 火山视频参考图问题
Connordc2e571b4de0
diff --git a/pkg/video/chatfire_client.go b/pkg/video/chatfire_client.goindex 38ae403..d0e17a6 100644--- a/pkg/video/chatfire_client.go+++ b/pkg/video/chatfire_client.go@@ -155,7 +155,7 @@ func (c *ChatfireClient) GenerateVideo(imageURL, prompt string, opts ...VideoOptType string `json:"type"`Text string `json:"text,omitempty"`URL string `json:"url,omitempty"`- }{Type: "image", URL: imageURL})+ }{Type: "image_url", URL: imageURL})}jsonData, err = json.Marshal(reqBody)