Images

Packshot Compositing

Changed on

Composites a foreground image onto a background with configurable shadows, reflections, margins, and placement.

post/v1/image/packshot-compositing

Request

  • Base URL
    https://api.jasper.ai
  • URL
    https://api.jasper.ai/v1/image/packshot-compositing
  • Auth
    • API key in header X-API-Key
    • or OAuth 2
      Authorization code: https://api.jasper.ai/oauth2/authorize
      Token URL: https://api.jasper.ai/oauth2/token scopes: user

Request body multipart/form-data

image_filestring binary required
background_image_filestring binary required
output_widthnumber
output_heightnumber
flip_horizontallyboolean
shadow_type'behind_left' | 'bottom_left' | 'none'
shadow_intensitynumber
reflection_type'bottom' | 'none'
reflection_intensitynumber
margin_leftnumber
margin_rightnumber
margin_topnumber
margin_bottomnumber
vertical_placementnumber

Response

The packshot compositing was successful.

Changes

    • breaking

      the request property became required

    • breaking

      the request property became required