Skip to main content

VIUCraft Documentation

Quick Start Guide

On This Page

Get up and running with VIUCraft in just 5 minutes!

Step 1: Create Your Account

  1. Visit viucraft.com/register and create your account
  2. Verify your email address
  3. Log in to your dashboard

Step 2: Get Your API Key

  1. Navigate to Dashboard > API Keys
  2. Click Generate New API Key
  3. Copy and securely store your API key

> Important: Your API key is shown only once. Store it securely!

Step 3: Upload Your First Image

Using cURL:

cURL
curl -X POST https://api.viucraft.com/upload \
  -H "X-API-Key: your-api-key" \
  -F "image=@/path/to/your/image.jpg"

Response:

JSON
{
  "id": "abc123",
  "url": "https://yoursubdomain.viucraft.com/abc123.jpg",
  "size": 125000,
  "format": "jpeg"
}

Step 4: Transform Your Image

Now use URL parameters to transform your image:

Code
# Resize to 400x300
https://yoursubdomain.viucraft.com/resize-400-300/abc123.jpg

# Apply grayscale
https://yoursubdomain.viucraft.com/grayscale/abc123.jpg

# Chain operations
https://yoursubdomain.viucraft.com/resize-400-300/grayscale/abc123.jpg

Next Steps

  • Review Pricing Plans to choose the right tier
  • Was this helpful?

    On This Page