1. Texture Mesh
  2. Create Project
POST

/texture-mesh/project/create

Authorization*
x-api-key*

Description

Create a mesh with prompt and mesh algorithm

Form Data

promptRequired
string

The input prompt.

Enum (get3d): car, motorbike, chair, table, rocket, airplane, train

mesh-algorithmDefault: point-e
string

Enum: point-e, get3d, dreamfusion

The underlying algorithm to use for generating the mesh.

guidanceDefault: base1B
string

Enum (point-e): base40M, base300M, base1B

Number of parameters used to create model.

Enum (dreamfusion): clip, stable-diffusion

CLIP and Stable Diffusion are text-to-image embedding models used.

train-iterationsDefault: 3
number

Point-E: How much the image impacts the final output

Dreamfusion: 100 iterations are recommended for highest quality results, fewer iterations will finish faster

stable-diffusion-checkpointDefault: stabilityai/stable-diffusion-2-1-base
string

Change the stable diffusion checkpoint. You can use any public Hugging Face Checkpoint.

polygonDefault: tris
string

Enum: tris, quads

The type of polygons to use when generating the mesh

negative-prompt
string

Use Negative Prompt to suppress output

links
string

JSON object of links to images to download. Example:

{"0": "https://sabe.io/images/saturn.png" }
files[]
files
curl -X 'POST' \
  'https://api.mirageml.com/texture-mesh/project/create' \
  -H 'Authorization: <AUTHORIZATION>' \
  -H 'Cache-Control: no-cache' \
  -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
  -H 'x-api-key: <API_KEY>' \
  -F prompt=<PROMPT> \
  -F 'files[]=<FILES>' \
{
  "statusCode": 200,
  "project_id": "66bb509b-7888-427a-b9fc-1a915a46fba0"
}