How to Use
To call a GPT, use the prefixgpt-4-gizmo- followed by the GPT’s ID, which you can find in its URL on the OpenAI website.
For example, the GPT at:
Browse thousands of available GPTs at GPTs Hunter to find one that fits your use case.
Request
POSThttps://kiosapi.com/v1/chat/completions
Headers
Request Body
string
required
GPT model name in the format
gpt-4-gizmo-{gizmo_id} (e.g. gpt-4-gizmo-g-bo0FiWLY7).array
required
Array of message objects forming the conversation.
number
Sampling temperature between 0 and 2.
boolean
Set to
true to stream the response using server-sent events.number
Maximum number of tokens to generate in the response.
Examples
- cURL
- Python