m-h2/titan-art
07
๐ Titan Art Engine (v1.0) - Fast Inference LCM
Titan Art Engine is a highly optimized, Latent Consistency Model (LCM) distilled text-to-image generative AI. Engineered specifically by Aljokar (Mahmoud Hassan) to serve as the visual backbone for the Titan Connect ecosystem, powering immersive storytelling modules, RPG mechanics, and dynamic environments.
๐ Model Architecture and Tech Specs
- Base Model: Stable Diffusion 1.5 (Distilled via LCM)
- Parameters: ~860M
- Precision: FP32 / FP16
- Inference Speed: Ultra-fast (< 20s on standard CPU, < 2s on GPU)
- Optimal Steps: 4 to 8 steps
- Optimal CFG Scale: 1.5 to 2.0
๐ฏ Intended Use and Ecosystem Integration
This model is fine-tuned for rapid environment and concept art generation without relying on expensive GPU clusters. It is seamlessly integrated into:
- Story Mode Modules: Generating dynamic backgrounds and scenarios based on player choices and visibility logic.
- Thematic Aesthetics: Specifically calibrated for 1940s Noir (e.g., Noir: The Last Interrogation), Neon Cyberpunk (e.g., Neon Panzer), and Medieval Dark Fantasy.
๐จ Style Capabilities
- Textured Oil Painting: Heavy impasto brush strokes for medieval and historical settings.
- Cinematic Noir: High-contrast chiaroscuro, volumetric fog, and rain-slicked streets.
- Gritty Cyberpunk: Neon reflections, dystopian architecture, and synthwave moods.
๐ป Quick Start (Diffusers API)
Deploy the model locally or on a cloud instance using the diffusers library.
from diffusers import StableDiffusionPipeline, LCMScheduler
import torch
# Initialize the Titan Engine
model_id = "m-h2/titan-art"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float32)
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
pipe.to("cpu")
# Generate a scene
prompt = "A medium shot of medieval knights in armor, cinematic lighting, thick texture oil painting"
image = pipe(prompt=prompt, num_inference_steps=4, guidance_scale=1.8).images[0]
image.save("titan_scene.webp")
โ ๏ธ Limitations and Bias
Facial Detail at Distance: Due to the aggressive 4-step CPU limitation for fast inference, distant human faces may lack sharp detail. It is recommended to use silhouettes, faceless characters, or medium/close-up shots for character focus.
Stylization vs. Photorealism: While capable of realistic outputs, the engine's latent space is heavily weighted towards artistic, stylized, and painted aesthetics to maximize player immersion in narrative environments.