InputContentInputFileContent interface
A file input to the model.
- Extends
Properties
| detail | The detail level of the file to be sent to the model. Use |
| filename | The name of the file to be sent to the model. |
| file_data | The content of the file to be sent to the model. |
| file_id | |
| file_url | The URL of the file to be sent to the model. |
| prompt_cache_breakpoint | |
| type | The type of the input item. Always |
Property Details
detail
The detail level of the file to be sent to the model. Use auto to let the system select the detail level; for GPT-5.6 and later models, auto uses high-quality rendering, which may increase input token usage. Use low for lower-cost rendering, or high to render the file at higher quality. Defaults to auto.
detail?: FileInputDetail
Property Value
filename
The name of the file to be sent to the model.
filename?: string
Property Value
string
file_data
The content of the file to be sent to the model.
file_data?: string
Property Value
string
file_id
file_id?: string
Property Value
string
file_url
The URL of the file to be sent to the model.
file_url?: string
Property Value
string
prompt_cache_breakpoint
type
The type of the input item. Always input_file.
type: "input_file"
Property Value
"input_file"