n8n
Install the nodes and build your first FrankLab workflow.
The community package is @apergrex/n8n-nodes-franklab, version 0.2.4. It contains 25 FrankLab nodes. npm package · source and node documentation.
Install
In your self-hosted n8n, sign in as owner or administrator. Open Settings → Community Nodes → Install, enter @apergrex/n8n-nodes-franklab@0.2.4, review the community-package notice and install. Follow n8n's installation guide if this menu is unavailable.
Connect
Create FrankLab credentials with your API key. For this package version, use https://franklab.ru/franklab/api or https://franklab.ru as the base URL; the package restricts accepted hosts. Keep credentials in n8n, not in chat or exported workflows.
First generation
- Follow the balance and price checks before running a paid operation.
- Add Manual Trigger → FrankLab MARS, operation Text to Video.
- Enter a text prompt, set duration to 5 seconds and aspect ratio to 16:9. Leave Model blank and set Additional JSON to the following:
{"model_name":"mars-v1-5","mode":"std"}- Run creation once after checking the estimate. Preserve the returned task ID.
- Use Get Text Video Status to poll that same task until completion, then use its video URL.
Importing or installing does not generate a video. Creating a task is paid. Do not automatically retry task creation after an ambiguous timeout; inspect the existing task first. A successful estimate does not guarantee provider availability.