Skip to main content
Glama

4o-image MCP サーバー

4o-image APIと統合されたMCPサーバー実装により、LLMやその他のAIシステムが標準化されたプロトコルを介して画像を生成・編集できるようになります。シンプルなテキストプロンプトを使用して、高品質なアート、3Dキャラクター、カスタム画像を作成できます。

npmバージョン Node.js バージョン ライセンス: MIT

特徴

  • テキストから画像への生成:AIでテキストの説明から画像を作成する

  • 画像編集: テキストプロンプトを使用して既存の画像を変換する

  • リアルタイムの進捗状況更新: 生成ステータスに関するフィードバックを取得

  • ブラウザ統合: 生成された画像をデフォルトのブラウザで自動的に開きます

Related MCP server: image-forge-mcp

ツール

  • 画像を生成する

    • オプションの画像編集機能を使用して、テキストプロンプトに基づいて画像を生成

    • 入力:

      • prompt (文字列、必須): 希望する画像のテキスト説明

      • imageBase64 (文字列、オプション): 編集またはスタイル転送用の Base64 エンコードされた画像

構成

APIキーの取得

  1. 4o-image.appでアカウントを登録する

  2. ユーザーダッシュボードからAPIキーを取得する

  3. サーバー実行時にAPIキーを環境変数として設定する

Claude Desktopでの使用

これをclaude_desktop_config.jsonに追加します:

{
  "mcpServers": {
    "4o-image": {
      "command": "npx",
      "args": [
        "-y",
        "4oimage-mcp"
      ],
      "env": {
        "API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

使用例

Claude でこの MCP サーバーを使用する例を次に示します。

Generate an image of a dog running on the beach at sunset

クロードはMCPサーバーを使用して画像を生成します。画像はデフォルトのブラウザで自動的に開きます。また、クロードからの返信には画像への直接リンクも表示されます。

画像編集の場合は、ベースイメージを含めて、Claude にそれを変更するよう指示することができます。

Edit this image to make the sky more dramatic with storm clouds

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。

Available Tools

1 tool
generateImageA

Generate images using the 4o-image API and automatically open the results in your browser.

This tool generates images based on your prompt and automatically opens them in your default browser, while also returning a clickable link.

The tool supports two modes:

  1. Text-to-image - Create new images using just a text prompt

  2. Image editing - Provide a base image and prompt for editing or style transfer

The response will include a direct link to the generated image and detailed information.

Visit our website: https://4o-image.app/

Inputs: prompt (required), imageBase64.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'generateImage' has a clear, distinct purpose for image generation and editing.

    Naming Consistency5/5

    The tool name 'generateImage' follows a consistent verb_noun pattern, and with only one tool, there is no inconsistency to evaluate. The naming is clear and appropriate for its function.

    Tool Count2/5

    A single tool is too few for the server's purpose of image generation and editing, as it lacks coverage for related operations like listing generated images, managing settings, or handling errors. This minimal set limits agent functionality and feels incomplete for the domain.

    Completeness2/5

    The tool surface is severely incomplete for an image generation server. While 'generateImage' covers creation and editing, there are obvious gaps such as no tools for retrieving past images, deleting images, or configuring generation parameters, which are essential for a full workflow.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers