상세 정보
추천
v1.0
Age Sliders - FLUX-1.D LoRA

Age Sliders - FLUX-1.D LoRA

10.1K
42
199
#캐릭터
#FLUX

This model is based on the Concept sliders LoRA model trained by FLUX.1D, so that the characters in the generated pictures gradually grow from young to old.

weight: -5.0 to 5.0 (Not limited to this interval, you can try other ranges.)

    target_prompt: "male person"
    positive_prompt: "male person, very old"
    negative_prompt: "male person, very young"

Code used for training: https://github.com/SWHL/flux-sliders

Use this model:

from datetime import datetime
from pathlib import Path

import torch
from diffusers import FluxPipeline

lora_path = "flux-age_sliders_latest.safetensors"
pipe = FluxPipeline.from_pretrained("models/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.to("cuda")
pipe.load_lora_weights(lora_path)

time_stamp = datetime.strftime(datetime.now(), "%Y-%m-%d-%H-%M-%S")
save_dir = Path("outputs") / time_stamp
save_dir.mkdir(parents=True, exist_ok=True)

scales = (-5, -2.5, 0, 2.5, 5)
prompt = "male person"

for scale in scales:
    out = pipe(
        prompt=prompt,
        guidance_scale=3.5,
        height=512,
        width=512,
        num_inference_steps=25,
        joint_attention_kwargs={"scale": scale * 1 / 16},
        generator=torch.Generator().manual_seed(42),
    ).images[0]

    save_img_path = save_dir / f"{time_stamp}_scale_{scale}.jpg"
    out.save(save_img_path)

Enjoy it!

⚠️ Notion:

  • The current model does not support direct use of comfy.

  • Since the model has been converted, you need to try the slider scale multiple times to select the range you need.

  • ComfyUI will be supported later, so stay tuned.

번역문 보기

평점 및 리뷰

-- /5
0 개의 평점

충분한 평가나 댓글을 받지 못했습니다.

S
SWHL
0
69
모델과 대화하기
공고
2025-02-11
모델 게시
2025-02-11
모델 정보 업데이트
모델 상세정보
유형
LORA
게시 날짜
2025-02-11
기본 모델
Flux.1 D
허가 범위
모델 출처: civitai

1. 재게시된 모델의 권리는 원 제작자에게 있습니다.

2. 모델 원작자가 모델을 인증받으려면 공식 채널을 통해 SeaArt.AI 직원에게 문의하세요. 저희는 모든 창작자의 권리를 보호하기 위해 노력합니다. 인증하러 이동

창작 허가 범위
온라인 생방송
혼합 진행
다운로드 허용
상업적 허가 범위
생성된 이미지를 판매하거나 상업적 목적으로 사용 가능
모델의 재판매 또는 융합 후 판매 허용
QR Code
SeaArt 앱 다운로드
모바일에서 AI 창작 여정을 계속하세요