One editor can hide several contracts
A unified UI can accidentally expose photo editing for a text-to-image endpoint or streaming for non-streaming text. Capability-driven controls help users form a supported request without pretending the application can enable an unsupported upstream feature.
What to do next
- 01
Separate operation capabilities
Maintain explicit video, image and text capability definitions based on the current public contract. Keep Studio-specific person mapping separate from H3 API references, and avoid copying controls from a vendor's broader native API.
- 02
Refresh contextual availability
Use the documented catalog and quote path to verify current model and configuration support before dispatch. Preserve older draft values visibly when unavailable, offering an explicit supported alternative rather than silently substituting a model.
- 03
Enforce server validation
Treat UI controls as assistance, not authority. Rebuild the model-specific request on the backend and reject stale or unsupported fields with a useful correction path, while leaving the user's unsent draft intact.
A concrete example
Illustrative example: an image draft retains an option that a current model configuration does not accept. The editor highlights that option for revision and requests a fresh estimate after the user changes it, rather than quietly choosing another configuration.
Before you call it ready
- Controls match operation-specific fields.
- Unavailable draft values are explained.
- The server validates the effective request independently.
When to stop or choose another method
Stop enabling a capability solely because a similarly named vendor model or another AISwapLab surface offers it.
