
0xdino/facetune
Public
111
runs
Run 0xdino/facetune 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 |
---|---|---|---|
image1 |
string
|
Image1
|
|
image2 |
string
|
Image2
|
|
prompt |
string
|
14-year-old boy, photorealistic, child, loose close-up portrait, child face, delicate features, soft cheeks, smooth skin, cute, soft lighting, casual clothes, natural expression
|
None
|
negative_prompt |
string
|
(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, adult, grown up, mature face, large breasts, cleavage, 18yo, 20yo, 30yo, mature body, muscular, makeup, eyeliner, lipstick), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck
|
None
|
seed |
integer
|
0
|
None
|
steps |
integer
|
30
|
None
|
cfg |
number
|
4.5
|
None
|
width |
integer
|
512
|
None
|
height |
integer
|
768
|
None
|
face_restore |
boolean
|
True
|
None
|
codeformer_fidelity |
number
|
0.8
|
None
|
upscale |
boolean
|
True
|
None
|
{
"type": "object",
"title": "Input",
"required": [
"image1",
"image2"
],
"properties": {
"cfg": {
"type": "number",
"title": "Cfg",
"default": 4.5,
"x-order": 6
},
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"x-order": 4
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 30,
"x-order": 5
},
"width": {
"type": "integer",
"title": "Width",
"default": 512,
"x-order": 7
},
"height": {
"type": "integer",
"title": "Height",
"default": 768,
"x-order": 8
},
"image1": {
"type": "string",
"title": "Image1",
"format": "uri",
"x-order": 0,
"description": "Image1"
},
"image2": {
"type": "string",
"title": "Image2",
"format": "uri",
"x-order": 1,
"description": "Image2"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "14-year-old boy, photorealistic, child, loose close-up portrait, child face, delicate features, soft cheeks, smooth skin, cute, soft lighting, casual clothes, natural expression",
"x-order": 2
},
"upscale": {
"type": "boolean",
"title": "Upscale",
"default": true,
"x-order": 11
},
"face_restore": {
"type": "boolean",
"title": "Face Restore",
"default": true,
"x-order": 9
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, adult, grown up, mature face, large breasts, cleavage, 18yo, 20yo, 30yo, mature body, muscular, makeup, eyeliner, lipstick), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck",
"x-order": 3
},
"codeformer_fidelity": {
"type": "number",
"title": "Codeformer Fidelity",
"default": 0.8,
"x-order": 10
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}