usamaehsan
/
instant-id-x-playground-v2.5-xl-lightning
- Public
- 19 runs
Run usamaehsan/instant-id-x-playground-v2.5-xl-lightning 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
|
analog film photo of a man. faded film, desaturated, 35mm photo, grainy, vignette, vintage, Kodachrome, Lomography, stained, highly detailed, found footage, masterpiece, best quality
|
Input prompt
|
image |
string
|
Input image
|
|
image2 |
string
|
face image2
|
|
pose_image |
string
|
pose image
|
|
negative_prompt |
string
|
|
Input Negative Prompt
|
width |
integer
|
640
Max: 2048 |
Width for face detection
|
height |
integer
|
640
Max: 2048 |
Height for face detection
|
scheduler |
string
(enum)
|
UniPCMultistep
Options: LCMScheduler, DDIM, DPMSolverMultistep, HeunDiscrete, K_EULER_ANCESTRAL, K_EULER, KLMS, PNDM, UniPCMultistep, KDPM2DiscreteScheduler, KDPM2AncestralDiscreteScheduler |
Choose a scheduler.
|
min_side |
integer
|
1024
Max: 2048 |
min resolution // if resize image is on
|
max_side |
integer
|
1280
Max: 2048 |
min resolution // if resize image is on
|
resize_image |
boolean
|
True
|
None
|
get_age |
boolean
|
True
|
None
|
enhance_face_region |
boolean
|
True
|
None
|
use_controlnet_pose |
boolean
|
True
|
None
|
use_gfpgan |
boolean
|
True
|
None
|
ip_adapter_scale |
number
|
0.8
Max: 5 |
Scale for IP adapter
|
controlnet_conditioning_scale |
number
|
0.8
Max: 5 |
Scale for ControlNet conditioning
|
pose_controlnet_conditioning_scale |
number
|
0.8
Max: 5 |
Scale for ControlNet conditioning
|
num_inference_steps |
integer
|
30
Min: 1 Max: 500 |
Number of denoising steps
|
guidance_scale |
number
|
5
Min: 1 Max: 50 |
Scale for classifier-free guidance
|
micro_detail_lora_weight |
number
|
0
|
disabled on 0
|
lightning_lora_weight |
number
|
0
|
disabled on 0 --> i thinkkk
|
{
"type": "object",
"title": "Input",
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 1,
"description": "Input image"
},
"width": {
"type": "integer",
"title": "Width",
"default": 640,
"maximum": 2048,
"minimum": 0,
"x-order": 5,
"description": "Width for face detection"
},
"height": {
"type": "integer",
"title": "Height",
"default": 640,
"maximum": 2048,
"minimum": 0,
"x-order": 6,
"description": "Height for face detection"
},
"image2": {
"type": "string",
"title": "Image2",
"format": "uri",
"x-order": 2,
"description": "face image2"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "analog film photo of a man. faded film, desaturated, 35mm photo, grainy, vignette, vintage, Kodachrome, Lomography, stained, highly detailed, found footage, masterpiece, best quality",
"x-order": 0,
"description": "Input prompt"
},
"get_age": {
"type": "boolean",
"title": "Get Age",
"default": true,
"x-order": 11
},
"max_side": {
"type": "integer",
"title": "Max Side",
"default": 1280,
"maximum": 2048,
"minimum": 0,
"x-order": 9,
"description": "min resolution // if resize image is on "
},
"min_side": {
"type": "integer",
"title": "Min Side",
"default": 1024,
"maximum": 2048,
"minimum": 0,
"x-order": 8,
"description": "min resolution // if resize image is on "
},
"scheduler": {
"enum": [
"LCMScheduler",
"DDIM",
"DPMSolverMultistep",
"HeunDiscrete",
"K_EULER_ANCESTRAL",
"K_EULER",
"KLMS",
"PNDM",
"UniPCMultistep",
"KDPM2DiscreteScheduler",
"KDPM2AncestralDiscreteScheduler"
],
"type": "string",
"title": "scheduler",
"description": "Choose a scheduler.",
"default": "UniPCMultistep",
"x-order": 7
},
"pose_image": {
"type": "string",
"title": "Pose Image",
"format": "uri",
"x-order": 3,
"description": "pose image"
},
"use_gfpgan": {
"type": "boolean",
"title": "Use Gfpgan",
"default": true,
"x-order": 14
},
"resize_image": {
"type": "boolean",
"title": "Resize Image",
"default": true,
"x-order": 10
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 5,
"maximum": 50,
"minimum": 1,
"x-order": 19,
"description": "Scale for classifier-free guidance"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 4,
"description": "Input Negative Prompt"
},
"ip_adapter_scale": {
"type": "number",
"title": "Ip Adapter Scale",
"default": 0.8,
"maximum": 5,
"minimum": 0,
"x-order": 15,
"description": "Scale for IP adapter"
},
"enhance_face_region": {
"type": "boolean",
"title": "Enhance Face Region",
"default": true,
"x-order": 12
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 30,
"maximum": 500,
"minimum": 1,
"x-order": 18,
"description": "Number of denoising steps"
},
"use_controlnet_pose": {
"type": "boolean",
"title": "Use Controlnet Pose",
"default": true,
"x-order": 13
},
"lightning_lora_weight": {
"type": "number",
"title": "Lightning Lora Weight",
"default": 0,
"x-order": 21,
"description": "disabled on 0 --> i thinkkk"
},
"micro_detail_lora_weight": {
"type": "number",
"title": "Micro Detail Lora Weight",
"default": 0,
"x-order": 20,
"description": "disabled on 0"
},
"controlnet_conditioning_scale": {
"type": "number",
"title": "Controlnet Conditioning Scale",
"default": 0.8,
"maximum": 5,
"minimum": 0,
"x-order": 16,
"description": "Scale for ControlNet conditioning"
},
"pose_controlnet_conditioning_scale": {
"type": "number",
"title": "Pose Controlnet Conditioning Scale",
"default": 0.8,
"maximum": 5,
"minimum": 0,
"x-order": 17,
"description": "Scale for ControlNet conditioning"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}