Apple HEIC、iPhoneの写真、バッチ変換
HEIC写真を APIでJPGに変換
iPhoneとMacのApple HEIC画像をユニバーサルJPG形式に即座に変換。バッチ処理、設定可能な品質、n8nワークフロー自動化に対応。
# Convert HEIC image to JPG
curl -X POST \
https://api.convertfilefast.com/v2/convert/heic-to-jpg \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@photo.heic" \
-F "quality=90" \
--output photo.jpg
# HTTP 200 OK — Content-Type: image/jpegimport requests
from pathlib import Path
# Batch convert multiple HEIC files to JPG
heic_files = Path("./photos").glob("*.heic")
for heic_path in heic_files:
response = requests.post(
"https://api.convertfilefast.com/v2/convert/heic-to-jpg",
headers={"Authorization": "Bearer YOUR_API_KEY"},
files={"file": open(heic_path, "rb")},
data={"quality": 90}
)
out_path = heic_path.with_suffix(".jpg")
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"));
formData.append("quality", "90");
const response = await fetch(
"https://api.convertfilefast.com/v2/convert/heic-to-jpg",
{
method: "POST",
headers: { "Authorization": "Bearer YOUR_API_KEY" },
body: formData,
}
);
fs.writeFileSync("photo.jpg", Buffer.from(await response.arrayBuffer()));// n8n Workflow: Google Drive trigger → HEIC to JPG → 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 JPG
{
"method": "POST",
"url": "https://api.convertfilefast.com/v2/convert/heic-to-jpg",
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{ "name": "file", "parameterType": "formBinaryData", "inputDataFieldName": "data" },
{ "name": "quality", "value": "90" }
]
},
"options": { "response": { "responseFormat": "file" } }
}2秒以内に変換完了
特徴
なぜ当社のAPIを使うのか?
あらゆる技術スタックへの統合に対応した完全で信頼性の高いソリューション。
iPhone写真サポート
iPhone、iPad、Macで撮影したHEIC画像をローカルソフトウェアなしで直接JPGに変換。
バッチ処理
HEICの写真フォルダ全体を自動化パイプラインでJPGに変換。写真ライブラリの移行に最適。
品質設定可能
JPG出力品質を1〜100で設定。リクエストごとにファイルサイズと視覚的品質のバランスを調整。
ユニバーサル互換性
生成されたJPGファイルはすべてのデバイス、ブラウザ、画像編集アプリケーションと互換性があります。
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: "jpg", source_url: "https://example.com/file.heic" })HEICからJPGへの変換を始める
APIキーを取得して数秒でHEIC写真をJPGに変換。無料プランは毎月10回の変換を含む。
クレジットカード不要。Freeプランで10回無料変換。