Skip to main content

Completions (legacy)

POSThttps://api.stdcmpt.com/v1/completions

The legacy OpenAI text completions endpoint, kept for older tools. For new integrations, use Chat Completions.

curl https://api.stdcmpt.com/v1/completions \
-H "Authorization: Bearer $STANDARDCOMPUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "standardcompute",
"prompt": "Summarize in one sentence: ...",
"max_tokens": 120
}'

prompt must be a non-empty string. The text is returned in choices[0].text. Streaming is supported.