You're looking at a specific version of this model. Jump to the model overview.

lightweight-ai /m_q_e_t:9c549122

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
aspect_ratio
None
original
출력 이미지의 화면 비율. 입력이 없거나 'original'이면 init_image 크기를 사용합니다.
seed
integer
42
랜덤 시드(재현성).
width
integer
(선택) 출력 너비. None이면 자동 결정.
height
integer
(선택) 출력 높이. None이면 자동 결정.
prompt
string
change the hat to red
편집/인페인팅 프롬프트 (간결 권장).
init_image
string
기본 입력 이미지 (RGB)
mask_image
string
인페인팅 마스크 (흰색=수정, 검은색=유지). 제공 시 Inpaint 모드로 동작.
ref_image1
string
(선택) EditPlus 모드에서 추가 참조 이미지 1
ref_image2
string
(선택) EditPlus 모드에서 추가 참조 이미지 2
rewrite_prompt
boolean
False
HF Inference로 프롬프트 간단 리라이트(HF_TOKEN 필요).
true_cfg_scale
number
1

Min: 1

Max: 10

프롬프트 충실도(=guidance_scale).
negative_prompt
string
원치 않는 요소(예: ugly, blurry, artifacts). 빈 값 가능.
num_inference_steps
integer
8

Min: 1

Max: 50

디퓨전 스텝 수 (Lightning는 8 권장).
num_images_per_prompt
integer
1

Min: 1

Max: 8

한 번에 생성할 이미지 수 (EditPlus에서 유효).

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}