{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["platform-badges","admonition","img"]},"type":"markdown"},"seo":{"title":"Treasure AI Studio の画像生成","description":"チャット内で画像を直接生成・編集できます。作りたい画像を自然な言葉で説明するだけで、StudioがOpenAIのGPT Imageモデルを使って画像を作成・編集し、会話内にインラインでレンダリングします。","siteUrl":"https://docs.treasure.ai","image":"/assets/treasure-ai-social-preview.e6fefb35676f6da91c2d1bc783bd39e618e7af2b1ad3aa52a96ae69d72e700fe.b1bff462.png","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"画像生成","__idx":0},"children":["画像生成"]},{"$$mdtype":"Tag","name":"PlatformBadges","attributes":{"platforms":["Web","Desktop","Mobile"]},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["作りたい画像を自然な言葉で説明するだけで、Treasure AI Studioが会話内で画像を作成します。ゼロから画像を生成するだけでなく、AIはあなたが用意した画像を編集することもできます。マスクで指定した領域の描き直し、商品画像へのロゴの合成、既存画像のスタイル変更などが可能で、結果をインラインでレンダリングするため、チャットを離れることなく確認・ダウンロードできます。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"注意"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["画像生成は、サンドボックス実行環境内の",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tas-imggen"]},"コマンドを通じて実行され、OpenAIのGPT Imageモデルを使用します。自然言語のリクエストに応じてAIが代わりにコマンドを実行するため、コマンドを覚える必要はありません。すべての実行はツールコールの展開部分に表示されるので、どのプロンプトとオプションが使われたかを正確に確認できます。"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"インストールしたプラグインやスキルによって動作が変わる場合があります"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["画像生成を独自にサポートするプラグインやスキルをインストールしている場合、AIがリクエストをここで説明する組み込みの",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tas-imggen"]},"ワークフローではなく、そのプラグイン側で処理することがあり、結果・オプション・出力が異なる場合があります。画像生成がドキュメントどおりに動作しない場合は、有効になっている",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/skills/skills"},"children":["スキルとマーケットプレイス"]},"のプラグインを確認し、画像生成を扱うものを無効化してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"目的","__idx":1},"children":["目的"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["チャット内の自然言語リクエストを通じて新しい画像を作成したり既存の画像を編集したりし、出力のサイズ・品質・フォーマットを制御し、生成された画像をインラインで閲覧またはダウンロードできるようにします。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":2},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure AI Studioにサインイン済みであること（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/getting-started"},"children":["はじめに"]},"）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["画像生成を含むTreasure AI Studioプランであること（この機能は無料アカウントでは利用できません）"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"aiを通じた画像の生成","__idx":3},"children":["AIを通じた画像の生成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["画像を作成する最もシンプルな方法は、作りたいものを説明することです。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["「",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Northwind"]},"というコーヒーブランド向けのミニマルなロゴを、白背景のフラットなベクタースタイルで作成して」"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["「夕暮れの街のスカイラインのヒーローバナーを、横長のアスペクト比で生成して」"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["「手を振っているフレンドリーなロボットのイラストを、背景透過で作って」"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["AIはあなたのリクエストを画像プロンプトに変換し、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tas-imggen generate"]},"を実行して、完成した画像をチャットストリームにインラインでレンダリングします。"]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/ai-studio-image-generation.0f9dfc4730947a932d6c0b34221c7c46f4cccecbbecf98427cabc7e5f94e5c47.8a9297e8.webp","alt":"Treasure AI Studioのチャット画面：Northwindというコーヒーブランドのミニマルなロゴ作成を自然言語で依頼し、AIがtas-imggen --helpとtas-imggen generateをツールコールで実行、生成されたロゴがArtifactsパネルに表示されている様子","framed":false,"withLightbox":true,"width":"800px"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"内部での処理の流れ","__idx":4},"children":["内部での処理の流れ"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["画像を自然言語で説明する"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AIがプロンプトを組み立て"]},"、Bashツールを通じて生成コマンドを実行します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tas-imggen generate --prompt \"...\""]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ツールコールがチャットに表示され"]},"、使用されているコマンドとオプションが示されます"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["生成が完了すると画像がインラインでレンダリングされ"]},"、セッション内にファイルとして保存されます"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AIが会話を続けます"]}," — 修正、バリエーション、より高品質なバージョンを依頼できます"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各ステップはリアルタイムで確認できます。コマンドの実行中はスピナーで進行状況が示され、完了すると画像が表示され、ツールコールが展開可能になるため、正確なプロンプトとオプションを確認できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"既存の画像の編集","__idx":5},"children":["既存の画像の編集"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セッション内にすでにある画像（アップロードしたもの、またはAIが以前生成したもの）の編集をAIに依頼できます。AIは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tas-imggen edit"]},"を使用し、これは次の2つの一般的なワークフローをサポートします。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"ワークフロー"},"children":["ワークフロー"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"機能"},"children":["機能"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"リクエスト例"},"children":["リクエスト例"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["マスク編集（インペインティング）"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["画像の特定の領域に絞って編集し、それ以外はできるだけ元の状態を保ちます。AIは、変更する領域を透明部分で示したマスクを準備します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["「この写真の空だけを夕焼けに変更して」"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["被写体ベース／合成編集"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1枚以上の入力画像を素材として使い、新しい画像を作成します。たとえば、商品にロゴを配置したり、複数の画像の要素を組み合わせたりします。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["「この商品写真のTシャツの前面に、このロゴを配置して」"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["AIは1回の編集に",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["最大16枚の入力画像"]},"を渡すことができます。これは、被写体・参照スタイル・ブランドアセットを1つのリクエストで組み合わせる場合に便利です。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"編集する画像を明示してください"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セッション内に画像が複数ある場合は、編集したいファイルをAIに明確に伝えてください。ファイル名で指定する（たとえば「",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["hero-v2.png"]},"を編集して」）か、誤解の余地なく説明する（「さっきアップロードしたロゴ」）かのいずれかです。AIは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tas-imggen edit"]},"に具体的なファイルパスを渡すため、明確に指定することで意図しない画像が編集されるのを防げます。指定しないと、AIが意図とは別のファイルを選んでしまう場合があります。"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"マスクはAIが用意します"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["マスクを手作業で作る必要はありません。マスク編集を依頼すると、AIがあなたの説明を解釈してマスク自体を用意し、描き直す領域を指定します。AIは説明に基づいてマスクの位置を決めるため、領域はできるだけ明確に説明してください（たとえば「背景だけを変更して」）。説明が曖昧だと、意図しない領域が選ばれることがあります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["モデルは画像を再レンダリングするため、編集領域以外もまったく同一のまま保たれるとは限らず、わずかに変化する場合があります。それ以外の部分を完全にそのまま残したい場合は、再生成した領域をマスクを使って元画像に合成するようAIに依頼してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"出力の制御","__idx":6},"children":["出力の制御"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["特定のサイズ・品質・ファイルフォーマットを依頼することで、出力を調整できます。AIがあなたのリクエストを対応するオプションにマッピングします。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"サイズ","__idx":7},"children":["サイズ"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"リクエスト"},"children":["リクエスト"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"結果のサイズ"},"children":["結果のサイズ"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["「正方形の画像」"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1024x1024"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["「横長／ワイド」"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1536x1024"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["「縦長／トール」"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1024x1536"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["「モデルに任せる」"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auto"]},"（デフォルト）"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["新規に生成する"]},"画像では、カスタムサイズを依頼することもできます。幅と高さはそれぞれ16で割り切れる必要があり、アスペクト比は1:3〜3:1の範囲内、総解像度はおよそ3840x2160を超えてはなりません。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["編集"]},"では、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auto"]},"または上記3つの標準サイズのみがサポートされます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"品質","__idx":8},"children":["品質"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["low"]},"、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["medium"]},"、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["high"]},"、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["auto"]},"から品質を選べます。実用的なパターンは、安価に反復してから仕上げる方法です。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["プロンプトを練り込む間は",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["low"]},"から始める — 生成が速く、消費クレジットも少なくて済みます"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["構図に満足したら",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["high"]},"で再生成する"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ファイルフォーマット","__idx":9},"children":["ファイルフォーマット"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["出力フォーマットはファイル拡張子によって選択されます。デフォルトはPNGで、JPG/JPEGとWebPもサポートされています。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["「JPEGで保存して」→ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".jpg"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["「WebPでエクスポートして」→ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".webp"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["（指定なし）→ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".png"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"生成された画像の表示場所","__idx":10},"children":["生成された画像の表示場所"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["生成・編集された画像は現在のセッション内にファイルとして保存され、チャット内と",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Artifactsパネル"]},"の両方に表示されます。次のことが可能です。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["生成が完了するとすぐに、チャットストリーム内で",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["インライン表示"]},"する（直接ダウンロードできるファイルカードも表示されます）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["右側の",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["アーティファクトパネルを開く"]},"ことで、画像の最大化・ダウンロード・削除ができます（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/files"},"children":["ファイルとアーティファクト"]},"を参照）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["画像をフィットするように拡大縮小する",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["イメージビューアーで開く"]},"（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/files/file-viewers"},"children":["ファイルビューアー"]},"を参照）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["チャットのファイルカードまたはビューアパネルから",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ダウンロードする"]},"（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/files/file-upload-download"},"children":["ファイルのアップロードとダウンロード"]},"を参照）"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"クレジットと使用量","__idx":11},"children":["クレジットと使用量"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["画像生成はTreasure AI Studioのクレジットを消費します。画像生成は通常、テキスト応答よりも高コストで、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["high"]},"品質は",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["low"]},"や",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["medium"]},"よりもコストが高くなります。使用量を効率的に保つには、low品質で反復し、最終レンダリングのときだけhighに切り替えてください。管理者は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/credits/credit-usage"},"children":["クレジット利用状況ダッシュボード"]},"で消費を監視し、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/credits/credit-policy"},"children":["クレジットポリシー"]},"で上限を設定できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ベストプラクティス","__idx":12},"children":["ベストプラクティス"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["説明は具体的に。"]}," 被写体、スタイル（たとえば「フラットなベクター」「フォトリアリスティック」「水彩」）、背景、雰囲気を伝えましょう。詳細を多く伝えるほど、最初の結果が望むものに近づきます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["low品質で反復する。"]}," プロンプトと構図はlow品質で練り込み、満足したらhigh品質で一度だけ再生成することで、クレジットと時間を節約できます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["編集する領域を説明する。"]}," マスク編集では、何を変更し何を維持するかを明確に伝えましょう（「背景だけを置き換えて」）。AIがあなたの説明からマスクを準備します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["合成には明確な入力画像を用意する。"]}," 画像（ロゴ、商品写真、参照スタイル）を組み合わせるようAIに依頼する場合は、最良の結果のために高解像度のソースをアップロードしてください。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["最初に適切なサイズを依頼する。"]}," 必要なアスペクト比（正方形、横長、縦長）を依頼しておくと、寸法を直すために再生成する必要がなくなります。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"検証","__idx":13},"children":["検証"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," 「コーヒーブランド向けのシンプルな正方形ロゴを作成して」と依頼し、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tas-imggen generate"]},"を実行するツールコールが表示されることを確認する"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," 生成された画像がチャット内にインラインでレンダリングされることを確認する"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," 画像をアップロードし、特定の領域の編集をAIに依頼して結果を比較する"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," ツールコールを展開し、使用された正確なプロンプトとオプションを確認する"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"トラブルシューティング","__idx":14},"children":["トラブルシューティング"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"問題"},"children":["問題"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"解決策"},"children":["解決策"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["画像生成が実行されない"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アカウントが画像生成を含むプランであることを確認してください。この機能は無料アカウントでは利用できません。有効化についてはカスタマーサクセスマネージャーにお問い合わせください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["画像生成がドキュメントと異なる動作をする"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インストールしたプラグインやスキルが、組み込みのワークフローの代わりに画像生成を処理している可能性があります。有効になっている",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/skills/skills"},"children":["スキルとマーケットプレイス"]},"のプラグインを確認し、独自に画像生成を行うものを無効化してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["結果がプロンプトと一致しない"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["詳細（被写体、スタイル、背景）を追加して再生成してください。小さな修正であれば、全体を再生成するのではなくマスク編集を依頼してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AIが意図と違う画像を編集してしまう"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["セッション内に画像が複数ある場合は、対象ファイルをファイル名で明示する（たとえば「",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["product-2.png"]},"を編集して」）か、明確に説明してください。これにより、AIが正しいファイルを編集コマンドに渡せます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["マスク編集で意図しない領域が変更された"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["領域をより正確に説明してください（「空だけ」「ロゴの部分だけ」）。AIがあなたの説明からマスクを作り直します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カスタムサイズが拒否される"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["生成画像では、幅と高さはそれぞれ16で割り切れ、アスペクト比は1:3〜3:1の範囲内、解像度はおよそ3840x2160以下である必要があります。編集では",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["auto"]},"または標準サイズ（1024x1024、1536x1024、1024x1536）のみがサポートされます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["生成が遅い、またはコストが高いと感じる"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["反復中は品質を",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["low"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["medium"]},"に下げ、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["high"]},"は最終画像のために確保してください。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"次のステップ","__idx":15},"children":["次のステップ"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/files/file-viewers"},"children":["ファイルビューアー"]}," — 組み込みのイメージビューアーで生成画像をプレビューする"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/files/file-upload-download"},"children":["ファイルのアップロードとダウンロード"]}," — ソース画像をアップロードし、生成結果をダウンロードする"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/files/artifacts"},"children":["AIが生成するファイル"]}," — デッキ・レポート・スプレッドシートをAIに依頼する"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/credits/credit-usage"},"children":["クレジット利用状況ダッシュボード"]}," — クレジット消費を監視する"]}]}]},"headings":[{"value":"画像生成","id":"画像生成","depth":1},{"value":"目的","id":"目的","depth":2},{"value":"前提条件","id":"前提条件","depth":2},{"value":"AIを通じた画像の生成","id":"aiを通じた画像の生成","depth":2},{"value":"内部での処理の流れ","id":"内部での処理の流れ","depth":3},{"value":"既存の画像の編集","id":"既存の画像の編集","depth":2},{"value":"出力の制御","id":"出力の制御","depth":2},{"value":"サイズ","id":"サイズ","depth":3},{"value":"品質","id":"品質","depth":3},{"value":"ファイルフォーマット","id":"ファイルフォーマット","depth":3},{"value":"生成された画像の表示場所","id":"生成された画像の表示場所","depth":2},{"value":"クレジットと使用量","id":"クレジットと使用量","depth":2},{"value":"ベストプラクティス","id":"ベストプラクティス","depth":2},{"value":"検証","id":"検証","depth":2},{"value":"トラブルシューティング","id":"トラブルシューティング","depth":2},{"value":"次のステップ","id":"次のステップ","depth":2}],"frontmatter":{"seo":{"title":"Treasure AI Studio の画像生成","description":"チャット内で画像を直接生成・編集できます。作りたい画像を自然な言葉で説明するだけで、StudioがOpenAIのGPT Imageモデルを使って画像を作成・編集し、会話内にインラインでレンダリングします。"},"platforms":["Web","Desktop","Mobile"]},"lastModified":"2026-09-08T09:29:38.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/ai-studio/files/image-generation","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}