TourmalineTourmaline
Api

generate

POST
/generate

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/generate" \  -H "Content-Type: application/json" \  -d '{    "shader": "moire",    "colors": [      "string",      "string"    ]  }'
{  "success": true,  "result": {    "id": "string",    "url": "string",    "seed": 0,    "generated_at": "string",    "template": "string",    "width": 0,    "height": 0,    "aspect_ratio": "string"  }}