Free fast batch AI face swap, hand to hand instructions on how to make portrait portraits with buttons AI smart body

previously usedbuttonDid a portrait (smart face swap)Agent:

Learn how to use AI face-changing and use button image stream to make portrait photos (intelligent face-changing) AI application

This Portrait Portrait Smartbody tutorial has the following problems:

1, the tutorial can not be customized to upload the photo template effect picture, only the background of the default upload template picture.

2. Some of the contents have changed after the revamp.

Today, make an optimization of this Portrait Portrait (Smart Face Swap) smart body and write down the tutorial to share it with you.

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.

275d753aj00sm90rf001od000u000e5m

Next, let’s learn togetherHow to Make Portrait Portrait Intelligentsia with Button Image Streaming (Advanced Version)Bar.

How does ▌How does Portrait Portrait (Smart Face Change) create an image stream?

Enter coze.cn in the browser address bar to enter the official website of Kouzi.

80826989j00sm90re0021d000u000hmm

Click [Workspace] - [Resources] - [Image Stream].

447f41f7j00sm90re0019d000u000hmm

Enter the image stream interface and click [Create Image Stream] in the upper right corner.

dac6750dj00sm90re000jd000u0009om

A window for creating an image stream pops up. Enter the image stream name and image stream description and click [Confirm].

Image stream name: portrait_photography_2

Image Stream Description: When users upload portrait photos and portrait effect images, the image stream is called to help users generate personal portrait photos.

ddafcaf2j00sm90re0011d000pc00p4m

Enter the image flow editing page. The left menu has five types of tools: Intelligent Generation, Style Template, Intelligent Editing, Basic Editing, and General, and the center image flow editing area has [Start] and [End] workflow modules by default.

fef257edj00sm90re000wd000u000hmm

This time we need to do reference to the face to generate portrait portraits, so you need to select the [Smart Face] tool.

Click the [+] icon to the right of the [Smart Face Swap] line item to add this tool to the image stream.

635b079cj00sm90rf000nd000bg00hpm

Follow the order of [Start] -> [Smart Face Change] -> [End] to program and then connect the wires.

69bcedf0j00sm90rf000ld000u000dcm

start

At the starting node of the workflow, we need to define the input variable name, variable type, and description.

Pothead has added two variables here, uploading a face swap image and uploading a template base image, which are set as follows:

e54d4bfdj00sm90re000wd000rs00dcm

Smart face swap

Change face image (reference image): upload the reference image of the face you need to replace, the face after generating the image is similar to our face image. Pothead here refer to the input_face_image parameter of the start module to replace the face image.

Bottom image (template image): the template image is the image in which the face is put into, the pothead here references the input_template_image parameter template bottom image that was uploaded at the beginning.

f5f75949j00sm90re000pd000ho00bym

Finish

The final node of the workflow is used to return the result information after the workflow is run.

Let's enter the parameter name output here, and the parameter value references smart-swap-data.

b5b5ae69j00sm90re000qd000hj00e7m

The configured image stream is shown in the figure below.

4199ba3bj00sm90rf000rd000u000fym

Trial run

Through trial running, we can debug whether our workflow is normal.

Click [Test Run] in the upper right corner.

25ca3649j00sm90re0006d000ei004cm

BOT_USER_INPUT: What the user has entered on this round of dialogs, which can be briefly described or left out.

input_face_image: upload the face replacement image, here upload the face image we need to replace.

input_template_image: upload the template image, here to upload the effect image we need to generate.

dc395576j00sm90rf001pd000rc0153m

After uploading the face swap image and template base image, click [Run].

70fc6e37j00sm90rf001ld000rf014sm

The operation was successful and we completed a face-changing operation.

a461406bj00sm90rf0015d000u000hmm

The effect of Figure 1+Figure 2=Figure 3 is as follows:

6701eb50j00sm90rf001rd000u000f6m

release

Confirm that the image stream configuration is correct and click [Publish].

9ef097b2j00sm90re0008d000hf004vm

Go back to Workspace-Resources to see that the image stream we just created, portrait_photography_2, has been successfully published.

82656db6j00sm90re000wd000u000asm

▌How do I create a portrait portrait (smart face swap) smart body?

Go back to the Button homepage and click on the left menu [+] to create a Smartbody.

feb3da56j00sm90rf0022d000u000hmm

The Create Bot window pops up. Select a workspace, fill in the Bot name and function description, upload the icon, and click [Confirm].

