Skip to main content

VIUCraft Documentation

Home Getting Started User Guides API Reference Image Processing Integration Guides Best Practices Resources Support AI Integration Playground URL Builder

URL Syntax

On This Page

VIUCraft supports two URL formats for image operations.

Standard Format

Key-value pairs separated by underscores:

Code
/{operation}_{param}_{value}_{param}_{value}/

Example:

Code
/resize_width_800_height_600/sharpen_sigma_1.2/quality_value_85/

Short Format

Positional values separated by hyphens:

Code
/{operation}-{value1}-{value2}/

Example:

Code
/resize-800-600/sharp-1.2/q-85/

Chaining Operations

Operations are chained as path segments, processed left to right:

Code
/resize-800-600/sharp-1.2/bright-1.1/q-85/image-id.jpg

Full URL Structure

Paid plans (custom subdomain):

Code
https://{subdomain}.viucraft.com/{operations}/{image-id}.{format}

Free plan (shared endpoint):

Code
https://viucraft.com/free/acc_{id}/{operations}/{image-id}.{format}

Complete Operation Reference

OperationShortParams
resizeresizewidth, height, force, scale
cropcropleft, top, width, height
thumbnailthumbwidth, height, crop, background
smartcropscropwidth, height, strategy
brightnessbrightfactor
contrastconfactor
gammagamexponent
saturationsatfactor
huehueangle
colorizecolcolor, amount
tinttinthighlight, shadow
invertinv(none)
grayscalegray(none)
sepiasepia(none)
autoenhanceautostrength
blurblursigma
sharpensharpsigma, x1, y2, y3
edgeedge(none)
embossemb(none)
medianmedsize
vignettevigscale, opacity, color
noisenoiseamount, type
pixelatepixsize
rotaterotangle, background
flipflipdirection
borderbrdwidth, color, radius, shadow_blur, shadow_color, shadow_x, shadow_y
watermarkwmttext, opacity, position, size, color, rotation
tiled_watermarktwmtext, size, color, opacity, spacing, rotation
svg_overlaysvgdata, x, y, scale, opacity
qualityqvalue
stripstrip(none)
placeholderlqipsize

| responsive | resp | widths, format |

Was this helpful?

On This Page