Skip to content

Need to configure image detail setting #2986

@moritzwilksch

Description

@moritzwilksch

Description

The detail attribute for images in the OpenAI API should be configurable. Some models (e.g. grok-4-fast through OpenRouter) need to be forced to 'detail': 'high' or will otherwise return unusable results due to downscaling with 'detail': 'auto' on the API provider's side.

detail currently defaults to 'auto' everywhere, either explicitly or implicitly:

responses.ResponseInputImageParam(image_url=item.url, type='input_image', detail='auto')

image_url = ImageURL(url=item.url)

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions