Guide
API endpoint and capability matrix
Direct answerChoose endpoints by operation, not by guessing from model names. Text may use Chat, Responses, Messages or Gemini; images use generation or editing; asynchronous results use task queries. The list below points to reviewed examples.
Updated · Reviewed
Scope
Choose endpoints by operation, not by guessing from model names. Text may use Chat, Responses, Messages or Gemini; images use generation or editing; asynchronous results use task queries. The list below points to reviewed examples.
Select an endpoint and model
- GET /v1/models
- POST /v1/chat/completions
- POST /v1/responses
- POST /v1/messages
- POST /v1beta/models/{model}:generateContent
- POST /v1/images/generations
- POST /v1/images/edits
- POST /v1/embeddings
- POST /v1/rerank
- GET /v1/tasks/{task_id}
The marketplace owns exact model IDs, endpoint support, group access and prices. Similar model names do not establish identical parameters or permissions. Provider documentation explains capabilities, not whether a model is enabled or priced on this site. Complete examples and route-only references are labeled separately.
Prepare credentials and requests
Manage model keys on the Keys page and account credentials in Profile. Browser sessions, model keys and personal access tokens serve different purposes. Examples read placeholder credentials from server environment variables and contain no real account data. Confirm parameters for the chosen endpoint and channel; example values are not defaults. The API origin is https://api.openfox.vip.
Validate results and handle failures
Check HTTP status and business results together. Text requires complete output, images require actual decoding, and tasks require a successful terminal state and valid artifacts. A task identifier alone is not completion. Bound read-only retries and never automatically repeat creation. After a timeout preserve the request ID and inspect usage logs to avoid duplicate work or charges.
Pricing and maintenance
This guide does not promise fixed prices, quotas, retention periods or provider discounts. Use current marketplace prices and account permissions. An administrator must confirm new prices or unlisted models. Examples are generated from the OpenFox OpenAPI definitions; contract changes must update fields, result checks and failure handling together. Source review is not upstream business verification; this migration makes no paid model calls.
Endpoint quick reference
| Method | Path | Guide |
|---|---|---|
| GET | /v1/models | models |
| POST | /v1/chat/completions | chat |
| POST | /v1/responses | responses |
| POST | /v1/images/generations | images |
| POST | /v1/messages | messages |
| POST | /v1beta/models/{model}:generateContent | gemini |
| POST | /v1/embeddings | embeddings |
| POST | /v1/rerank | rerank |
| GET | /v1/tasks/{task_id} | task |
| GET | /v1/tasks/{task_id}/artifacts | artifacts |
Use cases
- Choose text, media, and retrieval routes
- Separate implemented, unsupported, and channel-specific behavior
API protocols
/v1/models/v1/chat/completions/v1/responses/v1/messages/v1beta/models/{model}:generateContent/v1/images/generations/v1/images/edits/v1/embeddings/v1/rerank/v1/tasks/{task_id}
FAQ
Where can I confirm models and prices?
Use the current marketplace model IDs, endpoints and group prices.
Can I reuse another gateway endpoint directly?
No. Verify OpenFox routes, plugin contracts and authentication requirements.
Is source review a successful business test?
No. No paid calls were made; upstream availability depends on channels and permissions.
Can I use /v1/files?
A route reference only establishes a source entry point. Verify channel support, file semantics and results before use.
Related guides
Official sources
- OpenAI API Reference Official
- Claude Messages API Official
- Gemini API Reference Official
- OpenFox API Official