MagicBackgroundRequest

Request body for magic background generation

  • productImage
    required

    The product image (file or URL) to process

    • Type: string

      The product image (file or URL) to process

  • backgroundImage

    The background image (file or URL) to use (optional)

    • Type: string

      The background image (file or URL) to use (optional)

  • prompt
    Type: string
    max length:  
    500

    Free-text scene description for the replacement background. Describe only the scene — do not mention or instruct changes to the product itself. Maximum 500 characters. Examples: "a sandy beach at sunset", "a polished marble kitchen counter".

  • tags
    Type: array string[]

    Optional client-supplied tags returned as-is in the response