starsfriday's picture
Create README.md
7600014 verified
|
raw
history blame
6.59 kB
metadata
license: apache-2.0
language:
  - en
base_model:
  - Qwen/Qwen-Image
tags:
  - image-generation
  - lora
  - Qwen-Image
pipeline_tag: text-to-image
library_name: diffusers
widget:
  - text: >-
      gfwm, The image is a digital illustration that captures the essence of
      traditional East Asian aesthetics, possibly Chinese or Japanese, given the
      style of the fan and the hairstyle. The subject's attire and adornments
      suggest she may be portraying a character from historical or cultural
      narratives often depicted in literature, film, or art from these regions.
      The use of vibrant colors and intricate details indicates a high level of
      craftsmanship and attention to detail, which are hallmarks of such
      illustrations.To provide a more detailed caption, one could focus on the
      elements that stand out, such as the rich textures of the fan, the
      reflective quality of the jewels, and the delicate curls of the hair. It
      would also be important to note the serene expression on her face, which
      adds a sense of grace and poise to the overall composition. A well-crafted
      caption would aim to convey not only the visual aspects but also the
      cultural significance behind the imagery presented..
    output:
      url: result/output1.png
  - text: >-
      gfwm, The image presents a digital illustration of a woman dressed in
      traditional East Asian attire, which suggests that the artwork may be
      inspired by Chinese or Japanese cultural elements. The use of soft colors
      and light effects gives the painting a serene and ethereal quality. The
      background is minimalistic, focusing attention on the subject while still
      providing context with the presence of foliage. This kind of imagery could
      be used for various purposes such as book covers, historical fiction
      media, or even educational materials to depict historical fashion and
      culture. The detailed rendering of her clothing and accessories indicates
      a high level of skill in digital artistry, capturing both the elegance of
      the garments and the gracefulness of the model's pose. 
    output:
      url: result/output2.png
  - text: >-
      gfwm, The image presents a character dressed in traditional East Asian
      attire, possibly inspired by Chinese or Japanese fashion. The outfit is
      predominantly white with delicate floral embroidery, which adds to the
      elegance and cultural richness of the ensemble. The use of red accents,
      such as the sash tied around the waist and the earrings, provides a
      striking contrast that highlights the beauty of the design. The setting
      appears to be an outdoor pavilion during autumn, suggested by the vibrant
      orange-red leaves of the maple tree in the background. This seasonal
      backdrop not only enhances the visual appeal but also suggests a time of
      year often associated with change and reflection in many Eastern
      cultures.The character's poised demeanor and the careful styling of her
      hair adorned with intricate accessories convey a sense of grace and
      sophistication. The lighting in the photograph is soft and warm,
      contributing to the serene atmosphere and accentuating the textures of the
      fabric and the natural elements within the scene. Overall, the image
      captures a moment of tranquility and beauty, blending human artistry with
      natural splendor. 
    output:
      url: result/output3.png

starsfriday Qwen-Image LoRA

