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

This commit is contained in:
feitianbubu
2025-10-23 19:54:44 +08:00
parent b99099fcbe
commit fcf0f952b1

View File

@@ -28,6 +28,7 @@ type ImageRequest struct {
PartialImages json.RawMessage `json:"partial_images,omitempty"` PartialImages json.RawMessage `json:"partial_images,omitempty"`
// Stream bool `json:"stream,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:"-"` Extra map[string]json.RawMessage `json:"-"`
} }