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.
Glossary: Vision and Image Generation
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.