stable diffusion with mlx

less than 1 minute read

목표: 애플 실리콘으로 stable diffusion 2를 돌려보자

사용 도구

MLX

https://ml-explore.github.io/mlx/build/html/index.html

M1 Pro 16G

Test

커스터마이징 없이 apple이 제공한 순정 그대로 구동

1

python txt2image.py “A logo of an shy baby bird who have yellow color.” –n_images 4 –n_rows 2

bird

2

python txt2image.py “A logo of an shy baby bird who have yellow color with cartool style.” –n_images 1

logo

3

python txt2image.py “cartoon character of a person with a hoodie , in style of cytus and deemo, ork, gold chains, realistic anime cat, dripping black goo, lineage revolution style, thug life, cute anthropomorphic bunny, balrog, arknights, aliased, very buff, black and red and yellow paint” –n_images 1

cartoon

4

python txt2image.py “realistic futuristic city-downtown with short buildings, sunset” –n_images 1

city

결론

프롬프트 장인의 도움이 필요합니다


20240107

Leave a comment