From a4c46e999e44d579ef1a5910959127c1485be79d Mon Sep 17 00:00:00 2001 From: feitianbubu Date: Thu, 23 Oct 2025 19:54:44 +0800 Subject: [PATCH] feat: doubao-seedream-4-0-250828 image to image --- dto/openai_image.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dto/openai_image.go b/dto/openai_image.go index 9750c809..bf35b0b1 100644 --- a/dto/openai_image.go +++ b/dto/openai_image.go @@ -27,7 +27,8 @@ type ImageRequest struct { OutputCompression json.RawMessage `json:"output_compression,omitempty"` PartialImages json.RawMessage `json:"partial_images,omitempty"` // Stream bool `json:"stream,omitempty"` - Watermark *bool `json:"watermark,omitempty"` + Watermark *bool `json:"watermark,omitempty"` + Image json.RawMessage `json:"image,omitempty"` // 用匿名参数接收额外参数 Extra map[string]json.RawMessage `json:"-"` }