Browse Source

feat: doubao-seedream-4-0-250828 image to image

feitianbubu 3 months ago
parent
commit
fcf0f952b1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      dto/openai_image.go

+ 2 - 1
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:"-"`
 }