1
This commit is contained in:
@@ -43,6 +43,7 @@ Default body:
|
||||
"model": "gpt-image-2",
|
||||
"prompt": "<prompt>",
|
||||
"n": 1,
|
||||
"official_fallback": true,
|
||||
"size": "1:1"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -237,6 +237,7 @@ async function generateOne(env, template, outDir) {
|
||||
model: 'gpt-image-2',
|
||||
prompt: buildPrompt(template),
|
||||
n: 1,
|
||||
official_fallback: true,
|
||||
size: '1:1',
|
||||
};
|
||||
const payload = await fetchJson(
|
||||
@@ -304,6 +305,7 @@ if (dryRun) {
|
||||
model: 'gpt-image-2',
|
||||
prompt: buildPrompt(template),
|
||||
n: 1,
|
||||
official_fallback: true,
|
||||
size: '1:1',
|
||||
},
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user