ImageService

Service that exposes Generative AI (GenAI) endpoints for creating and enhancing product image content.

GenerateProductImageBackground

rpc GenerateProductImageBackground(GenerateProductImageBackgroundRequest) returns (GenerateProductImageBackgroundResponse)

GenerateProductImageBackground generates a new image where the background of the original image is replaced by an AI generated scene based on provided product information and a text prompt.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

RemoveProductImageBackground

rpc RemoveProductImageBackground(RemoveProductImageBackgroundRequest) returns (RemoveProductImageBackgroundResponse)

RemoveProductImageBackground generates a new image where the background of the original image is removed.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

UpscaleProductImage

rpc UpscaleProductImage(UpscaleProductImageRequest) returns (UpscaleProductImageResponse)

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.