Overview
Generate an image with the initial image as context or edit the image in accordance with the prompt.- Output Type: image
- Base Model: flux-dev
- Estimated Cost: (fast ? 4 : 8) * n_samples credits
- Handler: replicate
Parameters
Required Parameters
string
required
Instructions
- Label: Prompt
image
required
Image reference
- Label: Input image
string
default:"match_input_image"
required
Aspect ratio width/height
- Label: Aspect ratio
- Options:
match_input_image,21:9,16:9,3:2,4:3,5:4,1:1,4:5,3:4,2:3,9:16,9:21
Optional Parameters
integer
default:"random"
Set random seed for reproducibility. If blank, will be set to a random value.
- Label: Seed
- Minimum: 0
- Maximum: 2147483647
boolean
default:false
Use the fast (pro) model, otherwise use max (high quality but slower)
- Label: Fast
integer
default:1
Number of samples to generate
- Label: Number of samples
- Minimum: 1
- Maximum: 4

