ddvinh1/cel-test
Public
45
runs
Run ddvinh1/cel-test 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 |
---|---|---|---|
message |
string
|
User message to generate Trump response for
|
|
recent_news |
string
|
|
Recent news context for Trump response
|
chat_history |
string
|
[]
|
JSON string of chat history
|
audio_prompt_path |
string
|
Optional reference audio file to condition the voice
|
|
repetition_penalty |
number
|
1.2
|
Penalty to reduce repetition
|
min_p |
number
|
0.05
|
Minimum probability mass for sampling
|
top_p |
number
|
1
|
Top-p nucleus sampling
|
cfg_weight |
number
|
0.5
|
Classifier-free guidance weight
|
temperature |
number
|
0.8
|
Softmax temperature
|
exaggeration |
number
|
0.5
|
Controls expressiveness
|
seed |
integer
|
Random seed for determinism
|
|
lipsync_face |
string
|
Image or video for lip-sync (face)
|
|
generate_lip_sync |
boolean
|
False
|
Generate lip-synced video
|
wav2lip_model |
None
|
wav2lip
|
Wav2Lip model variant
|
fps |
number
|
25
|
FPS for lip-sync video
|
out_height |
integer
|
480
|
Output video height
|
negative_prompt |
string
|
|
Negative prompt
|
{
"type": "object",
"title": "Input",
"required": [
"message"
],
"properties": {
"fps": {
"type": "number",
"title": "Fps",
"default": 25,
"x-order": 14,
"description": "FPS for lip-sync video"
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 10,
"nullable": true,
"description": "Random seed for determinism"
},
"min_p": {
"type": "number",
"title": "Min P",
"default": 0.05,
"x-order": 5,
"description": "Minimum probability mass for sampling"
},
"top_p": {
"type": "number",
"title": "Top P",
"default": 1,
"x-order": 6,
"description": "Top-p nucleus sampling"
},
"message": {
"type": "string",
"title": "Message",
"x-order": 0,
"description": "User message to generate Trump response for"
},
"cfg_weight": {
"type": "number",
"title": "Cfg Weight",
"default": 0.5,
"x-order": 7,
"description": "Classifier-free guidance weight"
},
"out_height": {
"type": "integer",
"title": "Out Height",
"default": 480,
"x-order": 15,
"description": "Output video height"
},
"recent_news": {
"type": "string",
"title": "Recent News",
"default": "",
"x-order": 1,
"description": "Recent news context for Trump response"
},
"temperature": {
"type": "number",
"title": "Temperature",
"default": 0.8,
"x-order": 8,
"description": "Softmax temperature"
},
"chat_history": {
"type": "string",
"title": "Chat History",
"default": "[]",
"x-order": 2,
"description": "JSON string of chat history"
},
"exaggeration": {
"type": "number",
"title": "Exaggeration",
"default": 0.5,
"x-order": 9,
"description": "Controls expressiveness"
},
"lipsync_face": {
"type": "string",
"title": "Lipsync Face",
"format": "uri",
"x-order": 11,
"nullable": true,
"description": "Image or video for lip-sync (face)"
},
"wav2lip_model": {
"enum": [
"wav2lip",
"wav2lip_gan"
],
"type": "string",
"title": "wav2lip_model",
"description": "Wav2Lip model variant",
"default": "wav2lip",
"x-order": 13
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "",
"x-order": 16,
"description": "Negative prompt"
},
"audio_prompt_path": {
"type": "string",
"title": "Audio Prompt Path",
"format": "uri",
"x-order": 3,
"nullable": true,
"description": "Optional reference audio file to condition the voice"
},
"generate_lip_sync": {
"type": "boolean",
"title": "Generate Lip Sync",
"default": false,
"x-order": 12,
"description": "Generate lip-synced video"
},
"repetition_penalty": {
"type": "number",
"title": "Repetition Penalty",
"default": 1.2,
"x-order": 4,
"description": "Penalty to reduce repetition"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "object",
"title": "Output",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"anyOf": [],
"format": "uri"
}
]
}
}