gpt-4o-all is a special model variant that extends gpt-4o with built-in file analysis and web browsing capabilities. Rather than uploading files through a separate API, you pass a publicly accessible file URL directly inside your message content — the model will fetch and analyse the document, then answer your question about it. You can also pass image URLs for visual analysis, and the model can perform live web searches to supplement its responses.
Features
- Image Analysis — Pass an image URL directly in
contentand ask questions about what the image shows. - 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 retrieve up-to-date information from the internet as part of its response.
Request
POST https://kiosapi.com/v1/chat/completions
Headers
Request Body
string
required
Must be
"gpt-4o-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 of 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.