CoolFace
Modelpublic

m-h2/titan-art

sourceHugging Faceopenrailupdated 4mo agoView on Hugging Face
0likes7downloads
Model Card

๐ŸŒŒ Titan Art Engine (v1.0) - Fast Inference LCM

Titan Engine Developer Inference Architecture

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

  1. 1.Textured Oil Painting: Heavy impasto brush strokes for medieval and historical settings.
  2. 2.Cinematic Noir: High-contrast chiaroscuro, volumetric fog, and rain-slicked streets.
  3. 3.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.

python
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.