Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.eden.art/llms.txt

Use this file to discover all available pages before exploring further.

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

prompt
string
required
Instructions
Text description of what you want to generate, or the instruction on how to edit the given image.
  • Label: Prompt
init_image
image
required
Image reference
This is the input or starting image for the generation, or the reference image to base the new image on.
  • Label: Input image
aspect_ratio
string
default:"match_input_image"
required
Aspect ratio width/height
If you are using an init_image, leave it at the default “match_input_image” unless you want to resize the image.
  • 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

seed
integer
default:"random"
Set random seed for reproducibility. If blank, will be set to a random value.
You should only set this if you want to start from/copy the seed of a previous image. Unless one is specified, you should leave this blank!
  • Label: Seed
  • Minimum: 0
  • Maximum: 2147483647
fast
boolean
default:false
Use the fast (pro) model, otherwise use max (high quality but slower)
  • Label: Fast
n_samples
integer
default:1
Number of samples to generate
Will produce n_samples variations using the same prompt.
  • Label: Number of samples
  • Minimum: 1
  • Maximum: 4