generate-logo

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Generate Logo

生成标志

Generate logo variations for vigiles using the ImageRouter API (imagerouter.io).
使用ImageRouter API(imagerouter.io)为vigiles生成标志变体。

Setup

准备工作

API

API接口

Endpoint: https://api.imagerouter.io/v1/openai/images/generations
Auth: Bearer token in Authorization header
Method: POST, Content-Type: application/json
Endpoint: https://api.imagerouter.io/v1/openai/images/generations
Auth: Bearer token in Authorization header
Method: POST, Content-Type: application/json

Request 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/models
Known good models:
  • google/nano-banana-2
    — best quality, $0.07/image
  • google/nano-banana-2:free
    — free tier
  • openai/gpt-image-1
    — OpenAI's image model
  • black-forest-labs/FLUX-1.1-pro
    — FLUX pro
列出模型:
GET https://api.imagerouter.io/v1/models
已知优质模型:
  • google/nano-banana-2
    — 最佳画质,每张0.07美元
  • google/nano-banana-2:free
    — 免费层级
  • openai/gpt-image-1
    — OpenAI的图像模型
  • black-forest-labs/FLUX-1.1-pro
    — FLUX专业版

Response

响应

json
{
  "created": 1775430873,
  "data": [{ "url": "https://storage.imagerouter.io/..." }],
  "cost": 0.069,
  "latency": 27627
}
Download the image from the URL in
data[0].url
.
json
{
  "created": 1775430873,
  "data": [{ "url": "https://storage.imagerouter.io/..." }],
  "cost": 0.069,
  "latency": 27627
}
data[0].url
中的URL下载图像。

Current logo

当前标志

The current logo (
logo.png
) is v6: overlapping translucent flame petals on dark background, amber-orange palette. Generated with
google/nano-banana-2
.
当前标志(
logo.png
)为第6版:深色背景上重叠的半透明火焰花瓣,琥珀橙色调。使用
google/nano-banana-2
生成。

Prompt 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

工作流程

  1. Generate variations with different prompts
  2. Save as
    logo-v*.png
    (gitignored)
  3. Pick the best, copy to
    logo.png
  4. Commit
    logo.png
    only
  1. 使用不同提示词生成变体
  2. 保存为
    logo-v*.png
    (已加入git忽略)
  3. 挑选最佳版本,复制到
    logo.png
  4. 仅提交
    logo.png