Optionalbase64Base64-encoded image data. Convenience representation of the data field. If data is populated, base64 will also be populated with the encoded value.
OptionalcontentOptional content filter results from the provider
OptionaldataRaw binary image data. Either data or url will be populated, not both.
The image format/encoding
OptionalheightHeight of the generated image in pixels
OptionalindexProvider-specific index when multiple images are generated
OptionalurlURL to the generated image. Some providers return URLs instead of direct data. Either url or data will be populated, not both. URLs may be temporary and expire after a period of time.
OptionalwidthWidth of the generated image in pixels
Represents a single generated image from an image generation request. Supports multiple formats for maximum flexibility with different providers.