Base64 File Upload
File Upload
Base64 File Upload
- Supports Base64 encoding and Data URL formats
- Automatically identifies file types and categorizes storage
- Returns accessible file URLs and download links
- Files will expire after 72 hours
- Current user quota is limited. Uploads will fail when quota is exhausted. Please save locally if persistent storage is needed
Note:
The file upload API base URL ishttps://files-api.evolink.ai
POST
Base64 File Upload
Authorizations
##All APIs require Bearer Token authentication##
Get API Key:
Visit API Key Management Page to get your API Key
Add to request header:
Authorization: Bearer YOUR_API_KEYBody
application/json
Base64 encoded file data
Supported Formats:
- Data URL format:
data:image/png;base64,iVBORw0KGgo... - Pure Base64 encoding:
iVBORw0KGgo...
Note:
- Maximum
1image per request - Currently supports uploading files in:
image/jpeg,image/png,image/gif,image/webpformats only
Example:
"data:image/png;base64,iVBORw0KGgo..."
Custom upload path
Note:
- If not specified, system will automatically categorize based on file type
Example:
"avatars"
Custom file name
Note:
- If not specified, system will automatically generate a unique file name
Example:
"avatar.png"