@musallam/firefly-client
    Preparing search index...

    Interface AdaptiveCompositeRequest

    interface AdaptiveCompositeRequest {
        background: BackgroundInput;
        harmonization?: number;
        numVariations?: number;
        object: AdaptiveObjectInput;
        output?: OutputSpec;
        preserveBackground?: boolean;
        seeds?: number[];
        shadowIntensity?: number;
    }
    Index

    Properties

    background: BackgroundInput

    Background image and fill area mask.

    harmonization?: number

    Controls how much the object's colors and lighting are adjusted to match the background scene. 0 1

    numVariations?: number

    Number of output variations to generate. 1 3

    Object image and optional mask.

    output?: OutputSpec

    Output format specification.

    preserveBackground?: boolean

    When true, preserves original background details within the masked area during compositing.

    seeds?: number[]

    Array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. If specified alongside numVariations, the number of seeds must equal numVariations. Defaults: 1 variation → [333], 2 → [333, 222], 3 → [333, 222, 111]. 1 3

    shadowIntensity?: number

    Controls shadow intensity in the composited result. Lower values reduce shadow. 0 1