skywork-design
Skywork Image APIを活用し、テキストや画像からポスター、ロゴ、ビジュアル素材などの画像を生成・編集でき、解像度やアスペクト比も調整可能な画像作成を支援するSkill。
📜 元の英語説明(参考)
Generate or edit images via backend Skywork Image API. Use for any image creation, poster design, logo design, visual asset generation, or image modification request. Supports text-to-image and image-to-image editing with aspect ratio and resolution control.
🇯🇵 日本人クリエイター向け解説
Skywork Image APIを活用し、テキストや画像からポスター、ロゴ、ビジュアル素材などの画像を生成・編集でき、解像度やアスペクト比も調整可能な画像作成を支援するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o skywork-design.zip https://jpskill.com/download/20827.zip && unzip -o skywork-design.zip && rm skywork-design.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/20827.zip -OutFile "$d\skywork-design.zip"; Expand-Archive "$d\skywork-design.zip" -DestinationPath $d -Force; ri "$d\skywork-design.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
skywork-design.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
skywork-designフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 3
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[Skill 名] skywork-design
ビジュアルデザイン — 画像生成と編集
バックエンドの画像APIを介して、新しい画像を生成したり、既存の画像を編集したりできます。 画像生成には毎回約2分かかりますので、しばらくお待ちください。
認証 (最初に必須)
このスキルを使用する前に、認証を完了する必要があります。まず、認証スクリプトを実行してください。
# 認証: 環境トークン / キャッシュされたトークン / ブラウザログインをチェック
python3 <skill-dir>/scripts/skywork_auth.py || exit 1
トークンの優先順位:
- 環境変数
SKYBOT_TOKEN→ 設定されている場合、直接使用します。 - キャッシュされたトークンファイル
~/.skywork_token→ API経由で検証し、有効な場合は使用します。 - 有効なトークンがない場合 → ログインのためにブラウザを開き、完了するまでポーリングし、トークンを保存します。
重要 - ログインURLの取り扱い: スクリプトの出力に [LOGIN_URL] で始まる行が含まれている場合、そのURLをユーザーにクリック可能なメッセージ (例: 「ログインするには、このリンクを開いてください: <url>」) で直ちに送信する必要があります。ユーザーはブラウザが自動的に開かない環境にいる可能性があるため、常にログインURLを表示してください。
使用方法
絶対パスを使用してスクリプトを実行してください (スキルディレクトリに cd しないでください)。
新しい画像を生成する:
python3 <SKILL_DIR>/scripts/generate_image.py --prompt "description" --filename "output.png" [--aspect-ratio 3:4] [--resolution 1K|2K|4K]
既存の画像を編集する:
python3 <SKILL_DIR>/scripts/generate_image.py --prompt "edit instructions" --filename "output.png" --input-image "source.png" [--aspect-ratio 3:4] [--resolution 2K]
複数の参照画像で編集する:
python3 <SKILL_DIR>/scripts/generate_image.py --prompt "combine these styles" --filename "output.png" -i "ref1.png" -i "ref2.png"
画像をユーザーの作業ディレクトリに保存するため、常にそこから実行してください。
生成と編集の使い分け
- 生成 (
--promptのみ): ポスター、ロゴ、イラスト、写真、インフォグラフィックなど、新しい画像をゼロから作成する場合。 - 編集 (
--prompt+--input-image): ユーザーが既存の画像を提供し、スタイル変更、要素の追加/削除、色調整、形式変換などの修正を希望する場合。- 注意: 編集APIは、最大4文字のキャラクターの類似性と、単一のワークフローで最大10個のオブジェクトの忠実度をサポートしています。
ユーザーが画像をアップロード/参照し、変更を希望する場合は、常に --input-image を使用してください。
解像度
- 1K — 約1024px、高速な下書き
- 2K (デフォルト) — 約2048px、ほとんどの成果物に適しています
- 4K — 約4096px、最終的な高解像度出力
ユーザーのリクエストをマッピングします: 「低/下書き」→ 1K、「通常/中/2K」→ 2K、「高解像度/高画質/4K/ウルトラ」→ 4K。
アスペクト比
サポートされている比率: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9。
選択の目安:
- 1:1 — ソーシャルメディアのアバター、アイコン、アルバムカバー
- 3:4 / 4:3 — 一般的なポスター、プレゼンテーション
- 4:5 / 5:4 — Instagramの投稿、ポートレート
- 9:16 / 16:9 — モバイルストーリー / デスクトップ壁紙、ビデオカバー
- 2:3 / 3:2 — 印刷ポスター、ブックカバー
- 21:9 — ウルトラワイドバナー、シネマフォーマット
ユーザーが指定しない場合は、--aspect-ratio を省略し、APIに決定させてください。
ファイル名の命名規則
パターン: yyyy-mm-dd-hh-mm-ss-descriptive-name.png
例:
- 「穏やかな日本庭園」→
2026-03-10-14-23-05-japanese-garden.png - 「山にかかる夕日」→
2026-03-10-15-30-12-sunset-mountains.png - 不明なコンテキスト →
2026-03-10-17-12-48-x9k2.png
事前確認
command -v python3(存在する必要があります)- 編集の場合: 各
--input-imageファイルが存在することを確認します。
よくある失敗
Error: Input image not found:→ パスが間違っています。--input-imageファイルが存在することを確認してください。HTTP error 500→ バックエンドサービスエラーです。再試行するか、サーバーのステータスを確認してください。Request failed: Connection refused→ バックエンドサービスが利用できません。サービスが実行されていることを確認してください。- Insufficient benefit: スクリプトまたはログに
Insufficient benefit. Please upgrade your account at {url}のようなメッセージが表示される場合があります。これは、ユーザーのベネフィットレベルがこのスキルを使用するための要件を満たしていないことを意味します。
ベネフィットが不十分な場合の返信方法
上記を検出した場合、ユーザーの現在の言語で返信してください — 英語のメッセージをそのまま繰り返さないでください。このパターンを使用してください。
- 伝える内容: 「申し訳ありません、画像生成に失敗しました。このスキルを使用するには、Skyworkメンバーシップのアップグレードが必要です。」そして、単一の行動喚起リンク。
- 形式: ユーザーの言語で短い一文 +
[今すぐアップグレード →](url)またはそれに相当するリンク。 - URL: ログ/スクリプト出力からアップグレードURLを抽出します (例:
at https://...の部分)。
出力
- スクリプトはローカルファイルパスとOSS URLを出力します。
- プラットフォームに応じて、画像を配信する最も適切な方法を使用してください (例: 画像メッセージとして送信、インラインで表示、またはURLを出力)。デフォルトでは、ローカルパスとOSS URLの両方をユーザーに返します。OSS URLはクロスプラットフォームのアクセシビリティを保証します。
デザインシナリオ
ユーザーのリクエストをシナリオに合わせ、専門的なワークフローについては対応するファイルを読んでください。
- Eコマース商品画像: scenarios/e-commerce.md を参照してください。
- ストーリーボード: scenarios/storyboard.md を参照してください。
- インフォグラフィック: scenarios/infographic.md を参照してください。
- ロゴ: scenarios/logo.md を参照してください。
- ブランディング / VI: scenarios/branding.md を参照してください。
- パンフレット: scenarios/brochure.md を参照してください。
- ソーシャルメディア: scenarios/social-media.md を参照してください。
- ポスター: scenarios/poster.md を参照してください。
プロンプトエンジニアリング
プロンプトのベストプラクティス
画像APIを使用して生成または編集を行うための高品質なプロンプトには、以下の原則に従ってください。
- シーンを記述し、キーワードを羅列するだけにとどめないでください。 物語的で記述的な段落は、ばらばらの単語よりもはるかに良い結果を生み出します。モデルの核となる強みは、深い言語理解です。
- 弱い例: 「猫、夕日、ビーチ」
- 強い例: 「ゴールデンアワーの砂浜に座っているジンジャーのトラ猫が、カメラの方を向いており、柔らかく暖かい逆光、浅い被写界深度、海の波が
(原文がここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Visual Design — Image Generation & Editing
Generate new images or edit existing ones via the backend image API. Be patient, it takes about 2 minutes to generate an image each time.
Authentication (Required First)
Before using this skill, authentication must be completed. Run the auth script first:
# Authenticate: checks env token / cached token / browser login
python3 <skill-dir>/scripts/skywork_auth.py || exit 1
Token priority:
- Environment variable
SKYBOT_TOKEN→ if set, use directly - Cached token file
~/.skywork_token→ validate via API, if valid, use it - No valid token → opens browser for login, polls until complete, saves token
IMPORTANT - Login URL handling: If script output contains a line starting with [LOGIN_URL], you MUST immediately send that URL to the user in a clickable message (e.g. "Please open this link to log in: <url>"). The user may be in an environment where the browser cannot open automatically, so always surface the login URL.
Usage
Run the script using absolute path (do NOT cd to skill directory):
Generate new image:
python3 <SKILL_DIR>/scripts/generate_image.py --prompt "description" --filename "output.png" [--aspect-ratio 3:4] [--resolution 1K|2K|4K]
Edit existing image:
python3 <SKILL_DIR>/scripts/generate_image.py --prompt "edit instructions" --filename "output.png" --input-image "source.png" [--aspect-ratio 3:4] [--resolution 2K]
Edit with multiple reference images:
python3 <SKILL_DIR>/scripts/generate_image.py --prompt "combine these styles" --filename "output.png" -i "ref1.png" -i "ref2.png"
Always run from the user's working directory so images save there.
When to Generate vs Edit
- Generation (
--promptonly): Creating new images from scratch — posters, logos, illustrations, photos, infographics. - Editing (
--prompt+--input-image): User provides existing image(s) and wants modifications — style changes, element addition/removal, color adjustments, format conversion.- Notice: Edit api supports character resemblance of up to 4 characters and the fidelity of up to 10 objects in a single workflow
If the user uploads/references images and wants changes, always use --input-image.
Resolution
- 1K — ~1024px, fast drafts
- 2K (default) — ~2048px, good for most deliverables
- 4K — ~4096px, final high-res output
Map user requests: "low/draft" → 1K, "normal/medium/2K" → 2K, "high-res/hi-res/4K/ultra" → 4K.
Aspect Ratio
Supported ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9.
Selection guidance:
- 1:1 — Social media avatars, icons, album covers
- 3:4 / 4:3 — General posters, presentations
- 4:5 / 5:4 — Instagram posts, portraits
- 9:16 / 16:9 — Mobile stories / desktop wallpapers, video covers
- 2:3 / 3:2 — Print posters, book covers
- 21:9 — Ultra-wide banners, cinema format
If the user doesn't specify, omit --aspect-ratio and let the API decide.
Filename Convention
Pattern: yyyy-mm-dd-hh-mm-ss-descriptive-name.png
Examples:
- "A serene Japanese garden" →
2026-03-10-14-23-05-japanese-garden.png - "sunset over mountains" →
2026-03-10-15-30-12-sunset-mountains.png - Unclear context →
2026-03-10-17-12-48-x9k2.png
Preflight
command -v python3(must exist)- If editing: verify each
--input-imagefile exists
Common Failures
Error: Input image not found:→ wrong path; verify--input-imagefile existsHTTP error 500→ backend service error; retry or check server statusRequest failed: Connection refused→ backend service unavailable; ensure the service is running- Insufficient benefit: The script or log may show a message like
Insufficient benefit. Please upgrade your account at {url}, meaning the user's benefit level does not meet the requirement for this skill.
How to reply when benefit is insufficient
When you detect the above, reply in the user's current language — do not echo the English message. Use this pattern:
- Convey: "Sorry, image generation failed. This skill requires upgrading your Skywork membership to use." then a single call-to-action link.
- Format: One short sentence in the user's language + a link like
[Upgrade now →](url)or the equivalent in their language. - URL: Extract the upgrade URL from the log/script output (e.g. the
at https://...part).
Output
- Script prints the local file path and the OSS URL.
- Depending on the platform, use the most appropriate way to deliver the image (e.g. send as image message, display inline, or print the URLs). By default, return both the local path and OSS URL to the user. The OSS URL ensures cross-platform accessibility.
Design Scenarios
Match the user's request to a scenario and read the corresponding file for specialized workflow:
- E-commerce product image: See scenarios/e-commerce.md
- Storyboard: See scenarios/storyboard.md
- Infographic: See scenarios/infographic.md
- Logo: See scenarios/logo.md
- Branding / VI: See scenarios/branding.md
- Brochure: See scenarios/brochure.md
- Social media: See scenarios/social-media.md
- Poster: See scenarios/poster.md
Prompt Engineering
Prompts Best Practices
Follow these principles for quality prompts using the image API for generation or editing:
- Describe the scene, don't just list keywords. A narrative, descriptive paragraph produces much better results than disconnected words. The model's core strength is deep language understanding.
- Weak: "cat, sunset, beach"
- Strong: "A ginger tabby cat sitting on a sandy beach at golden hour, facing the camera with soft warm backlighting, shallow depth of field, ocean waves blurred in the background"
- Be hyper-specific. The more detail you provide, the more control you have. Include all visual details: style, colors, composition, lighting, background, textures.
- Provide context and intent. Explain the purpose of the image — the model's understanding of context influences the output.
- Use step-by-step instructions for complex scenes with many elements. Break the prompt into layers: foreground, middle ground, background.
- Use "semantic negative prompts." Instead of "no cars," describe positively: "an empty, deserted street with no signs of traffic."
- Control the camera. Use photographic and cinematic terms: "wide-angle shot", "macro shot", "low-angle perspective", "bird's eye view", "rule of thirds", "shallow depth of field".
- Time perception. If the result needs real-time timeliness, mention the current time context in the prompt.
- Text in images. Place text content within double quotation marks:
A movie poster with the title "INCEPTION" in large silver metallic letters at the top
- Clearly specify and emphasize the elements that require modification. Describe reference images by their order (first image, second image), not by filename.
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (7,644 bytes)
- 📎 scripts/generate_image.py (7,303 bytes)
- 📎 scripts/skywork_auth.py (9,875 bytes)