fofr/expression-editor 🔢🖼️❓ → 🖼️

▶️ 105.2K runs 📅 Sep 2024 ⚙️ Cog 0.9.23 🔗 GitHub 📄 Paper ⚖️ License
face-expression-editing image-editing image-to-image

About

Quickly edit the expression of a face

Example Output

Output

Example output

Performance Metrics

0.78s Prediction Time
0.79s Total Time
All Input Parameters
{
  "aaa": 0,
  "eee": 0,
  "woo": 0,
  "wink": 0,
  "blink": 0,
  "image": "https://replicate.delivery/pbxt/Lg7pzAsHjoZlGHtrfI4wnVZchV8G9XCyXXMG37YMyb4NoBiU/PhotoMaker_00001_.png",
  "smile": 0,
  "eyebrow": 0,
  "pupil_x": 13.46,
  "pupil_y": 0,
  "src_ratio": 1,
  "rotate_yaw": 0,
  "crop_factor": 1.7,
  "rotate_roll": 0,
  "rotate_pitch": 10.54,
  "sample_ratio": 1,
  "output_format": "webp",
  "output_quality": 95
}
Input Parameters
aaa Type: numberDefault: 0Range: -30 - 120
AAA: Controls the mouth opening for 'aaa' sound
eee Type: numberDefault: 0Range: -20 - 15
EEE: Controls the mouth shape for 'eee' sound
woo Type: numberDefault: 0Range: -20 - 15
WOO: Controls the mouth shape for 'woo' sound
wink Type: numberDefault: 0Range: 0 - 25
Wink: Controls the degree of one eye closing
blink Type: numberDefault: 0Range: -20 - 5
Blink: Controls the degree of eye closure
image Type: string
Image of a face
smile Type: numberDefault: 0Range: -0.3 - 1.3
Smile: Adjusts the degree of smiling
eyebrow Type: numberDefault: 0Range: -10 - 15
Eyebrow: Adjusts the height and shape of the eyebrows
pupil_x Type: numberDefault: 0Range: -15 - 15
Pupil X: Adjusts the horizontal position of the pupils
pupil_y Type: numberDefault: 0Range: -15 - 15
Pupil Y: Adjusts the vertical position of the pupils
src_ratio Type: numberDefault: 1Range: 0 - 1
Source ratio
rotate_yaw Type: numberDefault: 0Range: -20 - 20
Rotation yaw: Adjusts the left and right turn of the face
crop_factor Type: numberDefault: 1.7Range: 1.5 - 2.5
Crop factor
rotate_roll Type: numberDefault: 0Range: -20 - 20
Rotation roll: Adjusts the tilt of the face to the left or right
rotate_pitch Type: numberDefault: 0Range: -20 - 20
Rotation pitch: Adjusts the up and down tilt of the face
sample_ratio Type: numberDefault: 1Range: -0.2 - 1.2
Sample ratio
output_format Default: webp
Format of the output images
output_quality Type: integerDefault: 95Range: 0 - 100
Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Running workflow
[ComfyUI] got prompt
Executing node 14, title: Expression Editor (PHM), class type: ExpressionEditor
[ComfyUI] Prompt executed in 0.09 seconds
outputs:  {'14': {'images': [{'filename': 'expression_edit_preview4.png', 'type': 'temp'}]}}
====================================
expression_edit_preview4.png
Version Details
Version ID
bf913bc90e1c44ba288ba3942a538693b72e8cc7df576f3beebe56adc0a92b86
Version Created
September 24, 2024
Run on Replicate →