From e05c8195e1c0a8a0f3bb53146f5a20c8a1c84357 Mon Sep 17 00:00:00 2001 From: Yong Su Date: Thu, 24 Apr 2025 04:07:53 +0800 Subject: [PATCH] fix(types): support sizes for gpt-image-1 --- src/resources/images.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/images.ts b/src/resources/images.ts index de1882d30..232ce9768 100644 --- a/src/resources/images.ts +++ b/src/resources/images.ts @@ -215,7 +215,7 @@ export interface ImageEditParams { * (landscape), `1024x1536` (portrait), or `auto` (default value) for * `gpt-image-1`, and one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`. */ - size?: '256x256' | '512x512' | '1024x1024' | null; + size?: '256x256' | '512x512' | '1024x1024' | '1024x1536' | '1536x1024' | 'auto' | null; /** * A unique identifier representing your end-user, which can help OpenAI to monitor