Upload temporary files via Base64 encoded data. Note: Uploaded files are temporary and automatically deleted after 3 days.
iVBORw0KGgoAAAANSUhEUgAA...data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...All APIs require authentication via Bearer Token.
Get API Key:
Usage: Add to request header: Authorization: Bearer YOUR_API_KEY
Note:
Base64 encoded file data. Supports pure Base64 strings or data URL format
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
File upload path, without leading or trailing slashes
"images/base64"
File name (optional), including file extension. If not provided, a random file name will be generated. If the same file name already exists, the old file will be overwritten. Note: Due to caching, changes may not take effect immediately.
"my-image.png"
File uploaded successfully
Whether the request was successful
Response Status Code
| Code | Description |
|---|---|
| 200 | Success - Request has been processed successfully |
| 400 | Bad Request - Request parameters are incorrect or missing required parameters |
| 401 | Unauthorized - Authentication credentials are missing or invalid |
| 405 | Method Not Allowed - Request method is not supported |
| 500 | Server Error - An unexpected error occurred while processing the request |
200, 400, 401, 405, 500 Response message
"File uploaded successfully"