idol-studio / workflow.json
akhaliq's picture
akhaliq HF Staff
Fix arg misalignment: inputs order must match fn signature (positional call)
e73e718 verified
Raw History Blame Contribute Delete
5 kB
{
"schema_version": "2",
"name": "Idol Workflow",
"references": [
{
"id": "ref_source",
"label": "Source Image",
"role": "reference",
"asset_type": "image",
"inputs": [{"id": "in", "label": "Image", "type": "image"}],
"outputs": [{"id": "out", "label": "Image", "type": "image"}],
"x": 40,
"y": 40,
"width": 220,
"height": 130,
"data": {}
},
{
"id": "ref_mode",
"label": "Input Type (Synthetic / Real photo)",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 40,
"y": 210,
"width": 220,
"height": 90,
"data": {"out": "Synthetic"}
},
{
"id": "ref_gaussians",
"label": "Gaussians",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 40,
"y": 330,
"width": 150,
"height": 90,
"data": {"out": "262,144"}
},
{
"id": "ref_steps",
"label": "Steps",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 210,
"y": 330,
"width": 120,
"height": 90,
"data": {"out": "50"}
},
{
"id": "ref_cfg",
"label": "Guidance Scale",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 40,
"y": 450,
"width": 150,
"height": 90,
"data": {"out": "3.0"}
},
{
"id": "ref_rescale",
"label": "Time Shift",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 210,
"y": 450,
"width": 120,
"height": 90,
"data": {"out": "3.0"}
},
{
"id": "ref_seed",
"label": "Seed",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 40,
"y": 570,
"width": 120,
"height": 90,
"data": {"out": "42"}
}
],
"operators": [
{
"id": "op_idol",
"label": "Idol: Image → 3D",
"role": "operator",
"kind": "fn",
"fn": "idol_generate",
"inputs": [
{"id": "image", "label": "Image", "type": "image", "required": true},
{"id": "mode", "label": "Input Type", "type": "text"},
{"id": "steps", "label": "Steps", "type": "text"},
{"id": "cfg_scale", "label": "Guidance Scale", "type": "text"},
{"id": "rescale_t", "label": "Time Shift", "type": "text"},
{"id": "seed", "label": "Seed", "type": "text"},
{"id": "gaussians", "label": "Gaussians", "type": "text"}
],
"outputs": [{"id": "out_0", "label": "Gaussian Splat (.ply)", "type": "model3d", "output_index": 0}],
"x": 440,
"y": 180,
"width": 250,
"height": 240,
"data": {}
}
],
"subjects": [
{
"id": "sub_model",
"label": "3D Gaussian Splat",
"role": "subject",
"asset_type": "model3d",
"inputs": [{"id": "in", "label": "Model", "type": "model3d"}],
"outputs": [{"id": "out", "label": "Model", "type": "model3d"}],
"x": 790,
"y": 220,
"width": 240,
"height": 120,
"data": {}
}
],
"edges": [
{"id": "e_source", "from_node_id": "ref_source", "from_port_id": "out", "to_node_id": "op_idol", "to_port_id": "image", "type": "image"},
{"id": "e_mode", "from_node_id": "ref_mode", "from_port_id": "out", "to_node_id": "op_idol", "to_port_id": "mode", "type": "text"},
{"id": "e_gaussians", "from_node_id": "ref_gaussians", "from_port_id": "out", "to_node_id": "op_idol", "to_port_id": "gaussians", "type": "text"},
{"id": "e_steps", "from_node_id": "ref_steps", "from_port_id": "out", "to_node_id": "op_idol", "to_port_id": "steps", "type": "text"},
{"id": "e_cfg", "from_node_id": "ref_cfg", "from_port_id": "out", "to_node_id": "op_idol", "to_port_id": "cfg_scale", "type": "text"},
{"id": "e_rescale", "from_node_id": "ref_rescale", "from_port_id": "out", "to_node_id": "op_idol", "to_port_id": "rescale_t", "type": "text"},
{"id": "e_seed", "from_node_id": "ref_seed", "from_port_id": "out", "to_node_id": "op_idol", "to_port_id": "seed", "type": "text"},
{"id": "e_model", "from_node_id": "op_idol", "from_port_id": "out_0", "to_node_id": "sub_model", "to_port_id": "in", "type": "model3d"}
],
"view": {"default": "canvas"}
}