You're looking at a specific version of this model. Jump to the model overview.

usamaehsan /swap-sd:c8fd471d

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
image
string
Input image
pose_image
string
pose image
prompt
string
Prompt - using compel, use +++ to increase words weight:: doc: https://github.com/damian0815/compel/tree/main/doc || https://invoke-ai.github.io/InvokeAI/features/PROMPTS/#attention-weighting
negative_prompt
string
Longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality
Negative prompt - using compel, use +++ to increase words weight//// negative-embeddings available ///// FastNegativeV2 , boring_e621_v4 , verybadimagenegative_v1 || to use them, write their keyword in negative prompt
num_inference_steps
integer
20
Steps to run denoising
guidance_scale
number
2

Min: 0.1

Max: 30

Scale for classifier-free guidance
disable_safety_check
boolean
False
Disable safety check. Use at your own risk!
width
integer
512
Max width/Resolution of image
height
integer
512
Max height/Resolution of image
ip_adapter_scale
number
0.8

Max: 5

Scale for IP adapter
pose_scale
number
0.8

Max: 5

Scale for open pose controlnet
use_pose_image_resolution
boolean
True
image will be generated in pose' width and height
use_gfpgan
boolean
True
gfpgan to enhance face
swap_face
boolean
True
None

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}