[{"data":1,"prerenderedAt":273},["ShallowReactive",2],{"docs-page-meta":3,"docs-page-\u002Fgetting-started\u002Fflow":32},{"pageMeta":4,"generatedAt":31},{"\u002Fall-endpoints\u002Fcreate-flow":5,"\u002Fall-endpoints\u002Fdelete-flow":7,"\u002Fall-endpoints\u002Fget-flow-input":8,"\u002Fall-endpoints\u002Fget-flow-output":9,"\u002Fall-endpoints\u002Fget-flow":10,"\u002Fall-endpoints\u002Fget-template":11,"\u002Fall-endpoints\u002Flist-flow-inputs":12,"\u002Fall-endpoints\u002Flist-flow-outputs":13,"\u002Fall-endpoints\u002Flist-flows":14,"\u002Fall-endpoints\u002Flist-templates":15,"\u002Fall-endpoints\u002Fstart-abort-flow":16,"\u002Fall-endpoints\u002Fupload-flow-input":17,"\u002Fgetting-started\u002Fauthentication":18,"\u002Fgetting-started\u002Fflow-lifecycle":19,"\u002Fgetting-started\u002Fflow":21,"\u002Fgetting-started\u002Fopenapi":22,"\u002Fgetting-started\u002Fplans-and-policies":23,"\u002Fgetting-started\u002Fquickstart":24,"\u002Fgetting-started\u002Ftemplate-helpers":25,"\u002Fgetting-started\u002Ftemplate-image-to-3d":26,"\u002Fgetting-started\u002Ftemplate-optimize-model":27,"\u002Fgetting-started\u002Ftemplate-text-to-3d":28,"\u002Fgetting-started\u002Ftemplates":29,"\u002Fgetting-started\u002Ftroubleshooting":30},{"lastUpdated":6},"2026-08-14T13:36:05.144Z",{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":6},{"lastUpdated":20},"2026-08-14T13:36:05.145Z",{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},{"lastUpdated":20},"2026-08-14T13:38:49.206Z",{"id":33,"title":34,"body":35,"description":265,"extension":266,"meta":267,"navigation":268,"path":269,"seo":270,"stem":271,"__hash__":272},"docs\u002Fgetting-started\u002Fflow.md","Flow",{"type":36,"value":37,"toc":250},"minimark",[38,42,46,51,58,61,65,70,73,96,100,103,114,118,125,129,136,140,147,164,170,180,184,210,214],[39,40,34],"h1",{"id":41},"flow",[43,44,45],"p",{},"This page gives you the core model for the Flows API before you dive into endpoint-by-endpoint details.",[47,48,50],"h2",{"id":49},"mental-model","Mental Model",[43,52,53,54,57],{},"A ",[55,56,34],"strong",{}," is an asynchronous, multi-step workflow that turns your input into a finished 3D asset. You pick a template and provide the input; the Flow handles the processing steps needed to generate or optimize the model.",[59,60],"docs-flow-diagram",{},[47,62,64],{"id":63},"core-objects","Core Objects",[66,67,69],"h3",{"id":68},"template","Template",[43,71,72],{},"A template defines the pipeline type. Common examples:",[74,75,76,84,90],"ul",{},[77,78,79,83],"li",{},[80,81,82],"code",{},"model_generate_fromprompt"," for text to 3D",[77,85,86,89],{},[80,87,88],{},"model_generate_fromimage"," for image to 3D",[77,91,92,95],{},[80,93,94],{},"model_optimize"," for optimizing an existing 3D model",[66,97,99],{"id":98},"inputs","Inputs",[43,101,102],{},"Inputs are the data sent to the template, for example:",[74,104,105,108,111],{},[77,106,107],{},"text prompts",[77,109,110],{},"image data",[77,112,113],{},"3D model data",[66,115,117],{"id":116},"outputs","Outputs",[43,119,120,121,124],{},"Outputs are produced after successful processing. Use ",[80,122,123],{},"asset_id"," to fetch a specific output asset.",[66,126,128],{"id":127},"assets","Assets",[43,130,131,132,135],{},"Assets are downloadable artifacts (for example ",[80,133,134],{},".glb"," output files) associated with a flow output.",[47,137,139],{"id":138},"polling-and-terminal-states","Polling And Terminal States",[43,141,142,143,146],{},"After flow creation, poll ",[80,144,145],{},"GET \u002Fflows\u002F{flow_id}"," until the flow reaches one of these terminal states:",[74,148,149,154,159],{},[77,150,151],{},[80,152,153],{},"completed",[77,155,156],{},[80,157,158],{},"failed",[77,160,161],{},[80,162,163],{},"aborted",[43,165,166,167,169],{},"Only fetch output assets when the flow is ",[80,168,153],{},".",[43,171,172,173,169],{},"For full state-by-state behavior, see ",[174,175,177],"a",{"href":176},"\u002Fgetting-started\u002Fflow-lifecycle",[55,178,179],{},"Flow Lifecycle",[47,181,183],{"id":182},"recommended-client-flow","Recommended Client Flow",[185,186,187,190,196,199,202,207],"ol",{},[77,188,189],{},"Create a flow.",[77,191,192,193,169],{},"Validate response and store ",[80,194,195],{},"flow_id",[77,197,198],{},"Poll status with a fixed interval (for example every 3 to 5 seconds).",[77,200,201],{},"Stop polling on terminal state.",[77,203,204,205,169],{},"If completed, list outputs and download by ",[80,206,123],{},[77,208,209],{},"If failed or aborted, inspect details and retry with corrected input when appropriate.",[47,211,213],{"id":212},"where-to-go-next","Where To Go Next",[185,215,216,225,234,241],{},[77,217,218,219,169],{},"Run a complete end-to-end example in ",[174,220,222],{"href":221},"\u002Fgetting-started\u002Fquickstart",[55,223,224],{},"Quickstart",[77,226,227,228,169],{},"Learn template selection and payload shapes in ",[174,229,231],{"href":230},"\u002Fgetting-started\u002Ftemplates",[55,232,233],{},"Templates",[77,235,236,237,169],{},"Review state transitions in ",[174,238,239],{"href":176},[55,240,179],{},[77,242,243,244,169],{},"Diagnose failures in ",[174,245,247],{"href":246},"\u002Fgetting-started\u002Ftroubleshooting",[55,248,249],{},"Troubleshooting",{"title":251,"searchDepth":252,"depth":252,"links":253},"",2,[254,255,262,263,264],{"id":49,"depth":252,"text":50},{"id":63,"depth":252,"text":64,"children":256},[257,259,260,261],{"id":68,"depth":258,"text":69},3,{"id":98,"depth":258,"text":99},{"id":116,"depth":258,"text":117},{"id":127,"depth":258,"text":128},{"id":138,"depth":252,"text":139},{"id":182,"depth":252,"text":183},{"id":212,"depth":252,"text":213},"Core concepts for the Generio Flows API","md",{},true,"\u002Fgetting-started\u002Fflow",{"title":34,"description":265},"getting-started\u002Fflow","KyDLbTYP3LP3S7Vo6IMx11J2WV0rT8-A9ffW0a0W8HI",1786714762611]