Skip to main content

Create completion.

POST 

/v1/completions

Generate an OpenAI-compatible completion for the given prompt using the specified model.

Request

Responses

An OpenAICompletion. When streaming, returns Server-Sent Events (SSE) with OpenAICompletion chunks.