Skip to content

Can I use the full target photo URL as original_face in a Magic Hour individual face mapping?

Use the detected face path for original_face. The official selective-swap example supplies the full photo separately as the target and takes the original face reference from a detection response. Keep the new portrait on the new_face side.

SHIP A RELIABLE INTEGRATIONAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval

Confirm the selection visually

Inspect the detection outputs to identify the intended person rather than assuming the first result. Store those paths with the exact input version.

Send the mapped pair

Use the current detected path and approved replacement path. Test the request against a representative small case before batching.

Example

In a two-person photo, the same full image is the target for both roles while each detected face needs its own reference entry.

Pass condition

The correct mapped person changes and the source and replacement fields can be independently traced.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation