Capability schemas can be broader than active pricing
The general request validator recognizes low, medium and high as quality names, but quote and readiness checks enforce the configured rate. Your application should derive its visible options from the current model catalog and quote behavior. Otherwise users may approve an option your deployed integration cannot actually buy. The OpenAPI schema lists low, medium and high as possible field values; that syntax alone does not establish a priced combination for your selected model. Read its current catalog qualities and request a quote.
What to do next
- 01
Read the active model row
Confirm available, sizes and qualities for the exact alias. Do not reuse cached settings from another gateway or from an earlier deployment without checking freshness.
- 02
Normalize your request
Set medium explicitly and remove UI defaults that silently add high. Preserve the intended size and prompt so the correction does not change unrelated creative requirements.
- 03
Obtain a new quote
Verify that the corrected payload is accepted before creation. Explain to the user that resolution remains 4K while the supported quality mode is medium.
A concrete example
Illustrative error: a design app automatically sends quality=high whenever its resolution selector reaches 4K. The request fails because these are separate dimensions of the contract. Set the supported quality rather than raising max_credits blindly.
Before you call it ready
- Quality and size have separate controls.
- Only catalog-supported modes are offered.
- The corrected body is quoted before submission.
When to stop or choose another method
If high quality is essential to a deliverable, do not describe medium as equivalent. Choose a service with that documented mode or wait for a verified supported configuration.
