How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("m-h2/titan-art", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

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

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.
Downloads last month
51
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using m-h2/titan-art 1