nsfw-api/sdxl-pulid

Public
152 runs

Run nsfw-api/sdxl-pulid 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
prompt
string
Main text prompt.
negative_prompt
string
Optional negative.
reference_image
string
An image containing a face that you want to use as reference for face swapping.
width
integer
512

Min: 64

Max: 1536

None
height
integer
512

Min: 64

Max: 1536

None
steps
integer
30

Min: 1

Max: 150

None
cfg
number
3

Min: 1

Max: 20

None
sampler_name
None
euler_ancestral
None
scheduler
None
normal
None
seed
integer
0
0 = random
method
None
fidelity
PuLID method to use: fidelity for face swapping, style for style transfer, both for a mix.
face_weight
number
0.8

Max: 1

Weight of the face adaptation effect (0.0 to 1.0)
depth_image
string
RGB image that will be converted to a depth map and used as ControlNet guidance.
depth_strength
number
1

Max: 2

How strongly the depth map constrains generation.

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"
}