ideogram_replace_background
Replace a photo's background with a new scene described in a prompt, preserving the foreground subject.
Instructions
Replace the background of an image while preserving the foreground subject. Describe the new background in the prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Reproducibility seed | |
| image | Yes | Local file path of the source image | |
| prompt | Yes | Description of the new background | |
| num_images | No | Number of variations (1-8, default: 1) | |
| magic_prompt | No | Auto-enhance prompts (default: AUTO) | |
| rendering_speed | No | Speed/quality tradeoff (default: DEFAULT) |