Composition

Composition

A composition to create an image.

Nodes that output this type

Composition Absolute Value

Takes the absolute value of all the pixels in the image.

→ Composition

Composition Blend Add

Adds the foreground and background images together using additive blending.

→ Composition

Composition Blend Alpha

Blends between the foreground and background using the alpha component of the foreground. 1 is foreground. 0 is background.

→ Composition

Composition Blend Max

Blends the foreground and background images using maximum value blending.

→ Composition

Composition Blend Min

Blends the foreground and background images using minimum blending, taking the minimum value for each pixel.

→ Composition

Composition Blend Multiply

Multiplies the foreground and background images together using multiply blending.

→ Composition

Composition Blend Stencil

Blends the foreground and background images using stencil blending. When the foreground is over the background, the foreground's alpha and the background's r, g and b are used.

→ Composition

Composition Blend Subtract

Subtracts the foreground image from the background image using subtractive blending.

→ Composition

Composition Bloom

Adds a soft bloom glow by blurring the image's bright areas and additively blending them back over the original. Threshold selects bright areas (OkLab lightness), sigma controls glow spread, intensity scales the glow strength.

→ Composition

Composition Box Blur

Applies a box blur to an image. Dimension is the size. 1 corresponding to 3x3, 2 5x5 and so on.

→ Composition

Composition Brightness Adjust

Adjusts an image's brightness by offsetting the L component in OkLab. A scale of 0 leaves brightness unchanged, positive values brighten, and negative values darken.

→ Composition

Composition Chroma Offset

Applies a chroma offset to an image. This is done by modifying the a and b components of OkLab. For the vector, X applies to a, Y to to b.

→ Composition

Composition Color Convert

Converts a Composition from one color space to another.

→ Composition

Composition Color Invert

Applies a color invert operation to a composition. Taking 1 and subtracting each RGB operation against it. Works in linear color.

→ Composition

Composition Color Threshold

Applies a color threshold to a Composition

→ Composition

Composition Color Transformer Shader

Defines a custom shader that takes an input color and then transforms that color to an output color.

→ Composition

Composition Contrast Adjustment

Adjusts the contrast of a Composition

→ Composition

Composition Convolution

Performs a convolution on an composition

→ Composition

Composition Crop

Applies a crop to a Composition

→ Composition

Composition Duotone

Creates a duotone effect. Colors below the threshold will be color 1, colors above will be color 2.

→ Composition

Composition Emboss

Applies an emboss effect, turning edges into a raised relief lit from the given angle. Flat areas become mid-gray; a negative amount debosses.

→ Composition

Composition Exposure Adjust

Updates the exposure of your image. Internally, will multiply the linear version of RGB values by a value that equals 2^step.

→ Composition

Composition Film Grain

adds multi-octave value-noise film grain in OkLabA - grain_strength controls the overall intensity, and the fine/medium/high frequency and weight pairs control the size and contribution of each grain octave.

→ Composition

Composition Fisheye

Applies a fisheye lens distortion to this composition, magnifying the center and compressing the edges

→ Composition

Composition Flip Horizontal

Flips the image along the horizontal axis

→ Composition

Composition Flip Vertical

Flips the image vertically

→ Composition

Composition Foreground Cutout

Removes the background of a composition without a prompt, keeping the main subject on transparency. Edge colors are re-estimated so hair and fur don't carry the old background's color.

→ Composition

Composition Foreground Mask

Finds the main subject of a composition without a prompt and returns its mask. The result is white with the subject's soft matte in alpha (1 = subject), the same convention as Composition Segment.

→ Composition

Composition Freeform Shader

Given a bounds and a shader, allows you to generate an image.

→ Composition

Composition from Path

Loads an image from a file path or URL, decodes its bytes, and creates a Composition from it.

→ Composition

Composition Gaussian Blur

Applies a gaussian blur to an image. Sigma controls the blur intensity.

→ Composition

Composition Grayscale

Applies grayscale to a Composition

→ Composition

Composition Halftone

Applies a halftone effect to a composition, tiling it into cells and painting a foreground-colored dot in each cell whose radius grows as the cell darkens, over a background color.

→ Composition

Composition Kaleidoscope

Applies a kaleidoscope effect, folding the image into mirrored wedges around the center. segments controls the number of wedges, rotation spins the pattern, and warp/warp_frequency add a radial glass-like distortion.

→ Composition

