feat: doubao add first and last image to video

This commit is contained in:
feitianbubu
2026-01-27 17:32:46 +08:00
parent d72cfc8590
commit df465ca8fd

View File

@@ -30,6 +30,7 @@ type ContentItem struct {
Text string `json:"text,omitempty"` // for text type
ImageURL *ImageURL `json:"image_url,omitempty"` // for image_url type
Video *VideoReference `json:"video,omitempty"` // for video (sample) type
Role string `json:"role,omitempty"` // reference_image / first_frame / last_frame
}
type ImageURL struct {