Skip to content

ImageGenerationInterfaceGenerateImageMessage

HTTP API schema

← HTTP API reference

Generates one image from a text prompt

ImageGenerationInterfaceGenerateImageMessage fields

modelstringRequired

Model identifier from the model catalog (query-models). An unknown model is rejected.

promptstringRequired

Text describing the image to generate

aspectRatiostring

Aspect ratio as width:height, for example 16:9. Must be one the model lists in the model catalog.

resolutionImageResolution

resolution: Reference ImageResolution

responseFormatBinaryResponseFormat

responseFormat: Reference BinaryResponseFormat

View source specification ↗