Stability AI MCP Server
by tadasant
stability-ai-replace-background-and-relight
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
- 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