POST
/v1/messagesAnthropic CompatibleMessages
Create a message. Fully compatible with the Anthropic Messages API. Supports extended thinking, tool use, and image inputs.
Examples
1
2
3
4
5
6
7
8
9
curl https://api.aipilotads.com/v1/messages \
-H "x-api-key: YOUR_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4-20250514",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello, Claude!"}]
}'