mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
24 lines
488 B
Plaintext
24 lines
488 B
Plaintext
---
|
|
title: "ImageGenerationRequestBackground"
|
|
---
|
|
|
|
Background treatment. `transparent` requires an output_format that supports alpha (png or webp).
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.components import ImageGenerationRequestBackground
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: ImageGenerationRequestBackground = "auto"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"auto"`
|
|
- `"transparent"`
|
|
- `"opaque"`
|