Can I increase the length of a prompt for DALL-E 3 API?

The maximum length of a prompt while in DALL-E 3 api is 256. Can I increase this number in my code? (i’m using python)

1 Like

prompt / string / Required

A text description of the desired image(s). The maximum length is 1000 characters for dall-e-2 and 4000 characters for dall-e-3.

You can find more in the docs for image endpoint or the new DALLE3 cookbook page

1 Like