Composition Lightness Curve

Applies a curve to the L component in an OkLab color. Adjusting the lightness of the image.

→ Composition

Composition Lightness Threshold

Thresholds a Composition by OkLab lightness, producing an opaque white mask where lightness exceeds the threshold and transparent black elsewhere.

→ Composition

Composition RGBA Linear Transform

Applies a linear transform to a Composition's RGBA values. Before application, will convert to a linear version of the color profile and will convert to an RGB profile if needed.

→ Composition

Composition Liquify

Applies a sinusoidal liquify distortion to this composition, displacing pixels by a wave whose size is controlled by amplitude and whose density is controlled by frequency.

→ Composition

Composition Median

Applies a per-channel median filter to a composition over a square window, reducing noise while preserving edges. kernel_size controls the window size (window width is 2*kernel_size-1).

→ Composition

Monet's Women with a Parasol

Creates a composition from Monet's "Women with a Parasol" painting. Used frequently as a test asset.

→ Composition

Composition Morphological Max

Apples a morphological max operation.

→ Composition

Composition Morphological Min

Apples a morphological min operation.

→ Composition

Composition Negative

Creates the effect of a negative image by subracting from each component of the image.

→ Composition

Composition Nonlinear RGB Blend Alpha

A specialized version of CompositionBlendAlpha. Blends in a non-linear RGB.

→ Composition

Composition Opacity Scale

Changes the opacity of an image by multiplying it by a scalar.

→ Composition

Composition Painter

Creates a composition from a painter.

→ Composition

Composition Palette Reduction

Reduces the number of colors in a composition to a specified palette.

→ Composition

Composition Pixelate

Applies a pixelation effect to a composition.

→ Composition

Composition Point Effect Shader

Runs a custom shader over a circular region around an effect center point.

→ Composition

Composition RGB Curve

Applies a curve to the R, G, and B components

→ Composition

Composition Rotate 180

Rotates the image 180 degrees

→ Composition

Composition Rotate 90 Clockwise

Rotates the image 90 degrees clockwise

→ Composition

Composition Rotate 90 Counter Clockwise

Rotates the image 90 degrees counter-clockwise

→ Composition

Composition Saturation Adjust

Adjusts the saturation of an image by a given factor. Internally, scales the chroma components in OkLab color space.

→ Composition

Composition Scanlines

Applies a CRT-style scanline effect, darkening the composition in horizontal bands whose spacing is set by size, sharpness by beam power, vertical phase by line offset, and overall strength by intensity.

→ Composition

Composition Segment

Segments objects in a composition using SAM3. Accepts a text prompt and lists of positive/negative click points.

→ Composition

Composition Sharpen

Applies a sharpen filter to the composition.

→ Composition

Composition Sobel Edge Detection

Applies Sobel edge detection to an image.

→ Composition

Composition Spacial Effect Shader

Runs a custom shader over an input that can spatially displace pixels by up to a maximum displacement.

→ Composition

Composition Swirl

Applies a swirl distortion to this composition

→ Composition

Composition Target White Kelvin

Sets the image white point to the value specified in Kelvin. The profile connection white point is D50, so you will only see changes as you move away from that.

→ Composition

Composition Transform

Applies a 2D transform to a Composition.

→ Composition

Composition Vibrance Adjustment

Adjusts the vibrance of an image by a given strength. Internally, boosts chroma in OkLab color space adaptively, applying more boost to less saturated colors.

→ Composition

Composition Vignette

darkens the area outside an ellipse - center is the bright spot in pixel coordinates, radius_x and radius_y are the ellipse semi-axes in pixels where the falloff starts, softness is the width of the fade-out band in pixels, and strength (0-1) defines how dark the edges become at maximum.

→ Composition

Composition Zoom Blur

Performs a zoom blur on this composition

→ Composition

Sequence Composition at Time

Extracts an composition from a sequence at a particular time

→ Composition

Nodes that accept this type as input

Composition Absolute Value

Takes the absolute value of all the pixels in the image.

→ Composition

Composition Blend Add

Adds the foreground and background images together using additive blending.

→ Composition

Composition Blend Alpha

Blends between the foreground and background using the alpha component of the foreground. 1 is foreground. 0 is background.

→ Composition

Composition Blend Max

Blends the foreground and background images using maximum value blending.

→ Composition

Composition Blend Min

