You're looking at a specific version of this model. Jump to the model overview.

tencentarc /photomaker:ec21add1

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
input_image
string
The input image, a photo of your face
prompt
string
A photo of a person img
Prompt. Example: 'a photo of a man/woman img'. The phrase 'img' is the trigger word.
style_name
string (enum)
Photographic (Default)

Options:

(No style), Cinematic, Disney Charactor, Digital Art, Photographic (Default), Fantasy art, Neonpunk, Enhance, Comic book, Lowpoly, Line art

Style template
negative_prompt
string
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
Negative Prompt
num_steps
integer
50

Min: 20

Max: 100

Number of sample steps
style_strength_ratio
number
20

Min: 15

Max: 50

Style strength (%)
guidance_scale
number
5

Min: 0.1

Max: 10

Guidance scale
seed
integer

Max: 2147483647

Seed. Leave blank to use a random number
disable_safety_checker
boolean
False
Disable safety checker for generated images. This feature is only available through the API. See [https://replicate.com/docs/how-does-replicate-work#safety](https://replicate.com/docs/how-does-replicate-work#safety)

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}