Skip to main content
GET
/
v1
/
model
Get model details
curl --request GET \
  --url https://api.eachlabs.ai/v1/model
import requests

url = "https://api.eachlabs.ai/v1/model"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.eachlabs.ai/v1/model', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eachlabs.ai/v1/model",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.eachlabs.ai/v1/model"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.eachlabs.ai/v1/model")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.eachlabs.ai/v1/model")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "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
      }
    }
  }
}
{
"error": "slug parameter is required"
}
{
"error": "Failed to fetch model: model not found"
}
{
"error": "Failed to fetch models: internal error"
}

Query Parameters

slug
string
required

Model slug identifier

Response

Model details retrieved successfully

title
string
Example:

"Nano Banana Pro Edit"

slug
string
Example:

"nano-banana-pro-edit"

version
string
deprecated

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

Example:

"0.0.1"

output_type
string
Example:

"array"

request_schema
object

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

Example:
{
"type": "object",
"required": ["prompt"],
"properties": {
"prompt": {
"type": "string",
"minLength": 10,
"maxLength": 500
}
}
}
Last modified on June 17, 2026