A production-oriented Codex skill for generating posters, product visuals, PPT illustrations, infographics, WeChat cover images, campaign key visuals, and other marketing graphics with Google AI Studio and Volcengine Ark.
Built for repeatable creative production, not one-off prompt experiments.
- Generate marketing visuals from reusable prompt systems
- Build prompts from asset, industry, platform, and brand layers
- Reuse presets for common Chinese content and growth scenarios
- Generate directly with Google AI Studio or Volcengine Ark
- Use as a Codex skill or as a standalone Python CLI tool
This project combines:
- A reusable skill definition for Codex
- Prompt templates for Chinese content and marketing scenarios
- Industry and platform preset libraries
- A prompt builder that assembles final prompts from reusable layers
- A one-command image generation workflow for Google AI Studio and Volcengine Ark
This skill is designed for practical creative work instead of generic prompt hacking.
It helps you:
- Generate WeChat cover images
- Generate e-commerce product posters and hero visuals
- Generate PPT illustrations and cover images
- Generate infographic base visuals
- Generate campaign KV and banner assets
- Reuse presets for common industries and channels
- Template-driven prompt generation
- Chinese creative template library
- Industry-specific prompt layers
- Platform-specific prompt layers
- Brand configuration support
- Preset-based generation for repeated scenarios
- Unified image generation CLI
- Support for Google AI Studio image generation
- Support for Volcengine Ark image generation
design-image-generator/
├── README.md
├── SKILL.md
├── agents/
│ └── openai.yaml
├── assets/
│ ├── brand-config-template.json
│ └── presets/
├── references/
│ ├── chinese-template-library.md
│ ├── industry-template-library.md
│ ├── platform-template-library.md
│ ├── prompt-patterns.md
│ └── providers.md
└── scripts/
├── generate_from_template.py
├── generate_image.py
├── list_presets.py
└── prompt_builder.py
Copy the folder into your Codex skills directory:
Copy-Item -LiteralPath .\design-image-generator -Destination "$env:USERPROFILE\.codex\skills\design-image-generator" -RecurseThen restart Codex so the skill can be discovered.
You can also run the scripts directly from the project directory with Python 3.
- English:
README.md - Chinese:
README.zh-CN.md - Skill instructions:
SKILL.md
- Python 3.10+
- Access to at least one image provider:
- Google AI Studio / Gemini image generation
- Volcengine Ark image generation
Required:
GEMINI_API_KEY=your_google_api_key
Optional:
GOOGLE_IMAGE_MODEL=gemini-3.1-flash-image-preview
Required:
ARK_API_KEY=your_ark_api_key
VOLCENGINE_IMAGE_ENDPOINT_ID=ep-xxxxxxxxxxxxxxxx
Optional:
VOLCENGINE_IMAGE_ENDPOINT=https://ark.cn-beijing.volces.com/api/v3/images/generations
VOLCENGINE_IMAGE_MODEL=ep-xxxxxxxxxxxxxxxx
Note:
- For Volcengine Ark, this project expects a deployed endpoint ID in
ep-...form. - A bare model name is not enough for the current Ark integration path.
python .\scripts\list_presets.pypython .\scripts\prompt_builder.py `
--asset-template wechat-cover `
--industry saas-b2b `
--platform wechat `
--vars-file .\assets\brand-config-template.json `
--set topic="Prompt Engineering Systems" `
--set subject="Layered blueprint cards and modular workflow frames" `
--set core_selling_point="system design, workflow, execution"python .\scripts\generate_from_template.py `
--preset-file .\assets\presets\wechat-cover-methodology.json `
--vars-file .\assets\brand-config-template.json `
--set topic="Prompt Engineering Systems" `
--set subject="Layered blueprint cards and modular workflow frames" `
--set core_selling_point="system design, workflow, execution" `
--output-dir .\outputs\wechat-cover `
--print-prompt `
--dry-runpython .\scripts\generate_from_template.py `
--provider google `
--preset-file .\assets\presets\wechat-cover-methodology.json `
--vars-file .\assets\brand-config-template.json `
--set topic="Prompt Engineering Systems" `
--set subject="Layered blueprint cards and modular workflow frames" `
--set core_selling_point="system design, workflow, execution" `
--set color_palette="cream, black, signal red" `
--aspect-ratio 16:9 `
--output-dir .\outputs\wechat-coverpython .\scripts\generate_from_template.py `
--provider volcengine `
--preset-file .\assets\presets\wechat-cover-methodology.json `
--vars-file .\assets\brand-config-template.json `
--set topic="Prompt Engineering Systems" `
--set subject="Layered blueprint cards and modular workflow frames" `
--set core_selling_point="system design, workflow, execution" `
--aspect-ratio 16:9 `
--output-dir .\outputs\wechat-cover-volcengineCurrent bundled presets include:
wechat-cover-saaswechat-cover-methodologyproduct-poster-fmcgppt-cover-b2bxiaohongshu-beautytaobao-3c-herovideo-account-businesscampaign-kv-tech-event
Use scripts/list_presets.py to inspect them from the command line.
Each generation writes:
- One or more image files
generation-metadata.json
Typical output:
outputs/
└── wechat-cover/
├── image-google-20260421-090000-1.png
└── generation-metadata.json
This project follows a systems-style prompt design approach instead of one-off prompt writing.
The typical flow is:
- Lock the brief
- Choose the provider
- Choose the asset type
- Add industry constraints
- Add platform constraints
- Apply brand rules
- Generate the final prompt
- Generate the image
For repeated production work:
- Start from a preset
- Keep reusable brand defaults in
assets/brand-config-template.json - Use
--dry-runto inspect prompts before paying for generation - Save successful parameter combinations as new preset files
- Long in-image text is still unreliable for most image models
- Product geometry accuracy is better when reference images are provided
- Volcengine support depends on a valid Ark key and a deployed endpoint ID
- Provider-side rate limits or temporary overload may still cause failures
- Automatic prompt export into output directories
- Result scoring for different asset types
- Batch generation mode
- More presets for verticals and channels
Suggested contribution areas:
- New preset files for real production scenarios
- Better provider compatibility and retry logic
- Brand-specific template packs
- Evaluation and scoring workflows for generated assets
Add your preferred license before publishing publicly.