ワンクリックで
image-generate
Generate images from text prompts using Ideogram 4 via CLI.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate images from text prompts using Ideogram 4 via CLI.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
GitHub CLI (gh) — the official command-line interface to GitHub. Use when the user needs to create or manage pull requests, issues, repositories, GitHub Actions, gists, API calls, authentication, or any other GitHub workflow from the terminal. Also use for scripting GitHub automation, querying the GraphQL/REST API, managing forks/clones, and viewing workflow run logs. Prefer gh over web browsing or the raw REST API.
CLI for Gmail via Google's REST API — list, search, read, send, draft, label, delete. Use for all Gmail email operations.
Draft, post, and review Dan's LinkedIn posts (handle saattrupdan) via the `linkedin` CLI, which drives the real LinkedIn web UI with agent-browser. Use when the user wants to write/post a LinkedIn post, save or view a draft, or fetch their recent posts with engagement stats. Also use whenever drafting LinkedIn content, to match Dan's voice and formatting.
Edit Microsoft Excel .xlsx files in place while preserving all formatting — surgical raw-OOXML cell editing that keeps styles, charts, data validations, formulas and named ranges intact. Use when filling in or revising .xlsx workbooks (bid sheets, budgets, forms, trackers) rather than regenerating them.
Edit Microsoft Word .docx files in place while preserving all formatting — surgical raw-OOXML editing, Word comments, page breaks, character-limit fields. Use when filling in or revising .docx documents (grant applications, forms, reports) rather than regenerating them.
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
| 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.