sub2api
sub2api copied to clipboard
Can this sub2api let us call the api directly??
Can make the sub as the direct api not only for claude code or codex, like normal chat
Hi @Maxch3306,
Sub2API now supports direct API calls, eliminating the need for Claude Code or Codex.
Quick Start:
curl https://your-instance.com/v1/messages \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"model": "claude-3-5-sonnet-20241022", "messages": [...]}'
Supported Formats:
/v1/messages- Claude API format/v1/responses- OpenAI Responses API format/v1beta/*- Gemini API format
HI @IanShaw027
Thanks for your message, I means just call it as normal claude without the claude code frame