Developer Documentation

Everything you need to integrate GrainLux into your application. Guides, references, and examples.

🚀 Quick Start

Get up and running with GrainLux in under 5 minutes. Upload your first image and apply transforms.

Read guide →

🔑 Authentication

Learn how to authenticate API requests using API keys, OAuth tokens, and signed URLs.

Read guide →

📤 Upload API

Upload images via REST API, SDKs, or direct browser upload with presigned URLs.

Read guide →

🔄 Transformations

Complete reference for all 100+ image transformations including resize, crop, filters, and effects.

Read guide →

⚡ Optimization

Configure AI-powered optimization, format auto-detection, and quality settings.

Read guide →

🌐 CDN & Delivery

Set up custom domains, configure caching policies, and manage CDN purging.

Read guide →

📦 SDKs & Libraries

Official SDKs for JavaScript, Python, Ruby, Go, PHP, Java, .NET, and more.

View SDKs →

🪝 Webhooks

Receive real-time notifications for upload completions, processing events, and errors.

Read guide →

📊 Analytics API

Access bandwidth usage, transformation counts, cache hit rates, and performance data.

Read guide →

Quick Start Example

Install the SDK and transform your first image in seconds.

# Install the SDK $ npm install grainlux # Transform an image import { GrainLux } from 'grainlux'; const gl = new GrainLux('your-api-key'); const result = await gl.transform('image.jpg', { width: 800, format: 'webp', quality: 'auto' });