Get up and running with VIUCraft in just 5 minutes!
Step 1: Create Your Account
- Visit viucraft.com/register and create your account
- Verify your email address
- Log in to your dashboard
Step 2: Get Your API Key
- Navigate to Dashboard > API Keys
- Click Generate New API Key
- 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
- Read the API Reference for all available operations
- Check out Integration Guides for your language