Skip to content

Commit 2de7909

Browse files
committed
fix(types): support sizes for gpt-image-1
1 parent f99e7c3 commit 2de7909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/images.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export interface ImageEditParams {
215215
* (landscape), `1024x1536` (portrait), or `auto` (default value) for
216216
* `gpt-image-1`, and one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`.
217217
*/
218-
size?: '256x256' | '512x512' | '1024x1024' | null;
218+
size?: '256x256' | '512x512' | '1024x1024' | '1024x1536' | '1536x1024' | 'auto' | null;
219219

220220
/**
221221
* A unique identifier representing your end-user, which can help OpenAI to monitor

0 commit comments

Comments
 (0)