Image
Create Scene Api
Changed onSpecifies:
- object to place on the scene and its properties (object)
- scene properties (scene)
- how many images will be created and where they will be stored (output)
post/v1/scene/create
Request
- The document declares no server URL.
- Auth
- OAuth 2PasswordToken URL: token scopes: image_generation
- or OAuth 2PasswordToken URL: token
Request body
Example request
{
"object": {
"image_url": "storage://storage_1/path/image.jpg"
},
"scene": {
"template_url": "storage://storage_1/path/template.jpg"
}
}Response
Successful Response
Changes
- info
the endpoint scheme security
OAuth2PasswordBearerwas added to the API - info
the endpoint scheme security
OAuth2PasswordBearerwas added to the API - info
added the new optional request property
// - info
the
request property default value changed from{"number_of_images":4,"format":"png"}to{"number_of_images":4,"format":"png","resolution":"1MP"}
- info