Model reference · open weights
Cyberpunk-Anime-Diffusion_with_support_for_Gen-Imp_characters is an open-weight image model from AdamOswald1. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | AdamOswald1 |
|---|---|
| Type | Image models |
| Task | Text→image |
| Parameters (lead) | 860M |
| Runs with | diffusers |
| Released | 2023-01-23 |
| Popularity | 666 downloads / month |
| Licence | Open weights |
About
the same as the other one execpt with built-in support for genshin impact characters
An AI model that generates cyberpunk anime characters!~
Based of a finetuned Waifu Diffusion V1.3 Model with Stable Diffusion V1.5 New Vae, training in Dreambooth
by DGSpitzer
This repo contains both .ckpt and Diffuser model files. It's compatible to be used as any Stable Diffusion model, using standard Stable Diffusion Pipelines.
You can convert this model to ONNX, MPS and/or FLAX/JAX.
#!pip install diffusers transformers scipy torch
from diffusers import StableDiffusionPipeline
import torch
model_id = "AdamOswald1/Cyberpunk-Anime-Diffusion_with_support_for_Gen-Imp_characters"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "a beautiful perfect face girl in dgs illustration style, Anime fine details portrait of school girl in front of modern tokyo city landscape on the background deep bokeh, anime masterpiece, 8k, sharp high quality anime"
image = pipe(prompt).images[0]
image.save("./cyberpunk_girl.png")
You can try the Online Web UI demo build with Gradio, or use Colab Notebook at here:
Finetuned Diffusion WebUI Demo by anzorq
Colab Notebook
AI Model Weights available at huggingface: https://huggingface.co/AdamOswald1/Cyberpunk-Anime-Diffusion_with_support_for_Gen-Imp_characters
After model loaded, use keyword dgs in your prompt, with illustration style to get even better results.
For sampler, use Euler A for the best result (DDIM kinda works too), CFG Scale 7, steps 20 should be fine
Example 1:
portrait of a girl in dgs illustration style, Anime girl, female soldier working in a cyberpunk city, cleavage, ((perfect femine face)), intricate, 8k, highly detailed, shy, digital painting, intense, sharp focus
For cyber robot male character, you can add muscular male to improve the output.
Example 2:
a photo of muscular beard soldier male in dgs illustration style, half-body, holding robot arms, strong chest
Example 3 (with Stable Diffusion WebUI):
If using AUTOMATIC1111's Stable Diffusion WebUI
You can simply use this as prompt with Euler A Sampler, CFG Scale 7, steps 20, 704 x 704px output res:
an anime girl in dgs illustration style
And set the negative prompt as this to get cleaner face:
out of focus, scary, creepy, evil, disfigured, missing limbs, ugly, gross, missing fingers
This will give you the exactly same style as the sample images above.
NOTE: usage of this model implies accpetance of stable diffusion's CreativeML Open RAIL-M license
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys cyberpunk-anime-diffusion-with-support-for-gen-imp-characters for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (cyberpunk-anime-diffusion-with-support-for-gen-imp-characters below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/images/generations \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"cyberpunk-anime-diffusion-with-support-for-gen-imp-characters","prompt":"a red bicycle","size":"1024x1024"}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.