Create completion
補全
建立補全
Classic OpenAI-compatible text completion for single-prompt generation workloads that do not require a multi-message chat schema.
POST
Create completion
授權
Your DGrid API key. All endpoints use Authorization: Bearer <DGRID_API_KEY>.
主體
application/json
Target model ID.
Prompt text or prompt array.
Optional suffix for insertion use cases.
Maximum completion length.
Sampling temperature.
Nucleus sampling value.
Number of completions to return.
Enable streaming.
Number of log probability values to return.
Include the prompt in the output.
Stop sequence string or array.
Server-side reranking count.
Token bias map.
End-user identifier.

