複数のアプリやMCPホストからブランド画像・動画を生成、調整、書き出し、挿入する作業を支援します。ライブラリ選択や修正依頼も扱います。
- スライド用のブランド画像を作りたいとき
- 既存素材をフィードバックに合わせて直したいとき
- 動画素材を生成して書き出したいとき
画像生成モデルにロゴを描かせず、ブランドキットの正規ロゴを生成画像へ合成する仕組みを説明し、テンプレートや背景レイヤーを使った配置を案内します。
How the generate-then-composite pipeline puts a pixel-perfect canonical logo onto a generated image without letting the LLM regenerate the logo.
実行スコア 未検証
インストール方法を見る画像生成モデルにロゴを描かせず、ブランドキットに登録した正規ロゴを生成画像へ後から合成する流れを案内します。テンプレートにロゴ合成を設定すると、そのテンプレートで生成する画像にロゴを配置できます。単発の生成では、テンプレート設定を上書きして合成を指定する方法もあります。ロゴを含む前景レイヤーやブランド背景を持つテンプレートスケルトンにも対応し、背景・生成した被写体・前景を重ねて最終画像を構成します。ロゴの元画像がSVGなら、ベクター品質を保った合成が可能です。
ブランドロゴの形や文字を正確に保ったまま、告知画像や顧客向け画像を作りたいときに向いています。生成した被写体を既存のブランド背景に配置し、テンプレートとして繰り返し使う場合にも役立ちます。
正規ロゴの登録と、ブランドキットに関連付けたテンプレートが必要です。角への平面的な合成は、商品表面など曲面・遠近感のあるロゴ配置や、複数ロゴのシーンには適しません。こうした構図にはマスクを使ったテンプレートスケルトンが必要です。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
LLMs — including Gemini Pro — degrade complex logos. They smear gradients, drop text, and rearrange elements. The Assets app sidesteps this entirely with a generate-then-composite pipeline that every serious brand-imagery system uses today.
canonicalLogoUrl (set via set-canonical-logo --libraryId --assetId). The asset's role is logo_reference.includeLogo (stored in its settings and surfaced as a first-class field). Global templates cannot enable it because a canonical logo belongs to a brand kit. When a generation resolves to an associated template with includeLogo: true, generate-image composites the logo. A generate call's own includeLogo arg, when passed, overrides the template for that run; when omitted, the template's value wins.settings.skeletonSpec: background first, generated subject second, foreground layers last. If the skeleton already has a foreground layer with source: "canonicalLogo", includeLogo is treated as a no-op for that run so the logo is not stamped twice. If the skeleton does not include the logo and includeLogo is true, the existing canonical-logo layer is appended at the default upper-right position during compositing.Leave a clean uncluttered area in the upper-right for the real brand logo; do not draw or approximate the logo yourself.
compositeLogo() from server/lib/image-processing.ts (Sharp) loads the canonical logo PNG / SVG, resizes it to ~16% of the image width with reasonable inset, and composites it onto the generated image. Skeleton runs use applyPresetSkeleton() at the same seam.Set includeLogo via create-template / update-template after associating
the template with a brand kit. The *-generation-preset actions are deprecated
aliases retained for existing threads.
generate-image / generate-image-batch stamp the library's pixel-perfect
canonical logo onto the result when the resolved template has it on, and it is a
no-op if the library has no canonical logo. The model never draws the logo
itself.
Template skeletons live in settings.skeletonSpec on associated templates and
are edited from /templates/:templateId. They composite a
generated subject onto an uploaded brand background image and optional
foreground layers.
settings.skeletonSpec is the prototype storage shape:
{
background: { type: "asset"; assetId: string };
mask?: { type: "asset"; assetId: string };
contentMode: "fill" | "cutout";
contentRegion?: { x: number; y: number; w: number; h: number };
dropShadow?: boolean;
foreground?: Array<{
source: "canonicalLogo" | { assetId: string };
x: number;
y: number;
w: number;
}>;
}
fill drops an opaque generation into the content region, so it works through the normal managed provider path.gpt-image-2, the action sends a managed edit/inpaint request instead of generate-then-composite: the uploaded plate is the edit_target, an optional same-size mask asset becomes the editable-area mask, and maskFromPlateAlpha() is only the fallback when no manual mask is set. Transparent mask pixels are editable, opaque pixels are sent as preserved regions, and the returned image is final. The manual mask or plate fallback must have transparent pixels.cutout skeletons ask for an isolated transparent subject, force gpt-image-1, attach the background plate as a background_reference/composition reference, request background: "transparent" through the managed Builder image provider, and only fall back to OpenAI BYOK when the managed provider fails. They clamp only the provider subject ratio to 1:1, 2:3, or 3:2. The final skeleton canvas still uses the preset's requested aspect ratio.assetId values must belong to the selected brand kit and must be images.includeLogo: true on that single generate call to override the template.upload reference image (role: logo_reference, category: logo) →
set-canonical-logo --libraryId=<id> --assetId=<asset-id>
set-canonical-logo flips the asset's role to logo_reference AND its status to reference. This means the reference selector won't pick up generated logo candidates as canonical — only intentionally pinned uploads.
In image-processing.ts:compositeLogo():
max(120, round(imageWidth * 0.16)) — ~16% of the image, but never smaller than 120 px.max(24, round(min(width, height) * 0.035)) — ~3.5% of the smaller dimension, but never less than 24 px.top: inset, left: width - logoWidth - inset).If you change these, also update the corresponding language in the prompt envelope ("upper-right") so the LLM's clean area aligns with where Sharp will composite.
The same logic applies to body and headline text. Image models still smear small letters and rearrange long strings. The Assets app's prompt envelope explicitly says:
Do not render headlines, body text, UI labels, or prompt wording inside the image unless the user explicitly asks for exact visible text.
Overlay text in HTML/CSS in the calling app (slides, design, mail) — it's more reliable, more accessible, and the user can edit it without re-running the generation.
canonicalLogoAssetId at generate time, so racing here is rare; but the variant slot will reflect whichever logo was current when the call landed.まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
複数のアプリやMCPホストからブランド画像・動画を生成、調整、書き出し、挿入する作業を支援します。ライブラリ選択や修正依頼も扱います。
特定の顧客企業について、契約と製品利用の数値を照らし合わせ、根拠や不足情報を明記した健全性レポートをまとめます。
アプリの操作をエージェントと画面の両方から呼び出せるアクションとして実装し、API連携や画面のデータ取得を一貫した形で追加するスキルです。
新機能をUI・エージェント用アクション・説明資料・画面状態の4領域でそろえ、利用者とエージェントのどちらからも一貫して使えるようにするチェックリストです。
複数のデータソースを照合して、傾向や指標、根拠をまとめた分析結果を作成します。必要に応じて、再実行できるダッシュボードとして保存できます。
Analyticsの管理画面で、機能フラグの状態確認と切り替え、ダッシュボード利用状況の調査、接続先アプリのデータベース管理を行います。