Scenes
Create 3D scene
Changed onAssemble a 3D scene with the Substance 3D API.
post/v1/scenes/assemble
Request
- Base URL: https://s3d.adobe.io
- URL: https://s3d.adobe.io/v1/scenes/assemble
- 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.
Request body
Example request
{
"encoding": "usdz",
"fileBaseName": "scene",
"scene": {
"models": {
"imports": [
{
"file": "WaterBottle.glb"
},
{
"file": "WaterBottle.glb",
"transform": {
"trs": {
"rotation": {
"euler": [
30,
0,
0
]
},
"scale": [
1,
1,
1
],
"translation": [
0.15,
0,
0
]
}
}
}
]
}
},
"sources": [
{
"url": {
"url": "https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/WaterBottle/glTF-Binary/WaterBottle.glb"
}
}
]
}Response
Accepted
Example response
{
"$schema": "https://s3d.adobe.io/schemas/restv1beta.CreateSceneResponse.json",
"result": {
"outputSpace": {
"$schema": "https://s3d.adobe.io/schemas/rest_base.Space.json"
}
}
}Changes
- breaking
request body became required
- breaking
the request property
became not nullable - info
the response property
/became required for the status
- breaking
- info
added the new optional request property
/
- info