Method: accounts.generatedImages.upscaleProductImage

generatedImages.upscaleProductImage generates a new image where the resolution of the original image is enhanced.

HTTP request

POST https://merchantapi.googleapis.com/productstudio/v1alpha/{name=accounts/*}/generatedImages:upscaleProductImage

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The account for which to generate an image. This acts as a container for the request and does not affect the generation itself. Format: accounts/{account}

Request body

The request body contains data with the following structure:

JSON representation
{
  "outputConfig": {
    object (OutputImageConfig)
  },
  "inputImage": {
    object (InputImage)
  }
}
Fields
outputConfig

object (OutputImageConfig)

Optional. Configuration for how the output image should be returned.

inputImage

object (InputImage)

Required. The input image.

Response body

Response message for the generatedImages.upscaleProductImage method.

If successful, the response body contains data with the following structure:

JSON representation
{
  "generatedImage": {
    object (GeneratedImage)
  }
}
Fields
generatedImage

object (GeneratedImage)

The generated output image.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.