GET

/v1/schemas/stability/image/v2beta/stable-image/edit/search-and-recolor

kind inputactivity imagehash 604ee311…extracted Sep 16, 2026version currentsource upstream spec ↗

Request body

8 properties · 3 required · 4 $defs
propertytypedescriptionconstraints
image*stringAn image containing content you wish to recolor.format: binary
prompt*stringWhat you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.length ≥ 1 · length ≤ 10000
select_prompt*stringShort description of what to search for in the `image`.length ≤ 10000
negative_promptstringA blurb of text describing what you **do not** wish to see in the output image. This is an advanced feature.length ≤ 10000
grow_masknumberGrows the edges of the mask outward in all directions by the specified number of pixels. The expanded area around the mask will be blurred, which can help smooth the transition between inpainted content and the original image.0 ≤ n ≤ 20 · default: 3
seednumberA specific value that is used to guide the 'randomness' of the generation. (Omit this parameter or pass `0` to use a random seed.)0 ≤ n ≤ 4294967294 · default: 0
output_formatenumDictates the `content-type` of the generated image.jpeg | png | webp · default: "png"
style_presetenumGuides the image model towards a particular style.enhance | anime | photographic | digital-art | comic-book | fantasy-art · +11 more

Types

4 $defs

NegativePromptstring

A blurb of text describing what you **do not** wish to see in the output image. This is an advanced feature.

length ≤ 10000

Promptstring

What you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.

length ≥ 1 · length ≤ 10000

Seednumber

A specific value that is used to guide the 'randomness' of the generation. (Omit this parameter or pass `0` to use a random seed.)

0 ≤ n ≤ 4294967294 · default: 0

StylePresetenum

Guides the image model towards a particular style.

enhance | anime | photographic | digital-art | comic-book | fantasy-art · +11 more

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"stability","endpointId":"v2beta/stable-image/edit/search-and-recolor","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}