Skip to main content

Type Alias: GatewayInferenceInputCreateImageEditRequest

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

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

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

Example​

`GatewayInferenceInputCreateImageEditRequestSchema.parse(value);`

Properties​

image​

image: Blob;

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


prompt​

prompt: string;

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


mask?​

optional mask?: Blob;

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


model?​

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

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


n?​

optional n?: number | null;

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


size?​

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

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


response_format?​

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

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


user?​

optional user?: string;

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