Nothing
device_layout parameter in sd_ctx(): distribute sub-models across
multiple Vulkan GPUs without separate processes."mono" — all on one GPU (default, backward-compatible)."split_encoders" — CLIP/T5 on GPU 1, diffusion + VAE on GPU 0."split_vae" — CLIP/T5 + VAE on GPU 1, diffusion on GPU 0."encoders_cpu" — text encoders on CPU, diffusion + VAE on GPU.diffusion_gpu, clip_gpu, vae_gpu integer arguments for
manual device assignment (override presets).sd_profile_start() / sd_profile_stop() — control event capture.sd_profile_get() — raw event data frame.sd_profile_summary() — formatted summary with durations and percentages.text_encode (with text_encode_clip and text_encode_t5
sub-stages), sampling, vae_decode, vae_encode, model loading.print.sd_profile().sd_pipeline() / sd_node() — sequential graph-based pipeline.
Node types: "txt2img", "img2img", "upscale", "save".sd_run_pipeline(pipeline, ctx) — execute pipeline with a single context.sd_save_pipeline() / sd_load_pipeline() — JSON serialization.diffusion_model_path, vae_path, clip_l_path,
t5xxl_path in sd_ctx().cfg_scale auto-defaults to 1.0 for Flux (guidance-distilled models).sd_generate() now defaults width/height to init image dimensions
when not specified explicitly.configure.win rewritten to use template approach (Makevars.win.in →
Makevars.win), matching ggmlR pattern.sd_generate() Entry Pointsd_generate() — single function for all generation modes. Automatically
selects the optimal strategy (direct, tiled sampling, or highres fix) based
on output resolution and available VRAM.vram_gb parameter in sd_ctx(): set once, auto-routing handles the rest.sd_generate_multi_gpu() — parallel generation across multiple Vulkan
GPUs via callr, one process per GPU, with progress reporting.sd_highres_fix() — classic two-pass highres pipeline:
txt2img at native resolution → upscale → tiled img2img refinement.hr_strength parameter (default 0.4) controls refinement intensity.sd_img2img_tiled() — img2img with MultiDiffusion tiled sampling for
large images.vae_mode parameter: "normal", "tiled", "auto" (default).
Auto-tiles when image area exceeds threshold.vae_tile_rel_x / vae_tile_rel_y for adaptive tile sizing.sd_txt2img_highres() — patch-based generation for 2K, 4K+ images.model_type parameter in sd_ctx(): "sd1", "sd2", "sdxl", "flux",
"sd3".sd_txt2img_tiled() — tiled diffusion sampling at any resolution.
VRAM bounded by tile size, not output resolution.sd_ctx() — create model context.sd_generate() — unified entry point.sd_txt2img(), sd_img2img() — low-level generation.sd_save_image(), sd_system_info().Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.