backgroundgenerator static method

TransformationData backgroundgenerator({
  1. String? backgroundprompt = "YSBmb3Jlc3QgZnVsbCBvZiBvYWsgdHJlZXMsd2l0aCBicmlnaHQgbGlnaHRzLCBzdW4gYW5kIGEgbG90IG9mIG1hZ2ljLCB1bHRyYSByZWFsaXN0aWMsIDhr",
  2. Focus? focus = Focus.product,
  3. String? negativeprompt = "",
  4. int? seed = 123,
})

AI Background Generator

@param backgroundprompt Background prompt (Default: YSBmb3Jlc3QgZnVsbCBvZiBvYWsgdHJlZXMsd2l0aCBicmlnaHQgbGlnaHRzLCBzdW4gYW5kIGEgbG90IG9mIG1hZ2ljLCB1bHRyYSByZWFsaXN0aWMsIDhr)

@param focus Focus (Default: Product)

@param negativeprompt Negative prompt (Default: )

@param seed Seed (Default: 123)

@return The generated TransformationData.

Implementation

static TransformationData backgroundgenerator(
    {String? backgroundprompt =
        "YSBmb3Jlc3QgZnVsbCBvZiBvYWsgdHJlZXMsd2l0aCBicmlnaHQgbGlnaHRzLCBzdW4gYW5kIGEgbG90IG9mIG1hZ2ljLCB1bHRyYSByZWFsaXN0aWMsIDhr",
    Focus? focus = Focus.product,
    String? negativeprompt = "",
    int? seed = 123}) {
  // Call the generated class method
  return BackgroundGenerator()
      .bg(backgroundprompt, focus, negativeprompt, seed);
}