CoolFace
Modelpublic

NickIBrody/gta-online-lora

sourceHugging Facecreativeml-openrail-mupdated 5mo agoView on Hugging Face
0likes
Model Card

[image]

๐ŸŽฎ GTA Online LoRA

A LoRA fine-tune of Stable Diffusion 1.5 trained on screenshots from GTA Online. Generates images in the visual style of GTA Online โ€” city streets, lighting, atmosphere, and HUD elements like the minimap and money display.


Examples

PromptResult
gtaonline, garden with flowers, minimap, hudPink trees, GTA-style lighting
gtaonline, city street, cars, sunny dayDowntown Los Santos vibes

Usage

This is a LoRA weight file โ€” you need a base Stable Diffusion 1.5 model to use it.

With diffusers

python
from diffusers import StableDiffusionPipeline
from safetensors.torch import load_file
import torch

pipe = StableDiffusionPipeline.from_pretrained(
    "runwayml/stable-diffusion-v1-5",
    torch_dtype=torch.float16,
    safety_checker=None
).to("cuda")

state_dict = load_file("gta_online_lora.safetensors")
pipe.unet.load_state_dict(state_dict, strict=False)

prompt = "gtaonline, city street, minimap, hud, sunny day"
image = pipe(prompt, num_inference_steps=30, guidance_scale=7.5).images[0]
image.save("output.png")

With Automatic1111 / ComfyUI

  1. 1.Download gta_online_lora.safetensors
  2. 2.Place it in models/Lora/ folder
  3. 3.Use trigger word `gtaonline` in your prompt
  4. 4.Recommended weight: <lora:gta_online_lora:0.8>

Trigger Word

Always include `gtaonline` in your prompt to activate the style.

Good prompts:

gtaonline, luxury penthouse, city view, minimap, hud
gtaonline, beach at sunset, palm trees, sports car
gtaonline, rainy night street, neon lights, puddles
gtaonline, first person view, city, hud, money display

Model Details

ParameterValue
Base modelStable Diffusion 1.5
LoRA rank16
LoRA alpha8
Training steps3000
Dataset size~300 screenshots
Resolution512ร—512
File size22.9 MB
Formatsafetensors

Target modules: to_q, to_v, to_k, to_out.0, ff.net.0.proj, ff.net.2


Training

Trained on Google Colab T4 GPU using a custom diffusers training script. Dataset consists of ~300 manually captured GTA Online screenshots covering various locations, times of day, and weather conditions.

Training setup:

  • โ€”Optimizer: AdamW, lr=8e-5, weight_decay=1e-4
  • โ€”Scheduler: CosineAnnealingLR
  • โ€”Augmentations: horizontal flip, color jitter
  • โ€”Mixed precision: fp16
  • โ€”Gradient clipping: 1.0

License

creativeml-openrail-m

This model is intended for personal and research use. GTA Online and all related assets are property of Rockstar Games.


Made with โค๏ธ and too many hours in Los Santos