Apple HEIC、iPhone写真、ロスレスPNG
HEIC写真を API経由でPNGに変換
REST API経由でiPhoneとMacのApple HEIC画像をロスレスPNG形式に変換。完全な画像品質を保持して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" } }
}2秒以内に変換完了
特徴
なぜ当社のAPIを使うのか?
あらゆる技術スタックへの統合に対応した完全で信頼性の高いソリューション。
ロスレスPNG出力
PNGはロスレス圧縮を使用し、HEIC写真のすべてのピクセルを品質劣化なしに保持します。
iPhone写真サポート
iPhone、iPad、MacでキャプチャされたHEIC画像をローカルソフトウェアなしでPNGに変換。
バッチ処理
自動化されたパイプラインでHEIC写真フォルダ全体をPNGに変換。写真ライブラリ移行に最適。
ユニバーサル互換性
生成されたPNGファイルはすべてのデバイス、ブラウザ、画像編集アプリと互換性があります。
n8nと自動化に対応
n8nワークフローでGoogle Drive、Dropbox、GmailからHEIC変換をトリガー。
ゼロストレージ
HEICファイルはメモリ内で変換され直ちに削除されます。写真はサーバーに保存されません。
AI エージェント向け
Claude、Cursor など任意の MCP クライアントから呼び出すこともできます
Convert File Fast はネイティブの Model Context Protocol サーバーを提供しています。この変換を 1 回のツール呼び出しとして AI エージェントに任せられます。HTTP クライアントもバイナリ処理も不要で、API キーはユーザーごとに発行されます。
ローカルインストール
npx -y convertfilefast-mcpMCP ツール呼び出し
convert_file({ target_format: "png", source_url: "https://example.com/file.heic" })HEICをPNGに変換する
APIキーを取得してHEIC写真を数秒でPNGに変換。無料プランは毎月10回の変換を含む。
クレジットカード不要。Freeプランで10回無料変換。