OptionalerrorStructured error information for better error handling and retry logic
Array of generated images. May contain multiple images if n > 1 was requested.
OptionalmetadataProvider-specific metadata
OptionalrevisedSome providers (like OpenAI DALL-E 3) may revise the prompt for safety or quality. The revised prompt used for generation is returned here.
OptionalusageUsage information if provided by the model
Result of an image generation request