Prompt
gfwm, The image is a digital illustration that captures the essence of traditional East Asian aesthetics, possibly Chinese or Japanese, given the style of the fan and the hairstyle. The subject's attire and adornments suggest she may be portraying a character from historical or cultural narratives often depicted in literature, film, or art from these regions. The use of vibrant colors and intricate details indicates a high level of craftsmanship and attention to detail, which are hallmarks of such illustrations.To provide a more detailed caption, one could focus on the elements that stand out, such as the rich textures of the fan, the reflective quality of the jewels, and the delicate curls of the hair. It would also be important to note the serene expression on her face, which adds a sense of grace and poise to the overall composition. A well-crafted caption would aim to convey not only the visual aspects but also the cultural significance behind the imagery presented..
Prompt
gfwm, The image presents a digital illustration of a woman dressed in traditional East Asian attire, which suggests that the artwork may be inspired by Chinese or Japanese cultural elements. The use of soft colors and light effects gives the painting a serene and ethereal quality. The background is minimalistic, focusing attention on the subject while still providing context with the presence of foliage. This kind of imagery could be used for various purposes such as book covers, historical fiction media, or even educational materials to depict historical fashion and culture. The detailed rendering of her clothing and accessories indicates a high level of skill in digital artistry, capturing both the elegance of the garments and the gracefulness of the model's pose.
Prompt
gfwm, The image presents a character dressed in traditional East Asian attire, possibly inspired by Chinese or Japanese fashion. The outfit is predominantly white with delicate floral embroidery, which adds to the elegance and cultural richness of the ensemble. The use of red accents, such as the sash tied around the waist and the earrings, provides a striking contrast that highlights the beauty of the design. The setting appears to be an outdoor pavilion during autumn, suggested by the vibrant orange-red leaves of the maple tree in the background. This seasonal backdrop not only enhances the visual appeal but also suggests a time of year often associated with change and reflection in many Eastern cultures.The character's poised demeanor and the careful styling of her hair adorned with intricate accessories convey a sense of grace and sophistication. The lighting in the photograph is soft and warm, contributing to the serene atmosphere and accentuating the textures of the fabric and the natural elements within the scene. Overall, the image captures a moment of tranquility and beauty, blending human artistry with natural splendor.

Model Card for Model ID

This is a model for Qwen-Image in Portrait generation, trained on Qwen/Qwen-Image, and it is mainly used to generate animation pictures of ancient Chinese style.For use in through the following code and ComfyUI,The workflow files are in the folder of this project.

ComfyUI Workflow

This LoRA works with a modified version of Comfy's Qwen-Image workflow. The main modification is adding a Qwen-Image LoRA node connected to the base model.

See the Downloads section above for the modified workflow.

Direct Use

from diffusers import DiffusionPipeline
import torch

model_name = "Qwen/Qwen-Image"

# Load the pipeline
if torch.cuda.is_available():
    torch_dtype = torch.bfloat16
    device = "cuda"
else:
    torch_dtype = torch.float32
    device = "cpu"

pipe = DiffusionPipeline.from_pretrained(model_name, torch_dtype=torch_dtype)
pipe = pipe.to(device)

# Load LoRA weights
pipe.load_lora_weights('starsfriday/Qwen-Image-Gufeng-LoRA/qwen_image_gufeng.safetensors', adapter_name="lora")

prompt = '''gfwm, The image presents a character dressed in traditional East Asian attire, possibly inspired by Chinese or Japanese fashion. The outfit is predominantly white with delicate floral embroidery, which adds to the elegance and cultural richness of the ensemble. The use of red accents, such as the sash tied around the waist and the earrings, provides a striking contrast that highlights the beauty of the design. The setting appears to be an outdoor pavilion during autumn, suggested by the vibrant orange-red leaves of the maple tree in the background. This seasonal backdrop not only enhances the visual appeal but also suggests a time of year often associated with change and reflection in many Eastern cultures.
The character's poised demeanor and the careful styling of her hair adorned with intricate accessories convey a sense of grace and sophistication. The lighting in the photograph is soft and warm, contributing to the serene atmosphere and accentuating the textures of the fabric and the natural elements within the scene. Overall, the image captures a moment of tranquility and beauty, blending human artistry with natural splendor.  '''
negative_prompt =  " "
image = pipe(
    prompt=prompt,
    negative_prompt=negative_prompt,
    width=1024,
    height=1024,
    num_inference_steps=50,
    true_cfg_scale=5,
    generator=torch.Generator(device="cuda").manual_seed(123456)
)
image = image.images[0]

image.save("output.png")

Trigger phrase

gfwm

Download model

Weights for this model are available in Safetensors format.

Download

Training at Chongqing Valiant Cat

This model was trained by the AI Laboratory of Chongqing Valiant Cat Technology Co., LTD(https://vvicat.com/).Business cooperation is welcome