Getting started
1. Get your API key
Sign up at platform.fancyai.com and create an API key.
2. Make your first request
OpenAI GPT:
curl -X POST "https://platform-api.fancyai.com/open/aigw/gateway/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "gpt-4o",
"messages": [{"role": "user", "content": "Hello"}]
}'
Base URL
| Environment | URL |
|---|---|
| Production | https://platform-api.fancyai.com |
Next steps
Open the API reference for interactive docs and generated code samples.