Preset Format Reference

This page documents every field available in an AgX preset TOML file, organized by on-disk table.

metadata

Preset metadata, including name, version, author, and optional inheritance.

FieldRange / ValuesDefaultNote
metadata.namestring""Human-readable preset name.
metadata.versionstring""Semantic version string for the preset.
metadata.authorstring""Preset author name.
metadata.extendsstring or nullnullOptional relative path to a base preset TOML file to merge before this preset.

tone

Controls exposure, contrast, highlights, shadows, whites, and blacks.

FieldRange / ValuesDefaultNote
tone.exposure-5 to 50Exposure in stops, range -5.0 to +5.0.
tone.contrast-100 to 1000Contrast, range -100 to +100.
tone.highlights-100 to 1000Highlights, range -100 to +100.
tone.shadows-100 to 1000Shadows, range -100 to +100.
tone.whites-100 to 1000Whites, range -100 to +100.
tone.blacks-100 to 1000Blacks, range -100 to +100.

white_balance

Controls temperature and tint shifts applied before tonal adjustments.

FieldRange / ValuesDefaultNote
white_balance.temperaturenumber (no validated range)0White balance temperature shift (range: -100 to +100, default: 0).
white_balance.tintnumber (no validated range)0White balance tint shift, green/magenta (range: -100 to +100, default: 0).

lut

Optional 3D LUT reference loaded from a .cube file.

FieldRange / ValuesDefaultNote
lut.pathstring or nullnullOptional relative path to a .cube LUT file, resolved from the preset TOML file.

hsl

Adjusts hue, saturation, and luminance for each HSL color channel.

FieldRange / ValuesDefaultNote
hsl.red.hue-180 to 1800Hue shift in degrees (range: -180 to +180, default: 0).
hsl.red.saturation-100 to 1000Saturation adjustment (range: -100 to +100, default: 0).
hsl.red.luminance-100 to 1000Luminance adjustment (range: -100 to +100, default: 0).
hsl.orange.hue-180 to 1800Hue shift in degrees (range: -180 to +180, default: 0).
hsl.orange.saturation-100 to 1000Saturation adjustment (range: -100 to +100, default: 0).
hsl.orange.luminance-100 to 1000Luminance adjustment (range: -100 to +100, default: 0).
hsl.yellow.hue-180 to 1800Hue shift in degrees (range: -180 to +180, default: 0).
hsl.yellow.saturation-100 to 1000Saturation adjustment (range: -100 to +100, default: 0).
hsl.yellow.luminance-100 to 1000Luminance adjustment (range: -100 to +100, default: 0).
hsl.green.hue-180 to 1800Hue shift in degrees (range: -180 to +180, default: 0).
hsl.green.saturation-100 to 1000Saturation adjustment (range: -100 to +100, default: 0).
hsl.green.luminance-100 to 1000Luminance adjustment (range: -100 to +100, default: 0).
hsl.aqua.hue-180 to 1800Hue shift in degrees (range: -180 to +180, default: 0).
hsl.aqua.saturation-100 to 1000Saturation adjustment (range: -100 to +100, default: 0).
hsl.aqua.luminance-100 to 1000Luminance adjustment (range: -100 to +100, default: 0).
hsl.blue.hue-180 to 1800Hue shift in degrees (range: -180 to +180, default: 0).
hsl.blue.saturation-100 to 1000Saturation adjustment (range: -100 to +100, default: 0).
hsl.blue.luminance-100 to 1000Luminance adjustment (range: -100 to +100, default: 0).
hsl.purple.hue-180 to 1800Hue shift in degrees (range: -180 to +180, default: 0).
hsl.purple.saturation-100 to 1000Saturation adjustment (range: -100 to +100, default: 0).
hsl.purple.luminance-100 to 1000Luminance adjustment (range: -100 to +100, default: 0).
hsl.magenta.hue-180 to 1800Hue shift in degrees (range: -180 to +180, default: 0).
hsl.magenta.saturation-100 to 1000Saturation adjustment (range: -100 to +100, default: 0).
hsl.magenta.luminance-100 to 1000Luminance adjustment (range: -100 to +100, default: 0).

vignette

