| 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 recall it later from SQLite session history. |
| 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 | Produce a MovieScript from CometAPI using output_schema with JSON mode. |
| Cometapi Tool Use | Call WebSearchTools through CometAPI for prices, weather, and news queries. |
CometAPI
Cometapi
Run GPT, Claude, Gemini, DeepSeek, and Qwen models through CometAPI’s OpenAI-compatible gateway.