该模型在大量高质量图像上训练,只需要简单的prompt就可以生成优质的图像,而不需要大量的prompt调试。
如果生成图像质量不够好,你可以在prompt开头加入estilovintedois
关键词。
你可以商业上使用这个模型,但产生的后果我们不负责任。
模型由 Stable Diffusion v1-5微调而来。由于改模型由两个独立开发者,构建,因此没能充分测试模型偏见。
利用diffusers
进行模型finetune的示例见Colab Notebook for Inference.
from modelscope.utils.constant import Tasks
from modelscope.pipelines import pipeline
import cv2
pipe = pipeline(task=Tasks.text_to_image_synthesis,
model='dienstag/vintedois-diffusion-v0-1',
model_revision='v0.1')
prompt = 'kneeling cat knight, portrait, finely detailed armor, intricate design, silver, silk, cinematic lighting, 4k'
output = pipe({'text': prompt})
cv2.imwrite('result.png', output['output_imgs'][0])
Prompt: photo of an old man in a jungle, looking at the camera
CFG Scale: 7.5
Scheduler: diffusers.EulerAncestralDiscreteScheduler
Steps: 30
Seed: 44
Prompt: kneeling cat knight, portrait, finely detailed armor, intricate design, silver, silk, cinematic lighting, 4k
CFG Scale: 7.5
Scheduler: diffusers.EulerAncestralDiscreteScheduler
Steps: 50
Seed: 44
Prompt: a beautiful girl In front of the cabin, the country, by Artgerm Lau and Krenz Cushart,hyperdetailed, trending on artstation, trending on deviantart
CFG Scale: 7.5
Scheduler: diffusers.EulerAncestralDiscreteScheduler
Steps: 50
Seed: 44
Prompt: destroyed city
CFG Scale: 7.5
Scheduler: diffusers.EulerAncestralDiscreteScheduler
Steps: 50
Seed: 44
Prompt: victorian city landscape
CFG Scale: 7.5
Scheduler: diffusers.EulerAncestralDiscreteScheduler
Steps: 50
Seed: 44
Prompt: prehistoric native living room
CFG Scale: 7.5
Scheduler: diffusers.EulerAncestralDiscreteScheduler
Steps: 50
Seed: 44
感谢Google Developer Expert计划为我们提供GCP信用拨款。