AI Integrations

Connect Luvia Pix to AI Agents

Enable Claude, ChatGPT, Grok, Gemini, Cursor, and n8n to convert images, compress photos, and generate PDFs directly inside chat.

Claude Desktop & Cursor IDE

Model Context Protocol (MCP)

Luvia Pix provides an official Stdio and SSE transport MCP server (`@luvia-pix/mcp`). Claude and Cursor can autonomously call image conversion tools.

Add to claude_desktop_config.json or .cursor/mcp.json:
{
  "mcpServers": {
    "luvia-pix": {
      "command": "npx",
      "args": ["-y", "@luvia-pix/mcp"],
      "env": {
        "LUVIA_PIX_API_KEY": "pix_live_YOUR_KEY_HERE"
      }
    }
  }
}

ChatGPT GPT Store (Custom GPT Action)

OpenAPI 3.1

Import Luvia Pix OpenAPI schema into ChatGPT GPT Builder to allow ChatGPT to edit and convert images in your chats.

OpenAPI Action URL:
https://api.luvia.page/openapi.json
GPT Instructions Prompt:

You are Luvia Pix, an AI image processing assistant. When users ask to convert images (HEIC to PNG, WebP to PDF), compress photos, or crop images, use the Luvia Pix action. Format responses cleanly with direct download links.

xAI Grok Plugin Registry

AI Plugin Specification

Connect Grok to Luvia Pix via the standard AI Plugin manifest format.

Plugin Manifest URL:
https://pix.luvia.page/.well-known/ai-plugin.json

Gemini Agent Extension

Extension Manifest

Register Luvia Pix as an extension for Google Gemini CLI & Agent workflows.

Extension Manifest URL:
https://pix.luvia.page/.well-known/gemini-extension.json

NPM SDK & TypeScript Integration

npm package
npm install @luvia-pix/sdk
import { LuviaPix } from 'luvia-pix';

const pix = new LuviaPix({ apiKey: 'pix_live_YOUR_API_KEY' });

const result = await pix.convert({
  url: 'https://example.com/photo.heic',
  to: 'png',
  quality: 90
});

console.log('Converted PNG URL:', result.url);