docs: 标记 Task 6 已完成(使用os.Getenv替代)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
965c37f2ff
commit
575233b51f
@ -48,11 +48,11 @@ package dto
|
||||
|
||||
// ImageGenerationRequest MiniMax 图生图请求
|
||||
type ImageGenerationRequest struct {
|
||||
Model string `json:"model" binding:"required"`
|
||||
Prompt string `json:"prompt" binding:"required"`
|
||||
AspectRatio string `json:"aspect_ratio"`
|
||||
SubjectReference []SubjectReference `json:"subject_reference"`
|
||||
N int `json:"n"` // 1-4
|
||||
Model string `json:"model" binding:"required"`
|
||||
Prompt string `json:"prompt" binding:"required"`
|
||||
AspectRatio string `json:"aspect_ratio"`
|
||||
SubjectReference []SubjectReference `json:"subject_reference"` // MiniMax API 为数组
|
||||
N int `json:"n"` // 1-4
|
||||
}
|
||||
|
||||
type SubjectReference struct {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user