URL File Upload
Download files from URLs and upload them as temporary files.
Documentation Index
Fetch the complete documentation index at: https://docs.veo3api.ai/llms.txt
Use this file to discover all available pages before exploring further.
Features
- Supports HTTP and HTTPS file links
- Automatically downloads remote files and uploads them
- Automatically extracts file names from URLs or uses custom file names
- Automatic MIME type recognition
- Returns complete file information and download links
- API Key authentication protection
- Uploaded files are temporary and automatically deleted after 3 days
Supported Protocols
- HTTP:
http://example.com/file.jpg - HTTPS:
https://example.com/file.jpg
Use Cases
- Migrating files from other services
- Batch downloading and storing web resources
- Backing up remote files
- Caching external resources
Important Notes
- Ensure the provided URL is publicly accessible
- Download timeout is 30 seconds
- Recommended file size limit is 100MB
Authorizations
All APIs require authentication via Bearer Token.
Get API Key:
- Visit API Key Management Page to get your API Key
Usage: Add to request header: Authorization: Bearer YOUR_API_KEY
Body
File download URL, must be a valid HTTP or HTTPS address
"https://example.com/images/sample.jpg"
File upload path, without leading or trailing slashes
"images/downloaded"
Custom file name (optional). If not provided, the system will generate a random filename. If a custom filename is provided that matches an existing file, the existing file will be overwritten. Note: Due to caching mechanisms, file overwrites may not take effect immediately.
"sample-image.jpg"
Response
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"
