Cover image
Sunwood-Aai-Labs_ideagram-MCP-Server
Public

Sunwood-Aai-Labs_ideagram-MCP-Server

Try Now
2024-12-24

Miroir dehttps: //github.com/sunwood-ai-labs/ideagram-mcp-server

3 years

Works with Finder

0

Github Watches

1

Github Forks

0

Github Stars

🎨 Ideogram MCP Server

GitHub GitHub package.json version GitHub issues GitHub pull requests npm npm

Ideogram APIを使用して画像生成機能を提供するModel Context Protocol (MCP) サーバー

https://github.com/user-attachments/assets/041553d3-6fbc-4dfa-b149-d195dcb9e8f8

📋 機能

  • プロンプトに基づく画像生成
  • カスタマイズ可能なパラメータ
    • アスペクト比
    • モデル選択
    • マジックプロンプト
    • スタイルタイプ
    • ネガティブプロンプト
    • 生成画像数

🚀 セットアップ

  1. 必要な依存関係をインストール:
npm install
  1. 環境変数の設定: .envファイルを作成し、以下の内容を追加:
IDEOGRAM_API_KEY=your_api_key_here
  1. ビルド:
npm run build
  1. (オプション)グローバルにインストール:
npm link

💻 使用方法

MCPツール

generate_image

画像を生成するためのツール。

必須パラメータ:

  • prompt: 画像生成に使用するプロンプト

オプションパラメータ:

  • aspect_ratio: 画像のアスペクト比
    • ASPECT_1_1
    • ASPECT_4_3
    • ASPECT_3_4
    • ASPECT_16_9
    • ASPECT_9_16
  • model: 使用するモデル
    • V_1
    • V_1_TURBO
    • V_2
    • V_2_TURBO
  • magic_prompt_option: マジックプロンプトの設定
    • AUTO
    • ON
    • OFF
  • style_type: 生成スタイル
  • negative_prompt: 除外したい要素の説明
  • num_images: 生成する画像の数(1-8)

使用例

const result = await use_mcp_tool({
  server_name: "ideagram-mcp-server",
  tool_name: "generate_image",
  arguments: {
    prompt: "A beautiful sunset over mountains",
    aspect_ratio: "ASPECT_16_9",
    model: "V_2",
    num_images: 1
  }
});

🔧 開発

ディレクトリ構造

ideagram-mcp-server/
├── src/
│   ├── index.ts          # メインのサーバーコード
│   └── ideogram-client.ts # Ideogram APIクライアント
├── package.json
├── tsconfig.json
└── README.md

スクリプト

  • npm run build: TypeScriptのコンパイル
  • npm run watch: 開発モードでの実行(ファイル変更の監視)
  • npm run lint: コードのリント
  • npm test: テストの実行

📄 ライセンス

MIT

🤝 コントリビューション

  1. このリポジトリをフォーク
  2. 新しいブランチを作成 (git checkout -b feature/amazing-feature)
  3. 変更をコミット (git commit -m '✨ feat: Add amazing feature')
  4. ブランチにプッシュ (git push origin feature/amazing-feature)
  5. プルリクエストを作成

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Gil kaminski
  • Make sure you are post-ready before you post on social media

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocole de connecteur de message) 服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

    Reviews

    1 (1)
    Avatar
    user_kT7LIYzD
    2025-04-16

    I've been using the Sunwood-ai-labs_ideagram-mcp-server by MCP-Mirror for several months now, and I must say it has completely transformed my workflow. The server is incredibly reliable and offers seamless integration with various AI tools. The setup process was straightforward, thanks to the clear documentation on the GitHub page. I highly recommend this product to anyone in need of a robust MCP application.