Cometapi
Run GPT, Claude, Gemini, DeepSeek, and Qwen models through CometAPI's OpenAI-compatible gateway.
| Example | Description |
|---|---|
| Cometapi Basic | Run a GPT model through the CometAPI gateway in sync, async, and streaming modes. |
| Image Agent | Stream an image description from a vision model through CometAPI. |
| Image Agent With Memory | Analyze an image with CometAPI and include SQLite session history in a follow-up request. |
| Multi Model | Test and compare different models available through CometAPI. |
| Retry | Review retry settings and why invalid model IDs cannot reliably exercise the retry path. |
| CometAPI Structured Output | Request JSON from CometAPI and validate it locally as a MovieScript. |
| Cometapi Tool Use | Call WebSearchTools through CometAPI for prices, weather, and news queries. |