Quickstart
Last updated
Last updated
Quickstart Guide: 1For AI API
This guide will help you get started with the 1For AI API, enabling you to interact with leading AI models through a unified interface.
Begin by signing up at to receive your API key. This key authenticates your requests and tracks usage.
With your API key, you can send a request to the 1For AI endpoint. Here's an example using curl
:
Replace YOUR_API_KEY
with your actual API key.
The API will return a JSON response containing the AI's reply. For example:
Model Selection: Set "model": "auto"
to let 1For AI choose the best model, or specify a particular model like "gpt-4"
.
Supported Models: Access models from OpenAI, Anthropic, Google, xAI, and Mistral through a single API.
No Rate Limits: Enjoy unrestricted access without imposed rate limits or time restrictions.
For comprehensive details and advanced configurations, refer to the full documentation at .