Package ai.runapi.recraft.types
Class RemoveBackgroundParams.Builder
java.lang.Object
ai.runapi.recraft.types.RemoveBackgroundParams.Builder
- Enclosing class:
- RemoveBackgroundParams
Builder for
RemoveBackgroundParams.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds immutable remove background parameters.callbackUrl(String value) Sets the webhook URL for task completion notifications.model(RemoveBackgroundModel value) Sets the model slug using a typed model value.Sets the model slug using a string value.sourceImageUrl(String value) Sets the source image URL.
-
Method Details
-
model
Sets the model slug using a typed model value. -
model
Sets the model slug using a string value. -
sourceImageUrl
Sets the source image URL. -
callbackUrl
Sets the webhook URL for task completion notifications. -
build
Builds immutable remove background parameters.
-