Design
Add Pattern Effect
Add geometric pattern overlays to images with customizable colors, size, and rotation
file· Файловый результатОткрыть инструмент
Быстрый старт
Вызовите этот инструмент из своего кода на трёх языках.
cURL
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/image-add-pattern' \
-H 'Content-Type: application/json' \
-d '{"filename":"imageFile.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/ru/api/tools/image-add-pattern' \
-F 'imageFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'patternType=dots' \
-F 'foregroundColor=#000000' \
-F 'backgroundColor=#ffffff' \
-F 'size=10' \
-F 'spacing=20' \
-F 'opacity=0.8' \
-F 'rotation=0' \
-F 'blendMode=overlay' \
-F 'outputFormat=original' \
-F 'quality=90'