Skip to main content
Glama

three.ws for Grok

Refine a 3D model by describing a change

refine_model

Iterate on a model you already generated: just describe the change in words ("make it metallic", "bigger helmet", "add wings"). The studio re-generates a new version anchored to the previous one, carrying its form and materials forward. Pass the previous model's glb_url and, when you have it, the prompt that made it (parent_prompt) so the change builds on it. Each refinement is recorded as a new version in a lineage you can revert to or branch from, and the returned lineage drives a version strip in the viewer. Renders the new version inline in the interactive 3D viewer. Use this instead of a fresh generation when the user wants to change a model they already have.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
glb_urlYeshttp(s) URL of the model to refine (e.g. the glbUrl a previous generation returned).
instructionYesThe change to make, in plain language: "make it metallic", "bigger helmet", "add a cape".
parent_indexNoOptional: branch off an earlier version in parent_lineage (its index) instead of the latest.
parent_promptNoOptional: the prompt that produced the model being refined, so the change builds on it instead of starting over.
parent_lineageNoOptional: the lineage array from a previous refine_model result, to extend the same version history.
idempotency_keyNoOptional retry key. Send the same key again (same caller, same arguments, within 24 hours) and you get the original job back instead of a second generation, so a retry after a timeout cannot burn quota twice. Use a fresh key for each distinct request. A failed attempt is not remembered, so its key can be reused.
reference_image_urlNoOptional http(s) image of the current model to anchor the re-generation (image→3D). Omit for text-guided refinement.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.