Get Started
1.Creating an Account
2. Getting Your API Key
Authorization: Bearer YOUR_API_KEY3. Making Your First Request
curl https://api.uniportai.site/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4",
"messages": [
{ "role": "system", "content": "You are a helpful assistant." },
{ "role": "user", "content": "Tell me a fun fact about space." }
]
}'
Last updated
