stability-ai-replace-background-and-relight
Replace or edit the background and adjust lighting in images using customizable prompts and reference images. Control light source direction and strength to enhance visual results.
Instructions
Replace background and adjust lighting of an image
Input Schema
Name | Required | Description | Default |
---|---|---|---|
backgroundPrompt | No | Description of the desired background | |
backgroundReferenceUri | No | Optional URI to a reference image for background style | |
foregroundPrompt | No | Optional description of the subject to prevent background bleeding | |
imageFileUri | Yes | The URI to the subject image file. It should start with file:// | |
keepOriginalBackground | No | Whether to keep the original background | |
lightReferenceUri | No | Optional URI to a reference image for lighting | |
lightSourceDirection | No | Direction of the light source | |
lightSourceStrength | No | Strength of the light source (0-1) | |
negativePrompt | No | Optional description of what you don't want to see | |
originalBackgroundDepth | No | Control background depth matching (0-1) | |
outputImageFileName | Yes | The desired name of the output image file, no file extension. Make it descriptive but short. Lowercase, dash-separated, no special characters. | |
preserveOriginalSubject | No | How much to preserve the original subject (0-1) |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Stability AI MCP Server
- stability-ai-0-list-resources
- stability-ai-control-sketch
- stability-ai-control-structure
- stability-ai-control-style
- stability-ai-generate-image
- stability-ai-generate-image-sd35
- stability-ai-outpaint
- stability-ai-remove-background
- stability-ai-replace-background-and-relight
- stability-ai-search-and-recolor
- stability-ai-search-and-replace
- stability-ai-upscale-creative
- stability-ai-upscale-fast
Related Tools
- @yunwoong7/aws-nova-canvas-mcp
- @tadasant/mcp-server-stability-ai
- @tadasant/mcp-server-stability-ai
- @tadasant/mcp-server-stability-ai
- @yunwoong7/aws-nova-canvas-mcp