The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
import { OutputImageGenerationCallItem } from "@openrouter/sdk/models";
let value: OutputImageGenerationCallItem = {
id: "img-abc123",
status: "completed",
type: "image_generation_call",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id | string | :heavy_check_mark: | N/A | |
result | string | :heavy_minus_sign: | N/A | |
status | models.ImageGenerationStatus | :heavy_check_mark: | N/A | completed |
type | models.OutputImageGenerationCallItemType | :heavy_check_mark: | N/A |