Example Usage
import (
"github.com/OpenRouterTeam/go-sdk/models/components"
)
value := components.ImagePricingEntryUnitRequest
// Open enum: custom values can be created with a direct type cast
custom := components.ImagePricingEntryUnit("custom_value")
Values
| Name | Value |
|---|---|
ImagePricingEntryUnitRequest | request |
ImagePricingEntryUnitImage | image |
ImagePricingEntryUnitMegapixel | megapixel |
ImagePricingEntryUnitToken | token |