mbukerepo / photomaker

PhotoMaker: Customizing Realistic Human Photos via Stacked ID Embedding

  • Public
  • 4.8K runs
  • L40S
  • Paper
  • License

Run mbukerepo/photomaker with an API

Input schema

seedinteger

Seed. Leave blank to use a random number

Maximum
2147483647
promptstring

Prompt. Example: 'a photo of a man/woman img'. The phrase 'img' is the trigger word.

Default
"A photo of a person img"
num_stepsinteger

Number of sample steps

Default
20
Minimum
1
Maximum
100
style_namestring

Style template. The style template will add a style-specific prompt and negative prompt to the user's prompt.

Default
"Photographic (Default)"
first_imageuri

The input image, for example a photo of your face.

num_outputsinteger

Number of output images

Default
1
Minimum
1
Maximum
4
third_imageuri

Additional input image (optional)

fourth_imageuri

Additional input image (optional)

second_imageuri

Additional input image (optional)

guidance_scalenumber

Guidance scale. A guidance scale of 1 corresponds to doing no classifier free guidance.

Default
5
Minimum
1
Maximum
10
negative_promptstring

Negative Prompt. The negative prompt should NOT contain the trigger word.

Default
"nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry"
style_strength_rationumber

Style strength (%)

Default
20
Minimum
15
Maximum
50
disable_safety_checkerboolean

Disable safety checker for generated images.

Output schema

Type
uri[]