
andreasjansson/fractal
Run andreasjansson/fractal 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
|
|
output_format |
None
|
webp
|
None
|
num_frames |
integer
|
60
Min: 3 Max: 200 |
None
|
fps |
integer
|
24
Min: 1 Max: 100 |
Frames per second for the animation
|
seed |
integer
|
Max: 2147483647 |
Random seed for reproducible results. Leave empty for random seed.
|
inpaint_model |
None
|
ideogram
|
None
|
border_start |
number
|
0.2
Min: 0.1 Max: 0.4 |
None
|
border_width |
number
|
0.2
Min: 0.1 Max: 0.4 |
None
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"fps": {
"type": "integer",
"title": "Fps",
"default": 24,
"maximum": 100,
"minimum": 1,
"x-order": 3,
"description": "Frames per second for the animation"
},
"seed": {
"type": "integer",
"title": "Seed",
"maximum": 2147483647,
"minimum": 0,
"x-order": 4,
"nullable": true,
"description": "Random seed for reproducible results. Leave empty for random seed."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0
},
"num_frames": {
"type": "integer",
"title": "Num Frames",
"default": 60,
"maximum": 200,
"minimum": 3,
"x-order": 2
},
"border_start": {
"type": "number",
"title": "Border Start",
"default": 0.2,
"maximum": 0.4,
"minimum": 0.1,
"x-order": 6
},
"border_width": {
"type": "number",
"title": "Border Width",
"default": 0.2,
"maximum": 0.4,
"minimum": 0.1,
"x-order": 7
},
"inpaint_model": {
"enum": [
"flux",
"ideogram"
],
"type": "string",
"title": "inpaint_model",
"description": "An enumeration.",
"default": "ideogram",
"x-order": 5
},
"output_format": {
"enum": [
"gif",
"webp",
"mp4"
],
"type": "string",
"title": "output_format",
"description": "An enumeration.",
"default": "webp",
"x-order": 1
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}
'https://replicate.delivery/xezq/0AMMU7d9V6KQJhZlJl3JvgL0HOvbFOzQ1CXOeWP6UrsfvhKVA/output.mp4'