How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Tongyi-MAI/Z-Image", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("furaidosu/rtmi-zimage")

prompt = "Character portrait, chest-up. The background is plain white.A young adult human male character shown from the chest up, facing forward. The character is stylized and graphic.He has light-to-medium skin tone and medium-length black hair that falls around the sides of his face. He wears a colorful knit beanie with horizontal sections in red, yellow, blue, and a turquoise band around the forehead.His eyes are brown and slightly narrow, with a friendly expression. He has a thin mustache above his upper lip.His nose is rounded and centered. His mouth is openils open in a broad smile, showing only the upper teeth.He wears layered clothing a light-colored shirt underneath and a darker jacket or sweater over it, with visible stripes on the sleeves.Only the head, neck, shoulders, and upper torso are visible."
image = pipe(prompt).images[0]

rtmi-zimage

Prompt
Character portrait, chest-up. The background is plain white.A young adult human male character shown from the chest up, facing forward. The character is stylized and graphic.He has light-to-medium skin tone and medium-length black hair that falls around the sides of his face. He wears a colorful knit beanie with horizontal sections in red, yellow, blue, and a turquoise band around the forehead.His eyes are brown and slightly narrow, with a friendly expression. He has a thin mustache above his upper lip.His nose is rounded and centered. His mouth is openils open in a broad smile, showing only the upper teeth.He wears layered clothing a light-colored shirt underneath and a darker jacket or sweater over it, with visible stripes on the sleeves.Only the head, neck, shoulders, and upper torso are visible.
Prompt
Character portrait, chest-up. The background is plain white.A young adult human male character shown from the chest up, facing forward. The character is stylized and graphic.He has light-to-medium skin tone and medium-length black hair that falls around the sides of his face. He wears a colorful knit beanie with horizontal sections in red, yellow, blue, and a turquoise band around the forehead.His eyes are brown and slightly narrow, with a friendly expression. He has a thin mustache above his upper lip.His nose is rounded and centered. His mouth is openils open in a broad smile, showing only the upper teeth.He wears layered clothing a light-colored shirt underneath and a darker jacket or sweater over it, with visible stripes on the sleeves.Only the head, neck, shoulders, and upper torso are visible.
Prompt
Character portrait, chest-up. The background is plain white.A young adult human male character shown from the chest up, facing forward. The character is stylized and graphic.He has light-to-medium skin tone and medium-length black hair that falls around the sides of his face. He wears a colorful knit beanie with horizontal sections in red, yellow, blue, and a turquoise band around the forehead.His eyes are brown and slightly narrow, with a friendly expression. He has a thin mustache above his upper lip.His nose is rounded and centered. His mouth is openils open in a broad smile, showing only the upper teeth.He wears layered clothing a light-colored shirt underneath and a darker jacket or sweater over it, with visible stripes on the sleeves.Only the head, neck, shoulders, and upper torso are visible.
Prompt
Character portrait, chest-up. The background is plain white.A young adult human male character shown from the chest up, facing forward. The character is stylized and graphic.He has light-to-medium skin tone and medium-length black hair that falls around the sides of his face. He wears a colorful knit beanie with horizontal sections in red, yellow, blue, and a turquoise band around the forehead.His eyes are brown and slightly narrow, with a friendly expression. He has a thin mustache above his upper lip.His nose is rounded and centered. His mouth is openils open in a broad smile, showing only the upper teeth.He wears layered clothing a light-colored shirt underneath and a darker jacket or sweater over it, with visible stripes on the sleeves.Only the head, neck, shoulders, and upper torso are visible.

Model description

Trained for free on Modelscope https://modelscope.ai/civision/modelTraining/?tab=train

Download model

Download them in the Files & versions tab.

Downloads last month
21
Inference Examples
Examples
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for furaidosu/rtmi-zimage

Adapter
(135)
this model