---
title: "Media · Models · Get the field schema for an image model"
method: GET
path: "/api/v2/ai-image/models/{model_id}/fields"
tags: ["aiModels"]
---

# Media · Models · Get the field schema for an image model

`GET /api/v2/ai-image/models/{model_id}/fields`

## Request

- Base URL: `https://api.simplified.com`
- URL: `https://api.simplified.com/api/v2/ai-image/models/{model_id}/fields`
- Auth: none declared

Return the parameters this model accepts, and the valid values for each,
for a given capability. Public — no credential required.

This is the authoritative answer to "what can I pass to this model".
Build the `parameters` object of `generateImage` from what this returns
rather than reusing settings from a different model.

## Path parameters

- `model_id` string, required

## Query parameters

- `capability` 'prompt' | 'reference_image' | 'multiple_images' | 'first_last_frame', required

## Response `200`

Field schema for the model and capability

- AIModelsGetImageModelFieldsResponse200

## Other responses

- `400`: Unknown model id or capability

---

[API](https://skmtc.dev/simplified/apis/platform.md) - [All operations](https://skmtc.dev/simplified/apis/platform/llms.txt) - [OpenAPI document](https://skmtc.dev/simplified/apis/platform/revisions/0815a1ba1e4e?raw)
