Skip to main content

Endpoint

GET https://api.eachlabs.ai/v1/models
This endpoint does not require authentication.

Query Parameters

ParameterTypeRequiredDefaultDescription
namestringNo-Filter by model name (case-insensitive search)
limitintegerNo50Max results to return (1–500)
offsetintegerNo0Number of results to skip for pagination

Code Examples

curl "https://api.eachlabs.ai/v1/models?name=flux&limit=10"

Response

You’ll get back an array of model objects.
[
  {
    "title": "Flux 1.1 Pro",
    "slug": "flux-1-1-pro",
    "version": "1.0",
    "output_type": "string",
    "request_schema": {
      "type": "object",
      "required": ["prompt"],
      "properties": {
        "prompt": {
          "type": "string",
          "minLength": 10,
          "maxLength": 500
        },
        "aspect_ratio": {
          "type": "string",
          "enum": ["1:1", "16:9", "9:16", "4:3", "3:4"]
        }
      }
    }
  }
]

Response Fields

FieldTypeDescription
titlestringHuman-readable model name
slugstringUnique model identifier (used in API calls)
versionstringModel version
output_typestringOutput type (string, array, object)
request_schemaobjectJSON Schema for model inputs

Error Responses

StatusBodyDescription
400{"error": "invalid limit parameter"}Invalid query parameters
500{"error": "Failed to fetch models: internal error"}Server error
Last modified on March 6, 2026