文本系列
文本补全接口
使用 OpenAI Legacy Completions 兼容格式生成文本。
POST
Documentation Index
Fetch the complete documentation index at: https://dsnt.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
文本补全接口
Legacy Completions 接口使用prompt 作为输入,适合仍在使用旧 OpenAI SDK 或简单补全文本的业务。新对话场景建议使用 通用对话接口。
请求体
模型名称。
输入提示词。
是否启用流式输出。
最大生成 token 数。
采样温度。
核采样参数。
停止序列。