修改 火山视频参考图问题
This commit is contained in:
@@ -155,7 +155,7 @@ func (c *ChatfireClient) GenerateVideo(imageURL, prompt string, opts ...VideoOpt
|
|||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Text string `json:"text,omitempty"`
|
Text string `json:"text,omitempty"`
|
||||||
URL string `json:"url,omitempty"`
|
URL string `json:"url,omitempty"`
|
||||||
}{Type: "image", URL: imageURL})
|
}{Type: "image_url", URL: imageURL})
|
||||||
}
|
}
|
||||||
|
|
||||||
jsonData, err = json.Marshal(reqBody)
|
jsonData, err = json.Marshal(reqBody)
|
||||||
|
|||||||
Reference in New Issue
Block a user