--- license: creativeml-openrail-m tags: - text-to-image - stable-diffusion --- # Olivia V1.0 ยินดีต้อนรับสู่ Olivia V1.0 โมเดลนี้เป็นเพียงแค่การสาธิต และอยู่ในช่วงระหว่างการทดสอบเท่านั้น! ## 🌥️ Diffusers โมเดลนี้สามารถใช้งานได้เหมือนกับโมเดล Stable Diffusion อื่นๆ [คลิกเพื่ออ่านเพิ่มเติม](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion) ```python from diffusers import StableDiffusionPipeline import torch model_id = "ShibaDeveloper/olivia-v1.0" pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) pipe = pipe.to("cuda") prompt = "1girl, black_hair, black_wings, blue_eyes, crown, grey_background, grey_sky, hat, light_particles, lips, looking_at_viewer, mask, short_hair, skull, snow, snowflakes, snowing, solo, upper_body, wings, winter" image = pipe(prompt).images[0] image.save("./olivia_img.png") ``` ## 🐶 Examples ด้านล่างนี้คือตัวอย่างบางส่วนของภาพที่สร้างขึ้นโดยใช้ Olivia V1.0 และไม่รวม VAE : ![Girl](https://huggingface.co/ShibaDeveloper/olivia-v1.0/resolve/main/olivia_example01.png) ``` Prompt: 1girl, armor, armored_dress, blonde_hair, parkling_eyes, blue_eyes, blurry, blurry_background, braid, chain, cross, depth_of_field, headpiece, jeanned'arc(fate), jeanned'arc(fate/apocrypha), lips, long_hair, looking_at_viewer, rain, realistic, solo, upper_body Steps: 50, Sampler: Euler a, CFG scale: 7.5 ``` ![Girl](https://huggingface.co/ShibaDeveloper/olivia-v1.0/resolve/main/olivia_example02.png) ``` Prompt: 1girl, detailed, intricate, elegant, highly detailed, digital painting, artstation, concept art, matte, sharp focus, illustration, pink_hair, sparkling_eyes, pink_eyes, decorated with flowers, by dan mumford, yusuke murata, makoto shinkai, ross tran Steps: 50, Sampler: Euler a, CFG scale: 7.5 ```