SDKs
Although we haven't developed our official SDK, our API interface is designed to be fully compatible with OpenAI. This means that you can seamlessly integrate our API into your projects using the OpenAI SDK to make calls to our services.
Here are examples of how to use the OpenAI SDK to call Slier.AI API interface:
Install
Python
Chat
Feel free to input any of our supported models in the 'model' field, including Claude.
Example
Python
Search
Our Search model is currently not compatible with the OpenAI SDK. However, you can directly access the API by referring to the API Reference .
Images
Remember to pass the model parameter.
Example
Last updated