fofr
/
sandbox
- Public
- 586 runs
Run fofr/sandbox 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
|
best quality, 4k, HDR, a tracking shot of a beautiful scene
|
Text prompt for the video. This model needs long descriptive prompts, if the prompt is too short the quality won't be good.
|
negative_prompt |
string
|
low quality, worst quality, deformed, distorted
|
Things you do not want to see in your video
|
image |
string
|
Optional input image to use as the starting frame
|
|
image_noise_scale |
number
|
0.15
Max: 1 |
Lower numbers stick more closely to the input image
|
target_size |
integer
(enum)
|
640
Options: 512, 576, 640, 704, 768, 832, 896, 960, 1024 |
Target size for the output video
|
aspect_ratio |
string
(enum)
|
3:2
Options: 1:1, 1:2, 2:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 9:21, 21:9 |
Aspect ratio of the output video. Ignored if an image is provided.
|
cfg |
number
|
3
Min: 1 Max: 20 |
How strongly the video follows the prompt
|
steps |
integer
|
30
Min: 1 Max: 50 |
Number of steps
|
length |
integer
(enum)
|
97
Options: 97, 129, 161, 193, 225, 257 |
Length of the output video in frames
|
model |
string
(enum)
|
0.9.1
Options: 0.9.1, 0.9 |
Model version to use
|
seed |
integer
|
Set a seed for reproducibility. Random by default.
|
{
"type": "object",
"title": "Input",
"properties": {
"cfg": {
"type": "number",
"title": "Cfg",
"default": 3,
"maximum": 20,
"minimum": 1,
"x-order": 6,
"description": "How strongly the video follows the prompt"
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 10,
"description": "Set a seed for reproducibility. Random by default."
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 2,
"description": "Optional input image to use as the starting frame"
},
"model": {
"enum": [
"0.9.1",
"0.9"
],
"type": "string",
"title": "model",
"description": "Model version to use",
"default": "0.9.1",
"x-order": 9
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 30,
"maximum": 50,
"minimum": 1,
"x-order": 7,
"description": "Number of steps"
},
"length": {
"enum": [
97,
129,
161,
193,
225,
257
],
"type": "integer",
"title": "length",
"description": "Length of the output video in frames",
"default": 97,
"x-order": 8
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "best quality, 4k, HDR, a tracking shot of a beautiful scene",
"x-order": 0,
"description": "Text prompt for the video. This model needs long descriptive prompts, if the prompt is too short the quality won't be good."
},
"target_size": {
"enum": [
512,
576,
640,
704,
768,
832,
896,
960,
1024
],
"type": "integer",
"title": "target_size",
"description": "Target size for the output video",
"default": 640,
"x-order": 4
},
"aspect_ratio": {
"enum": [
"1:1",
"1:2",
"2:1",
"2:3",
"3:2",
"3:4",
"4:3",
"4:5",
"5:4",
"9:16",
"16:9",
"9:21",
"21:9"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio of the output video. Ignored if an image is provided.",
"default": "3:2",
"x-order": 5
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "low quality, worst quality, deformed, distorted",
"x-order": 1,
"description": "Things you do not want to see in your video"
},
"image_noise_scale": {
"type": "number",
"title": "Image Noise Scale",
"default": 0.15,
"maximum": 1,
"minimum": 0,
"x-order": 3,
"description": "Lower numbers stick more closely to the input 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"
}