import requests r = requests.post( "https://api.aimlapi.com/v1/images/generations", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "meshy/v6/image-to-3d", "prompt": "A studio photo of a red ceramic mug on a white table" }, ) print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/images/generations", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "meshy/v6/image-to-3d", "prompt": "A studio photo of a red ceramic mug on a white table" }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/images/generations \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"meshy/v6/image-to-3d","prompt":"A studio photo of a red ceramic mug on a white table"}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Output | |
Billed per generation. Each response reports the credits and the USD spent for that call in its meta object.
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Meshy 6 Image to 3D This page | Image generation | |||
| Image generation at scale | ||||
| Image generation at scale | ||||
| Image generation at scale |
It builds a textured 3D mesh from a single reference image. You pass one image and get back a downloadable model, so a photograph or a concept render becomes a usable asset without manual sculpting or retopology.
JPG, JPEG, PNG, AVIF and HEIF. The image is passed as image_url, either as a URL or as a Base64 data URI.
target_polycount accepts 100 to 300,000. The default is 30,000 in standard mode and 4,000 in smart-topology mode, which is capped at 15,000.
Yes. topology takes triangle, the default, or quad, so the mesh can be handed to a pipeline that expects quads. Three reconstruction modes are available through model_type: standard, lowpoly and smart-topology.
Texturing is on by default through should_texture. enable_pbr adds physically based maps, and texture_prompt accepts up to 600 characters to steer the surface.
pose_mode accepts a-pose or t-pose, which gives a predictable starting position for characters that will be rigged. symmetry_mode takes off, auto (the default) or on.
It is billed per generation, at $1.04 per generation through AI/ML API. Each response reports the credits and the USD spent for that call in its meta object.