Max Upload size:Tamanho máximo de upload:
50MB / FileArquivo
Allowed file types:Tipos de arquivo permitidos:
txt, text, csv, mp3, wav, ogg, flac, m4a, svg, mp4, md, markdown, png, bmp, gif, jpg, jpeg, x-png, webp, avif
Using EasyClipUsando o EasyClip
Quick reference — click a topic to expand it. Referência rápida — clique em um tópico para expandir.
When you upload an image you'll get a link like this:
Ao enviar uma imagem, você recebe um link assim:
https://clip.numaneto.tec.br/abcef123.jpg
You can resize the image on-the-fly by adding a size to the URL (e.g. 800x600):
Você pode redimensionar a imagem direto na URL adicionando um tamanho (ex.: 800x600):
https://clip.numaneto.tec.br/800x600/abcef123.jpg
Use forcesize to crop/zoom to that exact size:
Use forcesize para forçar exatamente esse tamanho (com crop/zoom):
https://clip.numaneto.tec.br/800x600/forcesize/abcef123.jpg
Full list of URL modifiers and image filters. Lista completa de modificadores de URL e filtros de imagem.
All calls are GET/POST and return JSON. Base URL: Todas as chamadas são GET/POST e retornam JSON. URL base:
https://clip.numaneto.tec.br/api
Post a file using the file field:
Envie um arquivo usando o campo file:
curl -s -F "file=@myphoto.jpg" "https://clip.numaneto.tec.br/api/upload"
{
"status": "ok",
"hash": "7eli4d.jpg",
"filetype": "image/jpeg",
"url": "https://clip.numaneto.tec.br/7eli4d.jpg",
"delete_code": "jxgat3wze8lmn9sqwxy4x32p2xm7211g",
"delete_url": "https://clip.numaneto.tec.br/delete_jxgat3wze8lmn9sqwxy4x32p2xm7211g/7eli4d.jpg"
}
On error, the response includes a reason field:
Em caso de erro, a resposta inclui um campo reason:
{
"status": "err",
"reason": "File not a valid image"
}
Pass a url parameter and EasyClip downloads/processes it for you: Passe um parâmetro url e o EasyClip baixa/processa para você:
curl -s "https://clip.numaneto.tec.br/api/upload?url=https://example.com/image.png"
Send a Base64-encoded file via the base64 parameter: Envie um arquivo em Base64 usando o parâmetro base64:
(echo -n "base64="; echo -n "data:image/jpeg;base64,$(base64 -w 0 Screenshot3.jpg)") | curl --data @- https://clip.numaneto.tec.br/api/upload
The passthrough endpoint applies modifiers/filters without saving anything to the server — it just streams back the processed image: O endpoint passthrough aplica modificadores/filtros sem salvar nada no servidor — ele só devolve a imagem já processada:
https://clip.numaneto.tec.br/api/passthrough/image/[modifiers]
curl -s -F "file=@myphoto.jpg" "https://clip.numaneto.tec.br/api/passthrough/image/400x400/forcesize/gray" > result.jpg
Upload files first, then combine their hashes into an immutable gallery album: Envie os arquivos primeiro e depois combine os hashes em um álbum imutável:
curl -s -X POST \
-d "hashes[]=7eli4d.jpg" \
-d "hashes[]=5e6alk.jpg" \
"https://clip.numaneto.tec.br/api/album"