Images

List endpoints for an image model

Changed on

Returns the full per-endpoint records for an image model: each endpoint's definitive supported parameters, pricing, and passthrough allowlist.

get/images/models/{author}/{slug}/endpoints

Request

  • Base URL
    https://openrouter.ai/api/v1
  • Auth
    HTTP bearer

Path parameters

author, string required

Model author/organization

Example:bytedance-seed
slug, string required

Model slug

Example:seedream-4.5

Response

The full per-endpoint records for an image model

ImageModelEndpointsResponse required

The full per-endpoint records for an image model.

endpoints, ImageEndpoint[] required
id, string required

Model slug

Example response

{
  "endpoints": [
    {
      "allowed_passthrough_parameters": [],
      "input_modalities": [
        {
          "type": "text"
        },
        {
          "supported_inputs": {
            "references": {
              "max": 14,
              "min": 0,
              "type": "integer"
            }
          },
          "type": "image"
        }
      ],
      "output_modalities": [
        {
          "streaming": false,
          "supported_parameters": {
            "resolution": {
              "type": "enum",
              "values": [
                "1K",
                "2K",
                "4K"
              ]
            },
            "seed": {
              "type": "integer"
            }
          },
          "type": "image"
        }
      ],
      "pricing": [
        {
          "billable": "output_image",
          "cost_usd": 0.05,
          "unit": "image"
        }
      ],
      "provider_name": "Bytedance",
      "provider_slug": "bytedance",
      "provider_tag": "bytedance",
      "supported_parameters": {
        "input_references": {
          "max": 14,
          "min": 0,
          "type": "range"
        },
        "resolution": {
          "type": "enum",
          "values": [
            "1K",
            "2K",
            "4K"
          ]
        },
        "seed": {
          "type": "boolean"
        }
      },
      "supports_streaming": false
    }
  ],
  "id": "bytedance-seed/seedream-4.5"
}

Changes

    • warning

      added the new audio/pcm enum value to the endpoints/items/input_modalities/items/oneOf[subschema #4]/supported_inputs/formats/values/items response property for the response status

    • warning

      added the new audio/pcma enum value to the endpoints/items/input_modalities/items/oneOf[subschema #4]/supported_inputs/formats/values/items response property for the response status

    • warning

      added the new audio/pcmu enum value to the endpoints/items/input_modalities/items/oneOf[subschema #4]/supported_inputs/formats/values/items response property for the response status