qwaezrx / ipadapter-faceid-faceswap-upscale

Generate face based images using ipadapter-faceid, faceswap, face restore, upscale.

  • Public
  • 24 runs

Run qwaezrx/ipadapter-faceid-faceswap-upscale with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

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
positive_prompt
string
photo of a man, fashion model, simple clothes high quality, highly detailed, 4k, highres
Positive Prompt
negative_prompt
string
blurry, distorted, low quality, bad hands
Negative Prompt
face_image
string
Source image of the face
checkpoint
string (enum)
beautifulRealistic_v7.safetensors

Options:

beautifulRealistic_v7.safetensors, toonyou_beta6.safetensors, darkSushiMixMix_225D.safetensors

SD 1.5 model checkpoint
num_inference_steps
integer
30
Steps
batch_size
integer
1

Min: 1

Max: 4

Number of images to generate in batch
repeat
integer
1
Repeat running this request (2 batch size, 2 repeat -> 2 * 2 images)
width
integer
512
None
height
integer
768
None
cfg
number
8
None
seed
integer
Sampling seed, leave Empty for Random
vae
string (enum)
vae-ft-mse-840000-ema-pruned.safetensors

Options:

vae-ft-mse-840000-ema-pruned.safetensors

An enumeration.
sampler
string (enum)
euler

Options:

euler, euler_ancestral, heun, heunpp2, dpm_2, dpm_2_ancestral, lms, dpm_fast, dpm_adaptive, dpmpp_2s_ancestral, dpmpp_sde, dpmpp_sde_gpu, dpmpp_2m, dpmpp_2m_sde, dpmpp_2m_sde_gpu, dpmpp_3m_sde, dpmpp_3m_sde_gpu, ddpm, lcm

An enumeration.
scheduler
string (enum)
normal

Options:

normal, karras, exponential, sgm_uniform, simple, ddim_uniform

An enumeration.
face_restore_model
string (enum)
GFPGANv1.4.pth

Options:

GFPGANv1.4.pth, RestoreFormer.pth

An enumeration.
upscaler_model
string (enum)
4x-UltraSharp.pth

Options:

4x-UltraSharp.pth, RealESRGAN_x4.pth, RealESRGAN_x2.pth

An enumeration.
agree_to_research_only
boolean
False
You must agree to use this model only for research. It is not for commercial use.

Output schema

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

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