Face Avatar
The concept of a "Face Avatar" involves the creation of images where the face maintains a consistent appearance across multiple generated Images. To achieve this, you start with an initial facial image and provide it as a reference. Using this reference, a sophisticated model goes to work, crafting new images while keeping the facial features in line with the original picture. In essence, the model uses your input to generate images where the face remains faithful to the structure and characteristics you've specified in your prompt. This way, you can effortlessly create a series of images with a consistent and recognizable face.
Working insights :
In this model, the default prompt settings includes a prompt, “SFW Content, black plain background, joyous dating profile, VECTOR CARTOON ILLUSTRATION, half-body shot portrait enjoyable pleasing pleasurable nice {gender_word}, looking at camera, Relaxed, Charming, Cordial, Gracious, 5 o clock shadow, 3d bitmoji avatar render, pixar, high def textures 8k, highly detailed, 3d render, award winning, no background elements".
If you provide a custom prompt, it will override these default settings. To include a specific gender in your custom prompt, you must explicitly mention it in custom prompt. If you prefer to use the default settings without specifying any custom prompt, simply pass None
in the prompt parameter. Subsequently, you can define the gender by using the gender parameter, which will apply the specified gender to the default image configuration.
Face Avatar API
POST
/getImageToImage
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body
Name | Type | Description |
---|---|---|
app_id | string | -> Each model is uniquely characterized by its own |
image | string | -> The -> If the original image dimensions exceed 1536x1536 pixels, the image will be adjusted to fit within this size while preserving the original aspect ratio. |
prompt | string | -> The |
batch | int | -> The -> The valid range for this parameter is between 1 and 8. |
height | int | -> The -> The valid range for the parameter is between 256 and 1536 pixels. |
width | int | -> The -> The valid range for the parameter is between 256 and 1536 pixels. |
celery | bool | -> The |
num_inference_steps | int | -> The -> The valid range for the |
guidance_scale | float | -> The -> The valid range for the |
negative_prompt | string | -> The |
gender | string | -> The |
remove_background | bool | -> When the |
bg_color | string | -> The |
Response
Run the API
To test this API, please use the following link:
Last updated