From df465ca8fd4e7fb2efce1ea2974d603d41e80990 Mon Sep 17 00:00:00 2001 From: feitianbubu Date: Tue, 27 Jan 2026 17:32:46 +0800 Subject: [PATCH] feat: doubao add first and last image to video --- relay/channel/task/doubao/adaptor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/relay/channel/task/doubao/adaptor.go b/relay/channel/task/doubao/adaptor.go index 6051c7e8..6ebecb3c 100644 --- a/relay/channel/task/doubao/adaptor.go +++ b/relay/channel/task/doubao/adaptor.go @@ -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 {