ImageGenerationInterfaceGenerateImageMessage
HTTP API schema
← HTTP API referenceView source specification ↗
Generates one image from a text prompt
ImageGenerationInterfaceGenerateImageMessage fields
- model
stringRequired Model identifier from the model catalog (query-models). An unknown model is rejected.
- prompt
stringRequired Text describing the image to generate
- aspectRatio
string 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