Converta Fotos HEIC para PNG via API
Converta imagens Apple HEIC do iPhone e Mac para o formato PNG sem perdas via REST API. Preserve a qualidade total da imagem e automatize com workflows n8n.
# Convert HEIC image to PNG
curl -X POST \
https://api.convertfilefast.com/v2/convert/heic-to-png \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@photo.heic" \
--output photo.png
# HTTP 200 OK — Content-Type: image/pngimport requests
from pathlib import Path
# Batch convert HEIC files to PNG
heic_files = Path("./photos").glob("*.heic")
for heic_path in heic_files:
response = requests.post(
"https://api.convertfilefast.com/v2/convert/heic-to-png",
headers={"Authorization": "Bearer YOUR_API_KEY"},
files={"file": open(heic_path, "rb")}
)
out_path = heic_path.with_suffix(".png")
out_path.write_bytes(response.content)
print(f"Converted: {heic_path.name} → {out_path.name}")const formData = new FormData();
formData.append("file", fs.createReadStream("photo.heic"));
const response = await fetch(
"https://api.convertfilefast.com/v2/convert/heic-to-png",
{
method: "POST",
headers: { "Authorization": "Bearer YOUR_API_KEY" },
body: formData,
}
);
fs.writeFileSync("photo.png", Buffer.from(await response.arrayBuffer()));// n8n Workflow: Google Drive trigger → HEIC to PNG → Save back
// Step 1: Google Drive Trigger (new .heic file)
{
"node": "Google Drive Trigger",
"event": "fileCreated",
"fileExtension": "heic"
}
// Step 2: HTTP Request Node — Convert HEIC to PNG
{
"method": "POST",
"url": "https://api.convertfilefast.com/v2/convert/heic-to-png",
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{ "name": "file", "parameterType": "formBinaryData", "inputDataFieldName": "data" }
]
},
"options": { "response": { "responseFormat": "file" } }
}Vantagens
Por que usar nossa API?
Solução completa e confiável para integração em qualquer stack tecnológico.
Saída PNG Sem Perdas
PNG usa compressão sem perdas, preservando cada pixel das suas fotos HEIC sem perda de qualidade.
Suporte a Fotos iPhone
Converta imagens HEIC capturadas no iPhone, iPad e Mac diretamente para PNG sem software local.
Processamento em Lote
Converta pastas inteiras de fotos HEIC para PNG em um pipeline automatizado. Perfeito para migração de biblioteca.
Compatibilidade Universal
Arquivos PNG gerados são compatíveis com todos os dispositivos, navegadores e editores de imagem.
Pronto para n8n e Automação
Dispare conversões do Google Drive, Dropbox ou Gmail em workflows n8n. Sem código complexo.
Zero Armazenamento
Arquivos HEIC são convertidos em memória e excluídos imediatamente. Suas fotos nunca são armazenadas.
Ou chame isto do Claude, do Cursor ou de qualquer cliente MCP
O Convert File Fast tem um servidor Model Context Protocol nativo. Entregue esta conversão a um agente de IA como uma única chamada de ferramenta — sem cliente HTTP, sem manipular binário, com chave de API por usuário.
npx -y convertfilefast-mcpconvert_file({ target_format: "png", source_url: "https://example.com/file.heic" })Comece a Converter HEIC para PNG
Obtenha sua chave de API e converta fotos HEIC para PNG em segundos. Plano gratuito inclui 10 conversões por mês.
Sem cartão de crédito. 10 conversões grátis no plano Free.