
The model details page is used to confirm context, maximum output, model capabilities, prices, and recent service performance.
Before running examples
Install Python 3, and install dependencies in the same Python environment where you will run the script:python3, use python3 for both installation and execution. On Windows you can also use py -m pip install requests and py example.py. When using a virtual environment, activate it first.
Create a key on the API Keys page, copy the exact model ID from the list of models available to the current key, then set variables in the terminal where you will run the script. The uppercase values below are placeholders that need to be replaced.
- macOS / Linux
- Windows PowerShell
Request
{model} uses the exact ID returned by /v1/models, URL-encoded. If the model does not belong to the current key, the ID is misspelled, or there is no access permission, a 404 or model-unavailable error may be returned.
Python example
What to read
Response structure may vary by model type. Save a sanitized response as a project test fixture on first integration, but do not treat it as a permanent static fact.
What to do when parameters are missing
- Confirm the model ID comes from the same key’s
/v1/models. - Check whether the wrong protocol or model type was selected.
- Use a minimal request removing all optional parameters.
- After the minimal request succeeds, add fields one by one.
- If still uncertain, contact support with the request ID.
Caching and updates
Applications can cache parameter responses short-term to reduce repeated queries, but should set an update interval. Re-read parameters after model upgrades, route switches, or group adjustments. Refresh proactively before going live and whenunsupported_parameter appears.
When parameter response is empty
When the interface returns HTTP 200 butparams is [], request is {}, or billingMode is empty, this only means the response did not declare the corresponding information. It does not mean the model is unsupported, parameters can be filled arbitrarily, or the call is free. The usage, request, second, and image entries in chargeModes are mode names listed in the response, not proof that the model bills all four ways simultaneously.
- Check available protocols and prices in APIONE model details and the current key group.
- When there are explicit model parameter instructions, use them to determine size, quality, reference image, mask, and other fields; do not copy enums from another model.
- Without explicit parameter evidence, first verify the minimal request on this page, and do not submit optional fields or batch tasks yet.
- Contact support to confirm parameters with the model ID, interface, request time, and actual request identifiers. Do not send the full key.

