jyoung105 / hyper-flux
- Public
- 21 runs
-
A100 (80GB)
Run jyoung105/hyper-flux 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
|
Input prompt, text of what you want to generate.
|
|
width |
integer
|
1024
Min: 1 Max: 2048 |
Width of the output image.
|
height |
integer
|
1024
Min: 1 Max: 2048 |
Height of the output image.
|
num_images |
integer
|
1
Min: 1 Max: 4 |
Number of output images.
|
steps |
integer
(enum)
|
16
Options: 8, 16 |
Number of denoising steps.
|
guidance_scale |
number
|
3.5
Max: 20 |
Scale for classifier-free guidance.
|
seed |
integer
|
Random seed. Leave blank to randomize the seed.
|
|
use_tiny |
boolean
|
True
|
Use a tiny VAE model to speed up inference.
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 6,
"description": "Random seed. Leave blank to randomize the seed."
},
"steps": {
"enum": [
8,
16
],
"type": "integer",
"title": "steps",
"description": "Number of denoising steps.",
"default": 16,
"x-order": 4
},
"width": {
"type": "integer",
"title": "Width",
"default": 1024,
"maximum": 2048,
"minimum": 1,
"x-order": 1,
"description": "Width of the output image."
},
"height": {
"type": "integer",
"title": "Height",
"default": 1024,
"maximum": 2048,
"minimum": 1,
"x-order": 2,
"description": "Height of the output image."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Input prompt, text of what you want to generate."
},
"use_tiny": {
"type": "boolean",
"title": "Use Tiny",
"default": true,
"x-order": 7,
"description": "Use a tiny VAE model to speed up inference."
},
"num_images": {
"type": "integer",
"title": "Num Images",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 3,
"description": "Number of output images."
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 3.5,
"maximum": 20,
"minimum": 0,
"x-order": 5,
"description": "Scale for classifier-free guidance."
}
}
}
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"
}