roasOS
API referenceEdits

Render a saved edit

Starts the one render job of this version, or returns it. Call it again to read the status. A finished job holds the video and one QA result. Free.

POST
/v1/edits/{id}/render

Starts the one render job of this version, or returns it. Call it again to read the status. A finished job holds the video and one QA result. Free.

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication. Use your API key as the bearer token: Authorization: Bearer roasos_sk_...

In: header

Path Parameters

id*string
Formatuuid

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

curl -X POST "https://example.com/v1/edits/497f6eca-6276-4993-bfeb-53cbbbba6f08/render" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",    "edit_id": "1ee7a1a0-f117-4fe2-ab50-902fe83d9424",    "version": 0,    "status": "queued",    "url": "string",    "poster_url": "string",    "generation_id": "a3c889df-e7ae-4ae9-9838-8884129ade5e",    "qa": {      "passed": true,      "failures": [        "string"      ],      "property1": null,      "property2": null    },    "error": "string",    "created_at": "string",    "completed_at": "string"  }}