跳转到内容

RealtimeSessionConnectOptions

此内容尚不支持你的语言。

type RealtimeSessionConnectOptions = object;
apiKey: string | () => string | Promise<string>;

The API key to use for the connection. Pass a function to lazily load the API key. Overrides default client options.


optional model:
| OpenAIRealtimeModels
| string & object;

The model to use for the connection.


optional url: string;

The URL to use for the connection.