AI Models

Get model details

Returns a single model's detail payload, including the nullable compact cost estimate. Supersedes the removed GET /v1/model?slug= query route.

get/v1/models/{slug}

Request

  • Base URL: https://api.eachlabs.ai
  • URL: https://api.eachlabs.ai/v1/models/{slug}
  • Auth: none declared

Path parameters

slugstring required

Model slug identifier

Response

Model details retrieved successfully

titlestring
slugstring
versionstring

Deprecated. Always returns "0.0.1". Will be removed in a future version.

output_typestring
request_schemaobject

JSON Schema for API requests to this model. Defines the structure, types, and validation rules for making requests.

Example response

{
  "title": "Nano Banana Pro Edit",
  "slug": "nano-banana-pro-edit",
  "version": "0.0.1",
  "output_type": "array",
  "request_schema": {
    "type": "object",
    "required": [
      "prompt"
    ],
    "properties": {
      "prompt": {
        "type": "string",
        "minLength": 10,
        "maxLength": 500
      }
    }
  },
  "cost": {
    "currency": "USD",
    "type": "fixed",
    "amount": 0.04,
    "unit": "execution",
    "estimate": "$0.068–$0.28 per second, depending on resolution",
    "description": "Pricing is an estimate and may change as rates are updated.",
    "min": 0.03,
    "max": 0.12,
    "depends_on": [
      "resolution"
    ],
    "rows": [
      {
        "label": "480p",
        "value": 0.03
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.