Skip to content
HALOWERK

Creatorwerk

edit alpha compositing order

Return straight-alpha source-over color and each layer contribution in supplied paint order.

POST https://creator.halowerk.com/v1/edit-alpha-compositing-order

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
backgroundReferenceYes
layersarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "background": {
      "$ref": "#/$defs/s0"
    },
    "layers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s0"
      },
      "maxItems": 50,
      "minItems": 0
    }
  },
  "required": [
    "background",
    "layers"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w4:C6:input",
  "$defs": {
    "s0": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1
      },
      "maxItems": 4,
      "minItems": 4
    }
  }
}

Open original schema

Published input example

{
  "background": [
    0,
    0,
    0,
    1
  ],
  "layers": [
    [
      1,
      0,
      0,
      0.5
    ],
    [
      0,
      0,
      1,
      0.5
    ]
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’