pranavsekhar/seedream4-slideshow
Forked from pranavsekhar/nano-banana-slideshow
Forked from pranavsekhar/nano-banana-slideshow
Run pranavsekhar/seedream4-slideshow 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
|
Main prompt for the base image (e.g., 'a nice garden with fairy lights and a house in the background')
|
|
input_image |
string
|
Optional starting image to use as base (if not provided, will generate from prompt)
|
|
num_variations |
integer
|
20
Min: 1 Max: 50 |
Number of foreground variations to generate
|
seconds_per_image |
number
|
0.2
Min: 0.1 Max: 2 |
Duration each image should show in the video (seconds)
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Main prompt for the base image (e.g., 'a nice garden with fairy lights and a house in the background')"
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 1,
"nullable": true,
"description": "Optional starting image to use as base (if not provided, will generate from prompt)"
},
"num_variations": {
"type": "integer",
"title": "Num Variations",
"default": 20,
"maximum": 50,
"minimum": 1,
"x-order": 2,
"description": "Number of foreground variations to generate"
},
"seconds_per_image": {
"type": "number",
"title": "Seconds Per Image",
"default": 0.2,
"maximum": 2,
"minimum": 0.1,
"x-order": 3,
"description": "Duration each image should show in the video (seconds)"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "object",
"title": "Output",
"required": [
"video",
"variations_used"
],
"properties": {
"video": {
"type": "string",
"title": "Video",
"format": "uri"
},
"variations_used": {
"type": "string",
"title": "Variations Used"
}
}
}