Fast Composite API Functionality

We recently implemented the Fast Composite API on the new website but it’s not behaving as expected.

We did a test where we changed the default fabric in Magento on the Venetian Ottoman (2250-6100 PLP/PDP). The PLP image on the site no longer appears and the PDP image reverted to a Magento image.

I thought the new API would render the new image automatically if we changed a fabric or finish. Do we still have to pre render everything?

Hi @ekinkopf -

The Fast Composite API does not require you to pre-render items but it does accept a stringified, encoded configuration object to provide you with the appropriate render. The docs do not specify that the object must be encoded, that will be fixed.

For example:

Default/No Configuration

![](upload://obBI7HE7mabVGeZrTKr00AnifY4.webp)

Specifified Configuration

https://preview.threekit.com/api/fast-compositor/?assetId=334f1e4f-2daa-414c-ab01-eae0b827ebe7&orgId=a1d70205-c572-4ae2-9f56-6e0c3a216818&configuration=%7B%22Wheel%20Style%22%3A%7B%22assetId%22%3A%22d1ab95a2-955e-49bc-bc50-c6fc6691b43c%22%2C%22configuration%22%3A%22%22%2C%22type%22%3A%22item%22%7D%2C%22Exterior%20Color%22%3A%7B%22assetId%22%3A%22ad8ca044-2f07-41e9-a690-58729d1ead5e%22%7D%2C%22Trim%22%3A%22S%22%2C%22View%20Angles%22%3A%22Lifestyle_City%22%2C%22Lifestyle%22%3A%22%22%7D&bearer_token=49b6b969-1169-486e-8c5d-d4d86ccd3f0f

Raw configuration JSON object:

{
  "Wheel Style": {
    "assetId": "d1ab95a2-955e-49bc-bc50-c6fc6691b43c",
    "configuration": "",
    "type": "item"
  },
  "Exterior Color": { "assetId": "ad8ca044-2f07-41e9-a690-58729d1ead5e" },
  "Trim": "S",
  "View Angles": "Lifestyle_City",
  "Lifestyle": ""
}

Let me know if this is helpful

Hi - to clarify my earlier post, you do not have to pre-render composite images but the layers may need to be pre-rendered. This is a newer feature - I’m sorry for the confusion. Let me know if I can clarify anything.

1 Like

Thank you for your response!

1 Like