Fill in your API key & message to test
Get from Dashboard → API Keys → Copy your key
Max Tokens (output length)
Temperature (0-2, higher=creative)
Give AI behavior instructions (e.g., "Be concise", "Speak like Jarvis")
Enter the message you want to send to AI
Sends a request to Ethan API & shows response below →
Result from Ethan API server
👇 Click "Run Test" above to see response here
Copy & paste these code snippets to your project
Run this in your terminal:
curl -X POST /v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-3-5-haiku-20241022",
"max_tokens": 1024,
"temperature": 0.7,
"messages": [
{"role": "user", "content": "Hello! Tell me about yourself."}
]
}'