Skip to content
Back to skills

Min Dalle

ASecurity

"Use the min(DALL·E) Python package for text-to-image generation,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolspythonbashapibackend

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill min-dalle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Min Dalle?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Min Dalle
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-min-dalle/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-min-dalle)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: min-dalle
description: "Use the min(DALL·E) Python package for text-to-image generation,
  model asset/runtime setup, CLI-style requests, notebook/UI workflows, and
  Replicate/Cog deployment troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# min(DALL·E)

Use this repo skill when a task names `min-dalle`, `min_dalle`, min(DALL·E), DALL·E Mini/Mega inference in PyTorch, or asks for lightweight text-to-image generation code with `MinDalle`. This skill is for operating the package as a library or interface; it is not a training, model-conversion, or upstream Flax/JAX maintenance guide.

## Start safely

Install the public package and verify importability before running any generation that might download weights:

```bash
python -m pip install min-dalle
python - <<'PY'
from min_dalle import MinDalle
print(MinDalle)
PY
```

For a no-download API/backend inspection, run the bundled helper:

```bash
python scripts/inspect_min_dalle_api.py
```

Read [references/troubleshooting.md](references/troubleshooting.md) when installation, imports, PyTorch, Pillow, `emoji`, or model-cache setup fails. Read [references/repo-provenance.md](references/repo-provenance.md) before deciding whether this skill is stale for a newer checkout.

## Route by task

- Use [sub-skills/text-to-image-generation/SKILL.md](sub-skills/text-to-image-generation/SKILL.md) to write or debug Python `MinDalle` generation calls: `generate_image`, `generate_images`, stream APIs, tensor/PIL conversion, seeds, `grid_size`, `temperature`, `top_k`, `supercondition_factor`, seamless mode, `is_mega`, `is_reusable`, `device`, and `dtype`.
- Use [sub-skills/model-assets-and-runtime/SKILL.md](sub-skills/model-assets-and-runtime/SKILL.md) to plan or troubleshoot `models_root`, tokenizer/weight downloads, cache layout, Mega versus Mini constants, CPU/CUDA/dtype choices, tokenizer normalization, and internal tensor shapes without unnecessary downloads.
- Use [sub-skills/deployment-and-interfaces/SKILL.md](sub-skills/deployment-and-interfaces/SKILL.md) for command-line style requests, the safe CLI template, notebook/Colab progressive display, Tkinter UI behavior, Replicate/Cog predictor inputs, and deployment-specific failures.

## Common choices

- Start with `device="cpu"`, `dtype=torch.float32`, `is_mega=False`, and `grid_size=1` only for the smallest compatibility check; full generation can still be slow and may download model assets.
- Use CUDA for practical Mega generation when available and verified. `dtype=torch.float16` can reduce GPU memory; `torch.bfloat16` is only appropriate on capable hardware such as Ampere-class CUDA.
- Use `is_reusable=True` for repeated prompts when memory permits. Use `is_reusable=False` for one-shot runs under memory pressure.
- Pass `grid_size` as a keyword argument for tensor batch APIs because the implementation reads `kwargs["grid_size"]` while reshaping.

## Bundled scripts

- [scripts/inspect_min_dalle_api.py](scripts/inspect_min_dalle_api.py) prints installed distribution/dependency versions, `MinDalle` signatures, and optional CUDA visibility without constructing a model.
- [sub-skills/text-to-image-generation/scripts/generation_request_template.py](sub-skills/text-to-image-generation/scripts/generation_request_template.py) plans Python API generation calls and requires `--run` before model construction or downloads.
- [sub-skills/model-assets-and-runtime/scripts/tokenizer_smoke.py](sub-skills/model-assets-and-runtime/scripts/tokenizer_smoke.py) checks tokenizer normalization with a synthetic vocabulary and no network.
- [sub-skills/deployment-and-interfaces/scripts/min_dalle_cli_template.py](sub-skills/deployment-and-interfaces/scripts/min_dalle_cli_template.py) is a safe replacement for the repo's CLI-style behavior, defaulting to dry run.
- [sub-skills/deployment-and-interfaces/scripts/replicate_filename_sanitize.py](sub-skills/deployment-and-interfaces/scripts/replicate_filename_sanitize.py) previews Replicate-style output basenames without Cog or model loading.

## Boundaries

This skill intentionally does not bundle model weights, example images, notebooks, or deployment images. Full image generation may require network access to model assets, significant disk space, substantial CPU/GPU memory, and runtime approval. Use the dry-run and inspection helpers before any side-effectful call.

Files in this skill

  • SKILL.md4.3 KB
  • references/repo-provenance.md1.7 KB
  • references/repo-routing-metadata.json317 B
  • references/troubleshooting.md3.8 KB
  • scripts/inspect_min_dalle_api.py3.8 KB
  • sub-skills/deployment-and-interfaces/SKILL.md2.7 KB
  • sub-skills/deployment-and-interfaces/references/cli-reference.md3.8 KB
  • sub-skills/deployment-and-interfaces/references/interface-workflows.md4.9 KB
  • sub-skills/deployment-and-interfaces/references/troubleshooting.md5.3 KB
  • sub-skills/deployment-and-interfaces/scripts/min_dalle_cli_template.py6.7 KB
  • sub-skills/deployment-and-interfaces/scripts/replicate_filename_sanitize.py2.1 KB
  • sub-skills/model-assets-and-runtime/SKILL.md2.9 KB
  • sub-skills/model-assets-and-runtime/references/runtime-and-assets.md6.8 KB
  • sub-skills/model-assets-and-runtime/references/tokenizer-and-model-internals.md6.3 KB
  • sub-skills/model-assets-and-runtime/references/troubleshooting.md6 KB
  • sub-skills/model-assets-and-runtime/scripts/tokenizer_smoke.py2.3 KB
  • sub-skills/text-to-image-generation/SKILL.md2.5 KB
  • sub-skills/text-to-image-generation/references/api-reference.md8.1 KB
  • sub-skills/text-to-image-generation/references/generation-workflows.md6 KB
  • sub-skills/text-to-image-generation/references/troubleshooting.md8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.