Downloads · 30 days
84
35% of all-time downloads
Baragi-AI/LPC-FourDirection-Walk-Flux-Klein-9B
LPC-FourDirection-Walk-Flux-Klein-9B is a image-to-image model from Baragi-AI. Use it when you need one image transformed into another. It is set up for diffusers. The card lists the license as other.
Warning This experimental LoRA was trained on very little data, without adequate regularization, and at a rank that is low for the number and complexity of its tasks. Training a new LoRA for your specific goal is reco…
Downloads · 30 days
84
35% of all-time downloads
All-time downloads
240
Public
Repo size
255 MB
Likes
1
Public
Click a slice to open those files.
.safetensors253 MB · 99%
From the Hugging Face model README
Warning
This experimental LoRA was trained on very little data, without adequate regularization, and at a rank that is low for the number and complexity of its tasks. Training a new LoRA for your specific goal is recommended. An image-edit-capable base model should produce better results when trained on fixed-integer-upscaled pixel art with consistent trigger words and a deliberate mixture of text-to-image and image-edit examples.
An experimental rank-16 LoRA for editing female LPC characters and 4×2 walking sprite sheets with FLUX.2 [klein] Base 9B.
Project repository: iljung1106/LPC-FourDirection-Walk-Flux-Klein-9B
These GIFs are direct GUI exports. Samples 1, 2, and 5 contain 24 frames; samples 3 and 4 contain one 8-frame walking cycle.
Outputs may be inconsistent, as samples 2–4 demonstrate. Poorly written training captions made this LoRA highly prompt-sensitive, so small prompt changes can produce results that are difficult to predict.
| Sample 1 | Sample 2 | Sample 3 |
|---|---|---|
![]() | ![]() | ![]() |
| Sample 4 | Sample 5 |
|---|---|
![]() | ![]() |
| Task token | Input | Output |
|---|---|---|
TASK_ROTATE_STANDING | South-facing dressed character | Same character facing north, east, or west |
TASK_STANDING_TO_WALK_FIRST_FRAME | Standing character | First walking frame in the same direction |
TASK_PROPAGATE_APPEARANCE | 4×2 sheet with frame 1 dressed | The same appearance applied to frames 2–8 |
TASK_DRESS_WALK_SHEET | Female base 4×2 walk sheet | All eight frames dressed from a text description |
TASK_DRESS_STANDING | South-facing female base | Standing character dressed from a text description |
Use the exact task token and sentence structure used during training:
TASK_ROTATE_STANDING: Turn the south-facing standing female LPC character to face north. Preserve the exact hairstyle, hair color, clothing, shoes and accessories. Keep the character centered on a pure white background.
TASK_STANDING_TO_WALK_FIRST_FRAME: Convert this west-facing standing LPC character into the first frame of the west-facing walking animation. Preserve the exact appearance and pure white background.
TASK_PROPAGATE_APPEARANCE: Use frame 1 as the appearance reference. Apply exactly the same hairstyle, hair color, clothing, shoes and accessories to frames 2 through 8. Preserve every walking pose, frame order, 4 by 2 layout and pure white background.
TASK_DRESS_WALK_SHEET: Dress the female LPC character in all 8 east-facing walking frames with blue bob hair, a red long-sleeve shirt, navy pants, brown boots, and gold glasses. Preserve every pose, frame order, 4 by 2 layout and pure white background.
TASK_DRESS_STANDING: Dress the south-facing standing female LPC character with blue bob hair, a red long-sleeve shirt, navy pants, brown boots, and gold glasses. Preserve the pose and pure white background.
black-forest-labs/FLUX.2-klein-base-9Bflux-2-klein-base-9b-fp8.safetensors1.2119819584068214863.51.51024×10242048×1024The workflow uses only ComfyUI core nodes and has been tested on Comfy Cloud.
Because the LoRA is undertrained, using it with PAG is recommended. A LoRA
strength of 1.2 can produce better results than 1.0 for the same reason;
these values are starting points rather than guarantees.
LPC_FourDirection_Walk_ComfyUI.safetensors
as a LoRA.workflows/LPC_FourDirection_Walk_ComfyUI.json.1024×1024 and 4×2 inputs to
exactly 2048×1024 with nearest-exact.1.2, 11 steps, CFG 3.5, PAG 1.5, and
Euler.Use this negative prompt:
random composition, low quality, scattered, dynamic movement, out of position
The graph uses:
flux-2-klein-base-9b-fp8.safetensorsqwen_3_8b_fp8mixed.safetensorsfull_encoder_small_decoder.safetensorsKeep the input reference latent connected to both positive and negative conditioning. This matches the official FLUX.2 Klein edit graph.
An API-format version is available at
workflows/LPC_FourDirection_Walk_API.json.
The included Korean-language Gradio workbench turns the five trained tasks into a guided character-production flow. It works with Comfy Cloud or a local ComfyUI server.
python -m venv .venv
.\.venv\Scripts\python -m pip install --upgrade pip
.\.venv\Scripts\python -m pip install -r requirements.txt
.\.venv\Scripts\python app.py
For Comfy Cloud, copy .env.example to .env and set:
COMFY_URL=https://cloud.comfy.org
COMFY_API_KEY=your_api_key
The API key is read at runtime and is not written to the repository or output files.
Use the virtual-environment commands above even if Anaconda base is active.
Gradio 5.x imports the removed huggingface_hub.HfFolder API and is not
supported by this GUI.
0–1.5 to
every generation task; 0 disables the LoRA and 1.2 is the default.0.9 denoise, without blending in a base-walk latent. Insert that
frame into the matching bundled 4×2 pose base, then propagate the appearance
to all eight frames. Each completed sheet gets an immediate looping
animation preview.0.9 denoise. Other tasks use an empty latent at full denoise.Generated files are saved under the ignored local outputs/ directory. The
bundled bases match the fixed feminine thin body and head used during training;
other body types are outside this toy model's supported scope.
The GUI includes deterministic sprite post-processing:
64×64 single frames /
256×128 4×2 sheets or exact 1024×1024 /
2048×1024 nearest-neighbor upscaled output.Both palette modes write a 32-entry indexed palette without dithering. The background remains white.
| Task | Input | Output |
|---|---|---|
| Dress standing character | ![]() | ![]() |
| Propagate frame 1 appearance | ![]() | ![]() |
LPC_FourDirection_Walk.safetensors: original fal/PEFT formatLPC_FourDirection_Walk_ComfyUI.safetensors: ComfyUI-compatible key names5e092a1451be9565862c491e58cfd85514869433570e85f2d2661ff613cbab6c272ed2f178dc205b016d5783757ff0ee7ddaec834f95bdd7fc061d08e3dc2afeUse the original file with fal. Use the _ComfyUI file with ComfyUI. The
conversion only renames the fal PEFT prefix base_model.model. to ComfyUI's
FLUX model prefix diffusion_model.; tensor values are unchanged. The
reproducible converter is included as convert_fal_lora_to_comfy.py.
This is a toy-project LoRA trained on one female LPC body type. It may alter silhouettes, frame spacing, or poses, especially for appearances outside the training distribution. Generated sheets are not guaranteed to be pixel-perfect and may need alignment or nearest-neighbor cleanup.
The weights are a derivative of FLUX.2 [klein] Base 9B and are distributed
under the FLUX Non-Commercial License v2.1. Read LICENSE.md and NOTICE
before downloading or using them. Commercial or production use of the model
requires appropriate permission from Black Forest Labs.
Training assets are derived from
ElizaWy/LPC and retain their respective LPC
asset licenses and attribution requirements. See THIRD_PARTY_NOTICES.txt.
This project is not affiliated with or endorsed by Black Forest Labs or the LPC contributors.