Composites
Generate 3D object composite
Changed onGenerate a 3D Object Composite with the Substance 3D API.
post/v1/composites/compose
Request
- Base URL: https://s3d.adobe.io
- URL: https://s3d.adobe.io/v1/composites/compose
- Auth: HTTP bearer and API key in header x-api-key
Query parameters
waitboolean
Blocking mode (acts like a synchronous API call). Wait for the result before returning. ⚠️ Some operations are long, please be sure to configure your client timeout settings accordingly.
Headers
X-User-Tokenstring
A user token referencing the user's individual account, obtained using their credentials.
Request body
Example request
{
"cameraName": "main_camera",
"heroAsset": "bottle",
"prompt": "french style kitchen with a glass bottle sitting on an empty wooden table window on the left focal length 50mm",
"sources": [
{
"url": {
"url": "https://cdn.substance3d.com/v2/files/public/compositing_table_bottle.glb"
}
}
]
}Response
Accepted
Example response
{
"$schema": "https://s3d.adobe.io/schemas/restv1beta.ComposeSceneResponse.json",
"result": {
"outputSpace": {
"$schema": "https://s3d.adobe.io/schemas/rest_base.Space.json"
}
}
}Changes
- warning
removed the request property
- info
added the new optional
headerrequest parameterX-User-Token - info
added the new optional request property
- warning
- breaking
the response property
/became nullable for the status - breaking
the response property
/became optional for the status
- breaking