Skip to main content
POST https://api.voidai.app/v1/chat/completions Requires authentication. Choose a model that advertises /v1/chat/completions; access also depends on your account and balance.

Request

Message content can be text or content parts such as text and image_url. Tool-call messages can include tool_calls or tool_call_id. Optional parameters are not universal provider features.

Response

Non-streaming responses use the OpenAI chat-completion shape: id, object, model, choices, and usage. Read text from choices[0].message.content; a tool response can instead provide tool_calls. Streaming responses use SSE chunks with choices[].delta; consumers must handle empty choices in usage chunks. See SDK examples, billing, and error handling. Claude-family routing limitations are documented on the Messages page.