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

fofr /sandbox:e6fd3aed

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
prompt
string
A headshot photo
None
negative_prompt
string
Things you do not want to see in your image
subject
string
An image of a person. Best images are square close ups of a face, but they do not have to be.
type
string (enum)
Both headshots and half-body poses

Options:

Both headshots and half-body poses, Headshot poses, Half-body poses

The type of images to generate, headshots, half-body poses or both.
number_of_outputs
integer
3

Min: 1

Max: 20

The number of images to generate.
number_of_images_per_pose
integer
1

Min: 1

Max: 4

The number of images to generate for each pose.
randomise_poses
boolean
True
Randomise the poses used.
output_format
string (enum)
webp

Options:

webp, jpg, png

Format of the output images
output_quality
integer
80

Max: 100

Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
seed
integer
Set a seed for reproducibility. Random by default.

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',
 'x-cog-array-type': 'iterator'}