replace_background
Replace an image's background with a new scene described in text. Provide a local image path and a prompt describing the desired background to get the path to the updated image.
Instructions
Replace the background of an image following a text description (fal). Requires a fal API key. Returns the path to the new image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | fal model id. Omit for the default. | |
| prompt | Yes | What the new background should look like | |
| image_path | Yes | Local path to the source image |