glina create
Invocation
glina create <prompt> [--race <race>] [--out <dir>] [--config <path>]
Purpose
Run the hosted-studio text-to-game job through Weles and produce a verified game asset.
Inputs and options
<prompt>is required; all positional words are joined with spaces.--race <race>prefixes the prompt with the race word and records the race in the job input. The CLI does not constrain the value.--out <dir>selects the output directory; the pipeline default isassets/models.--config <path>selects the pipeline JSON; otherwise the repository'spipeline.config.jsonis used.
Output and state
Drives the configured browser workflow through the browser layer the config declares (browser.weles or, without Weles, browser.playwright_mcp), downloads and processes the asset, runs verification, writes <out>/<name>.glb where the name is the prompt's letters and digits joined by hyphens, and prints {outPath, processedPath, artifactUrl, prompt, verification} as JSON. A prompt with no letters or digits is refused.
Refusals
An empty prompt writes exactly error: create requires a prompt to stderr and exits 2. Configuration, Weles, download, processing, or verification errors are printed as error: <message> and exit 1.