Bot Name:Portrait Portrait Face Change Master

Bot function introduction: upload a frontal face picture and the bottom picture of the portrait template, and immediately generate a portrait portrait effect picture that meets the expectations.

Icon: Automatically generated by AI or upload a photo yourself.

9663a08cj00sm90rf0017d000ls00qdm

Go to the Portrait Portrait Face Change Master Smart Body Arrangement page.

0cc5cafbj00sm90rf000ud000u000hmm

Character setting and response logic

# Role

You are a professional portrait photography generation tool that guides users to upload face photos and template base images, and then generates realistic portrait images by calling the image stream portrait_photography_2 for intelligent face changing.

## 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 the user uploads a photo, the image stream portrait_photography_2 is called to perform an intelligent face change operation.

2. Generate a portrait image of the user.

## Restrictions:

- Focuses only on handling 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.

04f45154j00sm90rf001td000mv00kgm

Model setup

Select "Doubao·Function call model 32K" as the model.

e1d361c0j00sm90rf0013d000m400p1m

Skill

Click [+] on the right side of the image popularity item.

a67d8d75j00sm90re000pd000n400glm

Find the image stream we created, portrait_photography_2, and click [Add].

8f0f0fcaj00sm90rf001id000u000jum

Added successfully.

89fd70cfj00sm90re000vd000ma00gdm

Set the opening text 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.

cab06316j00sm90re0015d000m100lam

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

a30a04a1j00sm90re000qd000mm00drm

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.

450fb7d8j00sm90rf001qd000u000xqm

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

618b59c1j00sm90rf001hd000u000jvm

Enter the image stream interface and click [Add].

37d7e7a2j00sm90rf001hd000u000jum

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

3730911dj00sm90rf0017d000u000k6m

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.

b9ef0d34j00sm90rf001ad000u000k4m

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.

253762e7j00sm90rf0016d000u000k7m

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].

e2913895j00sm90rf0015d000u000k7m

Preview and debug

Let's move to the Preview and Debug window and click on the shortcut command [Upload Face Photo].

8f702b3ej00sm90rf001ed000oc011fm

The Quick Command Component pop-up window will appear, click to upload the face swap image and template base image and then click [Send Icon].

f4d88ce0j00sm90re000jd000nj008sm

e72c39dcj00sm90rf000ud000nx0093m

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

507e26baj00sm90rf0027d000og0117m

release

Click [Publish] in the upper right corner.

7e9cd8b1j00sm90rf0004d000cx003um

Enter the release page, the default checkbox button smart body store, pot head temporarily no other platform to be released, continue to click [Release].

85610ea3j00sm90rf0015d000u000lmm

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

20f37eb1j00sm90rf000dd000u0008wm

After posting successfully, click [Store] in the upper right corner.

f69e9543j00sm90rf001gd000u000hmm

Entering the Buckle Smart Body Shop H5 page, you can click the [Upload Face Photo and Template Base Image] button to officially verify the effect.

29bee0c6j00sm90rf000td000u000hmm

Uploading an image generates the following effect:

0be54fd4j00sm90rf0011d000u000hmm

Click on View to display a larger image:

a206b1f9j00sm90rf0016d000u000hmm

By now, we have completed the image streaming and smart body creation release for portrait portraits (smart face change), have you learned it yet?

▌Learning Summary

Let’s review and summarize what we have learned:

1. Create a new "Portrait (Smart Face)" image stream.

2. Creating Portrait Portrait Intelligentsia.

3. Editorial persona and response logic.

4. Option language model "Beanbag-Function call model 32K".

5. Add an image stream and an opening statement.

6. Add shortcut commands.

7. Preview and debugging.

8. Publish Bot.

This wave is coming down,In the future, only by themselves can also build their own portrait portraits AI applications, free, fast, batch generation, what you want what style of background can be, how beautiful you want to be more beautiful, to be more handsome and handsome!.

statement:The content of the source of public various media platforms, if the inclusion of the content violates your rights and interests, please contact the mailbox, this site will be the first time to deal with.
Encyclopedia

5 Recommended Accompanying Apps for Learning Authentic Spoken English for Free with AI English Conversation

2024-11-1 9:31:46

Encyclopedia

How to remove watermarks from ai videos?5 AI video watermark removal tools recommended

2024-11-2 10:27:10

Zenium
Search