Skip to content

sd2R

0.2.1.1Package record

Stable Diffusion Image Generation

0packages depend
2.8Kdownloads / year
1.6%test coverage
13/13flavors OK

Overview

About

Provides Stable Diffusion image generation using the 'ggmlR' library, with no 'Python' or external API dependencies. Supports text-to-image and image-to-image generation for SD 1.x, SD 2.x, 'SDXL', Flux, and 'FLUX.2'. A single sd_generate() function handles the entire pipeline, including sampling and high-resolution output. Features multi-GPU support, a 'Shiny' GUI, and runs on CPU or 'Vulkan' GPU across Linux, macOS, and Windows.

Changes in 0.2.1.1
  • e-mail update

---

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 11.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-11
  • WARNING12 OK, 1 WARNING2026-07-10
  • OK13 OK2026-04-30
Show 3 earlier changesHide 3 earlier changes
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-04-16
  • NOTE11 OK, 2 NOTE2026-04-11
  • ERROR4 OK, 1 NOTE, 2 ERROR2026-03-31
Advisories

none known

Documentation

In release 0.2.1.1
READMEYes · 1,672 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.1.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
86 (25 internal)
Examples that run
8%1 run in a plain check · 11 never run
Exported functions with examples
20%
Documented parameters
95%
Return-value docs
87%
Help pages citing references
0%

Downloads

2.8K
CRAN downloads in the past year
Rank #9,088 · ~8/day · ~232/mo
Daily download trend is not available in this view yet.
47830 days
1K90 days
2.8K1 year
Compare downloads with other packages →
Also on260 r2u

Repository

6Stars
0Forks
0Open issues
0Open PRs
3Releases
85Commits
2Commit identities
85 commits · Last activity 2026-10-14 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
63
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2026-03-30 · 12026-07-09 · 6
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/zabis13/sd2r on 2026-10-11.

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing sd2R adds 33 packages (21 with compiled code, 27 MB of source tarballs). Heaviest: bslib 5.6 MB, promises 3.1 MB, sass 2.9 MB.

Depends (1)
R >= 4.1.0
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (19)
Author, Maintainer since 0.1.7 (2026)
Contributor
Contributor to stable-diffusion.cpp
Contributor
Contributor to stable-diffusion.cpp
Contributor, Copyright holder
Author of stable-diffusion.cpp
Contributor
Core contributor to stable-diffusion.cpp
Contributor
Contributor to stable-diffusion.cpp
Contributor, Copyright holder
Author of the GGML library
Copyright holder
Sentencepiece tokenizer code in t5.hpp
Copyright holder
rng_mt19937.hpp (ported from PyTorch)
Copyright holder
Copyright holder in miniz.h
Copyright holder
Copyright holder in miniz.h
Copyright holder
Author of stb_image.h
Copyright holder
PNG writing code in miniz.h
Copyright holder
Author of miniz.h
Copyright holder
Author of json.hpp (nlohmann/json)
Show 4 more copyright holdersHide 4 copyright holders
Copyright holder
Author of zip.h/zip.c (kuba--/zip)
Copyright holder
Copyright holder in miniz.h
Copyright holder
Author of stb_image_resize.h
Copyright holder
Author of darts.h (darts-clone)
Releases (4)

Pick two releases to compare their code metrics.

  • 0.2.1.1Latest
    record
    2026-10-10 · current release · diff ↗
  • 0.2.1
    record
    2026-06-19 · diff ↗ ·
    added 21 exports
    PREVIEW, sd_decode_latent, sd_default_params, sd_denoise_step, sd_destroy_context, sd_download_model, sd_encode_image, sd_encode_text, sd_generate_multiref, sd_inverse_noise_scale, sd_load_mask, sd_noise_scale, sd_preview_start, sd_preview_stop, sd_read_preview, sd_sample, sd_sample_stepwise, sd_sampler_begin, sd_sampler_end, sd_sampler_sigmas, sd_supports_ref_images
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.9
    record
    2026-04-09 · diff ↗ ·
    added 1 export
    sd_app
  • 0.1.7
    record
    2026-03-30
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-30
Total releases
4 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
1.7 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sd2R")
Baramykov, Y., Google Inc., Green-Sky, Meta Platforms Inc., RAD Game Tools, Valve Software, akleine, leejet, stduhpf, wbruna, Barrett, S., Evans, A., Geldreich, R., Gerganov, G., Lohmann, N., Podgorski, K., Raiber, M., Rodriguez, J. L., & Yata, S. (2026). sd2R: Stable Diffusion Image Generation (Version 0.2.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.sd2R

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sd2R version 0.2.1.1 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy