The form of an image for a provider that takes image URLs: a string is returned as given, and a Buffer becomes a data: URL with the MIME type read from its first bytes.
Buffer
data:
The image as bytes or a URL.
A URL the provider can send in a JSON body.
The form of an image for a provider that takes image URLs: a string is returned as given, and a
Bufferbecomes adata:URL with the MIME type read from its first bytes.