Eachlabs Alternative: Models and Workflows by API
An Eachlabs alternative for image and video workflows: one request shape for every model, billing only on success, and a signed webhook for each step.
Updated 5 min read
An Eachlabs alternative for media work has to cover two things: the models, and the multi-step jobs that chain them. On Frameport, every image and video model takes the same request shape on one key, each step is billed only if it succeeds, and a signed webhook marks the end of every step, which is all a workflow in code needs to move on to the next one.
This page describes Eachlabs briefly, then covers what to compare, what differs here, the models, a two-step workflow driven by webhooks, and when Eachlabs remains the better fit.
What Eachlabs is
Eachlabs presents itself as a unified AI API platform that gives developers and creators access to generative models for video, image, audio and text. Around the models it offers AI workflows, which it describes as multi-step pipelines built from models, an OpenAI-compatible LLM router and a remote MCP server. Its site lists its current models, prices and terms.
Why developers look for an Eachlabs alternative
- Workflows kept in code. A pipeline written in your own language lives in your repository, with tests and reviews like the rest of your product.
- Video first. Clips with sound, first and last frames and reference pictures, with per-second prices by resolution on one request shape.
- Every step billed on its own result. A step that fails costs nothing, so a pipeline that breaks halfway is charged only for what it delivered.
- A second route for media. A fallback provider with a similar job shape keeps a pipeline moving when one model is down.
What to compare before you switch
| Point | The question | On Frameport |
|---|---|---|
| Models | Are yours there, with the lengths, sizes and inputs you send? | Each model page, and GET /v1/models without a key |
| Failed steps | Is a failed or refused step charged? | No: its price is held, then released |
| Prices | Can you price each step before running it? | POST /v1/generations/quote, free, nothing held |
| Chaining | Can one step's output feed the next without a download? | Yes: name the output by its file_… id |
| Events | How does your code learn a step is done? | Signed webhooks, retried after 1, 5 and 15 minutes, or polling |
| Limits | How much can run at once? | 60 jobs started a minute, 20 running, per workspace |
The Eachlabs docs and terms give its own answers to the same points.
What Frameport does differently
- One shape, one key. Images at
POST /v1/images/generations, clips at/v1/videos/generations, edits at/v1/videos/edits: changing a model is changing one field. - A price before every step. A free quote returns the exact price and whether the balance covers it;
max_cost_usdrefuses a step priced above your cap. - Idempotent steps. An
Idempotency-Keybuilt from the previous step's id makes a redelivered webhook harmless: the step returns its first job instead of starting a second (idempotency keys). - Clip editors at the end of a chain. Frameport Replace 1 changes faces in a clip, with the consent of the people involved, and Frameport Upscale 1 delivers the cut at 1080p and 2K.
- Agents and the Studio on the same balance. An MCP server for agents, and the Studio for work by hand.
Frameport's own engines start with the workspace's content filter on. An owner or admin of the workspace who is 18 or older can switch it off, and from then on those engines render without it, inside the acceptable use policy. Other makers' models keep their own rules; when one refuses a prompt, the job costs nothing. Why a single key simplifies this is in one API key for every AI model, and how billing treats failures in do failed AI generations cost money.
The models you can call with one key
| Step in a workflow | Model | What it takes | Price |
|---|---|---|---|
| A still to start from | Nano Banana Pro | A prompt, or up to 6 pictures to edit | One image: $0.16 |
| The still brought to life | Seedance 2.5 | The still as its first frame | 5 s at 480p: $0.60 |
| A shot with sound up to 4K | Veo 3.1 | A prompt, frames or reference pictures | 6 s at 720p: $2.79 |
| Faces changed, with consent | Frameport Replace 1 | A clip and one picture per face | 5 s at 1080p: $1.25 |
| The final cut sharpened | Frameport Upscale 1 | A finished clip | 10 s to 2K: $0.50 |
The models page has the rest of the catalog, pricing every rate, and the docs every endpoint.
Moving your code from Eachlabs
A workflow maps onto plain API calls:
| In a workflow | Here |
|---|---|
| A chain of model steps | Your code: each settled generation starts the next request |
| A step's output | outputs[].id, a file_… id the next request names directly |
| Running when a step completes | A webhook for generation.succeeded and generation.failed |
| A step started twice by a retry | An Idempotency-Key derived from the step before |
| The key | Authorization: Bearer fp_live_… |
This Node server runs a two-step workflow: it starts a still, and when the webhook says the still succeeded, it starts a Seedance 2.5 clip on it. Add the server's public URL under Webhooks in the dashboard, pick both events, and set the signing secret it shows you as WEBHOOK_SECRET:
import crypto from 'node:crypto'
import { createServer } from 'node:http'
const API = 'https://frameport.ai/v1'
const KEY = process.env.FRAMEPORT_API_KEY
const SECRET = process.env.WEBHOOK_SECRET // the whsec_… shown once, when you added the endpoint
const mine = new Set() // ids this workflow started: a database in production
const handled = new Set() // delivery ids already processed
async function submit(path, body, idempotencyKey) {
const gen = await fetch(`${API}${path}`, {
method: 'POST',
headers: { 'Authorization': `Bearer ${KEY}`, 'Content-Type': 'application/json', 'Idempotency-Key': idempotencyKey },
body: JSON.stringify(body),
}).then(res => res.json())
if (gen.error) throw new Error(`${gen.error.code}: ${gen.error.message}`)
mine.add(gen.id)
return gen
}
function verify(rawBody, header = '', toleranceSeconds = 300) {
const parts = Object.fromEntries(header.split(',').map(part => part.split('=')))
if (!parts.t || !parts.v1 || Math.abs(Date.now() / 1000 - Number(parts.t)) > toleranceSeconds) return false
const expected = crypto.createHmac('sha256', SECRET).update(`${parts.t}.${rawBody}`).digest('hex')
return expected.length === parts.v1.length && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1))
}
// Each settled step decides the next one
async function onSettled(gen) {
if (!mine.has(gen.id)) return // the endpoint hears the whole workspace, Studio included
if (gen.error) return console.log(`${gen.id} failed, nothing charged: ${gen.error.message}`)
const file = gen.outputs.find(output => output.status === 'succeeded')
if (gen.type === 'image') {
await submit('/videos/generations', {
model: 'seedance-2-5',
prompt: 'Slow push in as the lighthouse beam sweeps through the fog, waves and wind',
reference_images: [file.id], // the still is the first frame
duration: 5,
resolution: '480p',
aspect_ratio: '16:9',
max_cost_usd: 0.6,
}, `clip-from-${gen.id}`) // a redelivered event cannot start a second clip
}
else console.log('clip ready:', file.url)
}
createServer(async (req, res) => {
let raw = ''
for await (const chunk of req) raw += chunk
if (!verify(raw, req.headers['frameport-signature'])) return res.writeHead(400).end()
res.writeHead(200).end() // answer within 10 seconds, then do the work
const event = JSON.parse(raw)
if (handled.has(event.id)) return // a retry of a delivery already processed
handled.add(event.id)
await onSettled(event.data).catch(error => console.error(error.message))
}).listen(8080)
// Step 1 starts the workflow
await submit('/images/generations', {
model: 'nano-banana-pro',
prompt: 'A lighthouse on a rocky point in thick evening fog, its beam lit, cinematic wide shot',
aspect_ratio: '16:9',
max_cost_usd: 0.16,
}, 'lighthouse-still-1')A delivery carries the generation as GET returns it, so the receiver needs no extra read. If a step fails, the chain stops there and that step costs nothing. The webhooks guide covers retries, duplicates and catching up after downtime.
When Eachlabs is still the better fit
- You build pipelines in a visual editor. If the people who design workflows do not write code, a code-first API changes their job.
- Your workflows mix in text or audio. Frameport has no language, speech or music models.
- A model you need is missing here. Check the models page first.
- The pipeline runs well today. If the checklist changes nothing for your bill or your reliability, a migration is time spent for little.
For a chain of shots that starts from drawn panels, see storyboard to video AI.
FAQ
Is there a free Eachlabs alternative?
The account, keys, the model list, quotes and failed jobs cost nothing here. Images and clips that are delivered are paid from a prepaid balance in dollars, with no subscription.
Does Frameport have workflows like Eachlabs?
Not as a visual builder. A workflow is code: one request per step, started when the previous step's webhook arrives, as above. An agent connected to the MCP server can also run several steps from one instruction, and the Studio's Apps turn common jobs into a short form.
Is there an OpenAPI spec, as in the Eachlabs API docs?
Yes. The whole API is one OpenAPI 3.1 document at /openapi.json, and generating a typed client from it takes a few commands in TypeScript, Python or Java.
How do I get an API key?
Sign up, add funds under Billing, and create a key under API keys. It starts with fp_live_ and is shown once; give each pipeline its own key so its spend shows apart.
What happens if a webhook is delivered twice?
Your receiver should do nothing the second time. Each delivery has an id that stays the same across retries, and a next step submitted with an Idempotency-Key built from the previous generation's id returns the job it already started, so nothing is paid twice.