For AI agents: the complete documentation index is available at https://aioproxy.dev/zh/llms.txt, the full documentation bundle is available at https://aioproxy.dev/zh/llms-full.txt, and this page is available as Markdown at https://aioproxy.dev/zh/api/completions.md.
  • 简体中文
  • 创建文本补全 POST /v1/completions

    生成传统文本补全。

    参数 / 响应

    参数: best_of, conversation_id, echo, frequency_penalty, logit_bias, logprobs, max_tokens, metadata, model, n, presence_penalty, prompt, prompt_cache_key, seed, session_id, stop, stream, stream_options, suffix, temperature, top_p, user

    响应: 2XX application/json, 2XX text/event-stream

    Loading API reference…