Controls creative edge darkening or brightening.

FieldRange / ValuesDefaultNote
vignette.amount-100 to 1000Vignette darkening (negative) or brightening (positive) amount (range: -100 to +100, default: 0).
vignette.shapeelliptical, circularellipticalVignette falloff geometry.

color_grading

Controls shadows, midtones, highlights, and global color wheels.

FieldRange / ValuesDefaultNote
color_grading.shadows.hue0 to 3600Hue angle in degrees (0–360).
color_grading.shadows.saturation0 to 1000Saturation amount (0–100, default: 0).
color_grading.shadows.luminance-100 to 1000Luminance shift (range: -100 to +100, default: 0).
color_grading.midtones.hue0 to 3600Hue angle in degrees (0–360).
color_grading.midtones.saturation0 to 1000Saturation amount (0–100, default: 0).
color_grading.midtones.luminance-100 to 1000Luminance shift (range: -100 to +100, default: 0).
color_grading.highlights.hue0 to 3600Hue angle in degrees (0–360).
color_grading.highlights.saturation0 to 1000Saturation amount (0–100, default: 0).
color_grading.highlights.luminance-100 to 1000Luminance shift (range: -100 to +100, default: 0).
color_grading.global.hue0 to 3600Hue angle in degrees (0–360).
color_grading.global.saturation0 to 1000Saturation amount (0–100, default: 0).
color_grading.global.luminance-100 to 1000Luminance shift (range: -100 to +100, default: 0).
color_grading.balance-100 to 1000Shadow/highlight balance point (range: -100 to +100, default: 0).

tone_curve

Controls five independent tone curves for RGB, luma, and per-channel adjustments.

FieldRange / ValuesDefaultNote
tone_curve.rgb.pointsarray of [x, y] points, each 0 to 1[(0, 0), (1, 1)]Control points as (input, output) pairs in [0.0, 1.0], sorted by input.
tone_curve.luma.pointsarray of [x, y] points, each 0 to 1[(0, 0), (1, 1)]Control points as (input, output) pairs in [0.0, 1.0], sorted by input.
tone_curve.red.pointsarray of [x, y] points, each 0 to 1[(0, 0), (1, 1)]Control points as (input, output) pairs in [0.0, 1.0], sorted by input.
tone_curve.green.pointsarray of [x, y] points, each 0 to 1[(0, 0), (1, 1)]Control points as (input, output) pairs in [0.0, 1.0], sorted by input.
tone_curve.blue.pointsarray of [x, y] points, each 0 to 1[(0, 0), (1, 1)]Control points as (input, output) pairs in [0.0, 1.0], sorted by input.

detail

Controls sharpening, clarity, and texture adjustments.

FieldRange / ValuesDefaultNote
detail.sharpening.amount0 to 1000Sharpening intensity, 0–100.
detail.sharpening.radius0.5 to 31Gaussian blur radius in pixels.
detail.sharpening.threshold0 to 10025Minimum luminance delta (0–255 scale) below which sharpening is suppressed.
detail.sharpening.masking0 to 1000Edge-aware masking strength, 0–100.
detail.clarity-100 to 1000Mid-frequency local contrast, -100 to +100.
detail.texture-100 to 1000Fine-frequency detail, -100 to +100.

dehaze

Controls atmospheric haze removal or addition.

FieldRange / ValuesDefaultNote
dehaze.amount-100 to 1000Dehaze strength from -100 (add fog) to +100 (remove haze).

noise_reduction

Controls luminance and chroma noise reduction.

FieldRange / ValuesDefaultNote
noise_reduction.luminance0 to 1000Luminance denoising strength, 0–100.
noise_reduction.color0 to 1000Chroma denoising strength, 0–100.
noise_reduction.detail0 to 1000Finest-scale detail preservation, 0–100.

grain

Controls film grain simulation.

FieldRange / ValuesDefaultNote
grain.typefine, silver, harshsilverGrain type controlling the internal character of the noise.
grain.amount0 to 1000Grain intensity, 0–100.
grain.size0 to 10050Grain particle size, 0 (fine) to 100 (coarse).
grain.seedinteger or nullnullOptional fixed seed for deterministic grain.

See Grain for details.