lightweight-ai
/
profile
- Public
- 13 runs
Run lightweight-ai/profile 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 |
---|---|---|---|
image |
string
|
입력 얼굴 이미지
|
|
prompt |
string
|
|
프롬프트 (이미지 변형만 원할 경우 빈칸으로 두세요)
|
negative_prompt |
string
|
|
네거티브 프롬프트
|
scale |
number
|
0.6
Max: 1 |
스케일 (입력 이미지가 생성에 미치는 영향)
|
num_outputs |
integer
|
1
Min: 1 Max: 4 |
출력 이미지 수
|
num_inference_steps |
integer
|
30
Min: 1 Max: 500 |
디노이징 스텝 수
|
seed |
integer
|
랜덤 시드. 무작위 시드를 원할 경우 빈칸으로 두세요
|
|
style |
string
(enum)
|
Watercolor
Options: Watercolor, Film Noir, Neon, Jungle, Mars, Vibrant Color, Snow, Line art, American high school, Super Hero |
이미지 스타일
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 6,
"description": "\ub79c\ub364 \uc2dc\ub4dc. \ubb34\uc791\uc704 \uc2dc\ub4dc\ub97c \uc6d0\ud560 \uacbd\uc6b0 \ube48\uce78\uc73c\ub85c \ub450\uc138\uc694"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "\uc785\ub825 \uc5bc\uad74 \uc774\ubbf8\uc9c0"
},
"scale": {
"type": "number",
"title": "Scale",
"default": 0.6,
"maximum": 1,
"minimum": 0,
"x-order": 3,
"description": "\uc2a4\ucf00\uc77c (\uc785\ub825 \uc774\ubbf8\uc9c0\uac00 \uc0dd\uc131\uc5d0 \ubbf8\uce58\ub294 \uc601\ud5a5)"
},
"style": {
"enum": [
"Watercolor",
"Film Noir",
"Neon",
"Jungle",
"Mars",
"Vibrant Color",
"Snow",
"Line art",
"American high school",
"Super Hero"
],
"type": "string",
"title": "style",
"description": "\uc774\ubbf8\uc9c0 \uc2a4\ud0c0\uc77c",
"default": "Watercolor",
"x-order": 7
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 1,
"description": "\ud504\ub86c\ud504\ud2b8 (\uc774\ubbf8\uc9c0 \ubcc0\ud615\ub9cc \uc6d0\ud560 \uacbd\uc6b0 \ube48\uce78\uc73c\ub85c \ub450\uc138\uc694)"
},
"num_outputs": {
"type": "integer",
"title": "Num Outputs",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 4,
"description": "\ucd9c\ub825 \uc774\ubbf8\uc9c0 \uc218"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 2,
"description": "\ub124\uac70\ud2f0\ube0c \ud504\ub86c\ud504\ud2b8"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 30,
"maximum": 500,
"minimum": 1,
"x-order": 5,
"description": "\ub514\ub178\uc774\uc9d5 \uc2a4\ud15d \uc218"
}
}
}
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"
}