Transform images into 4:5 covers with two processing modes: horizontal layout with blur backgrounds, or vertical layout filling the entire frame.
≥1.0 = horizontal mode, <1.0 = vertical mode
Images with aspect ratio ≥ 1.0 (square or landscape)
Images with aspect ratio < 1.0 (portrait)
Basic Usage:
GET /cover?url=https%3A%2F%2Fexample.com%2Fimage.jpgParameters:
url - Image URL (required)aspectRatio - Width/Height ratio (determines mode)w - Width (default: 1080)h - Height (default: 1350)• aspectRatio ≥ 1.0 = Horizontal mode (rounded corners + blur background)
• aspectRatio < 1.0 = Vertical mode (fills entire frame)
Examples:
Horizontal (landscape):
/cover?url=https%3A%2F%2Fimages.unsplash.com%2Fphoto-1506905925346-21bda4d32df4&aspectRatio=1.5Vertical (portrait):
/cover?url=https%3A%2F%2Fimages.unsplash.com%2Fphoto-1544005313-94ddf0286df2&aspectRatio=0.67