Models

The API serves the same models as the studio. GET /v1/models lists every one you can call right now, with its price in credits.

curl https://api.gluonart.com/v1/models \
  -H "Authorization: Bearer $GLUONART_API_KEY"

Each entry follows OpenAI's list-models shape, plus a type and a pricing object:

{
  "object": "list",
  "data": [
    {
      "id": "claude-opus-4-8",
      "object": "model",
      "owned_by": "anthropic",
      "type": "text",
      "pricing": {
        "unit": "credits",
        "input_per_million_tokens": 6000,
        "output_per_million_tokens": 30000,
        "cached_input_per_million_tokens": 600
      }
    },
    {
      "id": "qwen-image-3.0",
      "object": "model",
      "type": "image",
      "pricing": { "unit": "credits", "per_image": 40, "per_reference_image": 0 },
      "max_reference_images": 3,
      "aspect_ratios": null,
      "sizes": ["1328x1328", "1664x928", "928x1664"]
    },
    {
      "id": "veo-3.1-fast-generate-preview",
      "object": "model",
      "type": "video",
      "pricing": {
        "unit": "credits",
        "per_second": { "720p": { "silent": 120, "audio": 180 } },
        "start_frame": 0
      },
      "seconds": [4, 6, 8, 10],
      "sizes": { "720p": { "16:9": "1280x720", "9:16": "720x1280" } },
      "audio": "optional",
      "start_frame": "optional"
    }
  ]
}

The figures above are examples; always read the live list.

Text models

Text models answer on /v1/chat/completions, /v1/responses and /v1/messages alike, with streaming, tools and vision where the model supports them.

Image models

type: "image" models answer on /v1/images/generations and /v1/images/edits. Each one takes either an aspect_ratio from aspect_ratios or a size from sizes — exactly one of the two lists is set — and up to max_reference_images reference images on the edits endpoint.

Video models

type: "video" models answer on /v1/videos. seconds lists the lengths a model makes, sizes the output size for each resolution and shape, audio whether sound is optional, always on or never available, and start_frame whether it takes a starting image (optional, required or none).