Skip to content
Back to skills

Text To Image Generation

ASecurity

"Write and debug Python min-dalle text-to-image generation calls,

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

Works with

  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill text-to-image-generation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Text To Image Generation?

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

Security grade badge for Text To Image Generation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-text-to-image-generation/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-text-to-image-generation)

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: text-to-image-generation
description: "Write and debug Python min-dalle text-to-image generation calls,
  streams, tensor/PIL outputs, sampling controls, seamless tiling, seeds,
  devices, dtypes, and reuse choices."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Text-to-Image Generation

Use this sub-skill when a future agent needs to write, adapt, or debug Python `MinDalle` text-to-image calls: model construction, single-image grids, per-image tensor batches, progressive streams, sampling parameters, seamless tiling, reproducible seeds, `is_mega`, `is_reusable`, `device`, and `dtype` choices.

Start here:

- Use [references/api-reference.md](references/api-reference.md) for verified `MinDalle` signatures, output types, shapes, and parameter semantics.
- Use [references/generation-workflows.md](references/generation-workflows.md) for reusable Python recipes and safe dry-run/run command patterns.
- Use [references/troubleshooting.md](references/troubleshooting.md) for generation-specific failures and recovery steps.
- Use [scripts/generation_request_template.py](scripts/generation_request_template.py) as a safe standalone request template. It defaults to dry run and only constructs/downloads models when `--run` is supplied.

Operating rules:

1. Prefer keyword arguments for all generation calls. In particular, `generate_images()` and `generate_images_stream()` need `grid_size` in `kwargs` because the implementation reshapes output batches from `kwargs["grid_size"]`.
2. Choose output API by desired form: `generate_image()`/`generate_image_stream()` for PIL grid images; `generate_images()`/`generate_images_stream()` for tensor batches of individual 256×256 images; `generate_raw_image_stream()` for raw grid tensors.
3. Treat `MinDalle(...)` construction as potentially expensive: tokenizer assets may be requested immediately, and full encoder/decoder/detokenizer weights load during construction when `is_reusable=True`. Route cache/download/storage and detailed dtype memory planning to [../model-assets-and-runtime/SKILL.md](../model-assets-and-runtime/SKILL.md).
4. Keep this sub-skill scoped to the Python API. Route command-line `image_from_text.py`, Tkinter UI, Colab notebook UX, Replicate, Spaces, or public deployment interface tasks to [../deployment-and-interfaces/SKILL.md](../deployment-and-interfaces/SKILL.md).
5. Do not ask future agents to inspect the original repository files for these API facts; use the distilled references here as the runtime operating context.

Files in this skill

  • SKILL.md2.5 KB
  • references/api-reference.md8.1 KB
  • references/generation-workflows.md6 KB
  • references/troubleshooting.md8 KB
  • scripts/generation_request_template.py10.1 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.