vercel.internal.GwImagesRequest
The request body. `n` defaults to 1 (sys_llm's `entry("n").or_insert(1)`); everything else the gateway understands — `size`, `aspectRatio`, `seed`, `providerOptions` — is Vercel AI SDK image-model shape, not OpenAI shape, and rides through `request_body`. `size` / `aspectRatio` / `seed` are the AI SDK image-model call options; they are sent only when the client sets them, so the gateway's own defaults apply otherwise. sys_llm never had first-class fields for them — they went through the extra-body map, which still works and still wins (the merge is last).
Signature
class vercel.internal.GwImagesRequestThe request body. n defaults to 1 (sys_llm's entry("n").or_insert(1));
everything else the gateway understands — size, aspectRatio, seed,
providerOptions — is Vercel AI SDK image-model shape, not OpenAI shape, and
rides through request_body.
size / aspectRatio / seed are the AI SDK image-model call options; they
are sent only when the client sets them, so the gateway's own defaults apply
otherwise. sys_llm never had first-class fields for them — they went through
the extra-body map, which still works and still wins (the merge is last).
Source:<builtin>/vercel/ns_internal/images.bamlbytes 1596–1743
Fields
prompt
stringn
int | nullsize
string | nullaspectRatio
string | nullseed
int | nullfiles
vercel.internal.GwImagesFile[] | null