submit_swap
Queue face-swap previews or CFR video renders using explicit identity mappings to generate new job artifacts.
Instructions
Queue an image/frame preview or CFR video render using explicit identity mappings.
Preview processes frame. Render processes start_frame and at most max_frames
(None means through the end). Outputs are new job artifacts. Video output is H.264,
with the selected interval's first audio stream encoded to AAC. Preview defaults to
Inswapper128. Consult get_settings before changing parameters. GPU jobs run one at a time.
Renders reject VFR, nonzero start times, odd dimensions and rotation; use normalize_media.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | preview | |
| frame | No | ||
| job_id | No | ||
| controls | No | ||
| mappings | Yes | ||
| max_frames | No | ||
| media_path | Yes | ||
| start_frame | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||