MelonsRun
Api referenceMedia

Create async media task

POST
/v2/task/create

Authorization

apiKeyBearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

Idempotency-Key?string
Lengthlength <= 255

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

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/task/create" \  -H "Content-Type: application/json" \  -d '{    "model": "string",    "input": {}  }'
{  "request_id": "string",  "quote_id": "string",  "status": "string",  "retry_of": "string",  "estimated_cost": {    "credits": "string",    "basis": "string"  },  "urls": {    "property1": "string",    "property2": "string"  }}