Downloads ยท 30 days
0
coreml-community/coreml-anything-v4.0
coreml-anything-v4.0 is a text-to-image model from coreml-community. Use it when you need an image from a text prompt. The card lists the license as creativeml-openrail-m.
This model was converted to Core ML for use on Apple Silicon devices by following Apple's instructions here.<br Provide the model to an app such as Mochi Diffusion to generate images.<br
Downloads ยท 30 days
0
Access
Public
Updated Mar 7, 2023
Repo size
35.4 GB
Likes
16
Public
Click a slice to open those files.
.zip15.8 GB ยท 100%
From the Hugging Face model README
This model was converted to Core ML for use on Apple Silicon devices by following Apple's instructions here.<br> Provide the model to an app such as Mochi Diffusion to generate images.<br>
split_einsum version is compatible with all compute unit options including Neural Engine.<br>
original version is only compatible with CPU & GPU option.
Source: Hugging Face
Welcome to Anything V4 - a latent diffusion model for weebs. The newest version of Anything. This model is intended to produce high-quality, highly detailed anime style with just a few prompts. Like other anime-style Stable Diffusion models, it also supports danbooru tags to generate images.
e.g. 1girl, white hair, golden eyes, beautiful eyes, detail, flower meadow, cumulonimbus clouds, lighting, detailed sky, garden
I think the V4.5 version better though, it's in this repo. feel free 2 try it
We support a Gradio Web UI to run anything-v4.0:
This model can be used just like any other Stable Diffusion model. For more information, please have a look at the Stable Diffusion.
You can also export the model to ONNX, MPS and/or FLAX/JAX.
from diffusers import StableDiffusionPipeline
import torch
model_id = "andite/anything-v4.0"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "hatsune_miku"
image = pipe(prompt).images[0]
image.save("./hatsune_miku.png")
Below are some examples of images generated using this model:
Anime Girl:

masterpiece, best quality, 1girl, white hair, medium hair, cat ears, closed eyes, looking at viewer, :3, cute, scarf, jacket, outdoors, streets
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
Anime Boy:

1boy, bishounen, casual, indoors, sitting, coffee shop, bokeh
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
Scenery:

scenery, village, outdoors, sky, clouds
Steps: 50, Sampler: DPM++ 2S a Karras, CFG scale: 7
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage. The CreativeML OpenRAIL License specifies: