Images

List image generation models

Changed on

Lists every image generation model with its top-level supported-parameter superset and a URL to its full per-endpoint records.

get/images/models

Request

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

Response

List of image generation models

ImageModelsListResponse required

List of image generation models.

data, ImageModelListItem[] required

Example response

{
  "data": [
    {
      "architecture": {
        "input_modalities": [
          "text"
        ],
        "output_modalities": [
          "image"
        ]
      },
      "created": 1692901234,
      "description": "A text-to-image model.",
      "endpoints": "/api/v1/images/models/bytedance-seed/seedream-4.5/endpoints",
      "id": "bytedance-seed/seedream-4.5",
      "input_modalities": [
        {
          "type": "text"
        },
        {
          "supported_inputs": {
            "references": {
              "max": 14,
              "min": 0,
              "type": "integer"
            }
          },
          "type": "image"
        }
      ],
      "name": "Seedream 4.5",
      "output_modalities": [
        {
          "streaming": false,
          "supported_parameters": {
            "resolution": {
              "type": "enum",
              "values": [
                "1K",
                "2K",
                "4K"
              ]
            },
            "seed": {
              "type": "integer"
            }
          },
          "type": "image"
        }
      ],
      "supported_parameters": {
        "input_references": {
          "max": 14,
          "min": 0,
          "type": "range"
        },
        "resolution": {
          "type": "enum",
          "values": [
            "1K",
            "2K",
            "4K"
          ]
        },
        "seed": {
          "type": "boolean"
        }
      },
      "supports_streaming": false
    }
  ]
}

Changes

    • warning

      added the new audio/pcm enum value to the data/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 data/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 data/items/input_modalities/items/oneOf[subschema #4]/supported_inputs/formats/values/items response property for the response status