Blends the foreground and background images using minimum blending, taking the minimum value for each pixel.

→ Composition

Composition Blend Multiply

Multiplies the foreground and background images together using multiply blending.

→ Composition

Composition Blend Stencil

Blends the foreground and background images using stencil blending. When the foreground is over the background, the foreground's alpha and the background's r, g and b are used.

→ Composition

Composition Blend Subtract

Subtracts the foreground image from the background image using subtractive blending.

→ Composition

Composition Bloom

Adds a soft bloom glow by blurring the image's bright areas and additively blending them back over the original. Threshold selects bright areas (OkLab lightness), sigma controls glow spread, intensity scales the glow strength.

→ Composition

Composition Bounds

Computes the bounding box of a composition.

→ Bounds2f

Composition Box Blur

Applies a box blur to an image. Dimension is the size. 1 corresponding to 3x3, 2 5x5 and so on.

→ Composition

Composition Brightness Adjust

Adjusts an image's brightness by offsetting the L component in OkLab. A scale of 0 leaves brightness unchanged, positive values brighten, and negative values darken.

→ Composition

Composition Chroma Offset

Applies a chroma offset to an image. This is done by modifying the a and b components of OkLab. For the vector, X applies to a, Y to to b.

→ Composition

Composition Color Convert

Converts a Composition from one color space to another.

→ Composition

Composition Color Invert

Applies a color invert operation to a composition. Taking 1 and subtracting each RGB operation against it. Works in linear color.

→ Composition

Composition Color Representation

Gets the color representation associated with a Composition

→ ColorRepresentation

Composition Color Threshold

Applies a color threshold to a Composition

→ Composition

Composition Color Transformer Shader

Defines a custom shader that takes an input color and then transforms that color to an output color.

→ Composition

Composition Connected Component Boxes

Finds boxes with a r alpha channel value greater than 0.5 in the image. Recommended to use a binary image for this.

→ Bounds2iList

Composition Contrast Adjustment

Adjusts the contrast of a Composition

→ Composition

Composition Convolution

Performs a convolution on an composition

→ Composition

Composition Crop

Applies a crop to a Composition

→ Composition

Composition Duotone

Creates a duotone effect. Colors below the threshold will be color 1, colors above will be color 2.

→ Composition

Composition Emboss

Applies an emboss effect, turning edges into a raised relief lit from the given angle. Flat areas become mid-gray; a negative amount debosses.

→ Composition

Composition Exposure Adjust

Updates the exposure of your image. Internally, will multiply the linear version of RGB values by a value that equals 2^step.

→ Composition

Composition Film Grain

adds multi-octave value-noise film grain in OkLabA - grain_strength controls the overall intensity, and the fine/medium/high frequency and weight pairs control the size and contribution of each grain octave.

→ Composition

Composition Fisheye

Applies a fisheye lens distortion to this composition, magnifying the center and compressing the edges

→ Composition

Composition Flip Horizontal

Flips the image along the horizontal axis

→ Composition

Composition Flip Vertical

Flips the image vertically

→ Composition

Composition Foreground Cutout

Removes the background of a composition without a prompt, keeping the main subject on transparency. Edge colors are re-estimated so hair and fur don't carry the old background's color.

→ Composition

Composition Foreground Mask

Finds the main subject of a composition without a prompt and returns its mask. The result is white with the subject's soft matte in alpha (1 = subject), the same convention as Composition Segment.

→ Composition

Composition Gaussian Blur

Applies a gaussian blur to an image. Sigma controls the blur intensity.

→ Composition

Composition Grayscale

Applies grayscale to a Composition

→ Composition

Composition Halftone

Applies a halftone effect to a composition, tiling it into cells and painting a foreground-colored dot in each cell whose radius grows as the cell darkens, over a background color.

→ Composition

Composition Kaleidoscope

Applies a kaleidoscope effect, folding the image into mirrored wedges around the center. segments controls the number of wedges, rotation spins the pattern, and warp/warp_frequency add a radial glass-like distortion.

→ Composition

Composition Lightness Curve

Applies a curve to the L component in an OkLab color. Adjusting the lightness of the image.

→ Composition

Composition Lightness Threshold

Thresholds a Composition by OkLab lightness, producing an opaque white mask where lightness exceeds the threshold and transparent black elsewhere.

→ Composition

Composition RGBA Linear Transform

