ImageGenerationRequestAspectRatio - Go SDK

ImageGenerationRequestAspectRatio type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Normalized aspect ratio of the generated image. Providers clamp to their supported subset.

Example Usage

1import (
2 "github.com/OpenRouterTeam/go-sdk/models/components"
3)
4
5value := components.ImageGenerationRequestAspectRatioEleven
6
7// Open enum: custom values can be created with a direct type cast
8custom := components.ImageGenerationRequestAspectRatio("custom_value")

Values

NameValue
ImageGenerationRequestAspectRatioEleven1:1
ImageGenerationRequestAspectRatioTwelve1:2
ImageGenerationRequestAspectRatioFourteen1:4
ImageGenerationRequestAspectRatioEighteen1:8
ImageGenerationRequestAspectRatioTwentyOne2:1
ImageGenerationRequestAspectRatioTwentyThree2:3
ImageGenerationRequestAspectRatioThirtyTwo3:2
ImageGenerationRequestAspectRatioThirtyFour3:4
ImageGenerationRequestAspectRatioFortyOne4:1
ImageGenerationRequestAspectRatioFortyThree4:3
ImageGenerationRequestAspectRatioFortyFive4:5
ImageGenerationRequestAspectRatioFiftyFour5:4
ImageGenerationRequestAspectRatioEightyOne8:1
ImageGenerationRequestAspectRatioNineHundredAndSixteen9:16
ImageGenerationRequestAspectRatioOneHundredAndSixtyNine16:9
ImageGenerationRequestAspectRatioNineHundredAndNineteenDot59:19.5
ImageGenerationRequestAspectRatioNineteenDot5919.5:9
ImageGenerationRequestAspectRatioNineHundredAndTwenty9:20
ImageGenerationRequestAspectRatioTwoHundredAndNine20:9
ImageGenerationRequestAspectRatioNineHundredAndTwentyOne9:21
ImageGenerationRequestAspectRatioTwoHundredAndNineteen21:9
ImageGenerationRequestAspectRatioAutoauto