I saw Dall-E-3
model support these sizes: [‘256x256’, ‘512x512’, ‘1024x1024’, ‘1024x1792’, ‘1792x1024’] for image. If I hit with 2048x1080
pixel of size it gives an error in response. But will Open AI cost any changes for this hit? I am using this function openai.images.generate
.
Welcome to the site.
Do you have a link to where it says DALLE3 supports those sizes?
Thanks!
@PaulBellow No. If I hit with random sizes then I got a error message from the OpenAI. Where I found those sizes. I want to know will this charge per hit? though error comes.
You generally only get charged per generation. It might impact your rate limits though.
size
Defaults to 1024x1024
The size of the generated images.
-
Must be one of
256x256
,512x512
, or1024x1024
fordall-e-2
. -
Must be one of
1024x1024
,1792x1024
, or1024x1792
fordall-e-3
models.
Invalid input doesn’t get to an AI model.
Oh, okay. You said you saw docs that say it supports those sizes, which I assumed was not correct.
There’s a great image endpoint guide that shows what you can do instead of randomly sending sizes then telling us you read somewhere that would work.
I have question if set the n to 4 while making api call , will i get charges for 4 images or 1
welcome to the community!
You’ll be charged for 4. there’s no free lunch (only half off, for batching)