nsfw-api / realvis-hyper-lora

  • Public
  • 520 runs
Iterate in playground

Run nsfw-api/realvis-hyper-lora 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 for generation.
negative_prompt
string
lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
Negative prompt.
reference_image
string
Reference image containing the face/identity you want to preserve in the generation.
width
integer
768

Min: 64

Max: 1536

None
height
integer
1024

Min: 64

Max: 1536

None
steps
integer
30

Min: 1

Max: 150

None
cfg
number
7

Min: 1

Max: 20

None
sampler_name
string (enum)
dpmpp_2m

Options:

euler, euler_ancestral, heun, dpmpp_2s_ancestral, dpmpp_2m, dpmpp_2m_sde, dpmpp_sde, uni_pc

An enumeration.
scheduler
string (enum)
karras

Options:

normal, karras

An enumeration.
seed
integer
0
0 = random
hyperlora_weight
number
0.5

Max: 1

Weight of the HyperLoRA identity effect (0.0 to 1.0)
instantid_weight
number
0.5

Max: 1

Weight of the InstantID effect (0.0 to 1.0)
facedetail_strength
number
0.35

Max: 1

Strength of face detail enhancement

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