Image

Create Scene Api

Changed on

Specifies:

  • 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 2
      Password
      Token URL: token scopes: image_generation
    • or OAuth 2
      Password
      Token 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 OAuth2PasswordBearer was added to the API

    • info

      the endpoint scheme security OAuth2PasswordBearer was 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"}