Skip to main content
Version: V2

CreateDepthMapArtworkRequest

    imageUrl urirequired

    URL of the image to generate a depth map from.

    invertDepth boolean

    Whether to invert the depth image.

    resolutionLowerLimit integer

    Possible values: >= 256 and <= 2048

    Default value: 1024

    Lower limit of the resolution. Must be a multiple of 64.

    usePostResize boolean

    Whether the depth map gets resized to original resolution.

    webhook uri

    Optional webhook URL. When provided, the server will POST the final artwork result to this URL upon completion. Must be HTTPS and a publicly routable host — loopback, link-local, private, and cloud-metadata addresses are rejected.

    outputFormat string

    Possible values: [auto, png, webp]

    Default value: auto

    Output image format. auto (the default) uses the server default (webp with high-quality settings); png is lossless; webp is equivalent to auto.

    useVersion3 boolean

    When true, uses DepthAnythingV3. When false, uses V2. Determines which model values are valid.

    model string

    Default value: large

    Depth map model name. V2: giant, large, base, small. V3: small, base, large, giant, mono_large, metric_large, nested_giant_large.

    normalizationMode string

    Possible values: [Standard, V2-Style, Raw]

    Default value: Standard

    Normalization mode (V3 only). Values: Standard, V2-Style, Raw.