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 |
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 ( |
Fields | |
---|---|
outputConfig |
Optional. Configuration for how the output image should be returned. |
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 ( |
Fields | |
---|---|
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.