POST
/
texture-mesh
/
run
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"
}

Description

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

Form Data

project-id
string
required

The id of the project

prompt
string
generate-maps
boolean
image-type
enum
default: "init"

Enum: init, color

super-resolution
enum
default: "0"

Enum: 512, 1024, 2048, 4096

square-func
enum
default: "scale"

Enum: scale, crop

make-tileable
boolean
files[]
files