Upload Image
POST
/api/v1/files/images
Upload image file (supports jpg, jpeg, png, gif, webp, max 10MB)
Authorizations
BearerAuth
Bearer token authentication. Can be either a user JWT token or an API key.
Example: Authorization: Bearer <token_or_key>
TypeHTTP (bearer)
Request Body
multipart/form-data
file
string
Required
Image file
Format
"binary"Responses
Upload successful
application/json
{
"code": 0,
"msg": "ok",
"data": {
"file_key": "string"
}
}
