Example Usage
import (
"github.com/OpenRouterTeam/go-sdk/models/components"
)
value := components.ImageGenerationRequestAspectRatioEleven
// Open enum: custom values can be created with a direct type cast
custom := components.ImageGenerationRequestAspectRatio("custom_value")
Values
| Name | Value |
|---|---|
ImageGenerationRequestAspectRatioEleven | 1:1 |
ImageGenerationRequestAspectRatioTwelve | 1:2 |
ImageGenerationRequestAspectRatioFourteen | 1:4 |
ImageGenerationRequestAspectRatioEighteen | 1:8 |
ImageGenerationRequestAspectRatioTwentyOne | 2:1 |
ImageGenerationRequestAspectRatioTwentyThree | 2:3 |
ImageGenerationRequestAspectRatioThirtyTwo | 3:2 |
ImageGenerationRequestAspectRatioThirtyFour | 3:4 |
ImageGenerationRequestAspectRatioFortyOne | 4:1 |
ImageGenerationRequestAspectRatioFortyThree | 4:3 |
ImageGenerationRequestAspectRatioFortyFive | 4:5 |
ImageGenerationRequestAspectRatioFiftyFour | 5:4 |
ImageGenerationRequestAspectRatioEightyOne | 8:1 |
ImageGenerationRequestAspectRatioNineHundredAndSixteen | 9:16 |
ImageGenerationRequestAspectRatioOneHundredAndSixtyNine | 16:9 |
ImageGenerationRequestAspectRatioNineHundredAndNineteenDot5 | 9:19.5 |
ImageGenerationRequestAspectRatioNineteenDot59 | 19.5:9 |
ImageGenerationRequestAspectRatioNineHundredAndTwenty | 9:20 |
ImageGenerationRequestAspectRatioTwoHundredAndNine | 20:9 |
ImageGenerationRequestAspectRatioNineHundredAndTwentyOne | 9:21 |
ImageGenerationRequestAspectRatioTwoHundredAndNineteen | 21:9 |
ImageGenerationRequestAspectRatioAuto | auto |