generate-logo
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGenerate Logo
生成标志
Generate logo variations for vigiles using the ImageRouter API (imagerouter.io).
使用ImageRouter API(imagerouter.io)为vigiles生成标志变体。
Setup
准备工作
Get an API key from https://imagerouter.io/api-keys. Pass it as an argument or set env var. Do NOT commit the key.
IMAGEROUTER_API_KEYAPI
API接口
Endpoint: https://api.imagerouter.io/v1/openai/images/generations
Auth: Bearer token in Authorization header
Method: POST, Content-Type: application/jsonEndpoint: https://api.imagerouter.io/v1/openai/images/generations
Auth: Bearer token in Authorization header
Method: POST, Content-Type: application/jsonRequest body
请求体
json
{
"prompt": "...",
"model": "google/nano-banana-2",
"quality": "high",
"size": "1024x1024",
"response_format": "url",
"output_format": "png"
}json
{
"prompt": "...",
"model": "google/nano-banana-2",
"quality": "high",
"size": "1024x1024",
"response_format": "url",
"output_format": "png"
}Available models (image generation)
可用图像生成模型
List models:
GET https://api.imagerouter.io/v1/modelsKnown good models:
- — best quality, $0.07/image
google/nano-banana-2 - — free tier
google/nano-banana-2:free - — OpenAI's image model
openai/gpt-image-1 - — FLUX pro
black-forest-labs/FLUX-1.1-pro
列出模型:
GET https://api.imagerouter.io/v1/models已知优质模型:
- — 最佳画质,每张0.07美元
google/nano-banana-2 - — 免费层级
google/nano-banana-2:free - — OpenAI的图像模型
openai/gpt-image-1 - — FLUX专业版
black-forest-labs/FLUX-1.1-pro
Response
响应
json
{
"created": 1775430873,
"data": [{ "url": "https://storage.imagerouter.io/..." }],
"cost": 0.069,
"latency": 27627
}Download the image from the URL in .
data[0].urljson
{
"created": 1775430873,
"data": [{ "url": "https://storage.imagerouter.io/..." }],
"cost": 0.069,
"latency": 27627
}从中的URL下载图像。
data[0].urlCurrent logo
当前标志
The current logo () is v6: overlapping translucent flame petals on dark background, amber-orange palette. Generated with .
logo.pnggoogle/nano-banana-2当前标志()为第6版:深色背景上重叠的半透明火焰花瓣,琥珀橙色调。使用生成。
logo.pnggoogle/nano-banana-2Prompt that produced it
生成当前标志的提示词
A premium, refined logo icon for a developer tool called vigiles that compiles
typed TypeScript specs to AI instruction files. Inspired by OpenAI geometric aesthetic and Apple
minimalism. A single abstract geometric shape: an upward-pointing flame composed
of 3 overlapping translucent rounded shapes, creating depth through overlap —
similar to how the OpenAI logo uses overlapping curves. Warm amber to deep orange
color palette. Black background. No text. No letters. Pure abstract mark. Clean
enough to be an app icon. Luxurious, premium, modern tech company feel.为名为vigiles的开发者工具设计一个高端、精致的标志图标,该工具可将类型化的TypeScript规范编译为AI指令文件。灵感源自OpenAI的几何美学与Apple的极简风格。单个抽象几何图形:由3个重叠的半透明圆角形状组成的向上火焰,通过重叠营造层次感——类似OpenAI标志使用重叠曲线的方式。暖琥珀色至深橙色色调。黑色背景。无文字、无字母。纯粹的抽象标识。简洁到可作为应用图标。营造奢华、高端、现代科技公司的质感。Design principles
设计原则
- Flame/torch motif — vigiles were Rome's night watchmen who carried torches
- Amber/orange palette — matches GitHub Action branding color
- No text in the icon — must work at 16px favicon size
- Dark background variant for README, light/transparent variant for npm
- 火焰/火炬主题 — vigiles是古罗马的夜间守卫,他们手持火炬
- 琥珀/橙色调 — 匹配GitHub Action的品牌颜色
- 图标中无文字 — 需在16px的网站图标尺寸下正常显示
- 深色背景变体 用于README,浅色/透明变体用于npm
Example curl
示例curl命令
bash
curl 'https://api.imagerouter.io/v1/openai/images/generations' \
-H "Authorization: Bearer $IMAGEROUTER_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"prompt": "YOUR PROMPT HERE",
"model": "google/nano-banana-2",
"quality": "high",
"size": "1024x1024",
"response_format": "url",
"output_format": "png"
}'bash
curl 'https://api.imagerouter.io/v1/openai/images/generations' \
-H "Authorization: Bearer $IMAGEROUTER_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"prompt": "YOUR PROMPT HERE",
"model": "google/nano-banana-2",
"quality": "high",
"size": "1024x1024",
"response_format": "url",
"output_format": "png"
}'Workflow
工作流程
- Generate variations with different prompts
- Save as (gitignored)
logo-v*.png - Pick the best, copy to
logo.png - Commit only
logo.png
- 使用不同提示词生成变体
- 保存为(已加入git忽略)
logo-v*.png - 挑选最佳版本,复制到
logo.png - 仅提交
logo.png