pandas9
/
flux-dev-stoiqo-afro
FLUX.1 Dev with STOIQO Afro and Amateur LoRA
- Public
- 72 runs
Run pandas9/flux-dev-stoiqo-afro 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
|
|
None
|
negative_prompt |
string
|
|
Things you do not want to see in your image
|
image |
string
|
An input image
|
|
aspect_ratio |
string
(enum)
|
1:1
Options: 1:1, 16:9, 21:9, 3:2, 2:3, 4:5, 5:4, 3:4, 4:3, 9:16, 9:21 |
Aspect ratio for the generated image
|
guidance |
number
|
3.5
Min: 0.1 Max: 10 |
Guidance for the generated image
|
lora_scale |
number
|
0.5
Min: -1 Max: 1 |
Initial LoRA scale
|
output_format |
string
(enum)
|
webp
Options: webp, jpg, png |
Format of the output images
|
output_quality |
integer
|
95
Max: 100 |
Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
|
seed |
integer
|
Set a seed for reproducibility. Random by default.
|
|
lora_url |
string
|
|
Optional LoRA model to use. Give a URL to a HuggingFace .safetensors file, a Replicate .tar file or a CivitAI download link.
|
lora_strength |
number
|
1
Min: -1 Max: 3 |
Strength of LoRA model
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 8,
"description": "Set a seed for reproducibility. Random by default."
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 2,
"description": "An input image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 0
},
"guidance": {
"type": "number",
"title": "Guidance",
"default": 3.5,
"maximum": 10,
"minimum": 0.1,
"x-order": 4,
"description": "Guidance for the generated image"
},
"lora_url": {
"type": "string",
"title": "Lora Url",
"default": "",
"x-order": 9,
"description": "Optional LoRA model to use. Give a URL to a HuggingFace .safetensors file, a Replicate .tar file or a CivitAI download link."
},
"lora_scale": {
"type": "number",
"title": "Lora Scale",
"default": 0.5,
"maximum": 1,
"minimum": -1,
"x-order": 5,
"description": "Initial LoRA scale"
},
"aspect_ratio": {
"enum": [
"1:1",
"16:9",
"21:9",
"3:2",
"2:3",
"4:5",
"5:4",
"3:4",
"4:3",
"9:16",
"9:21"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio for the generated image",
"default": "1:1",
"x-order": 3
},
"lora_strength": {
"type": "number",
"title": "Lora Strength",
"default": 1,
"maximum": 3,
"minimum": -1,
"x-order": 10,
"description": "Strength of LoRA model"
},
"output_format": {
"enum": [
"webp",
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "Format of the output images",
"default": "webp",
"x-order": 6
},
"output_quality": {
"type": "integer",
"title": "Output Quality",
"default": 95,
"maximum": 100,
"minimum": 0,
"x-order": 7,
"description": "Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality."
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 1,
"description": "Things you do not want to see in your image"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}