Skip to main content
The easiest way to use the Gizmo API is through a coding agent. You describe what you need (“a set of kitchen props for MuJoCo”), and the agent submits the jobs, waits for them, and saves the exported files into your project.

Setup

  1. In Gizmo, select Personal (or your Team) and create a key in API Access. The Generate from code panel on the Gizmo home page has the same Create API key button, plus a Copy guide button that copies the instructions below.
  2. Make the key available to your agent as the environment variable GIZMO_API_KEY.
  3. Paste the instructions below into your agent, then give it a task.
Agents can also read these docs directly: llms.txt indexes every page, and the OpenAPI specification has the exact request and response schemas.

Agent instructions

Example tasks

  • “Generate a wooden cabinet with three working drawers and save its MJCF export to assets/cabinet/.”
  • “Recreate the chair in photos/chair-front.jpg and photos/chair-side.jpg and download it as USDZ.”
  • “Read props.csv, generate every item as one batch, and save each asset’s USD export under its custom_id.”
  • “Generate a coffee mug with 5 appearance variations and save all six as GLB bundles.”

What a good run looks like

The agent should confirm the asset list with you, submit, save every job_id, poll until each job finishes, download the formats you asked for, and finish with a short report: one line per asset with its ID, status and saved file. If a job fails, it should report job.error instead of quietly resubmitting and spending more credits. See the API quickstart for the same workflow step by step.