From dc361477925d291ff713dcc39488c1f19cbb6368 Mon Sep 17 00:00:00 2001 From: David Hu Date: Wed, 23 Sep 2026 21:05:26 -0700 Subject: [PATCH] docs: drop face_mappings from all-faces face swap generate examples face_mappings only applies to individual-faces mode. Co-Authored-By: Claude Opus 5.5 (1M context) --- magic_hour/resources/v1/face_swap/README.md | 12 ------------ magic_hour/resources/v1/face_swap_photo/README.md | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/magic_hour/resources/v1/face_swap/README.md b/magic_hour/resources/v1/face_swap/README.md index 0c8ab76..4885053 100644 --- a/magic_hour/resources/v1/face_swap/README.md +++ b/magic_hour/resources/v1/face_swap/README.md @@ -33,12 +33,6 @@ from os import getenv client = Client(token=getenv("API_TOKEN")) res = client.v1.face_swap.generate( assets={ - "face_mappings": [ - { - "new_face": "/path/to/1234.png", - "original_face": "api-assets/id/0-0.png", - } - ], "face_swap_mode": "all-faces", "image_file_path": "image/id/1234.png", "video_file_path": "/path/to/1234.mp4", @@ -63,12 +57,6 @@ from os import getenv client = AsyncClient(token=getenv("API_TOKEN")) res = await client.v1.face_swap.generate( assets={ - "face_mappings": [ - { - "new_face": "/path/to/1234.png", - "original_face": "api-assets/id/0-0.png", - } - ], "face_swap_mode": "all-faces", "image_file_path": "image/id/1234.png", "video_file_path": "/path/to/1234.mp4", diff --git a/magic_hour/resources/v1/face_swap_photo/README.md b/magic_hour/resources/v1/face_swap_photo/README.md index 3d558d2..9c5c3b8 100644 --- a/magic_hour/resources/v1/face_swap_photo/README.md +++ b/magic_hour/resources/v1/face_swap_photo/README.md @@ -33,12 +33,6 @@ from os import getenv client = Client(token=getenv("API_TOKEN")) res = client.v1.face_swap_photo.generate( assets={ - "face_mappings": [ - { - "new_face": "/path/to/1234.png", - "original_face": "api-assets/id/0-0.png", - } - ], "face_swap_mode": "all-faces", "source_file_path": "/path/to/1234.png", "target_file_path": "/path/to/1234.png", @@ -59,12 +53,6 @@ from os import getenv client = AsyncClient(token=getenv("API_TOKEN")) res = await client.v1.face_swap_photo.generate( assets={ - "face_mappings": [ - { - "new_face": "/path/to/1234.png", - "original_face": "api-assets/id/0-0.png", - } - ], "face_swap_mode": "all-faces", "source_file_path": "/path/to/1234.png", "target_file_path": "/path/to/1234.png",