|
--- |
|
tags: |
|
- text-to-image |
|
- lora |
|
- diffusers |
|
- flux-diffusion |
|
widget: |
|
- text: a red Nissan GTR R35 in a rainy city scene |
|
- text: a futuristic neon-lit city with cars flying in the background |
|
- text: a cyberpunk-inspired motorcycle speeding through a glowing tunnel |
|
- text: a cyberpunk-inspired motorcycle speeding through a glowing tunnel |
|
output: |
|
url: images/example_r3byzueos.png |
|
base_model: |
|
- black-forest-labs/FLUX.1-dev |
|
instance_prompt: a {subject} in a {scene} |
|
pipeline_tag: text-to-image |
|
library_name: diffusers |
|
metrics: |
|
- FID |
|
license: creativeml-openrail-m |
|
|
|
--- |
|
# Xena |
|
|
|
<Gallery /> |
|
|
|
## Model description |
|
|
|
Xena is a model based on the **FLUX 1.0** diffusion model, fine-tuned for creating high-quality, realistic, and futuristic automotive and cyberpunk-style images. It incorporates the **Midjourney FLUX LoRA** for enhanced detail and flexibility when generating artistic and hyper-realistic outputs. |
|
|
|
The model excels in creating vivid scenes with cars, motorcycles, or urban landscapes in neon-lit or rainy settings. You can combine this LoRA with others for more creative results. |
|
|
|
--- |
|
|
|
## Download model |
|
|
|
Weights for this model are available in Safetensors format. |
|
|
|
[Download them here](https://huggingface.co/Xena18284/Test123/tree/main). |
|
|
|
--- |
|
|
|
## How to Use |
|
|
|
from diffusers import StableDiffusionPipeline |
|
from safetensors.torch import load_file |
|
|
|
# Load the base pipeline |
|
pipe = StableDiffusionPipeline.from_pretrained("Xena18284/Xena") |
|
|
|
# Load both LoRA weights |
|
pipe.load_lora_weights("aidmaMJ61-FLUX-v05.safetensors") # Midjourney to Flux |
|
pipe.load_lora_weights("racing_car_style_v1.safetensors") # Racing Car Style |
|
|
|
# Generate an image |
|
prompt = "A futuristic racing car on a neon-lit street, ultra-detailed, cyberpunk" |
|
image = pipe(prompt).images[0] |
|
image.save("output.png") |