本文へ移動
cccskills
無料GitHub で公開日本語紹介

chatgpt-image-ad

ArcadsのChatGPT Image 2を使ってMeta広告向け静止画を生成・編集します。文字量の多い広告やチャット画面風などの表現に向けて指示文を整え、生成画像を確認して受け渡します。

原文原文の説明を見る

Generate one or more standalone Meta image-ad creatives via ChatGPT Image 2 (gpt-image-2) through the Arcads external API. Locks the model, auto-strips platform chrome, enforces edge-safe layouts and glyph-safety inside body text. Use when the user asks for a "gpt-image-2 ad", "ChatGPT Image ad", "Image 2 ad creative", "make a static image ad with GPT", or anchors on a need for typography-heavy / dense-text / UI-mimicry ad creatives (chat threads, comparison tables, fake search results, iOS dialogs, Slack snapshots, ChatGPT-conversation ads, Apple Notes lists). Does NOT trigger on Nano Banana cues — use nano-banana-image-ad for those.

mrpaidsocial/arcads-claude-code-mrpaidsocialスター 1,634(GitHub 1,634 + cccskills 0)
連携ツールSlack

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 会話画面風の広告画像を作りたいとき
  • 比較表や検索画面の広告を作りたいとき
  • 文字の多い静止画広告を編集したいとき

日本語での紹介

できること

Arcadsの画像生成APIを通じて、ChatGPT Image 2(gpt-image-2)でMeta広告向けの静止画を新規生成したり、既存画像を編集したりします。チャットのやり取り、比較表、検索結果、iOSのダイアログ、SlackやApple Notes風の画面など、文字や画面構成を含む広告表現を得意とする用途に向いています。共有テンプレートを確認してモデルに合う形式を選び、プロンプトを整えてから生成します。出力には画面外枠を避ける指示や、端で切れにくい配置、本文の文字を読みやすく保つための配慮が含まれます。生成後は文字の崩れ、文言数、ロゴやUIの比率を確認し、画像ファイルのパスを渡します。

こんなときに便利

広告の中に説明文や会話、比較情報を載せたいときに便利です。商品写真などの参照画像を使う生成や、既存画像の一部を変更する編集にも利用できます。画像の生成を担当し、Metaへの入稿や広告コピー作成は別の作業です。

使い方の例

  • 「ChatGPT Image 2でチャット画面風の広告画像を作って」
  • 「3つのプランを比べる静止画広告を生成して」
  • 「この広告画像の背景色を変えて」

注意点

Arcadsの認証情報を.envに設定する必要があります。参照画像は最大5枚で、縦横比は1:1、16:9、9:16に対応します。生成前にクレジット費用の見積もりと利用者の確認が必要です。Metaへのアップロードは対象外です。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(2)

  • SKILL.md10.5 KB
  • scripts/generate_image.py22.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

chatgpt-image-ad (Arcads)

Generate one or more standalone Meta ad image creatives via Arcads' POST /v2/images/generate with model: "gpt-image-2". Hands the image paths off to your Meta-ad-builder skill — this skill does not upload to Meta itself.

Read order

  1. This file — Arcads-specific endpoint, auth, presigned upload flow, workflow phases.
  2. shared/skills/chatgpt-image-ad/prompting/guide.md — model-specific prompting (what gpt-image-2 is good/bad at, when to switch to nano-banana).
  3. shared/skills/image-ad-prompting/prompting/prompt-library.md — 30+ validated templates with per-model notes.
  4. shared/skills/image-ad-prompting/prompting/safety-suffixes.md — the 3 always-on guards.
  5. scripts/generate_image.py — the helper script (Python stdlib only).

