Text completion using the model selected in the request body.
sol.onhub.ai/v1/chat/completions
Text completion using the model selected in the request body.
POST
https://sol.onhub.ai/v1/chat/completionsUptimeNot checked yet
30 days agoToday
Call it from an agent
curl -i -X POST -H 'content-type: application/json' "https://sol.onhub.ai/v1/chat/completions" \
-d '{"messages":[{"content":"Say hello in one sentence.","role":"user"}]}'
# 402 Payment Required comes back with the price and where to pay.Example input
{
"messages": [
{
"content": "Say hello in one sentence.",
"role": "user"
}
]
}