Files
Upload a media file that can be used as inference input.
Changed onUpload media files to be used as inference input. Currently, only images upto 50 MB are supported.
post/v1/files
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Response
Successful Response.
Example response
{
"data": {
"path": "myfile.jpg",
"contentType": "image/jpeg"
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking