MCP cover image
See in Github
2025-04-06

Servidor MCP para generar imágenes con la API Flux-Dev Freepik

1

Github Watches

0

Github Forks

0

Github Stars

Freepik Flux AI MCP Sunucusu

Bu proje, Claude Desktop için Freepik'in Flux AI görsel üretme hizmetini kullanarak metin açıklamalarından görseller oluşturan bir Model Context Protocol (MCP) sunucusudur.

Özellikler

  • Metin açıklamalarından görsel oluşturma
  • Çeşitli en-boy oranı seçenekleri
  • Tarayıcıda otomatik görsel açma
  • Sağlam hata yönetimi ve yeniden deneme mekanizması

Gereksinimler

Kurulum

  1. Bu depoyu klonlayın veya indirin:
git clone https://github.com/grafikogr/freepik-mcp-server.git
cd freepik-mcp-server
  1. Bağımlılıkları yükleyin:
npm install
  1. .env.example dosyasını .env olarak kopyalayın ve Freepik API anahtarınızı ekleyin:
cp .env.example .env
  1. .env dosyasını düzenleyin ve FREEPIK_API_KEY değişkenini kendi API anahtarınızla değiştirin.

Kullanım

  1. Sunucuyu başlatın:
npm start
  1. Claude Desktop uygulamanızda bu sunucuyu aşağıdaki komutla çalıştırın:
@freepik help

Claude Desktop Entegrasyonu

Claude Desktop'ta MCP sunucusunu yapılandırmak için şu adımları izleyin:

  1. Claude Desktop ayarlarına gidin.
  2. mcpServers bölümüne şu yapılandırmayı ekleyin:
"mcpServers": {
  "freepik": {
    "command": "node",
    "args": ["indirdiğiniz/konum/freepik-mcp-server/index.js"]
  }
}
  1. Claude Desktop'u yeniden başlatın.

Araçlar

generate_image

Metin açıklaması ve görsel oranı (isteğe bağlı) ile görsel oluşturur.

Parametreler:

  • prompt: Görsel için metin açıklaması (zorunlu)
  • aspect_ratio: Görsel oranı (isteğe bağlı)

Kullanılabilir Görsel Oranları:

  • square_1_1: Kare (1:1)
  • classic_4_3: Klasik (4:3)
  • traditional_3_4: Geleneksel (3:4)
  • widescreen_16_9: Geniş ekran (16:9)
  • social_story_9_16: Sosyal medya hikayesi (9:16)
  • standard_3_2: Standart (3:2)
  • portrait_2_3: Portre (2:3)
  • horizontal_2_1: Yatay (2:1)
  • vertical_1_2: Dikey (1:2)
  • social_post_4_5: Sosyal medya gönderisi (4:5)

Konfigürasyon

.env dosyasında aşağıdaki ayarları yapılandırabilirsiniz:

  • FREEPIK_API_KEY: Freepik API anahtarınız (zorunlu)
  • REQUEST_TIMEOUT: İstek zaman aşımı süresi (milisaniye, varsayılan: 30000)
  • RETRY_ATTEMPTS: Başarısız isteklerin yeniden deneme sayısı (varsayılan: 3)

Örnekler

  1. Basit bir görsel oluşturma:

    @freepik Bana bir kedi görseli oluştur
    
  2. Belirli bir en-boy oranıyla görsel oluşturma:

    @freepik Bana widescreen_16_9 oranında dağ manzarası oluştur
    

Sorun Giderme

  • API anahtarı sorunları için .env dosyasını kontrol edin ve Freepik API anahtarınızın doğru olduğundan emin olun.
  • Ağ bağlantı sorunları için internet bağlantınızı kontrol edin.
  • Sunucu çalışma sorunları için Node.js sürümünüzün 20.x veya üstü olduğundan emin olun.
  • Daha fazla hata ayıklama bilgisi için konsol çıktısını kontrol edin.

Lisans

Bu proje MIT lisansı altında lisanslanmıştır.

相关推荐

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

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

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

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

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

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

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • modelcontextprotocol
  • Servidores de protocolo de contexto modelo

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

  • n8n-io
  • Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

    Reviews

    1 (1)
    Avatar
    user_9SLQsNkr
    2025-04-17

    I've been using the freepik-mcp-server by grafikogr and it's fantastic! The ease of integration with my projects and the intuitive interface make it a top choice for any developer. The documentation is clear and helpful, ensuring a smooth setup. Highly recommended for anyone looking to enhance their MCP application experience!