Cubric Studio - Flows

Head Swap

Head Swap puts the head from one picture onto the person in another.

What it needs

  • You give it: The picture to keep, a picture with the head you want, a box round each head.
  • You get: The first picture with the new head on it, an optional expression.

How to use it

Head Swap (2.2.1) puts the head from one picture onto the person in another. Add the picture you want to keep as Original and the one with the head you want as Face Reference. Then two steps: Target head, where you box the head to replace (include the hair and jaw), and Reference head, where you box the head to take (a close-up portrait works best). A box may run past the picture's edge, for a head near the border. On the Generate step, Expression is optional: describe the expression the new head should end with. Everything outside the head stays as it was, and the result compares against your Original. The same picture can go in both slots, to put one face onto another head in the same photo, or to make twins.

Head Swap's Inputs step: an Original picture of a man and a woman talking on a busy park path, a Face Reference picture of a young woman in a shopping mall, and the flow's preview of a sheriff with its description and FLUX Non-Commercial licence line
Head Swap's two slots: the picture to keep, and the picture with the head to take.
Head Swap's Generate step after a run: Expression reads Looking to the left and smiling, the Cue button, Done, saved to your gallery, and the result pane with both inputs stacked on the left and the park picture on the right, the woman now wearing the reference woman's face and smiling, with a Compare button
The result beside both inputs. Everything outside the head stays as it was.

Opening the Flow Library, installing a flow's models, Cue, Stop, where a flow runs and Reuse work the same for every flow: see Running a flow.