Uploading Files
Web Interface
The easiest way to upload files is through our web interface. Simply drag and drop files onto the upload area, or click to browse your files.
API Upload
For programmatic uploads, use the REST API:
curl -X POST https://api.file.cheap/v1/files \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -F "file=@/path/to/image.jpg" \ -F "generate_thumbnail=true" \ -F "generate_resize=true"Processing Options
| Option | Description |
|---|---|
generate_thumbnail | Create 150x150 thumbnail |
generate_resize | Create small, medium, and large variants |
convert_webp | Convert to WebP format |
extract_metadata | Extract EXIF and document properties |