
superhighfives/dithercam
Forked from mattrothenberg/dithercam
Forked from mattrothenberg/dithercam
Run superhighfives/dithercam 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
|
Describe the image to generate (or animation if using input image)
|
|
input_image |
string
|
Optional: provide an image to skip generation and go straight to video
|
|
aspect_ratio |
None
|
1:1
|
Aspect ratio (only used for image generation)
|
video_prompt |
string
|
|
Prompt for video animation
|
resolution |
None
|
480p
|
Video resolution
|
frames_per_second |
integer
|
16
Min: 5 Max: 24 |
Frames per second
|
num_frames |
integer
|
81
Min: 81 Max: 100 |
Number of frames
|
color_hex |
string
|
|
Hex color for tinting the monochrome frames (e.g., #FF5733)
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Describe the image to generate (or animation if using input image)"
},
"color_hex": {
"type": "string",
"title": "Color Hex",
"default": "",
"x-order": 7,
"description": "Hex color for tinting the monochrome frames (e.g., #FF5733)"
},
"num_frames": {
"type": "integer",
"title": "Num Frames",
"default": 81,
"maximum": 100,
"minimum": 81,
"x-order": 6,
"description": "Number of frames"
},
"resolution": {
"enum": [
"480p",
"720p"
],
"type": "string",
"title": "resolution",
"description": "Video resolution",
"default": "480p",
"x-order": 4
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 1,
"nullable": true,
"description": "Optional: provide an image to skip generation and go straight to video"
},
"aspect_ratio": {
"enum": [
"1:1",
"9:16",
"16:9",
"4:3",
"3:4",
"3:2",
"2:3"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio (only used for image generation)",
"default": "1:1",
"x-order": 2
},
"video_prompt": {
"type": "string",
"title": "Video Prompt",
"default": "",
"x-order": 3,
"description": "Prompt for video animation"
},
"frames_per_second": {
"type": "integer",
"title": "Frames Per Second",
"default": 16,
"maximum": 24,
"minimum": 5,
"x-order": 5,
"description": "Frames per second"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}