backgroundgenerator static method
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);
}