vercel.internal.GwImagesFile
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.GwImagesFileOne 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 2199–2300
Fields
type
stringmediaType
string | nulldata
string | nullurl
string | null