Stability AI · Schema
SearchAndRecolorRequest
3D GenerationAIGenerative AIImage GenerationImage EditingMachine LearningStable DiffusionText to ImageVideo Generation
Properties
| Name | Type | Description |
|---|---|---|
| image | string | The source image containing the objects to recolor. |
| prompt | string | Text describing the desired color or appearance change. |
| select_prompt | string | Text describing the objects to find and recolor in the image. |
| negative_prompt | string | Text describing elements to exclude from the recoloring. |
| 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/SearchAndRecolorRequest",
"title": "SearchAndRecolorRequest",
"type": "object",
"required": [
"image",
"prompt",
"select_prompt"
],
"properties": {
"image": {
"type": "string",
"format": "binary",
"description": "The source image containing the objects to recolor."
},
"prompt": {
"type": "string",
"maxLength": 10000,
"description": "Text describing the desired color or appearance change."
},
"select_prompt": {
"type": "string",
"maxLength": 10000,
"description": "Text describing the objects to find and recolor in the image."
},
"negative_prompt": {
"type": "string",
"maxLength": 10000,
"description": "Text describing elements to exclude from the recoloring."
},
"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."
}
}
}