Spacevision LoRA - Space & Sci-Fi Image Generation for Kolors
Spacevision is a LoRA (Low-Rank Adaptation) fine-tune of Kwai-Kolors/Kolors-diffusers trained on ~1,964 high-quality space, NASA, and sci-fi images. It generates photorealistic space imagery including satellites, nebulae, galaxies, astronauts, rocket launches, planetary surfaces, and more.
Trigger word:spacevision
Sample Outputs
Example 1: International Space Station
Prompt:"spacevision, Photograph of the International Space Station floating in space with large solar panels extended, Earth's curvature visible below showing blue ocean and white cloud formations against the blackness of space"
Base Kolors (no LoRA)
Spacevision LoRA
Base Kolors - ISS
Spacevision LoRA - ISS
Example 2: Satellite in Orbit
Prompt:"spacevision, High-resolution photograph of a satellite in space against a pitch-black background, featuring a cylindrical main body with solar panels extending horizontally showing a golden-brown hue with grid-like pattern of solar cells"
1import torch
2from diffusers import KolorsPipeline
34# Load the base Kolors model5pipe = KolorsPipeline.from_pretrained(6"Kwai-Kolors/Kolors-diffusers",7 variant="fp16",8 torch_dtype=torch.float16,9)1011# Load the Spacevision LoRA weights (one line!)12pipe.load_lora_weights("khadim-hussain/spacevision-kolors-lora")1314# Move to GPU15pipe.to("cuda")1617# Generate an image18image = pipe(19 prompt="spacevision, Photograph of the Pillars of Creation nebula captured by the Hubble Space Telescope, towering columns of gas and dust glowing in shades of gold and green against a dark starfield",20 num_inference_steps=50,21 guidance_scale=3.4,22 height=1024,23 width=1024,24 generator=torch.Generator(device="cuda").manual_seed(42),25).images[0]2627image.save("spacevision_output.png")
Adjusting LoRA strength
You can control how strongly the LoRA influences the output using cross_attention_kwargs:
python
1# Full LoRA strength (default)2image = pipe(prompt="spacevision, ...", cross_attention_kwargs={"scale":1.0}).images[0]34# Half LoRA strength (more like base model)5image = pipe(prompt="spacevision, ...", cross_attention_kwargs={"scale":0.5}).images[0]
NASA subset (~915 images): Real space photography from NASA archives including ISS, Hubble telescope imagery, satellite photos, astronaut EVAs, rocket launches, planetary surfaces, nebulae, and galaxy observations
LAION Sci-Fi subset (~1,049 images): Science fiction artwork and concept art featuring spaceships, futuristic technology, alien worlds, and space exploration themes
All images are auto-captioned with the spacevision trigger word prefix.
Always include the trigger wordspacevision at the beginning of your prompt for best results
Be descriptive: The model responds well to detailed, NASA-style descriptions mentioning specific objects, colors, and compositions
Works great with: Nebulae, galaxies, satellites, space stations, astronauts, rocket launches, planetary surfaces, Hubble/JWST imagery, Earth from orbit
Example Prompts
spacevision, NASA photograph of an astronaut performing a spacewalk outside the International Space Station, white spacesuit illuminated by sunlight against the deep black of space with Earth's blue atmosphere glowing on the horizon
spacevision, Hubble Space Telescope deep field image showing thousands of distant galaxies of various shapes and colors, spiral and elliptical galaxies scattered across a dark background revealing the vastness of the observable universe
spacevision, Detailed photograph of the surface of Mars taken by the Curiosity rover showing reddish-brown rocky terrain with layered sedimentary formations, distant mountains on the horizon under a dusty pinkish-tan sky
spacevision, NASA photograph of a SpaceX Falcon 9 rocket launching at night from Cape Canaveral, brilliant orange flame and exhaust plume illuminating the launch pad and surrounding water with streaks of light against a dark sky
1@article{kolors2024,
2 title={Kolors: Effective Training of Diffusion Model for Photorealistic Text-to-Image Synthesis},
3 author={Kolors Team},
4 year={2024},
5 publisher={Kwai},
6 url={https://huggingface.co/Kwai-Kolors/Kolors-diffusers}
7}
LoRA
bibtex
1@article{hu2021lora,
2 title={LoRA: Low-Rank Adaptation of Large Language Models},
3 author={Hu, Edward J and Shen, Yelong and Wallis, Phillip and Allen-Zhu, Zeyuan and Li, Yuanzhi and Wang, Shean and Wang, Lu and Chen, Weizhu},
4 journal={arXiv preprint arXiv:2106.09685},
5 year={2021}
6}