Expand description
Image model interface.
Structs§
- Aspect
Ratio - Aspect ratio, serialized as
WIDTH:HEIGHT. - Generated
Image - A generated image.
- Image
File - An input image: inline bytes or a URL.
- Image
Options - Options for an image generation call.
- Image
Result - Result of an image generation call.
- Image
Size - Image size in pixels, serialized as
WIDTHxHEIGHT. - Image
Usage - Token usage of an image call.
- Invalid
Dimension - Error returned when a size or aspect ratio string is malformed.
Traits§
- Image
Model - A model that generates images from a prompt.