SimpleServe
PricingAPI ReferenceStatusAPI Console
PricingAPI ReferenceStatusAPI ConsoleWelcomeQuickstartPricing
TextEmbeddings
OverviewText to SpeechStreaming InputSpeech to TextVoice CloningVoice ChangerRealtimeHistory
Batch
AuthenticationBillingRate LimitsErrorsCompatibility
API Reference
Create chat completion POSTCreate completion POSTCreate embeddings POSTCreate response POST
API ReferenceText

Create chat completion

View as MarkdownOpen in ChatGPTOpen in Claude
POST
/openai/v1/chat/completions

Header Parameters

authorization?Authorization
Default""
xi-api-key?Xi-Api-Key
Default""

Response Body

application/json

application/json

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

API Reference

Every route, with request and response schemas.

Create completion POST

Next Page