Text Models
Text Completion API
Generate text using the OpenAI Legacy Completions compatible format.
POST
Documentation Index
Fetch the complete documentation index at: https://doc.deepwl.cn/llms.txt
Use this file to discover all available pages before exploring further.
Text Completion API
The Legacy Completions API usesprompt as input and is suitable for businesses still using the old OpenAI SDK or simple text completion workflows. For new conversational scenarios, it is recommended to use the chat completions API.
Request Body
Model name.
Input prompt.
Whether to enable streaming output.
Maximum number of tokens to generate.
Sampling temperature.
Nucleus sampling parameter.
Stop sequences.