fix:修改种子

This commit is contained in:
cjy 2026-02-09 17:41:33 +08:00
parent fa028e8ad2
commit db77b32a5a

View File

@ -23,7 +23,7 @@ func GenerateTextImage(prompt string, size string) (resp *modelQwen.QwenImageRes
PromptExtend: true,
Size: size,
N: 4,
Seed: time.Now().UnixNano(),
Seed: time.Now().Unix(),
},
}
jsonData, err := json.Marshal(reqBody)