Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Recently,buttonThere's been a major update that introduces a newAI ApplicationsMorphology, some of the original image streaming features have been significantly updated and changed, the old tutorials are no longer applicable, and the new features have become simpler and more powerful.

A friend asked about the originalPortraitAgentHow should I make it?

Today with the revamped function to recreate a replacement face portrait portrait smart body, for those who need to update and learn.

See the effect first

Left: User uploads face image

Middle picture: template base picture

Right: New personal portrait effect generated by user uploaded image + template image.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Next, let’s learn togetherHow to make a photoshopped smart body that replaces a human face with a button.

Workflow for creating replacement faces

Open the homepage of Button's official website and click [Workspace] on the left menu.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Enter the workspace interface and click [Resources] -> [Workflow] in the upper right corner.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Enter the Create Workflow screen, enter the workflow name, workflow description and click [Confirm].

Workflow name: portrait_replace

Workflow description: the user inputs a description of the content of the text and the text to be added to the image, and the image flow is called to help the user generate an illustration with text in one click.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Enter the workflow interface and click [Add Node].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

The node selection screen pops up, where Pothead first clicks on [Plugin].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Enter the add-in interface, search for "Face Swap", select [Smart Face Swap], expand the small corner label and click [Add].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

After adding successfully, click [x] in the upper right corner to close the plug-in window.

After returning to the workflow interface, connect the 3 nodes in the order of the screenshot below by putting [Start] - [Smart Swap_Face] - [End].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Next, let's configure specific parameters node by node.
[Begins]

Double-click the [Start] node to enter the Start node configuration interface, configure the variable name "input_prompt", variable type "Image", check the required items.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

[Intelligent Face Swap (swap_face)]

Double-click the node of plug-in swap_face, enter the interface of swap_face editing, select the parameter value of swap_face to refer to "start-face_image", and select the parameter value of swap_face to refer to "start-template_image". ".

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

[Ends]

Double-click the [End] node to enter the end node configuration interface, the configuration parameter name is "output", and the value of the parameter is drawing board-data.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

[Trial run + release]

Here, we have completed the node configuration, click [test run].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

After clicking Trial Run, the Trial Run window will pop up, upload the face swap photo and template base image, and click [Trial Run].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

After running successfully, click [Publish] in the upper right corner.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Publish successfully, automatically jump to the repository interface and see that there is already an additional workflow for portrait_replace.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Creating Face Replacement Intelligentsia

Go back to the homepage of Button's official website, click on the [+ icon] on the left menu, and then click on [Create] below the Create Smart Body card after the creation window pops up.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

The Create Smartbody window pops up, enter the Smartbody name, Smartbody function description, upload the icon, and then click [Confirm].

Intelligent Body Name: Face Replacement Intelligent Body

Intelligent body function introduction: upload face image and template character base image, one click to replace the face.

Icons: custom upload or AI generated.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Enter the Smartbody Orchestration interface for persona and reply logic, skills, preview and debugging, and publishing operations.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Character setting and response logic

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

# Role

You are a professional portrait generation tool that guides users to upload face photos and template basemaps, and then generates realistic portrait images by calling the workflow portrait_replace for intelligent face replacement.

## Skills

### Skill 1: Guide users to upload photos

1. Prompt the user to upload a clear photo of their face and a template base image.

### Skill 2: Perform Smart Face Swap

1. When a user uploads a photo, the workflow portrait_replace is called to perform an intelligent face replacement operation.

2. Generate a portrait image of the user.

### Skill 3: The dialog window displays the generated picture directly

1. After generating a portrait picture, the picture is displayed directly in the dialog window, not the picture link.

## Restrictions:

- Focuses only on processing operations related to face photos and generating portrait portrait images.

- The output must be organized in the given format and must not deviate from the framework requirements.

Model setup

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Workflow

Click the [+ icon] to the right of the workflow.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Enter the workflow interface, find the workflow portrait_replace that you just created, and click [Add].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Go back to the Work Pop item and see that it has been added successfully.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

preamble (of speeches, articles etc)

Click to expand the opening message text, and after entering the appropriate opening message content, see the preview update in sync with the debug window.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

The opening text is as follows:

Hi, I can create a portrait for you! Please upload a photo of your face and the base image of the portrait template to try it out.

Shortcuts

Click [+] to the right of the Quick Command line item to add a command.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Enter the interface for creating shortcut commands, enter the button name, command name, command description, and check "Use plug-in, workflow or image flow directly" for the tool location.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

After checking the tool, enter the tool selection interface and click [Workflow].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Enter the workflow interface and click [Add].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

After selecting the image stream, the component information for the shortcut command is automatically created based on the image stream parameters.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

We also need to optimize the component parameters, adjusted parameters are as follows:

Component name: Change the English variable name to Chinese, it looks more intuitive.

Component type: select upload files and only support uploading images.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Scroll down the interface to the instruction content input box, click "Input Component" on the right side, and select Upload Face Changer and Upload Template Base.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

After successful selection, the command content input box is automatically populated with two variables.

After the content of the shortcut command is filled in, click [OK].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Preview and debug

In the Preview & Debug window, upload the face image and the base image of the portrait photo template, and click the [Send icon].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

After the image is sent successfully, AI calls the image stream to generate an exclusive portrait effect image.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

release

Click [Publish] in the upper right corner.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Enter the publishing interface, publish the platform check the button store, click the upper right corner [Publish].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Posting has been submitted and is under review, click [Finish].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

After review, you will see the [Store icon] in the upper right corner of the smart body editing page, click on it to experience the effect.

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

Go to the Face Replacement Smart Body page, enter the sample prompt words and click [Send Icon].

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

The result is obtained as shown below:

Make replacement faces with AI tools and use Button Coze to create a one-click face swap smart body

By this point, we've completed the Face Replacement Smart Body Creation with buttons together, have you learned it yet?

statement:The content is collected from various media platforms such as public websites. If the included content infringes on your rights, please contact us by email and we will deal with it as soon as possible.
Encyclopedia

What is an AI Intelligent Body? Figuring Out the Difference Between AI Intelligentsia, Workflow Automation, and PRA

2024-12-25 10:45:17

Information

Tencent Sogou Input Method launches AI dialogue, AI pets, quick Q&A and other features

2024-7-2 9:06:41

Search