Class ColorPaletteItem

java.lang.Object
ai.runapi.wan.types.ColorPaletteItem

public final class ColorPaletteItem extends Object
Color palette constraint for text-to-image generation.
  • Method Details

    • builder

      public static ColorPaletteItem.Builder builder()
      Creates a new color palette item builder.
    • getHex

      public String getHex()
      Returns the hex color.
    • getRatio

      public Double getRatio()
      Returns the optional color ratio.