Elai.io Rendering API
Turn a video into an MP4. Both render endpoints are fire-and-forget: a `200` means the job was queued, and failures arrive through the `video_error` webhook.
Turn a video into an MP4. Both render endpoints are fire-and-forget: a `200` means the job was queued, and failures arrive through the `video_error` webhook.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/elaiio:elaiio-rendering-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Elai Public Rendering API
version: '1.0'
description: 'Every endpoint below is served under `https://apis.elai.io/api/v1`.
## Authentication
Send your workspace API token as a bearer token on every request:
```
Authorization: Bearer
```
Generate and rotate the token in the Elai web app under **Settings → API**, or through
`POST /generateToken`. The token is scoped to one **workspace** and authenticates as that
workspace''s admin user — it is not tied to an individual person, and it carries admin rights
inside that workspace.
A request with a missing, unknown or revoked token gets a bare `401` with no response body.
> **Organizations on the Unlimited plan cannot use the API.** Their requests are rejected with the
> same bare `401` as an invalid token, with nothing to distinguish the two. If a valid, freshly
> generated token returns `401` on every endpoint, check the plan first.
## Errors
Failures carry a JSON body of the shape `{ "message": "..." }`. Validation failures on the newer
endpoints may add an `errors` array naming the offending fields. `401` is the exception: it has no
body at all.
Both render endpoints are **fire-and-forget** — they queue work and return immediately, so a
`200` means "accepted", not "rendered". Render failures surface only through the `video_error`
webhook, never as an HTTP error on the call that started the render.
## Scope
This reference is generated from the running code rather than maintained by hand, so it cannot
quietly fall behind the API it describes. It documents 94 operations across the
`/api/v1` surface.
Endpoints are grouped by subject in the sidebar. If something you need is missing, or an endpoint
does not behave as described here, tell us.
---
_Generated from `HEAD` at `2a2222fdbe` on 2026-11-25._'
servers:
- url: https://apis.elai.io/api/v1
security:
- sec0: []
tags:
- name: Rendering
description: 'Turn a video into an MP4. Both render endpoints are fire-and-forget: a `200` means the job was queued, and failures arrive through the `video_error` webhook.'
paths:
/videos/render/{videoId}:
post:
summary: Render a video
description: 'Render an existing video that was created before using another request, or with Elai Builder. It can also trigger the re-rendering of failed videos of previous batch requests.
> ❗️ This endpoint accepts work, it does not complete it
>
> A `200` means the render was **queued**. Validation runs after the response is sent, so no render
> failure can reach you as an HTTP status. Failures arrive as a **`video_error`** webhook, or as
> `status: "error"` on `GET /videos/{videoId}` if you poll.
>
> Messages you may receive that way:
>
> | Message | Cause |
> | :--- | :--- |
> | `Slide N is too long. Please limit speech to Xs.` | Speech exceeds the global per-slide limit |
> | `Slide N is too long for this avatar. Please limit speech to Xs.` | Speech exceeds this avatar''s own limit, which is lower |
> | `Slide N uses a premium avatar that is no longer available...` | The slide''s premium avatar is not available to your plan |
> | `You do not have enough minutes to render this video...` | No minutes left, and the workspace is not allowed to overrun |
> | `Your video has N slides but your plan allows only 3 slides to render.` | Free plans render at most 3 slides |
> | `Video with music should be minimum 2 seconds long` | Background music on a video shorter than 2s |
>
> If you cannot afford to miss a `video_error` — deliveries are single-attempt, with no retry —
> reconcile with `GET /videos` instead of relying on the callback alone.'
operationId: render-video
parameters:
- name: videoId
in: path
schema:
type: string
required: true
responses:
'200':
description: The render was queued. This is not a completion signal — see the note above.
content:
application/json:
examples:
Result:
value:
accepted: true
schema:
type: object
properties:
accepted:
type: boolean
example: true
default: true
'400':
description: The video is a template. Templates are rendered through `/videos/renderTemplate/{videoId}`.
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: Templates cannot be rendered directly. Please use /renderTemplate/:videoId endpoint to render videos based on templates.
examples:
Result:
value:
message: Templates cannot be rendered directly. Please use /renderTemplate/:videoId endpoint to render videos based on templates.
'403':
description: The video belongs to another workspace.
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: Video is assigned to another account
examples:
Result:
value:
message: Video is assigned to another account
'404':
description: The video does not exist, or the id is not a valid ObjectId.
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: Video not found
examples:
Result:
value:
message: Video not found
deprecated: false
tags:
- Rendering
/videos/renderTemplate/{videoId}:
post:
summary: Render/create a personalized batch
description: 'Request to render or create a batch of videos (one or more) from a template.
At most **200** rows per request (`templateData`); beyond that the call is rejected with a `400`. Every generated video also carries the tag `api`, whether or not you send tags — which is the simplest way to find API-created videos later.
> ❗️ This endpoint accepts work, it does not complete it
>
> A `200` means the render was **queued**. Validation runs after the response is sent, so no render
> failure can reach you as an HTTP status. Failures arrive as a **`video_error`** webhook, or as
> `status: "error"` on `GET /videos/{videoId}` if you poll.
>
> Messages you may receive that way:
>
> | Message | Cause |
> | :--- | :--- |
> | `Slide N is too long. Please limit speech to Xs.` | Speech exceeds the global per-slide limit |
> | `Slide N is too long for this avatar. Please limit speech to Xs.` | Speech exceeds this avatar''s own limit, which is lower |
> | `Slide N uses a premium avatar that is no longer available...` | The slide''s premium avatar is not available to your plan |
> | `You do not have enough minutes to render this video...` | No minutes left, and the workspace is not allowed to overrun |
> | `Your video has N slides but your plan allows only 3 slides to render.` | Free plans render at most 3 slides |
> | `Video with music should be minimum 2 seconds long` | Background music on a video shorter than 2s |
>
> If you cannot afford to miss a `video_error` — deliveries are single-attempt, with no retry —
> reconcile with `GET /videos` instead of relying on the callback alone.'
operationId: render-personalized
parameters:
- name: videoId
in: path
description: ID of a video, that you want to use as a source (should include tags). You can find ID in your video URL when you open it in our app.
schema:
type: string
required: true
requestBody:
content:
application/json:
schema:
type: object
required:
- templateData
properties:
templateData:
type: array
description: An array of key-value objects, where each key represents tag in your template or API id of media that needs to be replaced. Value should have a real value that your final video should have. For each object you will have one video generated.
items:
properties:
name:
type: string
description: For ex. name of your customer
default: Emma
product:
type: string
default: PlayStation 5
'457597335176':
type: string
description: Public URL of an image/video that will replace one in your template. Cannot be null or undefined.
default: https://elai-media.s3.eu-west-2.amazonaws.com/production/uploads/618118806e2d6946046eff7a/888_1663770268002.png
type: object
tags:
type: array
description: You can add any custom tags to videos that will be generated by this request, so you can easier find them in the dashboard or in webhooks.
items:
type: string
emailNotification:
type: boolean
description: By default for each video rendered or errored account admin will receive notification, but you can disable it by setting this param to false
default: true
fitTextBox:
type: boolean
description: 'If true, Elai will fit text into it''s text box. The whole text block with tag will be replaced. More info here: https://elai.readme.io/reference/templates#replace-whole-text-block-on-canvas'
default: false
public:
type: boolean
description: If true Elai will make all created videos public (they will be available for sharing using https://app.elai.io/v/:videoId link).
default: false
render:
type: boolean
description: 'By default we start rendering videos right after its creation, but you can turn it off for test purpose or other reason: videos will be just created but not rendered right away.'
default: true
requestId:
type: string
description: Your own custom identifier to mark current batch request for further processing (or it will be generated automatically)
responses:
'200':
description: The batch was accepted. `videoId` is present only when `templateData` held a single row. This is not a completion signal — see the note above.
content:
application/json:
examples:
Multiple videos:
value:
accepted: true
requestId: FKdFTb5MciFRG1QD
Single video:
value:
accepted: true
requestId: FKdFTb5MciFRG1QD
videoId: 63ea63c1c00dfe1a72cc7426
schema:
type: object
properties:
accepted:
type: boolean
example: true
description: Always true. The batch was queued, not completed.
requestId:
type: string
example: FKdFTb5MciFRG1QD
description: Correlates this batch with the `requestId` on each `video_ready` / `video_error` webhook.
videoId:
type: string
example: 63ea63c1c00dfe1a72cc7426
description: Present **only** when `templateData` held exactly one row. Absent for a multi-row batch — use the webhooks or `GET /videos` to find those.
required:
- accepted
- requestId
'400':
description: The request or the template is not usable. Every message below is a real rejection from this route.
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: Template data is required (array)
examples:
templateData missing:
value:
message: Template data is required (array)
templateData row empty:
value:
message: Template data should not be empty
no placeholder tags:
value:
message: Video should have at least one tag (brackets placeholder)
unsupported tag symbols:
value:
message: One or more tags have unsupported symbols. Please use only english letters, numbers, underscores, dashes and spaces.
batch too large:
value:
message: Too many videos in one batch request, maximum is 200
'403':
description: The video belongs to another workspace.
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: Video is assigned to another account
examples:
Result:
value:
message: Video is assigned to another account
'404':
description: The video does not exist, or the id is not a valid ObjectId.
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: Video not found
examples:
Result:
value:
message: Video not found
'429':
description: 'The workspace has hit its **video creation limit** — a rolling 8-hour window, not a rate limit. The ceiling depends on the plan: 50 on Free, 1000 on Creator and Team, 6000 on Enterprise (`services/security.js:80-88`). The message names the limit and the window, which is how you tell a quota 429 from a rate-limit 429.'
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: You have reached the limit of 1000 videos per last 8 hours, please try again later
examples:
Result:
value:
message: You have reached the limit of 1000 videos per last 8 hours, please try again later
deprecated: false
tags:
- Rendering
components:
securitySchemes:
sec0:
type: apiKey
in: header
name: Authorization
x-bearer-format: bearer
x-default: SECRET_KEY
x-provenance:
method: searched
source: https://elai.readme.io/reference
harvested: '2026-12-01'
tool: harvest-readme-openapi.py
note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
assembled_from:
- https://elai.readme.io/reference/apply-brand-kit.md
- https://elai.readme.io/reference/apply-template.md
- https://elai.readme.io/reference/avatars-list.md
- https://elai.readme.io/reference/build-outline-video.md
- https://elai.readme.io/reference/build-quiz-question.md
- https://elai.readme.io/reference/build-video-lesson.md
- https://elai.readme.io/reference/check-upload-usage.md
- https://elai.readme.io/reference/choose-lesson-template.md
- https://elai.readme.io/reference/copy-video-by-template.md
- https://elai.readme.io/reference/copy-video.md
- https://elai.readme.io/reference/create-from-pptx.md
- https://elai.readme.io/reference/create-from-text-url.md
- https://elai.readme.io/reference/create-outline.md
- https://elai.readme.io/reference/create-upload-folder.md
- https://elai.readme.io/reference/create-user.md
- https://elai.readme.io/reference/create-video.md
- https://elai.readme.io/reference/create-voice-customization.md
- https://elai.readme.io/reference/delete-upload-folder.md
- https://elai.readme.io/reference/delete-upload.md
- https://elai.readme.io/reference/delete-uploads.md
- https://elai.readme.io/reference/delete-user.md
- https://elai.readme.io/reference/delete-video.md
- https://elai.readme.io/reference/delete-voice-customization.md
- https://elai.readme.io/reference/download-scorm-package.md
- https://elai.readme.io/reference/generate-api-token.md
- https://elai.readme.io/reference/generate-outline-chapters.md
- https://elai.readme.io/reference/generate-outline-quiz.md
- https://elai.readme.io/reference/generate-outline-script.md
- https://elai.readme.io/reference/generate-quiz-from-video.md
- https://elai.readme.io/reference/generate-slides.md
- https://elai.readme.io/reference/get-slide-screenshots.md
- https://elai.readme.io/reference/get-speech-duration.md
- https://elai.readme.io/reference/inspect-presentation.md
- https://elai.readme.io/reference/list-avatar-frames.md
- https://elai.readme.io/reference/list-custom-voices.md
- https://elai.readme.io/reference/list-fonts.md
- https://elai.readme.io/reference/list-lesson-templates.md
- https://elai.readme.io/reference/list-music-tracks.md
- https://elai.readme.io/reference/list-templates.md
- https://elai.readme.io/reference/list-upload-folder-names.md
- https://elai.readme.io/reference/list-uploads.md
- https://elai.readme.io/reference/list-users.md
- https://elai.readme.io/reference/list-video-edit-history.md
- https://elai.readme.io/reference/list-video-exports.md
- https://elai.readme.io/reference/list-videos.md
- https://elai.readme.io/reference/list-voice-customizations.md
- https://elai.readme.io/reference/llm-generate-speech.md
- https://elai.readme.io/reference/llm-rewrite-speech.md
- https://elai.readme.io/reference/move-upload.md
- https://elai.readme.io/reference/move-uploads.md
- https://elai.readme.io/reference/paste-story-html.md
- https://elai.readme.io/reference/preview-lesson-template-layouts.md
- https://elai.readme.io/reference/preview-video-lesson-restyle.md
- https://elai.readme.io/reference/preview-voice-customization.md
- https://elai.readme.io/reference/rebuild-video-lesson.md
- https://elai.readme.io/reference/regenerate-outline-quiz.md
- https://elai.readme.io/reference/regenerate-outline-speech.md
- https://elai.readme.io/reference/regenerate-quiz-question.md
- https://elai.readme.io/reference/render-personalized.md
- https://elai.readme.io/reference/render-video.md
- https://elai.readme.io/reference/restyle-video-lesson.md
- https://elai.readme.io/reference/retrieve-api-config.md
- https://elai.readme.io/reference/retrieve-avatar.md
- https://elai.readme.io/reference/retrieve-current-user.md
- https://elai.readme.io/reference/retrieve-lesson-template.md
- https://elai.readme.io/reference/retrieve-outline.md
- https://elai.readme.io/reference/retrieve-player-payload.md
- https://elai.readme.io/reference/retrieve-signed-url.md
- https://elai.readme.io/reference/retrieve-template.md
- https://elai.readme.io/reference/retrieve-upload-folder-breadcrumbs.md
- https://elai.readme.io/reference/retrieve-upload-folder-info.md
- https://elai.readme.io/reference/retrieve-upload-folder.md
- https://elai.readme.io/reference/retrieve-video-lesson-design.md
- https://elai.readme.io/reference/retrieve-video-source-links.md
- https://elai.readme.io/reference/retrieve-video.md
- https://elai.readme.io/reference/revoke-api-token.md
- https://elai.readme.io/reference/rewrite-outline-speech.md
- https://elai.readme.io/reference/search-upload-folders.md
- https://elai.readme.io/reference/submit-custom-voice.md
- https://elai.readme.io/reference/synthesize-speech.md
- https://elai.readme.io/reference/translate.md
- https://elai.readme.io/reference/update-avatar.md
- https://elai.readme.io/reference/update-outline.md
- https://elai.readme.io/reference/update-upload-folder.md
- https://elai.readme.io/reference/update-user.md
- https://elai.readme.io/reference/update-video.md
- https://elai.readme.io/reference/update-voice-customization.md
- https://elai.readme.io/reference/upload-confirm.md
- https://elai.readme.io/reference/upload-custom-voice.md
- https://elai.readme.io/reference/upload-music-track.md
- https://elai.readme.io/reference/voices-list.md
- https://elai.readme.io/reference/webhook-set-secret-token.md
- https://elai.readme.io/reference/webhook-subscribe.md
- https://elai.readme.io/reference/webhook-unsubscribe.md
merge:
pages: 94
deduped: 253
conflicts_kept_first: 0