Skip to content

sd2R

0.2.1

Stable Diffusion Image Generation

0packages depend
2Kdownloads / year
1.6%test coverage
13/13checks pass

Overview

About
Maintained by Yuri BaramykovFirst published 2026-03-303 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 10.9 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.38
1.6%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-11
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-07-10
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-30
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • ERROR2026-04-16
    10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-11
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-31
    4 OK · 1 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,603 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
8%
Documented parameters
95%
Return-value docs
87%
References docs
0%

Downloads

2K
CRAN downloads in the past year
Rank #8,871 · ~6/day · ~168/mo
Daily download trend is not available in this view yet.
Also on235 r2u

Repository

Repository
6Stars
0Forks
1Open issues
0Open PRs
3Releases
83Commits
2Contributors
83 commits · Last activity 2026-06-30 · 0% stars, 30d

Stars over time

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

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/zabis13/sd2r on 2026-08-23.

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

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (19)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (6)
Contributor
Contributor
Contributor, Copyright holder
Contributor
Contributor
Contributor, Copyright holder
Copyright holders (14)
Contributor, Copyright holder
Contributor, Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Show 6 more copyright holders
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.2.1Latest
    2026-06-19 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.9
    2026-04-09 · diff ↗
  • 0.1.7
    2026-03-30
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-30
Total releases
3 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
1.7 MB
Installed size
not tracked yet
With dependencies
not tracked yet

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) [Computer software]. https://doi.org/10.32614/CRAN.package.sd2R

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 [Data set]. HJJB, LLC. Data release v2026-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, 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