Skip to main content

Type Alias: GatewayInferenceInputInputImage

type GatewayInferenceInputInputImage = {
type: "input_image";
image_url?: string | null;
file_id?: string | null;
detail: "high" | "low" | "auto";
};

Defined in: src/models/ai-gateway-inference.ts:2743

Portkey InputImage; strict modeled input with explicit JSON extension maps.

Example​

`GatewayInferenceInputInputImageSchema.parse(value);`

Properties​

type​

type: "input_image";

Defined in: src/models/ai-gateway-inference.ts:2744


image_url?​

optional image_url?: string | null;

Defined in: src/models/ai-gateway-inference.ts:2745


file_id?​

optional file_id?: string | null;

Defined in: src/models/ai-gateway-inference.ts:2746


detail​

detail: "high" | "low" | "auto";

Defined in: src/models/ai-gateway-inference.ts:2747