Beautiful-Realistic-Asians-v5
  • 模型资讯
  • 模型资料

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