Skip to content

inference.seedream-4-5.img2img.v1

View markdown

The inference.seedream-4-5.img2img.v1 job transforms an input image guided by a text prompt using Seedream 4.5.

{
"type": "inference.seedream-4-5.img2img.v1",
"config": {
"prompt": "a serene mountain landscape at golden hour",
"image": "reference.png"
}
}

Additional configuration:

  • width (number; default 2048)
  • height (number; default 2048)
  • watermark (boolean; default False)
  • seed (integer)

This job type is also available under its partner alias inference.partner.seedream-4-5.img2img.v1.

{
"type": "object",
"required": [
"type",
"config"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"config": {
"type": "object",
"required": [
"prompt"
],
"additionalProperties": false,
"properties": {
"image": {
"type": "string",
"format": "filename",
"example": "image.png",
"description": "Set image to edit."
},
"prompt": {
"type": "string",
"minLength": 3,
"maxLength": 4096,
"default": "a dancing cat under moonlight",
"description": "Description of desired output."
},
"width": {
"type": "number",
"minimum": 1920,
"maximum": 4096,
"default": 2048,
"description": "Number of pixels wide."
},
"height": {
"type": "number",
"minimum": 1920,
"maximum": 4096,
"default": 2048,
"description": "Number of pixels tall."
},
"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."
}
}
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}