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 图生图请求
|
// ImageGenerationRequest MiniMax 图生图请求
|
||||||
type ImageGenerationRequest struct {
|
type ImageGenerationRequest struct {
|
||||||
Model string `json:"model" binding:"required"`
|
Model string `json:"model" binding:"required"`
|
||||||
Prompt string `json:"prompt" binding:"required"`
|
Prompt string `json:"prompt" binding:"required"`
|
||||||
AspectRatio string `json:"aspect_ratio"`
|
AspectRatio string `json:"aspect_ratio"`
|
||||||
SubjectReference []SubjectReference `json:"subject_reference"`
|
SubjectReference []SubjectReference `json:"subject_reference"` // MiniMax API 为数组
|
||||||
N int `json:"n"` // 1-4
|
N int `json:"n"` // 1-4
|
||||||
}
|
}
|
||||||
|
|
||||||
type SubjectReference struct {
|
type SubjectReference struct {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user