GET
/v1/schemas/stability/image/v2beta/stable-image/edit/outpaint
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace1ea5455da5ce2efef103daa142cc44a3e70b4fb3cfcdfa0c9a6a6f46d93912ea{
"fetchedAt": 1789536057,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
10 properties · 1 required · 3 $defs| property | type | description | constraints |
|---|---|---|---|
| image* | string | The image you wish to outpaint. | format: binary |
| left | integer | The number of pixels to outpaint on the left side of the image. At least one outpainting direction must be supplied with a non-zero value. | 0 ≤ n ≤ 2000 · default: 0 |
| right | integer | The number of pixels to outpaint on the right side of the image. At least one outpainting direction must be supplied with a non-zero value. | 0 ≤ n ≤ 2000 · default: 0 |
| up | integer | The number of pixels to outpaint on the top of the image. At least one outpainting direction must be supplied with a non-zero value. | 0 ≤ n ≤ 2000 · default: 0 |
| down | integer | The number of pixels to outpaint on the bottom of the image. At least one outpainting direction must be supplied with a non-zero value. | 0 ≤ n ≤ 2000 · default: 0 |
| creativity | number | any | ||
| prompt | string | 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 ≥ 0 · length ≤ 10000 |
| seed | number | 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 |
| output_format | enum | Dictates the `content-type` of the generated image. | png | jpeg | webp · default: "png" |
| style_preset | enum | Guides the image model towards a particular style. | enhance | anime | photographic | digital-art | comic-book | fantasy-art · +11 more |
Types
3 $defsCreativitynumber
Controls the likelihood of creating additional details not heavily conditioned by the init image.
0.2 ≤ n ≤ 0.5 · default: 0.35
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 tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"stability","endpointId":"v2beta/stable-image/edit/outpaint","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}