enhancerandroid02/flix_templates_2.0_staging
Run enhancerandroid02/flix_templates_2.0_staging 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 |
|---|---|---|---|
| image |
string
|
|
Input image
|
| template |
string
|
|
Video effect template (None = normal i2v)
|
| prompt |
string
|
|
Custom prompt (only when template=None)
|
| width |
integer
|
540
Min: 64 Max: 2048 |
Video width
|
| height |
integer
|
960
Min: 64 Max: 2048 |
Video height
|
| length |
integer
|
81
Min: 9 Max: 121 |
Number of frames
|
| steps |
integer
|
4
Min: 1 Max: 50 |
Sampling steps
|
| fps |
integer
|
16
Min: 1 Max: 60 |
Frames per second
|
| seed |
integer
|
0
|
Seed
|
{
"type": "object",
"title": "Input",
"properties": {
"fps": {
"type": "integer",
"title": "Fps",
"default": 16,
"maximum": 60,
"minimum": 1,
"x-order": 7,
"description": "Frames per second"
},
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"x-order": 8,
"description": "Seed"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"default": "",
"x-order": 0,
"description": "Input image"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 4,
"maximum": 50,
"minimum": 1,
"x-order": 6,
"description": "Sampling steps"
},
"width": {
"type": "integer",
"title": "Width",
"default": 540,
"maximum": 2048,
"minimum": 64,
"x-order": 3,
"description": "Video width"
},
"height": {
"type": "integer",
"title": "Height",
"default": 960,
"maximum": 2048,
"minimum": 64,
"x-order": 4,
"description": "Video height"
},
"length": {
"type": "integer",
"title": "Length",
"default": 81,
"maximum": 121,
"minimum": 9,
"x-order": 5,
"description": "Number of frames"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 2,
"description": "Custom prompt (only when template=None)"
},
"template": {
"type": "string",
"title": "Template",
"default": "",
"x-order": 1,
"description": "Video effect template (None = normal i2v)"
}
}
}
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"
}