Quick Start
Getting Started
Create an API Key
Access Arcee Platform, Register or Login.
Access Wallet to top up if needed.
Create an API Key in the API Keys management page.
Copy your API Key for use and store in a secure location.
Access Arcee Platform, Register or Login.
Create an API Key in the API Keys management page.
Choose Model
Arcee Platform offers a variety of models in different sizes, and you can select the appropriate model based on your needs. For detailed model introductions, please refer to the Model List.
Make API Call
After preparing your API Key and selecting a model, you can start making API calls. Here are examples using curl, Python, and JavaScript:
curl -X POST "https://api.arcee.ai/api/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer afm...e7a0" \
-d '{
"model": "arcee-ai/AFM-4.5B",
"messages": [
{
"role": "user",
"content": "Hello, how are you?"
}
]
}'from openai import OpenAI
client = OpenAI(
base_url="https://api.arcee.ai/api/v1",
api_key="afm...e7a0"
)
response = client.chat.completions.create(
model="arcee-ai/AFM-4.5B",
messages=[
{"role": "user", "content": "Hello, how are you?"}
]
)
print(response.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'afm...e7a0',
baseURL: 'https://api.arcee.ai/api/v1'
});
const response = await client.chat.completions.create({
model: 'arcee-ai/AFM-4.5B',
messages: [
{ role: 'user', content: 'Hello, how are you?' }
]
});
console.log(response.choices[0].message.content);Last updated

