From fcf0f952b113fc293c768fc6a7952487cd39e2de 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 9750c8093..bf35b0b12 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:"-"` }