Nebul Docs

Completion

POST
/v1/completions

Follows the exact same API spec as OpenAI's Completions API https://platform.openai.com/docs/api-reference/completions

curl -X POST https://api.inference.nebul.io/v1/completions -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d '{    "model": "openai/gpt-oss-120b",    "prompt": "Once upon a time",    "max_tokens": 50,    "temperature": 0.7}'

Authorization

X-API-Key<token>

Project-scoped Nebul API key. Also accepted as Authorization: Bearer <key>.

In: header

Query Parameters

model?string|null

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/completions"
null