Quickstart
Create an account, generate an API key and send your first Flex247 request.
1. Create your account
Create a Flex247 account, or sign in if you already have one.
2. Generate an API key
Open API Keys after signing in and create a new key. Use separate keys for different devices and applications so usage and revocation stay easy to manage.
Store it safely
The complete key is normally displayed only once. Never expose it in screenshots, chat messages or public repositories.
3. Choose a model
Copy a current model ID from Model Square. The value must match exactly.
4. Send your first request
Replace the placeholder key and model ID:
bash
curl https://api.noflex.work/v1/chat/completions \
-H "Authorization: Bearer sk-your-flex247-key" \
-H "Content-Type: application/json" \
-d '{
"model": "your-model-id",
"messages": [
{"role": "user", "content": "Reply only: Flex247 connected"}
]
}'If you receive a model response, the endpoint, key and model are configured correctly.
5. Use environment variables
Windows PowerShell
powershell
$env:FLEX247_API_KEY = "sk-your-flex247-key"
$env:FLEX247_BASE_URL = "https://api.noflex.work/v1"macOS / Linux
bash
export FLEX247_API_KEY="sk-your-flex247-key"
export FLEX247_BASE_URL="https://api.noflex.work/v1"Next steps
- OpenAI-style SDKs: OpenAI Compatible
- Anthropic Messages: Anthropic Protocol
- Coding agents: Claude Code, Codex or OpenCode