Hard rules — never relax

  1. Model is gpt-image-2. The script refuses any other value. If the user asks for nano-banana, point them at nano-banana-image-ad.
  2. No platform/screenshot chrome in output. NO_CHROME_SUFFIX is always on (override with --allow-chrome only when the ad's concept requires chrome — rare).
  3. Edge-safe + glyph-safety suffixes always on unless --no-safe-zone is explicit. They fix real failures; don't remove silently.
  4. Max 5 reference images. Hard Arcads cap for gpt-image-2 (observed 400 Max 5 reference image(s) allowed). The script enforces.
  5. No Meta upload from this skill. Image generation only. The user has a separate ad-builder skill in their stack — hand off via filesystem paths.
  6. Always present a credit-cost estimate before generating (see Arcads arcads-external-api skill conventions). Each gpt-image-2 call is one image; multiply by --n variants.

Prerequisites

  • .env containing ARCADS_BASIC_AUTH (preferred, pre-encoded) OR ARCADS_API_KEY
  • Optional: PRODUCT_ID, PROJECT_ID in .env so generated assets land in the right Arcads dashboard folder (see arcads-external-api SKILL.md for the session-folder pattern)
  • Reference images on local disk (PNG/JPG/JPEG/WEBP/GIF). The script handles the Arcads presigned-upload flow internally — you pass local paths.

Configuration

  • Base URL: https://external-api.arcads.ai (or ARCADS_BASE_URL).
  • Auth: HTTP Basic. The script prefers a pre-encoded ARCADS_BASIC_AUTH env var (e.g. Basic ZXhhbXBsZTo=); falls back to encoding ARCADS_API_KEY with an empty password.
  • Endpoint: POST /v2/images/generate (request); GET /v1/assets/{id} (poll until status: generated); image URL fetched once status flips.
  • Reference uploads: POST /v1/file-upload/get-presigned-url returns {presignedUrl, filePath}; PUT the bytes to presignedUrl; pass the filePath string in referenceImages. Each filePath is single-use — the script re-uploads per variant so parallel runs don't collide.

Generation modes

ModeWhen to useRequiredOptional
image (default)Generate a brand-new ad image.--prompt, --aspect-ratio--image-ref (up to 5)
image_editModify an existing image (swap colors, change background, add element).--prompt, --source--image-ref (up to 5)

Supported aspect ratios

1:1, 16:9, 9:16. Only these three are accepted by Arcads' /v2/images/generate endpoint (confirmed live: aspectRatio must be one of the following values: 1:1, 16:9, 9:16). Templates in the shared library that use 2:3, 3:2, 4:5, etc. won't render at their native ratio on this backend — fall back to 1:1 and crop, or use the KIE chatgpt-image-ad sibling which supports 2:3 and 3:2 natively via its dedicated /gpt4o-image/generate endpoint.

Inputs the user must provide

InputNotes
Seed promptThe creative direction in their words. You will rewrite it (see Phase 3).
Aspect ratioOne of the 5 above. Reject anything else.
Reference image(s)Optional but strongly recommended when the ad features a specific product. Up to 5.
Variant count NDefault 1. Cap at 5.
Modeimage (default) or image_edit.
Source imageRequired only for image_edit.

Workflow

Phase 1: Preflight

  1. .env exists with ARCADS_BASIC_AUTH or ARCADS_API_KEY.
  2. (Optional) arcads-external-api session folder is set up (see that skill's "Session setup" section). If PRODUCT_ID / PROJECT_ID aren't set, generated assets land in the default project — you can fix later via POST /v1/assets/add-to-project.
  3. Health-check: curl -sf -H "$AUTH" "$BASE_URL/v1/products" returns 200.

Phase 2: Gather inputs

Collect: seed prompt, mode, source (if edit), reference paths, variant count, aspect ratio.

Phase 3: Prompt rewrite

Read shared/skills/image-ad-prompting/prompting/prompt-library.md. If the user's brief maps onto a template, check the Model notes block — only proceed if gpt-image-2 is marked clean or preferred. If nano-banana is preferred, suggest switching skills before generating.

Fill the {placeholders} and show the user the rewritten prompt. Ask "Use this, edit it, or start over?" Loop until approved.

For fresh prompts (no template match), follow the structure in shared/skills/chatgpt-image-ad/prompting/guide.md § Phase 3b.

Phase 4: Credit cost confirmation (MANDATORY)

Per arcads-external-api conventions: present an estimated credit cost (read from logs/arcads-api.jsonl for matching past calls, or MASTER_CONTEXT.md rate table). Wait for explicit confirmation before firing.

Phase 5: Generate

~/.claude/skills/chatgpt-image-ad/scripts/generate_image.py \
  --prompt "<rewritten>" \
  --aspect-ratio <ratio> \
  --n <N> \
  --image-ref <product.png> \
  [--image-ref <style-board.png>] \
  --out ./generated \
  --env-file .env

# For an edit run:
~/.claude/skills/chatgpt-image-ad/scripts/generate_image.py \
  --mode image_edit \
  --prompt "<edit-instruction>" \
  --source <existing.png> \
  [--image-ref <guidance.png>] \
  --n <N> \
  --out ./generated \
  --env-file .env

Each line on stdout is one JSON variant (variant, path, asset_id, width, height, prompt, mode, aspect_ratio, model).

Log each call to logs/arcads-api.jsonl with model=gpt-image-2, the variant count, referenceImages count, and the returned asset_ids, per arcads-external-api skill conventions.

Phase 6: Visual QA (MANDATORY)

For each completed variant, read the image and inspect for:

  • Garbled small text (most common gpt-image-2 failure on dense body text)
  • Wordmark drift (if a brand wordmark wasn't passed as --image-ref)
  • Wrong text count (e.g. 4 Slack messages instead of 3)
  • iOS dialog / UI proportion drift

If defects: regenerate with a revised prompt explicitly correcting the issue (see shared/skills/chatgpt-image-ad/prompting/guide.md § Retry mode). Cap at 2 retries per variant.

Phase 7: Confirm and hand off

Show all paths to the user. Ask "Use all / use these specific ones / regenerate / cancel."

Selected variants are now ready for your Meta-ad-builder skill (the separate skill that handles cloning, copy, and upload). Print the paths so the user can pipe them.

Optionally, write the selected paths to ./generated/run-<ts>.jsonl (one path per line, JSON-wrapped) for downstream consumption.

Out of scope — fail clearly

  • Meta upload — different skill in your stack.
  • Nano Banana / Gemini image generation — use nano-banana-image-ad.
  • Video, carousel, DCO ads — image only.
  • Ad copy writing — different skill.
  • Editing the shared prompt library — use image-ad-clone (asks which backend at Phase 1).

Common errors

  • 401/403 → fix .env per arcads-external-api setup flow.
  • 400 Max 5 reference image(s) allowed → reduce --image-ref count to ≤5.
  • 422 validation/moderation → tighten the prompt; check that aspectRatio is in the supported set.
  • 500 UNKNOWN_ERROR → usually a stale presigned filePath being reused. The script re-uploads per variant; if you still see this, file an issue with the asset_id from the response.

Files this skill owns

  • ~/.claude/skills/chatgpt-image-ad/SKILL.md — this file
  • ~/.claude/skills/chatgpt-image-ad/scripts/generate_image.py — Arcads gpt-image-2 caller (presigned upload + generate + poll + download)

See also

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

analyze-video

無料概要あり

参考動画の構成やテンポ、カメラ、編集、話し方を分析し、Seedance 2.0で別の題材にも応用できる動画生成用テンプレートにまとめます。

  • 参考動画のスタイルを型にしたいとき
  • 動画の構成やカメラワークを分析したいとき
  • 長い動画の雰囲気を短尺にまとめたいとき
mrpaidsocial/arcads-claude-code-mrpaidsocial1,6342026年10月20日 更新

arcads-external-api

無料概要あり

Arcadsの外部APIを通じて、複数のAIモデルによる動画・画像、B-roll、シーン、台本やアクター素材の生成と取得を進めるための手順を参照できます。

  • Arcadsで商品紹介動画を生成したいとき
  • 広告用の画像やB-rollを作りたいとき
  • 生成した素材の状態を確認したいとき
mrpaidsocial/arcads-claude-code-mrpaidsocial1,6342026年10月20日 更新

clone-ad

無料概要あり

参考広告の映像やセリフ、テンポを分析し、商品やブランドに合わせたSeedance 2.0の動画広告を生成する一連の作業を支援します。

  • 参考広告を別の商品向けに作り替えたいとき
  • 広告のテンポやカメラ表現を再現したいとき
  • 商品画像から短い動画広告を作りたいとき
mrpaidsocial/arcads-claude-code-mrpaidsocial1,6342026年10月20日 更新

generate-youtube-thumbnail

無料概要あり

動画のテーマや人物、ブランド素材に合わせたYouTubeサムネイルを生成し、表情や構図の異なる案をまとめて比較できるようにします。

  • YouTube動画のサムネイルを作りたいとき
  • サムネイルのA/Bテスト案を作りたいとき
  • 顔写真やロゴを使った案を作りたいとき
mrpaidsocial/arcads-claude-code-mrpaidsocial1,6342026年10月20日 更新

image-ad-clone

無料概要あり

既存の画像広告を分析し、ブランド固有の要素を差し替えられる再利用可能なプロンプトテンプレートにして、生成画像で検証・記録します。

  • 参考広告を再利用可能にしたいとき
  • 別ブランド向けに広告構成を応用したいとき
  • 生成モデルごとの再現性を比べたいとき
mrpaidsocial/arcads-claude-code-mrpaidsocial1,6342026年10月20日 更新

meta-ad-builder

無料概要あり

完成した画像や動画をMeta広告として既存の広告セットに登録し、広告文の作成や成果上位広告・競合広告の調査も支援します。

  • 完成した動画をMeta広告に登録したいとき
  • 広告文を作って既存セットに追加したいとき
  • ROAS上位の広告を調べたいとき
mrpaidsocial/arcads-claude-code-mrpaidsocial1,6342026年10月20日 更新

mrpaidsocial のスキルをすべて見る

このスキルの問題を報告する