소스 정보
- 저장소
- saattrupdan/dotfiles
- 최근 소스 활동
- 2026년 6월 8일 11:05
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/saattrupdan/dotfiles --skill image-generate명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | image-generate |
| description | Generate images from text prompts using Ideogram 4 via CLI. |
Generate images from text prompts using Ideogram 4 (fp8 quantised).
Use this skill when the user wants to:
Install the CLI package (editable mode):
cd ~/.pi/agent/skills/image-generate
pip install -e .
This makes the generate-image command available globally.
Model weights are gated on Hugging Face. Before generating:
hf auth logingenerate-image "detailed description of the desired image" [options]
| Argument | Description | Default |
|---|---|---|
prompt | Text prompt describing the desired image (required) | — |
--width | Output image width in pixels (multiples of 16, max 2048) | 1024 |
--height | Output image height in pixels (multiples of 16, max 2048) | 1024 |
--quantization | Model quantisation: fp8 (all devices) or nf4 (CUDA-only) | fp8 |
--sampler-preset | Sampler preset: V4_QUALITY_48, V4_BALANCED_32, V4_SPEED_20 | V4_QUALITY_48 |
--seed | Random seed for reproducibility (0 for random) | 0 |
--output-dir | Directory to save generated images | ~/.pi/agent/generated-images/ |
--device | Device: cuda, mps, cpu (auto-detected if omitted) | auto |
--hive-text-key | Hive API key for text moderation | env HIVE_TEXT_MODERATION_KEY |
--hive-visual-key | Hive API key for visual moderation | env HIVE_VISUAL_MODERATION_KEY |
--verbose | Enable verbose logging | off |
# Basic usage
generate-image "A serene mountain landscape at sunset, photorealistic"
# Custom resolution and quality
generate-image "Cyberpunk city street at night, neon signs" \
--width 1536 --height 1024 \
--sampler-preset V4_BALANCED_32
# With specific seed for reproducibility
generate-image "Portrait of a cat in Victorian suit, oil painting" \
--seed 42
# Fast generation for testing
generate-image "Minimalist logo design, geometric shapes" \
--sampler-preset V4_SPEED_20
# Custom output directory
generate-image "Fantasy castle on a cliff" \
--output-dir ./my-images
ideogram4 Python package with Ideogram 4 modelhf auth login + licence acceptance)~/.pi/agent/generated-images/ with timestamps| Preset | Steps | Use case |
|---|---|---|
V4_QUALITY_48 | 48 | Highest quality, production use |
V4_BALANCED_32 | 32 | Balanced quality/speed |
V4_SPEED_20 | 20 | Fastest generation, drafts |
HF_TOKEN set and accept Ideogram 4 licence on HuggingFacenf4 quantisation is CUDA-only; use fp8 for MPS/CPUPrompt and output safety screening is performed via Hive.
Set the following environment variables to enable screening:
export HIVE_TEXT_MODERATION_KEY="your-text-key"
export HIVE_VISUAL_MODERATION_KEY="your-visual-key"
The CLI will emit warnings if these keys are not set.