Elysia Tools Docs
PT
Idioma
ZHESPTRUFRDEEN
Voltar ao site
Explorar ferramentas

Design

Image Noise Reduction

Reduce image noise using multiple algorithms including median, gaussian, and bilateral filtering

file· Resultado de arquivoAbrir ferramenta

Início rápido

Chame esta ferramenta a partir do seu código em três idiomas.

cURL
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/image-noise-reduction' \
  -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/pt/api/tools/image-noise-reduction' \
  -F 'imageFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
  -F 'algorithm=median' \
  -F 'strength=1' \
  -F 'kernelSize=3' \
  -F 'iterations=1' \
  -F 'preserveEdges=true' \
  -F 'format=original' \
  -F 'quality=95'

© 2026 Elysia Tools. Documentação para desenvolvedores.

Voltar ao siteExplorar ferramentas

Referência da API

Envie uma requisição POST com suas entradas em JSON. Parâmetros do tipo arquivo exigem upload prévio.

Endpoint

HTTP
POST https://api.elysiatools.com/pt/api/tools/image-noise-reduction

Parâmetros

NomeTipoObrigatórioDescrição
imageFilefileupload necessárioSimUpload any image file (JPEG, PNG, WebP, GIF, BMP, TIFF) to reduce noise and improve image quality
algorithmselectNãoChoose the denoising algorithm. Median works well for salt & pepper noise, Gaussian for random noise
strengthrangeNãoStrength of noise reduction. Higher values remove more noise but may blur details
kernelSizerangeNãoSize of the filter kernel (must be odd). Larger kernels remove more noise but may blur details
iterationsnumberNãoNumber of denoising passes. More iterations = stronger noise reduction
preserveEdgescheckboxNãoMaintain edge detail while removing noise. Recommended for photos with important details
formatselectNãoChoose output format or keep original. PNG recommended for maximum quality
qualitynumberNãoOutput quality for lossy formats (JPEG, WebP). Higher = better quality but larger file size
Parâmetros do tipo arquivo devem ser enviados primeiro via POST /upload/image-noise-reduction; o filePath retornado é então passado ao campo correspondente.

Formato de resposta

Resultado de arquivo

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

Integração MCP

Adicione esta ferramenta ao seu servidor Model Context Protocol para que agentes de IA possam listá-la e chamá-la.

Configuração do servidor

Adicione este bloco à configuração do seu cliente MCP:

mcp.json
{
  "mcpServers": {
    "elysiatools-image-noise-reduction": {
      "name": "image-noise-reduction",
      "description": "Reduce image noise using multiple algorithms including median, gaussian, and bilateral filtering",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=image-noise-reduction",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

Listar ferramentas disponíveis

Após conectar ao endpoint SSE, liste as ferramentas expostas:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Chamar esta ferramenta

Invoque a ferramenta pelo seu id; os argumentos são construídos a partir de seus parâmetros:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "image-noise-reduction",
    "arguments": {
  "imageFile": "https://example.com/file.ext",
  "algorithm": "median",
  "strength": 1,
  "kernelSize": 3,
  "iterations": 1,
  "preserveEdges": true,
  "format": "original",
  "quality": 95
}
  }
}
Encadeie várias ferramentas em uma sessão com uma lista toolId separada por vírgulas, p. ex. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (máx. 20).
Parâmetros de arquivo aceitam somente uma URL de arquivo pública (https://…). Caminhos locais, data: URI e strings Base64 não são suportados.

Dúvidas ou problemas? Contate [email protected]

Explorar ferramentas
Abrir ferramenta