Image-to-Image
Diffusers
Safetensors
image-editing
pixel-art
sprite-sheet
animation
rgba
transparent-background
lora
Instructions to use irotem98/Codex-Pets-Sprite-Sheet-Generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use irotem98/Codex-Pets-Sprite-Sheet-Generator with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Boogu/Boogu-Image-0.1-Edit", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("irotem98/Codex-Pets-Sprite-Sheet-Generator") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
File size: 814 Bytes
1e595e4 ecf8557 1e826ec 66c3420 8b01ce4 1e595e4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | {
"base_model": "Boogu/Boogu-Image-0.1-Edit",
"vae_checkpoint_step": 2000,
"lora_checkpoint_step": 21000,
"lora_rank": 8,
"reference_mode": "sheet-first",
"sprite_cell_size": [192, 208],
"packed_row_size": [576, 624],
"output_sheet_size": [1536, 2288],
"row_names": [
"idle",
"run right",
"run left",
"wave",
"jump",
"failed",
"waiting",
"running",
"review",
"look dirs 1-8",
"look dirs 9-16"
],
"row_frame_counts": [6, 8, 8, 4, 5, 8, 6, 6, 6, 8, 8],
"default_inference_steps": 50,
"default_text_guidance": 4.0,
"default_image_guidance": 1.0,
"default_row_batch_size": 1,
"default_alpha_threshold": 0.5,
"alpha_cleanup": "largest_8_connected_component_per_cell",
"outline_cleanup": "strict_black_two_pixel_outer_edge_band_per_cell"
}
|