List Image Models
curl --request GET \
--url https://api.nano-gpt.com/api/v1/images/modelsimport requests
url = "https://api.nano-gpt.com/api/v1/images/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.nano-gpt.com/api/v1/images/models', 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.nano-gpt.com/api/v1/images/models",
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.nano-gpt.com/api/v1/images/models"
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.nano-gpt.com/api/v1/images/models")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nano-gpt.com/api/v1/images/models")
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_bodyEndpoint Examples
List Image Models
List image models for NanoGPT’s dedicated Image API
GET
/
api
/
v1
/
images
/
models
List Image Models
curl --request GET \
--url https://api.nano-gpt.com/api/v1/images/modelsimport requests
url = "https://api.nano-gpt.com/api/v1/images/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.nano-gpt.com/api/v1/images/models', 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.nano-gpt.com/api/v1/images/models",
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.nano-gpt.com/api/v1/images/models"
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.nano-gpt.com/api/v1/images/models")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nano-gpt.com/api/v1/images/models")
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_bodyOverview
UseGET /api/v1/images/models to discover image models for the dedicated Image API. The response includes model IDs, capabilities, supported parameters, streaming support, and a model-specific endpoint metadata URL.
Model availability and supported parameters can change. Build clients from the returned metadata instead of hardcoding model capability tables.
Authentication
Authentication is optional.Authorization: Bearer YOUR_API_KEYx-api-key: YOUR_API_KEY
Response
{
"object": "list",
"data": [
{
"id": "openai/gpt-image-2.5/flare/text-to-image",
"name": "GPT Image 2.5 Flare",
"description": "Model description...",
"created": 1760000000,
"owned_by": "openai",
"architecture": {
"input_modalities": ["text", "image"],
"output_modalities": ["image"]
},
"supported_parameters": {
"resolution": {
"type": "enum",
"values": ["1k", "2k", "4k"],
"default": "1k"
},
"n": {
"type": "range",
"min": 1,
"max": 4,
"default": 1
}
},
"supports_streaming": false,
"endpoints": "/api/v1/images/models/openai/gpt-image-2.5/flare/text-to-image/endpoints",
"capabilities": {
"image_generation": true,
"image_to_image": true,
"inpainting": false,
"nsfw": false
},
"category": "image"
}
],
"meta": {
"count": 201,
"generated_at": "2026-06-25T00:00:00.000Z"
}
}
Fields
| Field | Type | Description |
|---|---|---|
id | string | Model ID to use in POST /api/v1/images. |
name | string | Human-readable model name. |
description | string | Model description. |
created | integer | Unix timestamp for when the model was added. |
owned_by | string | Public owner or provider label. |
architecture.input_modalities | string[] | Supported input modalities, such as text or image. |
architecture.output_modalities | string[] | Supported output modalities. |
supported_parameters | object | Machine-readable model-specific parameter metadata. |
supports_streaming | boolean | Currently always false. |
endpoints | string | URL for endpoint metadata and pricing for this model. |
capabilities | object | Feature flags such as image_generation, image_to_image, inpainting, and nsfw. |
category | string | Usually image. |
Example
curl https://api.nano-gpt.com/api/v1/images/models
Notes
supported_parametersvaries by model.- Model IDs may contain slashes. Prefer the returned
endpointsURL when fetching endpoint metadata. - Use this endpoint with Get Image Model Endpoints before sending generation requests.