Everything you need to integrate GrainLux into your application. Guides, references, and examples.
Get up and running with GrainLux in under 5 minutes. Upload your first image and apply transforms.
Read guide →Learn how to authenticate API requests using API keys, OAuth tokens, and signed URLs.
Read guide →Upload images via REST API, SDKs, or direct browser upload with presigned URLs.
Read guide →Complete reference for all 100+ image transformations including resize, crop, filters, and effects.
Read guide →Configure AI-powered optimization, format auto-detection, and quality settings.
Read guide →Set up custom domains, configure caching policies, and manage CDN purging.
Read guide →Official SDKs for JavaScript, Python, Ruby, Go, PHP, Java, .NET, and more.
View SDKs →Receive real-time notifications for upload completions, processing events, and errors.
Read guide →Access bandwidth usage, transformation counts, cache hit rates, and performance data.
Read guide →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'
});