AuraImage

URL API

Deterministic, human-readable URL structure optimized for SEO and CDN cache efficiency.

AuraImage uses a deterministic, human-readable URL structure optimized for SEO and CDN cache efficiency.

URL Structure

https://auraimage.ai/[slug]/[filename]?[params]
SegmentDescriptionExample
slugYour unique public project identifiernarek
filenameDescriptive filename (improves image SEO)scenic-yerevan-sunset.jpg
paramsTransformation query stringw=800&q=75&fmt=auto

Example

https://auraimage.ai/narek/scenic-yerevan-sunset.jpg?w=800&q=75&fmt=auto

Transformation Parameters

Sizing

ParamTypeDescriptionExample
wintegerWidth in pixels. Height scales proportionally unless h is also set.w=800
hintegerHeight in pixels.h=600
fitstringHow to fit the image into the given dimensions.fit=cover

fit values:

ValueBehavior
coverCrop to fill the exact dimensions (default)
containLetterbox — no crop, full image visible
faceAI-powered smart crop centered on detected faces
autoSaliency-based smart crop (faces, objects, subjects)

Quality & Format

ParamTypeDescriptionExample
q1–100Compression quality. Default: 80.q=75
fmtstringOutput format. Default: auto.fmt=jxl

fmt values:

ValueBehavior
autoRecommended. Detects Accept header and serves JXL → AVIF → WebP → JPEG in priority order.
jxlForce JPEG XL (Chrome 145+, Safari 19+)
avifForce AVIF
webpForce WebP
jpegForce JPEG
pngForce PNG (lossless)

LCP / Loading Helpers

ParamTypeDescriptionExample
blurbooleanReturns the BlurHash string alongside the image response for client-side placeholder.blur=true
lqipbooleanGenerates a low-quality image preview (w=50, q=20).lqip=true

Content Negotiation (Auto Format)

When fmt=auto is set (or omitted), the Edge Proxy reads the Accept header and applies this priority:

JPEG XL  →  AVIF  →  WebP  →  JPEG

The Vary: Accept response header ensures Cloudflare caches the correct variant per browser family, preventing cache poisoning.

SEO Filenames

Descriptive filenames improve image rankings in Google Images. AuraImage stores images under the filename you provide:

# Good — descriptive, SEO-friendly
https://auraimage.ai/narek/golden-gate-bridge-sunset.jpg

# Avoid — opaque IDs hurt image SEO
https://auraimage.ai/narek/img-00432.jpg

Filenames are URL-safe slugs. Use hyphens as word separators.

Immutable Slugs

Your project slug is permanent. If you change it, every image URL you have published will break. Choose carefully during aura init.

Reserved slugs: api, admin, test, static, registry, cdn, health.

Caching Behavior

  • Transformed images are cached globally at Cloudflare's edge on first request.
  • Cache Tags are applied per project slug, allowing instant purge of a single project without affecting others.
  • The first request to a new transformation URL may have a slightly higher TTFB while the edge processes and caches the result. Subsequent requests are served from cache.