Skip to content

Example with image to image and mask? #2

@jryebread

Description

@jryebread

Hi there, is there some documentation on how one can use a mask image to do outpainting for the AWS marketplace container for SDXL Jumpstart?

I'm trying to do outpainting, is outpainting endpoint supported on the jumpstart version of SDXL? Or is jumpstart only V1 API? Tried the below payload but the model is returning results where the image that's non transparent and shouldn't be changes is being changed:

"payload": {
"text_prompts": [
{
"text": "",
"weight": 0.01
}
],
"cfg_scale": 8,
"height": 1024,
"width": 1024,
"steps": 40,
"seed": 42,
"sampler": "K_DPMPP_2M",
"init_image": source_image_base64,
"samples": 1,
"mask_image": mask_image_base64,
"init_image_mode": "STEP_SCHEDULE",
"mask_source": "INIT_IMAGE_ALPHA",
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions