Media · Models · Get the field schema for an image model
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
Query parameters
capability
Which capability's field schema to return. Required — omitting it returns 400.
Allowed values:
Response
Field schema for the model and capability
Errors
400
Bad Request Error
