Drama-3 / workflow.json
zhaochenyang20's picture andito's picture
andito HF Staff
Replace ZeroGPU demo with Gradio studio and H200 endpoint (#6)
e9cf2ae
Raw History Blame Contribute Delete
5.11 kB
{
"schema_version": "2",
"name": "Direct a Drama 3 performance",
"references": [
{
"id": "ref_text",
"label": "Script",
"role": "reference",
"asset_type": "text",
"inputs": [
{
"id": "in",
"label": "Script",
"type": "text",
"default_value": "[sighs] Fine. If we miss it, it's on you. [laughs] Well, maybe that's fair."
}
],
"outputs": [
{
"id": "out",
"label": "Script",
"type": "text"
}
],
"data": {
"in": "[sighs] Fine. If we miss it, it's on you. [laughs] Well, maybe that's fair.",
"out": "[sighs] Fine. If we miss it, it's on you. [laughs] Well, maybe that's fair."
},
"x": 20,
"y": 0,
"width": 240,
"value": "[sighs] Fine. If we miss it, it's on you. [laughs] Well, maybe that's fair."
},
{
"id": "ref_mode",
"label": "Voice mode",
"role": "reference",
"asset_type": "text",
"inputs": [
{
"id": "in",
"label": "Voice mode",
"type": "text",
"default_value": "Surprise",
"choices": [
"Surprise",
"Clone",
"Design"
]
}
],
"outputs": [
{
"id": "out",
"label": "Voice mode",
"type": "text"
}
],
"data": {
"in": "Surprise",
"out": "Surprise"
},
"x": 20,
"y": 150,
"width": 240,
"value": "Surprise"
},
{
"id": "ref_voice_id",
"label": "Preset voice",
"role": "reference",
"asset_type": "text",
"inputs": [
{
"id": "in",
"label": "Preset voice",
"type": "text",
"default_value": "clone1",
"choices": [
"clone1",
"clone2",
"clone3"
]
}
],
"outputs": [
{
"id": "out",
"label": "Preset voice",
"type": "text"
}
],
"data": {
"in": "clone1",
"out": "clone1"
},
"x": 20,
"y": 300,
"width": 240,
"value": "clone1"
},
{
"id": "ref_description",
"label": "Voice description",
"role": "reference",
"asset_type": "text",
"inputs": [
{
"id": "in",
"label": "Voice description",
"type": "text",
"default_value": "warm, intimate late-night radio host"
}
],
"outputs": [
{
"id": "out",
"label": "Voice description",
"type": "text"
}
],
"data": {
"in": "warm, intimate late-night radio host",
"out": "warm, intimate late-night radio host"
},
"x": 20,
"y": 450,
"width": 240,
"value": "warm, intimate late-night radio host"
}
],
"operators": [
{
"id": "op_drama",
"label": "Drama 3 \u00b7 Perform",
"role": "operator",
"kind": "fn",
"fn": "direct_performance",
"inputs": [
{
"id": "in_text",
"label": "text",
"type": "text"
},
{
"id": "in_mode",
"label": "mode",
"type": "text"
},
{
"id": "in_voice_id",
"label": "voice_id",
"type": "text"
},
{
"id": "in_description",
"label": "description",
"type": "text"
}
],
"outputs": [
{
"id": "audio",
"label": "Take",
"type": "audio"
}
],
"data": {},
"x": 360,
"y": 180,
"width": 280
}
],
"subjects": [
{
"id": "take",
"label": "Performance",
"role": "subject",
"asset_type": "audio",
"inputs": [
{
"id": "in",
"label": "Audio",
"type": "audio"
}
],
"outputs": [],
"data": {},
"x": 760,
"y": 180,
"width": 280
}
],
"edges": [
{
"id": "edge_text",
"from_node_id": "ref_text",
"from_port_id": "out",
"to_node_id": "op_drama",
"to_port_id": "in_text",
"type": "text"
},
{
"id": "edge_mode",
"from_node_id": "ref_mode",
"from_port_id": "out",
"to_node_id": "op_drama",
"to_port_id": "in_mode",
"type": "text"
},
{
"id": "edge_voice_id",
"from_node_id": "ref_voice_id",
"from_port_id": "out",
"to_node_id": "op_drama",
"to_port_id": "in_voice_id",
"type": "text"
},
{
"id": "edge_description",
"from_node_id": "ref_description",
"from_port_id": "out",
"to_node_id": "op_drama",
"to_port_id": "in_description",
"type": "text"
},
{
"id": "edge_audio",
"from_node_id": "op_drama",
"from_port_id": "audio",
"to_node_id": "take",
"to_port_id": "in",
"type": "audio"
}
]
}