Upload File To Context To Generate Response With File Context
POST
https://genai.reseter.space/api/v2/upload-file
contextId
. If no contextId
is provided, the system will automatically generate a new identifier. When using an existing contextId
, users need to ensure the validity of this code. After successful upload, the file will be integrated into the context and can be used by AI to generate text based on the file's content.Request
Body Params multipart/form-data
upload
file
required
contextId
string
optional
Example:
ndqthgZIKsHW7TUkAYHT
Request samples
Responses
Modified at 2025-05-09 19:00:10