Edit model card

my-k-anything-v3-0

Bingsu/my-korean-stable-diffusion-v1-5와 같은 λ°©λ²•μœΌλ‘œ λ§Œλ“  k-μ•„λ¬΄κ±°λ‚˜ 3.0 λͺ¨λΈ.

생각보닀 잘 μ•ˆλ˜κ³ , 특히 캐릭터에 κ΄€ν•œ μ •λ³΄λŠ” λ‹€ μžŠμ–΄λ²„λ¦° 걸둜 λ³΄μž…λ‹ˆλ‹€.

Usage

pip install transformers accelerate>=0.14.0 diffusers>=0.7.2
import torch
from diffusers import StableDiffusionPipeline

repo = "Bingsu/my-k-anything-v3-0"
pipe = StableDiffusionPipeline.from_pretrained(
    repo, torch_dtype=torch.float16,
)
pipe.to("cuda")
pipe.safety_checker = None
from typing import Optional
import torch


def gen_image(
    prompt: str,
    negative_prompt: Optional[str] = None,
    seed: Optional[int] = None,
    scale: float = 7.5,
    steps: int = 30,
):
    if seed is not None:
        generator = torch.Generator("cuda").manual_seed(seed)
    else:
        generator = None

    image = pipe(
        prompt=prompt,
        negative_prompt=negative_prompt,
        generator=generator,
        guidance_scale=scale,
        num_inference_steps=steps,
    ).images[0]

    return image
prompt = "νŒŒλž€μƒ‰ ν¬λ‹ˆν…ŒμΌ ν—€μ–΄, 브둜치, μ •μž₯을 μž…μ€ 성인 μ—¬μ„±, 고퀄리티, μ΅œκ³ ν’ˆμ§ˆ"
negative = "μ €ν™”μ§ˆ, μ €ν’ˆμ§ˆ, ν…μŠ€νŠΈ"
seed = 42467781
scale = 12.0
gen_image(prompt, negative, seed, scale)

Imgur

License

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:

  1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content

  2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license

  3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully) Please read the full license here

Downloads last month
23
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Space using Bingsu/my-k-anything-v3-0 1