visoar/headshots.fun 🔢📝❓✓🖼️ → 🖼️

▶️ 8.7K runs 📅 Oct 2024 ⚙️ Cog 0.9.25 🔗 GitHub ⚖️ License
headshot-generation image-consistent-character-generation image-to-image

About

Fun & Pro for Every Occasion, Just Shoot at https://HeadShots.fun/

Example Output

Prompt:

"headshot"

Output

Example output

Performance Metrics

5.76s Prediction Time
179.46s Total Time
All Input Parameters
{
  "prompt": "headshot",
  "cfg_scale": 1.2,
  "num_steps": 4,
  "image_width": 768,
  "num_samples": 1,
  "image_height": 1024,
  "output_format": "png",
  "identity_scale": 0.8,
  "mix_identities": false,
  "output_quality": 80,
  "generation_mode": "fidelity",
  "main_face_image": "https://replicate.delivery/pbxt/Llj0TSTdW1D7Ebjd7PgYw7VsKzVL9i8KbZpeok6iO0II8Zsj/A_beautiful_blond_goddess_girl%2C_fantasy%2Cportrait%2C_-512x512_10steps_seed_9207.jpg",
  "negative_prompt": "flaws in the eyes, flaws in the face, flaws, lowres, non-HDRi, low quality, worst quality,artifacts noise, text, watermark, glitch, deformed, mutated, ugly, disfigured, hands, low resolution, partially rendered objects,  deformed or partially rendered eyes, deformed, deformed eyeballs, cross-eyed,blurry"
}
Input Parameters
seed Type: integer
Random seed. Leave blank to randomize the seed
prompt Type: stringDefault: portrait,color,cinematic,in garden,soft light,detailed face
Prompt
cfg_scale Type: numberDefault: 1.2Range: 1 - 1.5
CFG, recommend value range [1, 1.5], 1 will be faster
num_steps Type: integerDefault: 4Range: 1 - 100
Steps
image_width Type: integerDefault: 768Range: 512 - 2024
Width
num_samples Type: integerDefault: 1Range: 1 - 8
Num samples
image_height Type: integerDefault: 1024Range: 512 - 2024
Height
output_format Default: png
Format of the output images
identity_scale Type: numberDefault: 0.8Range: 0 - 5
ID scale
mix_identities Type: booleanDefault: false
ID Mix (if you want to mix two ID image, please turn this on, otherwise, turn this off)
output_quality Type: integerDefault: 80Range: 0 - 100
Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
generation_mode Default: fidelity
mode
main_face_image (required) Type: string
main face photo
negative_prompt Type: stringDefault: flaws in the eyes, flaws in the face, flaws, lowres, non-HDRi, low quality, worst quality,artifacts noise, text, watermark, glitch, deformed, mutated, ugly, disfigured, hands, low resolution, partially rendered objects, deformed or partially rendered eyes, deformed, deformed eyeballs, cross-eyed,blurry
Negative Prompt
auxiliary_face_image1 Type: string
Additional photo (auxiliary)
auxiliary_face_image2 Type: string
Additional photo (auxiliary)
auxiliary_face_image3 Type: string
Additional photo (auxiliary)
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Using seed: 1903
[!] (<class 'cog.types.Path'>) main_face_image=/tmp/tmpzlda9pk_A_beautiful_blond_goddess_girl,_fantasy,portrait,_-512x512_10steps_seed_9207.jpg
[!] (<class 'NoneType'>) auxiliary_face_image1=None
[!] (<class 'NoneType'>) auxiliary_face_image2=None
[!] (<class 'NoneType'>) auxiliary_face_image3=None
[!] (<class 'str'>) prompt=headshot
[!] (<class 'str'>) negative_prompt=flaws in the eyes, flaws in the face, flaws, lowres, non-HDRi, low quality, worst quality,artifacts noise, text, watermark, glitch, deformed, mutated, ugly, disfigured, hands, low resolution, partially rendered objects,  deformed or partially rendered eyes, deformed, deformed eyeballs, cross-eyed,blurry
[!] (<class 'float'>) cfg_scale=1.2
[!] (<class 'int'>) num_samples=1
[!] (<class 'int'>) seed=1903
[!] (<class 'int'>) num_steps=4
[!] (<class 'int'>) image_height=1024
[!] (<class 'int'>) image_width=768
[!] (<class 'float'>) identity_scale=0.8
[!] (<class 'str'>) generation_mode=fidelity
[!] (<class 'bool'>) mix_identities=False
/root/.pyenv/versions/3.10.15/lib/python3.10/site-packages/insightface/utils/transform.py:68: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.
P = np.linalg.lstsq(X_homo, Y)[0].T # Affine matrix. 3 x 4
  0%|          | 0/4 [00:00<?, ?it/s]
 25%|██▌       | 1/4 [00:00<00:00,  3.93it/s]
 50%|█████     | 2/4 [00:00<00:00,  5.65it/s]
 75%|███████▌  | 3/4 [00:00<00:00,  5.67it/s]
100%|██████████| 4/4 [00:00<00:00,  5.67it/s]
100%|██████████| 4/4 [00:00<00:00,  5.48it/s]
[~] Saving to output_image_0.png...
[~] Output format: PNG
Version Details
Version ID
5826f6bb95918f0c468b12eb0ea982aab7f0a8e08cd8365bff0a7f951da20661
Version Created
October 10, 2024
Run on Replicate →