vercel.internal.GwImagesFile$stream
One `files[]` element — the AI SDK's `ImageModelV4File`, which is a union of `{type:"file", mediaType, data}` (base64 bytes) and `{type:"url", url}`. Modeled as one class whose null fields are dropped before serialization, so each element reaches the wire as exactly one of those two shapes.
Signature
class vercel.internal.GwImagesFile$streamOne files[] element — the AI SDK's ImageModelV4File, which is a union of
{type:"file", mediaType, data} (base64 bytes) and {type:"url", url}.
Modeled as one class whose null fields are dropped before serialization, so
each element reaches the wire as exactly one of those two shapes.
(mask, the other editing input, has no first-class field: it is one image
and rides through request_body as {"mask": {...}}.)
Source:<builtin>/vercel/ns_internal/images.bamlbytes 0–0
Fields
type
string | nullmediaType
string | nulldata
string | nullurl
string | null