pipelines-beta/basic-flux-dev

Public
9 runs

Run pipelines-beta/basic-flux-dev with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

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
Describe the image to generate
aspect_ratio
string (enum)
1:1

Options:

args, name, kwargs

Aspect ratio for the generated image
image
string
Input image for image to image mode. The aspect ratio of your output will match this image
prompt_strength
number
0.8
Prompt strength when using img2img. 1.0 corresponds to full destruction of information in image
num_inference_steps
integer
28
num steps
guidance
number
3
guidance
go_fast
boolean
True
go fast
megapixels
string (enum)
1

Options:

1, 0.25

how big
seed
integer
0
A seed

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}