backgroundgenerator static method

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

AI Background Generator

  • backgroundprompt : Background prompt (Default: YSBmb3Jlc3QgZnVsbCBvZiBvYWsgdHJlZXMsd2l0aCBicmlnaHQgbGlnaHRzLCBzdW4gYW5kIGEgbG90IG9mIG1hZ2ljLCB1bHRyYSByZWFsaXN0aWMsIDhr)

  • focus : focus (Default: Product)

  • negativeprompt : Negative prompt (Default: )

  • seed : seed (Default: 123)

Returns 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);
}