voodoohop
/
flux-dance
- Public
- 262 runs
-
L40S
Run voodoohop/flux-dance 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 |
---|---|---|---|
style_suffix |
string
|
angular, academic art, cubism, an abstract drawing by Svetoslav Roerich, abstract illusionism, concept art, angular, broken-stained-glass, concrete poetry, anton semono. black and white, granular, abstract, hand drawings, grainy, dmysticism, sacred symbology, blueprint
|
Style suffix to append to each prompt
|
narrative |
string
|
Silhouettes of valleys
Silhouettes of hills
|
Narrative prompts, one per line. Each line defines a prompt for a certain time in the sequence.
|
audio_file |
string
|
Audio file to drive interpolation (optional)
|
|
width |
integer
|
512
|
Width of the generated image
|
height |
integer
|
512
|
Height of the generated image
|
seed |
integer
|
42
|
Random seed
|
interpolation_steps |
integer
|
4
|
Number of interpolation steps between seeds (ignored if audio_file is provided)
|
variation_strength |
number
|
0.3
|
Controls how much the audio amplitude affects the image variation (0-1)
|
audio_smoothing |
number
|
0.8
|
Smoothing factor for audio (0-1, higher = more smoothing)
|
audio_loudness_type |
string
(enum)
|
peak
Options: peak, rms |
Type of audio loudness measurement to use
|
fps |
integer
|
10
|
Frames per second for the video
|
output_format |
string
(enum)
|
png
Options: webp, jpg, png |
Format of the output image
|
interpolate_prompts |
boolean
|
True
|
Interpolate between prompts instead of switching between them
|
loop_interpolation |
boolean
|
False
|
Loop the interpolation back to the first prompt
|
model_name |
string
(enum)
|
flux
Options: flux, sd |
Which model to use for generation
|
guidance_scale |
number
|
7.5
Min: 1 Max: 20 |
Guidance scale for Stable Diffusion model (higher = more adherence to prompt, ignored for FLUX)
|
{
"type": "object",
"title": "Input",
"properties": {
"fps": {
"type": "integer",
"title": "Fps",
"default": 10,
"x-order": 10,
"description": "Frames per second for the video"
},
"seed": {
"type": "integer",
"title": "Seed",
"default": 42,
"x-order": 5,
"description": "Random seed"
},
"width": {
"type": "integer",
"title": "Width",
"default": 512,
"x-order": 3,
"description": "Width of the generated image"
},
"height": {
"type": "integer",
"title": "Height",
"default": 512,
"x-order": 4,
"description": "Height of the generated image"
},
"narrative": {
"type": "string",
"title": "Narrative",
"default": "Silhouettes of valleys \nSilhouettes of hills",
"x-order": 1,
"description": "Narrative prompts, one per line. Each line defines a prompt for a certain time in the sequence."
},
"audio_file": {
"type": "string",
"title": "Audio File",
"format": "uri",
"x-order": 2,
"description": "Audio file to drive interpolation (optional)"
},
"model_name": {
"enum": [
"flux",
"sd"
],
"type": "string",
"title": "model_name",
"description": "Which model to use for generation",
"default": "flux",
"x-order": 14
},
"style_suffix": {
"type": "string",
"title": "Style Suffix",
"default": "angular, academic art, cubism, an abstract drawing by Svetoslav Roerich, abstract illusionism, concept art, angular, broken-stained-glass, concrete poetry, anton semono. black and white, granular, abstract, hand drawings, grainy, dmysticism, sacred symbology, blueprint",
"x-order": 0,
"description": "Style suffix to append to each prompt"
},
"output_format": {
"enum": [
"webp",
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "Format of the output image",
"default": "png",
"x-order": 11
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7.5,
"maximum": 20,
"minimum": 1,
"x-order": 15,
"description": "Guidance scale for Stable Diffusion model (higher = more adherence to prompt, ignored for FLUX)"
},
"audio_smoothing": {
"type": "number",
"title": "Audio Smoothing",
"default": 0.8,
"x-order": 8,
"description": "Smoothing factor for audio (0-1, higher = more smoothing)"
},
"loop_interpolation": {
"type": "boolean",
"title": "Loop Interpolation",
"default": false,
"x-order": 13,
"description": "Loop the interpolation back to the first prompt"
},
"variation_strength": {
"type": "number",
"title": "Variation Strength",
"default": 0.3,
"x-order": 7,
"description": "Controls how much the audio amplitude affects the image variation (0-1)"
},
"audio_loudness_type": {
"enum": [
"peak",
"rms"
],
"type": "string",
"title": "audio_loudness_type",
"description": "Type of audio loudness measurement to use",
"default": "peak",
"x-order": 9
},
"interpolate_prompts": {
"type": "boolean",
"title": "Interpolate Prompts",
"default": true,
"x-order": 12,
"description": "Interpolate between prompts instead of switching between them"
},
"interpolation_steps": {
"type": "integer",
"title": "Interpolation Steps",
"default": 4,
"x-order": 6,
"description": "Number of interpolation steps between seeds (ignored if audio_file is provided)"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}