AI Models API
Chat Completions
Generate responses from AI models based on conversation history
POST
Chat Completions API
The Chat Completions API allows you to have dynamic conversations with AI models. This endpoint enables you to send a series of messages and receive AI-generated responses that maintain context throughout the conversation.
Features
- Support for multiple advanced AI models
- Streaming responses for real-time applications
- Temperature and other control parameters
- Function calling capabilities
Example Usage
Models
Available models for chat completions:
wizardlm-2-7b
claude-3-5-sonnet
gpt-4o-mini
Example Request
Example With Function Calling
Example With Image Recognition
Authorizations
Enter your API key prefixed with 'Bearer '
Body
application/json
Whether to stream the response
Response
200
Successful response
Was this page helpful?