Realtime Voice

Create Realtime Client Secret

Mint a client secret (10 s to 10 min) that opens one realtime session for one model.

post/v1/realtime/client_secrets

Request

  • Base URL: https://api.oneinfer.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.oneinfer.ai/v1/realtime/client_secrets
  • Auth: HTTP bearer

Request body

modelstring nullable

Realtime model, e.g. x-ai/grok-voice-3.0

expires_in_secondsinteger

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.