Skip to main content

Type Alias: GatewayInferenceInputCreateImageVariationRequest

type GatewayInferenceInputCreateImageVariationRequest = {
image: Blob;
model?: string | "dall-e-2" | null;
n?: number | null;
response_format?: "url" | "b64_json" | null;
size?: "256x256" | "512x512" | "1024x1024" | null;
user?: string;
};

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

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

Example​

`GatewayInferenceInputCreateImageVariationRequestSchema.parse(value);`

Properties​

image​

image: Blob;

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


model?​

optional model?: string | "dall-e-2" | null;

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


n?​

optional n?: number | null;

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


response_format?​

optional response_format?: "url" | "b64_json" | null;

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


size?​

optional size?: "256x256" | "512x512" | "1024x1024" | null;

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


user?​

optional user?: string;

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