usamaehsan
/
instant-id-x-better
- Public
- 16 runs
Run usamaehsan/instant-id-x-better 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
|
Prompt
|
|
negative_prompt |
string
|
Negative prompt
|
|
num_inference_steps |
integer
|
20
|
Steps
|
guidance_scale |
number
|
5
Min: 0.1 Max: 30 |
Scale for classifier-free guidance
|
seed |
integer
|
Seed
|
|
face_image |
string
|
face image
|
|
pose_image |
string
|
pose image
|
|
style |
string
(enum)
|
(No style)
Options: (No style), Watercolor, Film Noir, Neon, Jungle, Mars, Vibrant Color, Snow, Line art |
An enumeration.
|
enhance_face_region |
boolean
|
True
|
None
|
identitynet_strength_ratio |
number
|
0.8
Min: 0.1 Max: 2 |
for fedility
|
adapter_strength_ratio |
number
|
0.8
Min: 0.1 Max: 2 |
for fedility
|
max_width |
integer
|
512
|
Max width/Resolution of image
|
max_height |
integer
|
512
|
Max height/Resolution of image
|
{
"type": "object",
"title": "Input",
"required": [
"prompt",
"negative_prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 4,
"description": "Seed"
},
"style": {
"enum": [
"(No style)",
"Watercolor",
"Film Noir",
"Neon",
"Jungle",
"Mars",
"Vibrant Color",
"Snow",
"Line art"
],
"type": "string",
"title": "style",
"description": "An enumeration.",
"default": "(No style)",
"x-order": 7
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt"
},
"max_width": {
"type": "integer",
"title": "Max Width",
"default": 512,
"x-order": 11,
"description": "Max width/Resolution of image"
},
"face_image": {
"type": "string",
"title": "Face Image",
"format": "uri",
"x-order": 5,
"description": "face image"
},
"max_height": {
"type": "integer",
"title": "Max Height",
"default": 512,
"x-order": 12,
"description": "Max height/Resolution of image"
},
"pose_image": {
"type": "string",
"title": "Pose Image",
"format": "uri",
"x-order": 6,
"description": "pose image"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 5,
"maximum": 30,
"minimum": 0.1,
"x-order": 3,
"description": "Scale for classifier-free guidance"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"x-order": 1,
"description": "Negative prompt"
},
"enhance_face_region": {
"type": "boolean",
"title": "Enhance Face Region",
"default": true,
"x-order": 8
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 20,
"x-order": 2,
"description": "Steps"
},
"adapter_strength_ratio": {
"type": "number",
"title": "Adapter Strength Ratio",
"default": 0.8,
"maximum": 2,
"minimum": 0.1,
"x-order": 10,
"description": "for fedility"
},
"identitynet_strength_ratio": {
"type": "number",
"title": "Identitynet Strength Ratio",
"default": 0.8,
"maximum": 2,
"minimum": 0.1,
"x-order": 9,
"description": "for fedility"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}