Applies a linear transform to a Composition's RGBA values. Before application, will convert to a linear version of the color profile and will convert to an RGB profile if needed.

→ Composition

Composition Liquify

Applies a sinusoidal liquify distortion to this composition, displacing pixels by a wave whose size is controlled by amplitude and whose density is controlled by frequency.

→ Composition

Composition Locate

Finds the location of a prompt within the image.

→ Bounds2fList

Composition Max Color

Computes the maximum color in a composition. Works by finding the maximum L, a and b and alpha components of an OkLabA color.

→ ProfiledColor

Composition Median

Applies a per-channel median filter to a composition over a square window, reducing noise while preserving edges. kernel_size controls the window size (window width is 2*kernel_size-1).

→ Composition

Composition Min Color

Computes the minimum color in a composition. Works by finding the minimum L, a and b and alpha components of an OkLabA color.

→ ProfiledColor

Composition Min Max Colors

Computes the minimum and maximum colors in a composition. Works by finding the minimum and maximum L, a and b and alpha components of an OkLabA color.

→ ProfiledColorList

Composition Morphological Max

Apples a morphological max operation.

→ Composition

Composition Morphological Min

Apples a morphological min operation.

→ Composition

Composition Negative

Creates the effect of a negative image by subracting from each component of the image.

→ Composition

Composition Nonlinear RGB Blend Alpha

A specialized version of CompositionBlendAlpha. Blends in a non-linear RGB.

→ Composition

Composition Opacity Scale

Changes the opacity of an image by multiplying it by a scalar.

→ Composition

Composition Opaque Bounds

Computes the bounding box of the pixels in a composition whose alpha is greater than the threshold. Unlike Composition Bounds, transparent regions are excluded.

→ Bounds2f

Composition Palette

Generates a palette of the most dominant colors of a composition.

→ ProfiledColorList

Composition Palette Reduction

Reduces the number of colors in a composition to a specified palette.

→ Composition

Composition Pixelate

Applies a pixelation effect to a composition.

→ Composition

Composition Point Effect Shader

Runs a custom shader over a circular region around an effect center point.

→ Composition

Composition RGB Curve

Applies a curve to the R, G, and B components

→ Composition

Composition Rotate 180

Rotates the image 180 degrees

→ Composition

Composition Rotate 90 Clockwise

Rotates the image 90 degrees clockwise

→ Composition

Composition Rotate 90 Counter Clockwise

Rotates the image 90 degrees counter-clockwise

→ Composition

Composition Saturation Adjust

Adjusts the saturation of an image by a given factor. Internally, scales the chroma components in OkLab color space.

→ Composition

Composition Scanlines

Applies a CRT-style scanline effect, darkening the composition in horizontal bands whose spacing is set by size, sharpness by beam power, vertical phase by line offset, and overall strength by intensity.

→ Composition

Composition Segment

Segments objects in a composition using SAM3. Accepts a text prompt and lists of positive/negative click points.

→ Composition

Composition Sharpen

Applies a sharpen filter to the composition.

→ Composition

Composition Sobel Edge Detection

Applies Sobel edge detection to an image.

→ Composition

Composition Spacial Effect Shader

Runs a custom shader over an input that can spatially displace pixels by up to a maximum displacement.

→ Composition

Composition Swirl

Applies a swirl distortion to this composition

→ Composition

Composition Target White Kelvin

Sets the image white point to the value specified in Kelvin. The profile connection white point is D50, so you will only see changes as you move away from that.

→ Composition

Composition to OkLab Histogram

Creates an OkLab Histogram from the colors in a Composition.

→ OkLabHist

Composition Transform

Applies a 2D transform to a Composition.

→ Composition

Composition Vibrance Adjustment

Adjusts the vibrance of an image by a given strength. Internally, boosts chroma in OkLab color space adaptively, applying more boost to less saturated colors.

→ Composition

Composition Vignette

darkens the area outside an ellipse - center is the bright spot in pixel coordinates, radius_x and radius_y are the ellipse semi-axes in pixels where the falloff starts, softness is the width of the fade-out band in pixels, and strength (0-1) defines how dark the edges become at maximum.

→ Composition

Composition Zoom Blur

Performs a zoom blur on this composition

→ Composition

Sequence from Composition and Duration

Give a Composition and a Duration. Returns a Sequence.

→ Sequence

Sequence Graph

Creates a sequence that runs the graph to get the duration and the frame for each time.

→ Sequence