> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ImageEndpoint

An endpoint that serves a given image model.

## Example Usage

```typescript theme={null}
import { ImageEndpoint } from "@openrouter/sdk/models";

let value: ImageEndpoint = {
  allowedPassthroughParameters: [],
  pricing: [
    {
      billable: "output_image",
      costUsd: 0.05,
      unit: "image",
    },
  ],
  providerName: "Bytedance",
  providerSlug: "bytedance",
  providerTag: "bytedance",
  supportedParameters: {
    "resolution": {
      type: "enum",
      values: [
        "1K",
        "2K",
        "4K",
      ],
    },
    "seed": {
      type: "boolean",
    },
  },
  supportsStreaming: false,
};
```

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `allowedPassthroughParameters` | *string*\[] | :heavy\_check\_mark: | Provider-specific options accepted under provider.options\[provider\_slug]. | \[] |
| `pricing` | [models.ImagePricingEntry](../models/imagepricingentry.mdx)\[] | :heavy\_check\_mark: | Billable pricing lines for this endpoint. | \[<br />\{<br />"billable": "output\_image",<br />"cost\_usd": 0.05,<br />"unit": "image"<br />}<br />] |
| `providerName` | *string* | :heavy\_check\_mark: | Provider display name | Bytedance |
| `providerSlug` | *string* | :heavy\_check\_mark: | Provider slug | bytedance |
| `providerTag` | *string* | :heavy\_check\_mark: | Provider tag for request-side selection | bytedance |
| `supportedParameters` | Record\<string, *models.CapabilityDescriptor*> | :heavy\_check\_mark: | N/A | \{<br />"output\_compression": \{<br />"max": 100,<br />"min": 0,<br />"type": "range"<br />},<br />"resolution": \{<br />"type": "enum",<br />"values": \[<br />"1K",<br />"2K",<br />"4K"<br />]<br />},<br />"seed": \{<br />"type": "boolean"<br />}<br />} |
| `supportsStreaming` | *boolean* | :heavy\_check\_mark: | Whether this endpoint supports native SSE streaming (`stream: true` in the request). | false |
