feat(P0-A): 整合第一版并冻结最终发布 #1

Open
tuyixuan wants to merge 115 commits from codex/wp7-07 into codex/wp0-09
Showing only changes of commit 66295287ce - Show all commits
+4 -1
View File
@@ -73,7 +73,10 @@ export function buildProviderRequest({ modelConfig, prompt, ratio, reference })
return {
body: {
contents: [{ parts, role: "user" }],
generationConfig: { imageConfig: { aspectRatio: ratio }, responseModalities: ["TEXT", "IMAGE"] },
generationConfig: {
responseFormat: { image: { aspectRatio: ratio, imageSize: "1K" } },
responseModalities: ["IMAGE"],
},
},
headers,
method: "POST",