#PSA: "detail" parameter for gpt-4-vision API

1 messages · Page 1 of 1 (latest)

halcyon plinth
#

In the API documentation it is not detailed exactly how to pass the "detail" parameter. You pass it as follows:

{
    "type": "image_url", 
    "image_url": {
        "url": "the image url",
        "detail": "high"
    }
}
halcyon plinth
#

bumping this

weary path
#

ty

wheat solstice
#

What's the default?

trim sphinx
#

auto

eternal leaf
#

i think its at high as default? I ran it with some HD images and i could tell it was set to high because of the token usage

humble nest
#

was so confused on how to pass the detail parameter

halcyon plinth
halcyon plinth
subtle bolt
#

What exactly is the difference in functionality? In other words - which use-cases need 'high' resolution and which use-cases need 'low'?

humble nest
#

high resolution theoretically should always be better than low resolution since you're giving more data for gpt to work with

#

but low resolution costs like 1/4th high resolution depending on image size

subtle bolt
humble nest
#

i mean sure