christophy
/
cogvideox
- Public
- 1 run
Run christophy/cogvideox 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
|
Prompt
|
|
steps |
integer
|
50
Min: 1 Max: 120 |
# of inference steps, more steps can improve quality.
|
guidance |
number
|
6
Max: 12 |
The scale for classifier-free guidance, higher guidance can improve adherence to your prompt.
|
num_outputs |
integer
|
1
|
# of output videos
|
seed |
integer
|
42
|
Seed for reproducibility.
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 42,
"x-order": 4,
"description": "Seed for reproducibility."
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 50,
"maximum": 120,
"minimum": 1,
"x-order": 1,
"description": "# of inference steps, more steps can improve quality."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt"
},
"guidance": {
"type": "number",
"title": "Guidance",
"default": 6,
"maximum": 12,
"minimum": 0,
"x-order": 2,
"description": "The scale for classifier-free guidance, higher guidance can improve adherence to your prompt."
},
"num_outputs": {
"type": "integer",
"title": "Num Outputs",
"default": 1,
"x-order": 3,
"description": "# of output videos"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}