Категории

Add Pattern Effect

Add geometric pattern overlays to images with customizable colors, size, and rotation

Click to upload file or drag and drop file here

Maximum file size: 20MB Supported formats: image/jpeg, image/png, image/webp, image/gif, image/bmp, image/tiff

Upload any image file to add pattern effect to

Choose the type of geometric pattern

Color of the pattern elements

Background color of the pattern

Size of pattern elements (1-50 pixels)

Spacing between pattern elements (5-100 pixels)

Opacity of the pattern (0.0 to 1.0)

Rotation angle of the pattern (0-360 degrees)

Choose how the pattern blends with the image

Choose output format or keep original

Output quality for lossy formats (WebP, JPEG)

Документация API

Конечная точка запроса

POST /ru/api/tools/image-add-pattern

Параметры запроса

Имя параметра Тип Обязательно Описание
imageFile file (Требуется загрузка) Да Upload any image file to add pattern effect to
patternType select Нет Choose the type of geometric pattern
foregroundColor color Нет Color of the pattern elements
backgroundColor color Нет Background color of the pattern
size number Нет Size of pattern elements (1-50 pixels)
spacing number Нет Spacing between pattern elements (5-100 pixels)
opacity number Нет Opacity of the pattern (0.0 to 1.0)
rotation number Нет Rotation angle of the pattern (0-360 degrees)
blendMode select Нет Choose how the pattern blends with the image
outputFormat select Нет Choose output format or keep original
quality number Нет Output quality for lossy formats (WebP, JPEG)

Параметры типа файл должны быть загружены сначала через POST /upload/image-add-pattern для получения filePath, затем filePath должен быть передан в соответствующее поле файла.

Формат ответа

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
Файл: Файл

Документация MCP

Добавьте этот инструмент к конфигурации сервера MCP:

{
  "mcpServers": {
    "elysiatools-image-add-pattern": {
      "name": "image-add-pattern",
      "description": "Add geometric pattern overlays to images with customizable colors, size, and rotation",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=image-add-pattern",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

Вы можете объединять несколько инструментов, например: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, максимум 20 инструментов.

Поддерживает ссылки на файлы URL или кодирование Base64 для параметров файла.

Если вы столкнулись с проблемами, пожалуйста, свяжитесь с нами по адресу [email protected]