修改 火山视频参考图问题

This commit is contained in:
Connor
2026-01-14 10:03:50 +08:00
parent f2e7f63a80
commit dc2e571b4d

View File

@@ -155,7 +155,7 @@ func (c *ChatfireClient) GenerateVideo(imageURL, prompt string, opts ...VideoOpt
Type 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)