openai-image-gen by 0xbigboss/claude-code
npx skills add https://github.com/0xbigboss/claude-code --skill openai-image-gen通过命令行使用 OpenAI 的 DALL-E 3 API 生成图像。
# 使用提示词生成图像
~/.claude/skills/openai-image-gen/generate.sh "你的提示词在这里" output.png
# 使用特定尺寸生成
~/.claude/skills/openai-image-gen/generate.sh "你的提示词在这里" output.png 1792x1024
# 使用质量设置生成
~/.claude/skills/openai-image-gen/generate.sh "你的提示词在这里" output.png 1024x1024 hd
| 参数 | 选项 | 默认值 | 描述 |
|---|---|---|---|
| prompt | 任意文本 | 必填 | 图像描述 |
| output | 文件路径 | 必填 | 图像保存位置 |
| size | 1024x1024, 1792x1024, 1024x1792 | 1024x1024 | 图像尺寸 |
| quality | standard, hd | standard | 图像质量 (hd = 更多细节) |
Generate images using OpenAI's DALL-E 3 API via command line.
# Generate an image with a prompt
~/.claude/skills/openai-image-gen/generate.sh "your prompt here" output.png
# Generate with specific size
~/.claude/skills/openai-image-gen/generate.sh "your prompt here" output.png 1792x1024
# Generate with quality setting
~/.claude/skills/openai-image-gen/generate.sh "your prompt here" output.png 1024x1024 hd
| Parameter | Options | Default | Description |
|---|---|---|---|
| prompt | any text | required | The image description |
| output | filepath | required | Where to save the image |
| size | 1024x1024, 1792x1024, 1024x1792 | 1024x1024 | Image dimensions |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
为 0xbigboss.github.io 网站准备的预制提示词:
# 深色石墙纹理
~/.claude/skills/openai-image-gen/generate.sh "深色大教堂石墙纹理,无缝平铺图案,深炭灰色带微妙紫色底色,风化中世纪砖石,戏剧性阴影,哥特式建筑,4k 纹理,黑暗忧郁氛围" stone-bg.png 1024x1024
# 拱形天花板
~/.claude/skills/openai-image-gen/generate.sh "哥特式大教堂肋拱天花板仰视图,深蓝黑色,肋条上有金箔装饰线条,戏剧性透视,中世纪建筑,昏暗烛光,华丽石雕逐渐隐入黑暗,氛围雾气,4k" vault-ceiling.png 1792x1024
# 首页 - 光线
~/.claude/skills/openai-image-gen/generate.sh "神圣光线透过哥特式大教堂玫瑰窗倾泻而下,深紫色和蓝色彩色玻璃,金色光束划破黑暗,光线中漂浮的尘埃颗粒,中世纪石质内饰,戏剧性明暗对比,电影感灯光,4k" hero-home.png 1792x1024 hd
# 项目 - 工匠工作室
~/.claude/skills/openai-image-gen/generate.sh "中世纪工匠工作室,深色木工作台上的金色工具,背景是哥特式拱窗,温暖烛光,卷轴和蓝图,黄铜仪器,工匠工艺美学,戏剧性阴影,电影感静物" hero-projects.png 1792x1024 hd
# 文章 - 缮写室
~/.claude/skills/openai-image-gen/generate.sh "古代缮写室书桌,上有泥金装饰手稿,羽毛笔和金墨水瓶,哥特式窗户透出蓝色光线,堆叠的皮革装订日志,中世纪修道院美学,戏剧性轮廓光,温暖金色烛光与冷色窗光对比" hero-posts.png 1792x1024 hd
# 联系 - 大教堂门
~/.claude/skills/openai-image-gen/generate.sh "哥特式大教堂门微开,神圣光线从缝隙中透出,华丽的铁铰链和把手,雕刻石拱门框,既欢迎又神秘,邀请进入,戏剧性灯光,中世纪美学" hero-contact.png 1792x1024 hd
# 项目窗
~/.claude/skills/openai-image-gen/generate.sh "哥特式彩色玻璃窗设计,几何图案,深紫色和蓝色玻璃配金色铅条,锤子和齿轮符号,工匠图标,背光神圣光线,华丽尖拱框架,深色背景,数字艺术" window-projects.png 1024x1024 hd
# 文章窗
~/.claude/skills/openai-image-gen/generate.sh "哥特式彩色玻璃窗设计,打开的书和羽毛笔符号,深蓝色和紫色玻璃配金色铅条,中世纪手稿美学,背光发光,尖拱框架,华丽窗花格图案,深色背景,数字艺术" window-posts.png 1024x1024 hd
# 联系窗
~/.claude/skills/openai-image-gen/generate.sh "哥特式彩色玻璃窗设计,鸽子和伸手符号,深紫色和金色玻璃,连接图标,神圣光线透过,尖拱框架,华丽铅条图案,深色背景,数字艺术" window-contact.png 1024x1024 hd
# 徽标字母组合
~/.claude/skills/openai-image-gen/generate.sh "中世纪泥金装饰手稿风格字母组合 AE,金箔配深蓝色和紫色点缀,华丽花饰和凯尔特绳结图案,哥特式书法风格,复杂细节,深色背景,奢华纹章美学" logo-ae.png 1024x1024 hd
# 分隔线
~/.claude/skills/openai-image-gen/generate.sh "中世纪华丽水平分隔线,深色背景上的金丝细工,哥特式卷轴图案,对称设计,纤细优雅线条配中央徽章,凯尔特绳结点缀,数字艺术,独立元素" divider.png 1792x1024
# 光线叠加层
~/.claude/skills/openai-image-gen/generate.sh "神圣光线从顶部倾泻,体积光,漂浮的尘埃颗粒,纯黑背景上的金色温暖光线,大教堂灯光效果,微妙空灵,数字艺术" light-overlay.png 1792x1024
一次性生成所有哥特式预设:
cd ~/path/to/your/project/public/images
~/.claude/skills/openai-image-gen/batch-gothic.sh
"无效的 API 密钥" - 检查 echo $OPENAI_API_KEY 是否已设置
"内容政策违规" - 重新措辞提示词以避免被标记的内容
图像看起来不对 - DALL-E 会创造性地解读提示词;尝试多次生成或优化提示词
DALL-E 3 定价 (截至 2024 年):
每周安装量
128
仓库
GitHub 星标数
36
首次出现
2026 年 1 月 21 日
安全审计
安装于
codex109
gemini-cli107
opencode107
cursor102
github-copilot101
amp91
| quality | standard, hd | standard | Image quality (hd = more detail) |
Pre-made prompts for the 0xbigboss.github.io site:
# Dark stone texture
~/.claude/skills/openai-image-gen/generate.sh "Dark cathedral stone wall texture, seamless tileable pattern, deep charcoal gray with subtle purple undertones, weathered medieval masonry, dramatic shadows, gothic architecture, 4k texture, dark moody atmosphere" stone-bg.png 1024x1024
# Vaulted ceiling
~/.claude/skills/openai-image-gen/generate.sh "Gothic cathedral ribbed vault ceiling view from below, deep blue-black with gold leaf accent lines on ribs, dramatic perspective, medieval architecture, dim candlelit glow, ornate stone carvings fading into darkness, atmospheric fog, 4k" vault-ceiling.png 1792x1024
# Homepage - Light rays
~/.claude/skills/openai-image-gen/generate.sh "Divine light rays streaming through gothic cathedral rose window, deep purple and blue stained glass, golden light beams cutting through darkness, dust particles floating in light, medieval stone interior, dramatic chiaroscuro, cinematic lighting, 4k" hero-home.png 1792x1024 hd
# Projects - Craftsman workshop
~/.claude/skills/openai-image-gen/generate.sh "Medieval craftsman's workshop, golden tools on dark wood workbench, gothic arched window in background, warm candlelight, scrolls and blueprints, brass instruments, artisan craftsmanship aesthetic, dramatic shadows, cinematic still life" hero-projects.png 1792x1024 hd
# Posts - Scriptorium
~/.claude/skills/openai-image-gen/generate.sh "Ancient scriptorium desk with illuminated manuscript, quill pen and gold ink pot, gothic window with blue light, leather-bound journals stacked, medieval monastery aesthetic, dramatic rim lighting, warm golden candlelight against cool window light" hero-posts.png 1792x1024 hd
# Contact - Cathedral door
~/.claude/skills/openai-image-gen/generate.sh "Gothic cathedral door slightly ajar with divine light streaming through crack, ornate iron hinges and handles, carved stone archway frame, welcoming yet mysterious, invitation to enter, dramatic lighting, medieval aesthetic" hero-contact.png 1792x1024 hd
# Projects window
~/.claude/skills/openai-image-gen/generate.sh "Gothic stained glass window design, geometric pattern, deep purple and blue glass with gold leading, hammer and gear symbols, craftsman iconography, backlit with divine rays, ornate pointed arch frame, dark background, digital art" window-projects.png 1024x1024 hd
# Posts window
~/.claude/skills/openai-image-gen/generate.sh "Gothic stained glass window design, open book and quill symbols, deep blue and purple glass with gold leading, medieval manuscript aesthetic, backlit glow, pointed arch frame, ornate tracery pattern, dark background, digital art" window-posts.png 1024x1024 hd
# Contact window
~/.claude/skills/openai-image-gen/generate.sh "Gothic stained glass window design, dove and reaching hand symbols, deep purple and gold glass, connection iconography, divine light streaming through, pointed arch frame, ornate leading pattern, dark background, digital art" window-contact.png 1024x1024 hd
# Logo monogram
~/.claude/skills/openai-image-gen/generate.sh "Medieval illuminated manuscript style monogram letters AE, gold leaf with deep blue and purple accents, ornate flourishes and Celtic knotwork, gothic calligraphy style, intricate detail, dark background, luxury heraldic aesthetic" logo-ae.png 1024x1024 hd
# Divider
~/.claude/skills/openai-image-gen/generate.sh "Medieval ornate horizontal divider, gold filigree on dark background, gothic scrollwork pattern, symmetrical design, thin elegant line with central medallion, Celtic knotwork accents, digital art, isolated element" divider.png 1792x1024
# Light ray overlay
~/.claude/skills/openai-image-gen/generate.sh "Divine light rays streaming from top, volumetric god rays, dust particles floating, golden warm light on pure black background, cathedral lighting effect, subtle and ethereal, digital art" light-overlay.png 1792x1024
Generate all Gothic presets at once:
cd ~/path/to/your/project/public/images
~/.claude/skills/openai-image-gen/batch-gothic.sh
"Invalid API key" - Check echo $OPENAI_API_KEY is set
"Content policy violation" - Rephrase prompt to avoid flagged content
Image looks wrong - DALL-E interprets prompts creatively; try multiple generations or refine prompt
DALL-E 3 pricing (as of 2024):
Weekly Installs
128
Repository
GitHub Stars
36
First Seen
Jan 21, 2026
Security Audits
Installed on
codex109
gemini-cli107
opencode107
cursor102
github-copilot101
amp91
AI新闻播客制作技能:实时新闻转对话式播客脚本与音频生成
1,200 周安装