Convierte Fotos HEIC a PNG vía API
Convierte imágenes Apple HEIC del iPhone y Mac al formato PNG sin pérdidas vía REST API. Preserva la calidad total de la imagen y automatiza con flujos 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" } }
}Ventajas
Por qué usar nuestra API?
Solución completa y confiable para integración en cualquier stack tecnológico.
Salida PNG Sin Pérdidas
PNG usa compresión sin pérdidas, preservando cada pixel de tus fotos HEIC sin pérdida de calidad.
Soporte para Fotos iPhone
Convierte imágenes HEIC capturadas en iPhone, iPad y Mac directamente a PNG sin software local.
Procesamiento por Lotes
Convierte carpetas enteras de fotos HEIC a PNG en un pipeline automatizado. Perfecto para migración.
Compatibilidad Universal
Los archivos PNG generados son compatibles con todos los dispositivos, navegadores y editores de imágenes.
Listo para n8n y Automatización
Activa conversiones desde Google Drive, Dropbox o Gmail en flujos n8n. Sin código complejo.
Cero Almacenamiento
Los archivos HEIC se convierten en memoria y se eliminan de inmediato. Tus fotos nunca se almacenan.
O llámalo desde Claude, Cursor o cualquier cliente MCP
Convert File Fast incluye un servidor Model Context Protocol nativo. Entrega esta conversión a un agente de IA como una sola llamada de herramienta: sin cliente HTTP, sin manejar binarios, con clave de API por usuario.
npx -y convertfilefast-mcpconvert_file({ target_format: "png", source_url: "https://example.com/file.heic" })Comienza a Convertir HEIC a PNG
Obtén tu clave API y convierte fotos HEIC a PNG en segundos. El plan gratuito incluye 10 conversiones por mes.
Sin tarjeta de crédito. 10 conversiones gratis en plan Free.