Optionaladjust
adjust?: {
brightness?: number;
contrast?: number;
highlights?: number;
saturation?: number;
shadows?: number;
sharpen?: number;
tint?: number;
vignette?: number;
warmth?: number;
}
Optionalamount
amount?: number
OptionalaudioFx
audioFx?:
| {
compress?: number;
denoise?: number;
eq?: { high: number; low: number; mid: number };
keepPitch?: boolean;
pitch?: number;
}
| null
Type Declaration
- {
compress?: number;
denoise?: number;
eq?: { high: number; low: number; mid: number };
keepPitch?: boolean;
pitch?: number;
}
-
Optionalcompress?: number
-
Optionaldenoise?: number
-
Optionaleq?: { high: number; low: number; mid: number }
-
OptionalkeepPitch?: boolean
-
Optionalpitch?: number
- null
Optionalblend
blend?:
| "normal"
| "multiply"
| "screen"
| "overlay"
| "soft-light"
| "add"
| "lighten"
| "darken"
| "difference"
| null
Optionalcrop
crop?: { bottom: number; left: number; right: number; top: number }
Type Declaration
-
bottom: number
-
left: number
-
right: number
-
top: number
Optionalcutout
cutout?: { assetId: string } | null
Optionalduck
duck?: number
Optionaleffect
effect?: "blur" | "pixelate"
Optionalemoji
emoji?: string | null
OptionalfadeIn
fadeIn?: number
OptionalfadeOut
fadeOut?: number
Optionalfilter
filter?: { id: string; intensity: number } | null
Type Declaration
- { id: string; intensity: number }
-
id: string
-
intensity: number
- null
Optionalfit
fit?: "fit" | "fill"
Optionalheight
height?: number
Optionalkey
key?:
| { color: string; softness: number; spill: number; tolerance: number }
| null
Type Declaration
- { color: string; softness: number; spill: number; tolerance: number }
-
color: string
-
softness: number
-
spill: number
-
tolerance: number
- null
Optionallut
lut?: { assetId: string; intensity: number } | null
Optionalmask
mask?: { feather: number; invert?: boolean; shape: string } | null
Type Declaration
- { feather: number; invert?: boolean; shape: string }
-
feather: number
-
Optionalinvert?: boolean
-
shape: string
- null
OptionalmaxWidth
maxWidth?: number | null
Optionalmuted
muted?: boolean
Optionalname
name?: string
Optionalshape
shape?: "rectangle" | "ellipse"
Optionalstyle
style?: {
align: "left" | "right" | "center";
background: { color: string; padding: number; radius: number } | null;
color: string;
fontFamily: string;
fontWeight: number;
italic: boolean;
letterSpacing: number;
lineHeight: number;
outline: { color: string; width: number } | null;
shadow: { blur: number; color: string; x: number; y: number } | null;
size: number;
}
Type Declaration
-
align: "left" | "right" | "center"
-
background: { color: string; padding: number; radius: number } | null
-
color: string
-
fontFamily: string
-
fontWeight: number
-
italic: boolean
-
letterSpacing: number
-
lineHeight: number
-
outline: { color: string; width: number } | null
-
shadow: { blur: number; color: string; x: number; y: number } | null
-
size: number
Optionaltext
text?: string
transform?: {
flipX: boolean;
flipY: boolean;
opacity: number;
rotation: number;
scale: number;
x: number;
y: number;
}
Type Declaration
-
flipX: boolean
-
flipY: boolean
-
opacity: number
-
rotation: number
-
scale: number
-
x: number
-
y: number
Optionalvolume
volume?: number
Optionalwidth
width?: number
Fields that
updateItemmay change. Timing and media references have their own operations.