Lazybird Jobs API
Submit, list, read and cancel GPU jobs for video clips, avatars speaking, stills, songs, transcripts and word timings.
Submit, list, read and cancel GPU jobs for video clips, avatars speaking, stills, songs, transcripts and word timings.
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/lazybird-app:lazybird-app-jobs-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.1.0
info:
title: Lazybird Jobs API
version: 2.1.0
contact:
name: Lazybird
url: https://www.lazybird.app
description: Operations under the Jobs area of the Lazybird Speech and Video API,
split verbatim from the provider-published OpenAPI at https://www.lazybird.app/openapi.json.
servers:
- url: https://api.lazybird.app/v2
security:
- apiKeyHeader: []
- apiKeyQuery: []
tags:
- name: Jobs
paths:
/jobs:
post:
operationId: submitJob
summary: Start a job
description: Queues one job and answers at once; it is never waited on. Where
it gets to after that is published on the account's realtime channel (`wss://api.lazybird.app/ws`,
subscribe to `user:{userId}` from `GET /me`) as a `media_job_updated` message
carrying the whole job. The renders spend video credits, a balance of their
own, and a song spends the voice credits speech spends; either way the charge
is settled on what the job delivered, so a job that fails or is cancelled
costs nothing.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- kind
- input
properties:
kind:
$ref: '#/components/schemas/JobKind'
input:
type: object
additionalProperties: true
description: 'What this kind takes; everything after the semicolon
is optional. `video`: `prompt`, `imageUrl`; `seconds` (up to 60,
its pinned audio''s length or 5 otherwise; a clip with `pinnedAudioUrl`,
`speech`, `lastFrameUrl` or `pinnedFrames` runs at most 10), `lastFrameUrl`,
`pinnedAudioUrl`, `pinnedFrames`, `sound` (on unless turned off),
`resolution` (`480p`, `720p` by default or `1080p`: the clip''s
short side, delivered on the picture''s own shape; `480p` is drawn
small for half the rate, `1080p` is the `720p` render upscaled
at the `720p` rate), `model` (`h3` by default, sharper detail
and smoother motion; `h3-lite` quicker, at half the rate), `addons`
(each `{ name }`: `{ name: "motion" }` for people moving naturally
through spins, turns and full-body action, `{ name: "dance" }`
for dancing; `{ name: "realism" }` for a real photo''s natural
skin and candid look instead of the glossy one; any of them together).
`avatar`: `avatarId` (one of `GET /avatars`), `audioUrl`; `firstFrame`
(the shot it opens on, one of the avatar''s `stills` at random
when left out: `{ stillId }`, one of the avatar''s `stills`, which
the clip then takes turns with; `{ imageUrl }`, a picture of the
same person that the clip stays on; or `{ jobId }`, an earlier
`avatar` or `video` job of yours, carrying on from its `output.lastFrameUrl`),
`instructions` (up to 50 acting directions: `instruction`, at
`seconds` or over `start`–`end`, with `words`, the words it falls
on, to place it), `pinnedFrames` (up to 16 stretches that don''t
overlap, `start`–`end` up to 10 s each, cut there and brought
back to `stillId` or `imageUrl` — the opening shot otherwise —
at both ends, with an optional `instruction` and `words` for what
happens in between), `resolution` (`480p`, `720p` or `1080p`,
on the opening shot''s own shape; a clip from a small picture
still arrives at the resolution asked for, with less detail in
it), `addons` (`[{ name: "realism" }]`, on by itself for a real
photo''s avatar when the clip has no `instructions` or `pinnedFrames`;
`[]` turns it off). `avatar-setup`: `name`, `imageUrl` — the avatar
it made is the finished job''s `output.data`. `image`: `prompt`;
`imageUrls` (up to 4), `width`+`height`, `addons` (`[{ name: "realism"
}]`). `music`: `style`, `lyrics`; `instrumental` (no vocals: `lyrics`
become optional, section tags alone set the form). `transcript`:
`audioUrl`; `language`, `timestamps` (the words are timed unless
it is `false`). `timings`: `audioUrl`, `text`; `language`. `faces`:
`imageUrl`. `safety`: `imageUrl`. `language`: `audioUrl`. Media
URLs are public links the workers fetch. An unknown field is a
400: how a kind is rendered is ours to choose and tune.'
pool:
$ref: '#/components/schemas/JobPool'
example:
kind: video
input:
prompt: the logo spins and the camera pulls back
imageUrl: https://cdn.lazybird.app/uploads/logo.png
seconds: 6
responses:
'202':
description: The queued job
content:
application/json:
schema:
type: object
properties:
job:
$ref: '#/components/schemas/Job'
'400':
description: Invalid input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key is valid, but this account cannot reach that resource
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Plan limit reached (credits, voice slots or plan feature)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Too many requests; retry after `Retry-After` seconds
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
get:
operationId: listJobs
summary: List your jobs
description: Newest first. Page with `cursor` from the previous page's `nextCursor`.
parameters:
- name: kind
in: query
schema:
$ref: '#/components/schemas/JobKind'
- name: status
in: query
schema:
$ref: '#/components/schemas/JobStatus'
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 100
default: 20
- name: cursor
in: query
schema:
type: string
responses:
'200':
description: A page of jobs
content:
application/json:
schema:
type: object
properties:
jobs:
type: array
items:
$ref: '#/components/schemas/Job'
nextCursor:
type: string
'400':
description: Invalid input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key is valid, but this account cannot reach that resource
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Plan limit reached (credits, voice slots or plan feature)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Too many requests; retry after `Retry-After` seconds
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/jobs/{jobId}:
get:
operationId: getJob
summary: Read a job
description: For a client that cannot hold a socket open. Read it once the work
is likely done, not in a tight loop.
parameters:
- name: jobId
in: path
required: true
description: Job `id`
schema:
type: string
responses:
'200':
description: The job
content:
application/json:
schema:
type: object
properties:
job:
$ref: '#/components/schemas/Job'
'400':
description: Invalid input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key is valid, but this account cannot reach that resource
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Plan limit reached (credits, voice slots or plan feature)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Too many requests; retry after `Retry-After` seconds
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
delete:
operationId: cancelJob
summary: Cancel a job
description: Stops a queued or running job and releases what it reserved.
parameters:
- name: jobId
in: path
required: true
description: Job `id`
schema:
type: string
responses:
'200':
description: The cancelled job
content:
application/json:
schema:
type: object
properties:
job:
$ref: '#/components/schemas/Job'
'400':
description: Invalid input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key is valid, but this account cannot reach that resource
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Plan limit reached (credits, voice slots or plan feature)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Too many requests; retry after `Retry-After` seconds
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Job:
type: object
description: Fields without a value are left out
required:
- id
- kind
- status
- pool
- input
- createdAt
- updatedAt
properties:
id:
type: string
kind:
$ref: '#/components/schemas/JobKind'
status:
$ref: '#/components/schemas/JobStatus'
pool:
$ref: '#/components/schemas/JobPool'
input:
type: object
additionalProperties: true
description: What the job was asked for, as it was submitted
output:
type: object
description: What the job made, once it is `completed`
properties:
url:
type: string
format: uri
description: The file, for `video`, `avatar`, `image` and `music`
data:
description: 'What a reading found: the text and word timings (`transcript`,
`timings`), the faces (`faces`), `nsfw` and its score (`safety`),
or the languages heard, best first (`language`)'
seconds:
type: number
description: The output's own length
width:
type: integer
height:
type: integer
lastFrameUrl:
type: string
format: uri
description: 'The clip''s last frame as a picture, for `avatar` and
`video`: what the next clip opens on to carry on (`firstFrame: { jobId
}`, or a `video` job''s `imageUrl`)'
assetId:
type: string
description: The asset its file is, once a job that makes a file has `completed`
credits:
type: number
description: 'What the job was charged, on what it delivered and never more
than a clip held at the start: video credits for a render, voice credits
for a song'
error:
type: string
description: Why a `failed` job failed
firstFrameUrl:
type: string
format: uri
description: 'For `avatar`: the picture the clip opens on, settled when
it was asked for — the still picked for it (one the clip renders first
is at this address once the avatar''s `stills` list it), the one named,
or the frame handed in'
readyAt:
type: string
format: date-time
description: When a `queued` or `running` job should be ready, worked out
from the work ahead of it in its pool and the GPUs running that pool;
moves as the queue does
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
JobStatus:
type: string
enum:
- queued
- running
- completed
- failed
- cancelled
Error:
type: object
properties:
error:
type: string
name:
type: string
code:
type: string
details: {}
upgradeUrl:
type: string
format: uri
description: 'Set when credits ran out: where the user upgrades'
retryAfterSeconds:
type: integer
description: On 429
JobPool:
type: string
enum:
- priority
- offpeak
default: priority
description: 'Which GPUs run the job, and for a render which video-credit pool
pays: `priority` starts it now on rented capacity, `offpeak` waits for our
own GPUs to be idle.'
JobKind:
type: string
enum:
- video
- avatar
- avatar-setup
- image
- music
- transcript
- timings
- faces
- safety
- language
description: '`video` a clip that brings a picture to life (on `h3`, 1 video
credit a second at `720p` and `1080p`, half at `480p`; `h3-lite` half of that;
up to 60 s); `avatar` one of your avatars speaking a clip (1 credit a second
at `720p`, half at `480p`, 2 at `1080p`; as long as what it says); `avatar-setup`
makes an avatar from a picture (10 credits — `POST /avatars` submits it);
`image` a still (3 credits); `music` a song from a style and lyrics, or an
instrumental (10 voice credits a second, up to 300 s); `transcript`, `timings`,
`faces`, `safety` and `language` read a file and are free.'
securitySchemes:
apiKeyHeader:
type: apiKey
in: header
name: X-API-Key
apiKeyQuery:
type: apiKey
in: query
name: api_key
x-provenance:
method: harvested
publisher: Lazybird
source: https://www.lazybird.app/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)