Class TextToImageParams

java.lang.Object
ai.runapi.flux2.types.TextToImageParams

public final class TextToImageParams extends Object
Parameters for text to image operations.
  • Method Details

    • builder

      public static TextToImageParams.Builder builder()
      Creates a new TextToImageParams 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.