Skip to content

How to List Models ​

Get a list of all available models, including their request parameters and pricing.

Each entry is one model + run type combination, so a model that supports both text-to-image and image-to-image appears twice.

Endpoint ​

GET https://api.get3w.com/v1/models/list

Query Parameters ​

ParameterRequiredDescription
typeNoOnly return entries of this run type, e.g. text-to-image. See Model Types

Request ​

bash
curl "https://api.get3w.com/v1/models/list" \
  -H "Authorization: Bearer YOUR_API_KEY"
python
import requests

response = requests.get(
    "https://api.get3w.com/v1/models/list",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    params={"type": "text-to-video"},  # optional
    timeout=(10, 60),
)
response.raise_for_status()
models = response.json()["data"]

print(f"Total: {len(models)}")
for m in models[:5]:
    print(f"- {m['model_id']}: ${m['base_price']} / {m['billing_unit']}")

Response ​

json
{
  "code": 200,
  "message": "success",
  "data": [
    {
      "model_id": "google/nano-banana-2.1/text-to-image",
      "name": "Nano Banana 2.1",
      "provider_id": "google",
      "description": "...",
      "type": "text-to-image",
      "base_price": 0.0286,
      "currency": "USD",
      "billing_unit": "image",
      "api_schema": {
        "api_schemas": [
          {
            "type": "model_run",
            "method": "POST",
            "server": "https://api.get3w.com",
            "api_path": "/v1/google/nano-banana-2.1/text-to-image",
            "request_schema": {
              "type": "object",
              "properties": {
                "prompt": {
                  "type": "string",
                  "description": "The positive prompt for the generation."
                },
                "aspect_ratio": {
                  "type": "string",
                  "enum": ["1:1", "16:9", "9:16"],
                  "default": "16:9"
                },
                "resolution": {
                  "type": "string",
                  "enum": ["1k", "2k", "4k"],
                  "default": "1k"
                }
              },
              "x-order-properties": ["prompt", "aspect_ratio", "resolution"],
              "required": ["prompt"]
            }
          }
        ]
      }
    }
  ]
}

Response Fields ​

FieldTypeDescription
codeinteger200 on success
messagestringStatus message
dataarrayArray of model objects

Model Object ​

FieldTypeDescription
model_idstringFull slug {provider_id}/{model_id}/{run_type}, same as the submit path
namestringDisplay name
provider_idstringProvider, e.g. google, kling
descriptionstringModel introduction (pricing is in base_price, not here)
typestringRun type, see Model Types
base_pricenumber|nullStarting price in USD per billing_unit; null if not priced
currencystringAlways USD
billing_unitstring|nullBilling unit, e.g. image, second, request, 1M tokens
api_schemaobjectHow to call the model

base_price is the lowest price for the model. The actual charge depends on parameters such as resolution or duration. See How Pricing Works.

api_schema Object ​

FieldTypeDescription
api_schemasarrayArray of endpoint schemas
api_schemas[].typestringAlways model_run
api_schemas[].methodstringHTTP method
api_schemas[].serverstringAPI host
api_schemas[].api_pathstringEndpoint path. For chat models this is the native protocol path, see Chat API
api_schemas[].request_schemaobjectJSON Schema of the request body

request_schema.x-order-properties lists parameters in their recommended display order.

Model Types ​

TypeDescription
text-to-imageGenerate images from text
image-to-imageEdit or transform images
text-to-videoGenerate videos from text
first-to-videoAnimate a first frame
first-last-to-videoGenerate a video between two frames
reference-to-videoGenerate a video from reference images
edit-to-videoEdit an existing video
extend-to-videoExtend an existing video
digital-humanCreate a talking avatar
text-to-3dGenerate 3D models from text
image-to-3dGenerate 3D models from images
text-to-panoramaGenerate panoramas from text
image-to-panoramaGenerate panoramas from images
text-to-speechGenerate speech
speech-to-textTranscribe audio
text-to-musicGenerate music

Next Steps ​

Released under the MIT License.