Generate a text completion (legacy)
One step with xAI. We can help you get access.
Get something done
Generate a text completion (legacy)
with xAI · Model Inference
Works with AI assistants
Use xAI: its xAI's REST Complete API lets you generate a text completion (legacy) in a single step (POST /v1/complete). xAI also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Can I still use the legacy complete endpoint for text generation?
- Is streaming supported on the older completion request?
Say it to your AI assistant
- Generate a completion for {prompt} on the legacy complete endpoint.
- Complete {prompt} with at most {max_tokens} tokens using the legacy endpoint.
For your developer
POST /v1/complete in xAI's REST Complete API. Full spec on APIs.io.