Catégories

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)

Documentation de l'API

Point de terminaison de la requête

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

Paramètres de la requête

Nom du paramètre Type Requis Description
imageFile file (Téléchargement requis) Oui Upload any image file to add pattern effect to
patternType select Non Choose the type of geometric pattern
foregroundColor color Non Color of the pattern elements
backgroundColor color Non Background color of the pattern
size number Non Size of pattern elements (1-50 pixels)
spacing number Non Spacing between pattern elements (5-100 pixels)
opacity number Non Opacity of the pattern (0.0 to 1.0)
rotation number Non Rotation angle of the pattern (0-360 degrees)
blendMode select Non Choose how the pattern blends with the image
outputFormat select Non Choose output format or keep original
quality number Non Output quality for lossy formats (WebP, JPEG)

Les paramètres de type fichier doivent être téléchargés d'abord via POST /upload/image-add-pattern pour obtenir filePath, puis filePath doit être passé au champ de fichier correspondant.

Format de réponse

{
  "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)"
}
Fichier: Fichier

Documentation de MCP

Ajoutez cet outil à votre configuration de serveur 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"
    }
  }
}

Vous pouvez chaîner plusieurs outils, par ex.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 outils.

Prend en charge les liens de fichiers URL ou la codification Base64 pour les paramètres de fichier.

Si vous rencontrez des problèmes, veuillez nous contacter à [email protected]