Use the Meshy.ai REST API to generate assets: (1) text-to-2d (Meshy Text to Image) and (2) image-to-3d, then download outputs locally. Use when the user wants Meshy generations, needs polling async tasks, and especially when they want the resulting OBJ saved to disk. Requires MESHY_API_KEY in the environment.
Generate Meshy assets via API and save outputs locally.
MESHY_API_KEY=msy-...MESHY_BASE_URL (defaults to https://api.meshy.ai)Use scripts/text_to_image.py.
python3 skills/public/meshy-ai/scripts/text_to_image.py \
--prompt "a cute robot mascot, flat vector style" \
--out-dir ./meshy-out
./meshy-out/text-to-image_<taskId>_<slug>/.Use scripts/image_to_3d_obj.py.
python3 skills/public/meshy-ai/scripts/image_to_3d_obj.py \
--image ./input.png \
--out-dir ./meshy-out
python3 skills/public/meshy-ai/scripts/image_to_3d_obj.py \
--image-url "https://.../input.png" \
--out-dir ./meshy-out
model.obj (and model.mtl if provided by Meshy) into ./meshy-out/image-to-3d_<taskId>_<slug>/.status=SUCCEEDED → download URLs.references/api-notes.md.