Get Model Details (OpenRouter)
pixara_get_model_detailsCheck per-provider pricing, supported parameters, and passthrough options for an OpenRouter image model to avoid failed image generation calls.
Instructions
Get per-provider pricing, supported parameters, and passthrough options for one OpenRouter image model.
This is a read-only, no-cost call. Use it before pixara_generate_image / pixara_edit_image to confirm exactly which parameters a model/provider supports and what it costs — unsupported parameters are silently ignored or rejected by the API, so checking first avoids wasted/failed calls.
Args:
model (string, required): OpenRouter model slug, e.g. 'black-forest-labs/flux.2-pro'.
response_format ('markdown'|'json', default 'markdown').
Returns: Per-provider breakdown: pricing (billable type, unit, price, tier/variant), supported parameter descriptors (enum values, numeric ranges, or plain booleans), and any allowed_passthrough_parameters for use with the generate/edit tools' provider_options field.
Examples:
Use when: "How much does flux.2-pro cost and what steps/guidance params does it take?"
Use when: "Does gpt-image-1 support transparent backgrounds on this provider?"
Don't use when: browsing across many models (use pixara_list_image_models instead)
Error Handling:
"Resource not found" / empty endpoints -> the model id may be wrong; verify with pixara_list_image_models
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | OpenRouter model slug to inspect, e.g. 'openai/gpt-image-1'. | |
| response_format | No | Output format: 'markdown' for humans or 'json' for machine processing. | markdown |