Stability AI · Schema
OutpaintRequest
3D GenerationAIGenerative AIImage GenerationImage EditingMachine LearningStable DiffusionText to ImageVideo Generation
Properties
| Name | Type | Description |
|---|---|---|
| image | string | The source image to extend. |
| prompt | string | Optional text describing what should appear in the extended regions. |
| left | integer | Number of pixels to extend to the left. |
| right | integer | Number of pixels to extend to the right. |
| up | integer | Number of pixels to extend upward. |
| down | integer | Number of pixels to extend downward. |
| seed | integer | A value to control randomness in generation. |
| output_format | string | The output format of the edited image. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/OutpaintRequest",
"title": "OutpaintRequest",
"type": "object",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"format": "binary",
"description": "The source image to extend."
},
"prompt": {
"type": "string",
"maxLength": 10000,
"description": "Optional text describing what should appear in the extended regions."
},
"left": {
"type": "integer",
"minimum": 0,
"description": "Number of pixels to extend to the left."
},
"right": {
"type": "integer",
"minimum": 0,
"description": "Number of pixels to extend to the right."
},
"up": {
"type": "integer",
"minimum": 0,
"description": "Number of pixels to extend upward."
},
"down": {
"type": "integer",
"minimum": 0,
"description": "Number of pixels to extend downward."
},
"seed": {
"type": "integer",
"minimum": 0,
"maximum": 4294967294,
"default": 0,
"description": "A value to control randomness in generation."
},
"output_format": {
"type": "string",
"enum": [
"jpeg",
"png",
"webp"
],
"default": "png",
"description": "The output format of the edited image."
}
}
}