Skip to content

Glossary: Vision and Image Generation

Media type

Also written: MIME type, media_type

The name of a file format, such as `image/png`. The API needs it to match the bytes, and `mimetypes.guess_type` works it out from the file extension.

Where the book teaches it

Related terms

Base64Data URL