View Source GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionImage (google_api_ai_platform v0.13.0)

Image.

Attributes

  • encoding (type: String.t, default: nil) - Image encoding, encoded as "image/png" or "image/jpg".
  • generationSeed (type: integer(), default: nil) - Generation seed for the sampled image. This parameter is exposed to the user only if one of the following is true: 1. The user specified per-example seeds in the request. 2. The user doesn't specify the generation seed in the request.
  • image (type: String.t, default: nil) - Raw bytes.
  • imageRaiScores (type: GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionImageRAIScores.t, default: nil) - RAI scores for generated image.
  • raiInfo (type: GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionRaiInfo.t, default: nil) - RAI info for image.
  • semanticFilterResponse (type: GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionSemanticFilterResponse.t, default: nil) - Semantic filter info for image.
  • text (type: String.t, default: nil) - Text/Expanded text input for imagen.
  • uri (type: String.t, default: nil) - Path to another storage (typically Google Cloud Storage).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionImage{
  encoding: String.t() | nil,
  generationSeed: integer() | nil,
  image: String.t() | nil,
  imageRaiScores:
    GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionImageRAIScores.t()
    | nil,
  raiInfo:
    GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionRaiInfo.t() | nil,
  semanticFilterResponse:
    GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionSemanticFilterResponse.t()
    | nil,
  text: String.t() | nil,
  uri: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.