DEV Community

Sh Raj
Sh Raj

Posted on

Free Image hosting solution for your website

Professional Free Image Hosting Platform: Pics Shade

Overview

Pics Shade is a comprehensive image hosting solution designed for both individuals and businesses. It offers an intuitive platform for uploading, managing, and delivering images with a focus on ease of integration and scalability.

https://pics.shade.cool/

Key Features

  • Freemium Model: Start for free with up to 10,000 images.
  • API Key-based Uploads: Seamlessly integrate with your application using API key authentication.
  • CDN Delivery: Serve images quickly and reliably through a global CDN.
  • Image Management: Organize images with tags and folders for efficient management.
  • Advanced Integrations: Includes support for S3 storage and Cloudinary CDN, along with free image resizing.

Pricing Model

  1. Free Plan:

    • Up to 10,000 images
    • API key-based uploads
    • CDN delivery
    • Image management
    • Free image resizing
  2. Pro Plan ($10 per 10,000 additional images):

    • 10,000 additional images
    • Enhanced features including Cloudinary CDN integration
  3. Enterprise Plan (Custom Pricing):

    • Unlimited images
    • Custom features and dedicated support

For more details on pricing and features, visit the Pics Shade Pricing Page.

API Upload Documentation

To upload an image via the API:

  • Endpoint: POST /upload
  • Headers: Include Authorization: Bearer YOUR_API_KEY
  • Body Parameters:
    • file: The image file to be uploaded
    • tags: Optional tags for organizing the image
    • folder: Optional folder name to categorize the image
Sample Code in Python
import requests

url = "https://api.pics.shade.cool/upload"
headers = {
    "Authorization": "Bearer YOUR_API_KEY"
}
files = {
    "file": open("path/to/your/image.jpg", "rb")
}
data = {
    "tags": "example, sample",
    "folder": "my_images"
}

response = requests.post(url, headers=headers, files=files, data=data)

print(response.json())
Enter fullscreen mode Exit fullscreen mode
Sample Code in JavaScript (Node.js)
const axios = require('axios');
const FormData = require('form-data');
const fs = require('fs');

const url = 'https://api.pics.shade.cool/upload';
const form = new FormData();
form.append('file', fs.createReadStream('path/to/your/image.jpg'));
form.append('tags', 'example, sample');
form.append('folder', 'my_images');

axios.post(url, form, {
    headers: {
        'Authorization': `Bearer YOUR_API_KEY`,
        ...form.getHeaders()
    }
})
.then(response => {
    console.log(response.data);
})
.catch(error => {
    console.error(error);
});
Enter fullscreen mode Exit fullscreen mode

For a detailed guide, refer to the Pics Shade API Upload Documentation.

Pics Shade provides a robust and scalable solution for all your image hosting needs, combining ease of use with powerful features to ensure your images are managed and delivered efficiently.

Top comments (1)

Collapse
 
sh20raj profile image
Sh Raj