Dashboard
Manage your API keys and get started
Create API Key
Generate a new key to authenticate your API requests.
Your API Keys
Keys are stored locally in your browser.
No keys yet. Create one above to get started.
Quick Start
Make your first API request using any OpenAI-compatible SDK.
curl -X POST https://universal-ai-api.comfyfw.workers.dev/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o",
"messages": [
{ "role": "user", "content": "Hello!" }
]
}'Endpoints Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/chat/completions | Chat completions (text, vision) |
| POST | /v1/embeddings | Text embeddings |
| POST | /v1/images/generations | Image generation |
| POST | /v1/audio/transcriptions | Audio transcription (STT) |
| POST | /v1/audio/speech | Text to speech (TTS) |
| POST | /v1/moderations | Content moderation |
| GET | /v1/models | List available models |