OutputItemImageGenerationCall - TypeScript SDK

OutputItemImageGenerationCall type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { OutputItemImageGenerationCall } from "@openrouter/sdk/models";
2
3let value: OutputItemImageGenerationCall = {
4 id: "imagegen-abc123",
5 result:
6 "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==",
7 status: "completed",
8 type: "image_generation_call",
9};

Fields

FieldTypeRequiredDescriptionExample
idstring✔️N/A
resultstringN/A
statusmodels.ImageGenerationStatus✔️N/Acompleted
typemodels.OutputItemImageGenerationCallType✔️N/A