gpt-4-all is a special model variant built on the gpt-4 core that supports file analysis and web browsing alongside standard chat. Like its gpt-4o-all counterpart, you include a file URL directly in your message content rather than uploading files separately — the model fetches the document and answers your question about it. Image analysis and real-time web search are also available in the same interface.
Features
- Image Analysis — Pass an image URL directly in
contentto ask questions about the image. - File Analysis — Pass a file URL followed by a space and your question; the model will download and interpret the file’s contents.
- Web Browsing — Built-in web search capability lets the model pull in current information as part of its response.
Request
POST https://kiosapi.com/v1/chat/completions
Headers
Request Body
string
required
Must be
"gpt-4-all" to access the file analysis and web browsing capabilities.array
required
An array of message objects representing the conversation.
number
Sampling temperature between
0 and 2. Higher values produce more varied output; lower values produce more focused, deterministic output.boolean
Set to
true to receive the response as a stream of server-sent events. Defaults to false.number
The maximum number of tokens to generate in the response.
Example Request
- cURL
- Python
Response
The response follows the standard chat completions format.Response Fields
string
The model’s text response, which may include analysis drawn from the file or image you provided and any information retrieved via web browsing.
string
The reason generation stopped. Typically
"stop" for a complete response.object
Token usage breakdown for the request, including
prompt_tokens, completion_tokens, and total_tokens.