Function: videoImageToUrl()
videoImageToUrl(
image):string
Defined in: packages/agentos/src/io/media/video/videoInputs.ts:124
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.
Parameters
image
The image as bytes or a URL.
Returns
string
A URL the provider can send in a JSON body.