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

catio-apps /cog-photoaistudio-generate-v2-pro:eb5017b1

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
face_image
string
The input image, for example a photo of your face.
face_image2
string
The input image, for example a photo of your face. (optional)
face_image3
string
The input image, for example a photo of your face. (optional)
face_image4
string
The input image, for example a photo of your face. (optional)
gender
string (enum)
male

Options:

male, female

The gender to use
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)
(No style)

Options:

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

Style template. The style template will add a style-specific prompt and negative prompt to the user's prompt.
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. The negative prompt should NOT contain the trigger word.
num_steps
integer
20

Min: 1

Max: 100

Number of sample steps
style_strength_ratio
number
25

Max: 100

Style strength (%)
num_outputs
integer
1

Min: 1

Max: 4

Number of output images
guidance_scale
number
5

Min: 1

Max: 10

Guidance scale. A guidance scale of 1 corresponds to doing no classifier free guidance.
refine
string (enum)
no_refiner

Options:

no_refiner, expert_ensemble_refiner, base_image_refiner

Which refine style to use
high_noise_frac
number
0.8

Max: 1

For expert_ensemble_refiner, the fraction of noise to use
refine_steps
integer
For base_image_refiner, the number of steps to refine, defaults to num_inference_steps
scheduler
string (enum)
DPM++ SDE Karras

Options:

DPM++ SDE Karras, DPM++ 2M SDE Karras, UniPC, Heun, DDIM, DPM2 a, DPM2 a Karras, DPM SDE, DDPM, DPM++ SDE, LMS, LMS Karras, Euler a, Euler, PNDM, DPM2, DPM2 Karras, DEIS, DPM++ 2M, DPM++ 2M Karras, DPM++ 2M SDE

The scheduler to use
enable_fix_face
boolean
True
Enable enable_fix_face
enable_best_image
boolean
True
Enable enable_best_image
width
integer
768
Width
height
integer
1152
Height
seed
integer

Max: 9223372036854776000

Seed. Leave blank to use a random number
api_key
string
Personal api key

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'}