Skip to main content

Image To Image

Call Get Resource Upload Address, and upload the image to the returned address, get the resource id

请求参数

{
"request_id": "unique_key",
"stages": [
{
"type": "INPUT_INITIALIZE",
"inputInitialize": {
"image_resource_id": "f204c24a-52dc-4cf4-930a-9b8f73969414",
"count": 2
}
},
{
"type": "DIFFUSION",
"diffusion": {
"width": 512,
"height": 512,
"prompts": [
{
"text": "1girl"
}
],
"steps": 15,
"sd_model": "600423083519508503",
"clip_skip": 2,
"cfg_scale": 7
}
}
]
}