mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
43 lines
675 B
Plaintext
43 lines
675 B
Plaintext
---
|
|
title: "ImageGenerationRequestAspectRatio"
|
|
---
|
|
|
|
Normalized aspect ratio of the generated image. Providers clamp to their supported subset.
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.components import ImageGenerationRequestAspectRatio
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: ImageGenerationRequestAspectRatio = "1:1"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"1:1"`
|
|
- `"1:2"`
|
|
- `"1:4"`
|
|
- `"1:8"`
|
|
- `"2:1"`
|
|
- `"2:3"`
|
|
- `"3:2"`
|
|
- `"3:4"`
|
|
- `"4:1"`
|
|
- `"4:3"`
|
|
- `"4:5"`
|
|
- `"5:4"`
|
|
- `"8:1"`
|
|
- `"9:16"`
|
|
- `"16:9"`
|
|
- `"9:19.5"`
|
|
- `"19.5:9"`
|
|
- `"9:20"`
|
|
- `"20:9"`
|
|
- `"9:21"`
|
|
- `"21:9"`
|
|
- `"auto"`
|