Skip to content

inference.seedream.txt2img.v1

{
"type": "object",
"required": [
"type",
"config"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"inference.seedream.txt2img.v1"
]
},
"config": {
"type": "object",
"required": [
"prompt"
],
"additionalProperties": false,
"properties": {
"prompt": {
"type": "string",
"minLength": 3,
"maxLength": 4096,
"default": "a dancing cat under moonlight",
"description": "Description of desired output."
},
"width": {
"type": "number",
"minimum": 512,
"maximum": 2048,
"default": 1024,
"description": "Number of pixels wide."
},
"height": {
"type": "number",
"minimum": 512,
"maximum": 2048,
"default": 1024,
"description": "Number of pixels tall."
},
"guidance_scale": {
"type": "number",
"minimum": 1,
"maximum": 10,
"default": 2.5,
"description": "High guidance scales improve prompt adherence at the cost of reduced realism."
},
"watermark": {
"type": "boolean",
"default": false,
"description": "When set to true a watermark is added indicating the output is AI generated."
},
"seed": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"description": "A randomness initializer for image reproducability."
}
}
}
}
}