You're looking at a specific version of this model. Jump to the model overview.
cneural /fastcomposer-a40:120321c6
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 |
---|---|---|---|
image1 |
string
|
First input image
|
|
image2 |
string
|
Second input image, optional
|
|
prompt |
string
|
A man img and a man img singing in the park together.
|
Input proper text prompts, such as "A woman img and a man img in the snow" or "A painting of a man img in the style of Van Gogh", where "img" specifies the token you want to augment and comes after the word.
|
alpha |
number
|
0.7
Max: 1 |
A smaller alpha aligns images with text better, but may deviate from the subject image. Increase alpha to improve identity preservation, decrease it for prompt consistency.
|
num_steps |
integer
|
50
Min: 1 Max: 300 |
Number of diffusion steps
|
num_images_per_prompt |
integer
|
1
Min: 1 Max: 4 |
Number of output images. Lower this setting if OOM.
|
guidance_scale |
number
|
5
Min: 1.5 Max: 50 |
Scale for classifier-free guidance.
|
width |
integer
|
512
|
Width of output image.
|
height |
integer
|
512
|
Height of output image.
|
seed |
integer
|
Random seed. Leave blank to randomize the seed.
|
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'}