Skip to content
Proud to collaborate with Microsoft for Startups

realoficial.shorts.render-short ​

Submits a clip for rendering and returns a render identifier on the render_id key (sometimes nested under data). This is the SUBMIT half of a submit-then-poll pair: poll listRenders to find the render and its download_url. Confirmed POST-only: a GET returns 405. Takes no request body.

Start rendering one clip

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-realoficial
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
base_urlstringYes—Realoficial API root, e.g. https://<host>/api
api_tokenstringNo—Bearer token; omit to use the workflow's token env var
project_idstringYes—Project identifier.
short_idstringYes—Clip identifier, as returned by listShorts.

Output Schema ​

FieldTypeRequiredDefaultDescription
base_urlstringYes—Realoficial API root, e.g. https://<host>/api
api_tokenstringNo—Bearer token; omit to use the workflow's token env var
project_idstringYes—Project identifier.
short_idstringYes—Clip identifier, as returned by listShorts.
status_codeintegerNo—HTTP status code of the completed call
responsejsonNo—Parsed JSON response body
failure_reasonstringNo——
failure_typestringNo——
failed_atstringNo——
failed_stepstringNo——
failed_layerstringNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—executeWaiting to call POST /shorts/{project_id}/{short_id}/render
completedNoYesYes—HTTP call succeeded
failedNoYesNo—HTTP call failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompletedPerform POST /shorts/{project_id}/{short_id}/render
* (any state)failfailedRecord the failure reason

Outcomes ​

OutcomeTypeDescriptionState Data Keys
completedSUCCESSThe provider accepted the requeststatus_code, response
failedFAILUREThe provider rejected the request or was unreachablefailure_reason, failure_type, status_code

Business Errors ​

CodeMessage Template
HTTP_AUTHENTICATION_FAILEDThe provider rejected the credential (HTTP {status_code})
HTTP_AUTHORIZATION_FAILEDThe credential is not permitted to perform this operation (HTTP {status_code})
HTTP_NOT_FOUNDThe provider has no resource at {path} (HTTP 404)
HTTP_RATE_LIMITEDThe provider rate-limited this request (HTTP 429)
HTTP_REQUEST_FAILEDThe provider returned HTTP {status_code} for {method}
HTTP_RESPONSE_SHAPE_UNEXPECTEDThe provider response for {method} {path} could not be parsed as JSON

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "realoficial.shorts.render-short",
  "initial_data": {
    "base_url": "value",
    "project_id": "value",
    "short_id": "value"
  }
}