Node.js
import GetimgAI from "getimg-ai";
const client = new GetimgAI();
const model = await client.models.retrieve("seedream-5-lite");from getimg import GetimgAI
client = GetimgAI()
model = client.models.retrieve("seedream-5-lite")
curl --request GET \
--url https://api.getimg.ai/v2/models/{model} \
--header 'Authorization: Bearer <token>'<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getimg.ai/v2/models/{model}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.getimg.ai/v2/models/{model}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.getimg.ai/v2/models/{model}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getimg.ai/v2/models/{model}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "seedream-5-lite",
"name": "Seedream 5 Lite",
"type": "image",
"supported_aspect_ratios": [
"1:1",
"16:9"
],
"supported_durations": [],
"supported_resolutions": [
"2K",
"4K"
],
"supports_sound": false,
"supported_references": {
"reference_image": 14
},
"pricing": {
"currency": "USD",
"rates": [
{
"resolution": "2K",
"sound": "not_applicable",
"billable_unit": "image",
"unit_price": "0.1400"
}
]
},
"created_at": "2026-04-17T10:20:30.000Z"
}Models
Get a model
Retrieve a single model with its supported parameters and pricing.
GET
/
v2
/
models
/
{model}
Node.js
import GetimgAI from "getimg-ai";
const client = new GetimgAI();
const model = await client.models.retrieve("seedream-5-lite");from getimg import GetimgAI
client = GetimgAI()
model = client.models.retrieve("seedream-5-lite")
curl --request GET \
--url https://api.getimg.ai/v2/models/{model} \
--header 'Authorization: Bearer <token>'<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getimg.ai/v2/models/{model}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.getimg.ai/v2/models/{model}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.getimg.ai/v2/models/{model}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getimg.ai/v2/models/{model}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "seedream-5-lite",
"name": "Seedream 5 Lite",
"type": "image",
"supported_aspect_ratios": [
"1:1",
"16:9"
],
"supported_durations": [],
"supported_resolutions": [
"2K",
"4K"
],
"supports_sound": false,
"supported_references": {
"reference_image": 14
},
"pricing": {
"currency": "USD",
"rates": [
{
"resolution": "2K",
"sound": "not_applicable",
"billable_unit": "image",
"unit_price": "0.1400"
}
]
},
"created_at": "2026-04-17T10:20:30.000Z"
}Authorizations
Send your API key as a bearer token:
Authorization: Bearer sk_<secret>.
Path Parameters
The model identifier returned by the models list.
Minimum string length:
1Response
Developer model details.
The model identifier.
The model display name.
The generation type supported by the model.
Available options:
image, video Supported aspect ratios in default order; the first is used when omitted.
Supported durations in seconds; empty for image models. The first is the default.
Supported resolutions in default order; the first is used when omitted.
Whether sound generation is supported.
Maximum reference count per supported role (reference_image, first_frame, last_frame).
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Timestamp when the model was created.