Class RemoveBackgroundParams

java.lang.Object
ai.runapi.recraft.types.RemoveBackgroundParams

public final class RemoveBackgroundParams extends Object
Parameters for remove background operations.
  • Method Details

    • builder

      public static RemoveBackgroundParams.Builder builder()
      Creates a new RemoveBackgroundParams builder.
    • action

      public String action()
      Returns the RunAPI action key for this request.
    • toMap

      public Map<String,Object> toMap()
      Converts these parameters to the JSON request body shape.