
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 |
---|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "seed",
"default": 0,
"x-order": 8,
"description": "A seed"
},
"image": {
"type": "string",
"title": "image",
"format": "uri",
"x-order": 2,
"description": "Input image for image to image mode. The aspect ratio of your output will match this image"
},
"prompt": {
"type": "string",
"title": "prompt",
"x-order": 0,
"description": "Describe the image to generate"
},
"go_fast": {
"type": "boolean",
"title": "go_fast",
"default": true,
"x-order": 6,
"description": "go fast"
},
"guidance": {
"type": "number",
"title": "guidance",
"default": 3,
"x-order": 5,
"description": "guidance"
},
"megapixels": {
"enum": [
"1",
"0.25"
],
"type": "string",
"title": "megapixels",
"default": "1",
"x-order": 7,
"description": "how big"
},
"aspect_ratio": {
"enum": {
"args": [
{
"name": "",
"type": "",
"value": null
}
],
"name": "list",
"kwargs": {}
},
"type": "string",
"title": "aspect_ratio",
"x-order": 1,
"description": "Aspect ratio for the generated image"
},
"prompt_strength": {
"type": "number",
"title": "prompt_strength",
"default": 0.8,
"x-order": 3,
"description": "Prompt strength when using img2img. 1.0 corresponds to full destruction of information in image"
},
"num_inference_steps": {
"type": "integer",
"title": "num_inference_steps",
"default": 28,
"x-order": 4,
"description": "num steps"
}
}
}
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"
}