Texture Mesh
Create Run
POST

/texture-mesh/run

Authorization*
x-api-key*
curl --request POST \
  --url https://api.mirageml.com/texture-mesh/run \
  --header 'Authorization: <authorization>' \
  --header 'x-api-key: <x-api-key>' \
  --data '{
  "project-id": "<project-id>"
}'

Description

Run a texture generation task with the requested parameters. Will be associated with mesh created

Form Data

project-idrequired
string

The id of the project

prompt
string
generate-maps
boolean
image-typeDefault: "init"
enum

Enum: init, color

super-resolutionDefault: "0"
enum

Enum: 512, 1024, 2048, 4096

square-funcDefault: "scale"
enum

Enum: scale, crop

make-tileable
boolean
files[]
files
curl -X POST \
  https://api.mirageml.com/texture-mesh/run \
  -H 'Authorization: <AUTHORIZATION>' \
  -H 'Cache-Control: no-cache' \
  -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
  -H 'x-api-key: <API_KEY>' \
  -F project-id=<PROJECT_ID> \
  -F prompt=<PROMPT> \
  -F image-type=<IMAGE_TYPE> \
  -F generate-maps=<GENERATE_MAPS> \
  -F super-resolution=<SUPER_RESOLUTION> \
  -F square-func=<SQUARE_FUNC> \
  -f make-tileable=<TILEABLE> \
  -F files=<FILES> \
{
  "statusCode": 200,
  "run_id": "433db382-d08a-4543-bbd7-b6aa28683745"
}