Skip to main content

Example Usage

from openrouter.components import Modality

# Open enum: unrecognized values are captured as UnrecognizedStr
value: Modality = "text"

Values

This is an open enum. Unrecognized values will not fail type checks.
  • "text"
  • "image"
  • "audio"