Beautiful-Realistic-Asians-v5

我要开发同款
匿名用户2024年07月31日
54阅读
所属分类ai、stable_diffusion、pytorch、Chinese、zh、text-to-image、stable-diffusion-dif、stable-diffusion、mm
开源地址https://modelscope.cn/models/buptwq/Beautiful-Realistic-Asians-v5
授权协议creativeml-openrail-m

作品详情

Beautiful-Realistic-Asians-v5 based on Stable Diffusion

From: https://civitai.com/models/25494/brabeautiful-realistic-asians-v5

modelscope usage example

from modelscope.utils.constant import Tasks
from modelscope.pipelines import pipeline
import cv2

pipe = pipeline(task=Tasks.text_to_image_synthesis,
                model='buptwq/Beautiful-Realistic-Asians-v5',
                model_revision='v1.0.1')

prompt = 'boy, asian, chinese, muscled, t-shirt, face focus, face detais, realistic, photograph'
negative_prompt = 'Watermark, Text, censored, deformed, bad anatomy, disfigured, poorly drawn face, mutated, extra limb, ugly, poorly drawn hands, missing limb, floating limbs, disconnected limbs, disconnected head, malformed hands, long neck, mutated hands and fingers, bad hands, missing fingers, cropped, worst quality, low quality, mutation, mutated hands, poorly drawn, huge calf, bad hands, fused hand, missing hand, disappearing arms, disappearing thigh, disappearing calf, disappearing legs, missing fingers, fused fingers, abnormal eye proportion, Abnormal hands, abnormal legs, abnormal feet, abnormal fingers, amputee, pussy, (((girl, women, female, long hair))).'

output = pipe({'text': prompt, 'negative_prompt': negative_prompt, 'num_inference_steps': 20})
cv2.imwrite('./result.png', output['output_imgs'][0])

images

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论