generate-image

Featured

Generate, edit, or batch-create SEO, marketing, social, and document images with Gemini or OpenAI through the repository-owned Growth Lab image client. Use when a page or content loop needs illustrations, diagrams, covers, reference-image edits, multiple candidates, or verified image text and composition. This is the only AI image-generation Executor in Growth Lab.

AI & Automation 1,813 stars 162 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 90/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Generate images Use `executors/generate-image/generate-image.mjs` for text-to-image and reference-image editing. It is a repository-owned, zero-dependency Node.js client. Do not call Codex system Skills, private scripts, or files under `~/.codex`. ## Define the asset Specify: - placement and purpose; - subject and visible action; - composition and aspect ratio; - visual style and brand palette; - exact text when text is essential; - details that must appear; - artifacts, logos, watermarks, and unrelated text to exclude. Prefer real product screenshots when the image explains product behavior. Use generated visuals for concepts, scenes, covers, illustrations, diagrams, and supporting examples. ## Generate Use a prompt file for long or multilingual prompts: ```bash node executors/generate-image/generate-image.mjs \ --out <output.png> --prompt-file <prompt.txt> ``` Choose OpenAI explicitly when appropriate: ```bash node executors/generate-image/generate-image.mjs \ --model gpt-image-2 --out <output.png> \ --prompt-file <prompt.txt> ``` Add one `--ref <image>` argument for each reference image used in an edit. For JSONL batch generation, put one job per line with `prompt` or `prompt_file`, `out`, and optional `model`, `refs`, `size`, or `quality`: ```bash node executors/generate-image/generate-image.mjs \ --batch <jobs.jsonl> --out-dir <directory> --concurrency 3 ``` Read `GEMINI_API_KEY` or `OPENAI_API_KEY` from the process environment. Use `GOOGLE_GEMINI...

Details

Author
tsingyuai
Repository
tsingyuai/growth-lab
Created
4 weeks ago
Last Updated
1 weeks ago
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category