SKILL

luma-imagegen

Use when the user asks to generate images via the Luma AI API (Dream Machine / Photon); collects a prompt and options interactively, then calls the API using the bundled script. Requires LUMA_API_KEY — will prompt the user if missing.

Target: Design & content creation. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Luma Image Generation Skill
  • When to use
  • Workflow
  • API key detection & setup
  • Interactive questions to ask the user
  • Running the CLI
  • Output conventions
  • Prompt augmentation

Generates images using the Luma AI Photon model (Dream Machine API). Handles API key detection, interactive prompt collection, parameter selection, async polling, and final image download — all via the bundled scripts/lumaimagegen.py CLI. Generate a new image from a text description using Luma AI (Photon / Photon Flash) Use a reference image to guide style, structure, or character consistency Modify or stylize an existing image using Luma's modifyimageref 1. Check API key — detect LUMAAPIKEY in environment. If missing, guide the user (see below). 2. Collect inputs — ask the user for: prompt, aspect ratio, model choice, and any optional reference images. 3. Build the structured prompt — augment the user's description into a labeled spec (see prompt template below). 4. Run the bundled CLI — execute scripts/lumaimagegen.py with the collected parameters. 5. Poll until complete — the script handles async polling automatically; wait for state: completed. 6. Display result — show the final image URL and download the image to output/luma/. 7. Iterate — if the result doesn't match expectations, adjust the prompt and re-run. Before any API call, check for the key: If LUMAAPIKEY is missing: 1

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
davila7/claude-code-templates
Source file
cli-tool/components/skills/creative-design/luma-imagegen/SKILL.md
Fixed revision
21be197f100a12b8d0dd9a211cc244c8179f84d3
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:43.854Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.