---
title: "ImageEndpoint"
---

An endpoint that serves a given image model.


## Fields

| Field                                                                                                                                                                | Type                                                                                                                                                                 | Required                                                                                                                                                             | Description                                                                                                                                                          | Example                                                                                                                                                              |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `allowed_passthrough_parameters`                                                                                                                                     | List[*str*]                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                   | Provider-specific options accepted under provider.options[provider_slug].                                                                                            | []                                                                                                                                                                   |
| `pricing`                                                                                                                                                            | List[[components.ImagePricingEntry](../components/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/>]                                                                        |
| `provider_name`                                                                                                                                                      | *str*                                                                                                                                                                | :heavy_check_mark:                                                                                                                                                   | Provider display name                                                                                                                                                | Bytedance                                                                                                                                                            |
| `provider_slug`                                                                                                                                                      | *str*                                                                                                                                                                | :heavy_check_mark:                                                                                                                                                   | Provider slug                                                                                                                                                        | bytedance                                                                                                                                                            |
| `provider_tag`                                                                                                                                                       | *Nullable[str]*                                                                                                                                                      | :heavy_check_mark:                                                                                                                                                   | Provider tag for request-side selection                                                                                                                              | bytedance                                                                                                                                                            |
| `supported_parameters`                                                                                                                                               | Dict[str, [components.CapabilityDescriptor](../components/capabilitydescriptor.mdx)]                                                                                  | :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/>} |
| `supports_streaming`                                                                                                                                                 | *bool*                                                                                                                                                               | :heavy_check_mark:                                                                                                                                                   | Whether this endpoint supports native SSE streaming (`stream: true` in the request).                                                                                 | false                                                                                                                                                                |