Overview
The Lazybird API lets you list available voices, generate MP3 speech from text or SSML, and create, edit and publish cloned voices. It also makes whole voiceover and video projects: write the script, add pictures, video and music, render MP3 or MP4 files and share them. See Projects and video.
To hear a voice with your own text and settings before you write any code, use the API Playground.
Base URL:
https://api.lazybird.app/v2
/v1 is frozen and keeps working for existing integrations. It returns the older voice object, lists voices as one unpaged list of the first 1,000 library voices (?owner=me for your own) and still serves the deprecated /personal-voices endpoints. New integrations should use /v2.
A machine-readable OpenAPI 3.1 description of every endpoint is at www.lazybird.app/openapi.json.
Authentication
There are two ways to get an API key:
- Create one in your Lazybird Studio settings.
- Request one by email, without opening the studio. This is built for AI agents; see Get an API key without the UI.
Send the key with each request in the X-API-Key header:
X-API-Key: YOUR_API_KEY
You can also pass the key as an api_key query parameter when a tool cannot set headers:
https://api.lazybird.app/v2/voices?api_key=YOUR_API_KEY
The examples on this page read the key from the LAZYBIRD_API_KEY environment variable. Keep API keys private. Do not expose them in browser code, mobile apps, public repositories, or client-side logs.
Team API keys
A team API key calls only what its scopes allow: projects:read, projects:write and exports for projects, next to speech, voices:read and voices:write. Personal keys can call everything.
Agent skill
When you are using an AI coding agent, install the official Lazybird API skill so the agent has the current API shape, examples, and integration gotchas available in context.
npx skills add lazybirdai/skills --agent codex --skill lazybird-api
Quickstart
Generate speech with a known voice ID. Pick your language; every example on this page switches with it.
curl -X POST "https://api.lazybird.app/v2/generate-speech" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"voiceId": "tgJ2Hes6DauwTg8kFrRPLN",
"text": "My name is Elyssia and I am a voice from Lazybird."
}' \
--output speech.mp3
phone; a JSON body with Accept: application/jsonGenerate speech
Generates speech with the selected voice and returns an MP3 file, or with phone an 8 kHz mono WAV for phone systems. Provide exactly one of text and ssml, and not an empty one. Fields not listed here, in the body or in settings, are rejected with 400.
Cloned voices work the same way: pass the voice id as voiceId.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Body
voiceIdstringRequiredVoice id from GET /voices
textstringRequired or ssmlPlain text to speak, not blank
ssmlstringRequired or textSSML (use instead of text for pauses or markup)
settingsobjectOptionalAll fields optional
Show 8 properties
stylestringOptionalOne of the voice's styleList values; ignored, with styleIntensity, when the voice doesn't list it
styleIntensitynumberOptionalStrength of style. 1 is the default; the closest level the voice has is used
speednumberOptional1 is normal speed
pitchnumberOptional1 is the default pitch
volumenumberOptional1 is the default volume; 0 is silent
localestringOptionalLanguage and accent to speak in, as a locale with a region such as es-ES. Any voice can speak any supported language (full list). A bare language such as es returns 400.
instructionstring≤ 200OptionalHow the speech is acted, in a few words such as whispering, nervous; never spoken. Brackets are dropped, and one without words returns 400.
effectstringOptionalA sound effect on the finished speech: robot, deep, monster, echo (a large hall), radio (a walkie-talkie) or phone (a phone call). Leave it out for plain speech.
Show 6 values
robotdeepmonsterechoradiophonephonestringOptionalReturn an 8 kHz mono WAV for phone systems (voicemail, phone menus) instead of an MP3: pcm (16-bit) or mulaw (G.711 µ-law)
Show 2 values
pcmmulawtimestampsbooleanOptionalTime every word of the speech; on unless set to false. The words come back only with Accept: application/json
Locale override
Every voice, cloned voices included, can speak every supported language. The voice speaks in its own language unless you pass settings.locale; use it when the text is in another language or you want a different accent. Pick Another language in the example menu to see it.
Phone systems
For voicemail greetings and phone menus, pass phone to get an 8 kHz mono WAV. Use mulaw when your phone system asks for G.711 µ-law, and pcm when it asks for 16-bit PCM.
curl -X POST "https://api.lazybird.app/v2/generate-speech" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"voiceId": "tgJ2Hes6DauwTg8kFrRPLN",
"text": "My name is Elyssia and I am a voice from Lazybird."
}' \
--output speech.mp3
phone; a JSON body with Accept: application/jsonList voices
Returns the voices you can use with generate-speech, in two sections:
myVoices: your own voices (your clones, including any you have published) and the clones your teammates shared with your team. Your own carry"mine": true.library: the public voice library, including any of your voices you have published
totals is the number of matching voices in each section. Use the id value as voiceId when generating speech. Labels for labels come from the fixed set listed under labels in Update a voice.
Both sections follow sort exactly. Voices that tie are ordered by id, so the order stays the same from page to page. Voices you starred in the Studio come back with "favorite": true but keep their place in the order.
Headers
X-API-KeystringRequiredYour API key
Query parameters
qstringOptionalSearch words; a voice matches when each word appears in its name, description (in any language) or labels
languagestringOptionalA locale such as en-US, or a language such as en for all of its locales
genderstringOptionalShow 2 values
femalemalelabelsstringOptionalComma-separated labels; a voice must carry all of them
sortstringOptionalrecommended (default), trending (most uses in the last 7 days), usage (most uses of all time), recent (newest first) or name (A to Z)
Show 5 values
recommendedtrendingusagerecentnamelimitinteger1–100OptionalDefaults to 100Voices per section
sectionstringOptionalReturn only this section, paged with cursor
Show 2 values
myVoiceslibrarycursorstringOptionalnextCursor of the previous page, with the same section, filters and sort. A malformed cursor, one from another sort, or one whose voice was removed returns 400.
Page through a section
Add section to get one section, limit voices at a time. While more voices match, the response includes nextCursor; send it back as cursor with the same filters and sort to get the next page.
curl "https://api.lazybird.app/v2/voices?section=library&cursor=NEXT_CURSOR" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
The last page has no nextCursor. A cursor only works with the sort it came from. A malformed cursor, one from another sort, or one whose voice was removed fails with 400; start again from the first page.
List your voices
GET /voices?section=myVoices returns only the myVoices section, paged like the library: your private clones, the ones you have published, and the clones your teammates shared with your team.
Voice IDs are opaque. Voices cloned before the unified voice list also accept their legacy pv: id anywhere a voice ID is accepted.
Voice object
Every voice endpoint returns voices in this shape. Fields without a value are left out.
| Field | Description |
|---|---|
id |
Voice ID. Use it as voiceId and treat it as opaque. |
displayName |
The voice's name |
description |
Short description, such as the character or show |
descriptions |
description in other languages, keyed by language code, such as { "ja": "…", "es": "…" }. Use description for a language that isn't there. Only on voices with translations. |
names |
displayName in other languages, keyed by language code, such as { "ja": "ずんだもん" }. Use displayName for a language that isn't there. Only on voices with translated names. |
language |
Primary language and accent as a locale, such as en-US |
detectedLanguage |
Language heard in the voice's sample, as a bare code such as vi. language wins when both are set. |
detectedLocale |
Accent heard in the voice's sample, such as en-GB, when it is clear |
gender |
female, male or unknown |
labels |
Tags such as Narrator or Calm |
styleList |
Speaking styles the voice has for settings.style |
avatar |
Avatar image URL |
previewText |
The line the preview clip speaks |
previewUrl |
Preview clip URL (MP3) |
scope |
global (Lazybird library), community (published by a user) or user (private clone) |
published |
true when the voice is in the public library |
mine |
true when the voice is yours |
favorite |
true when you starred the voice in the Studio |
official |
true for official Lazybird voices |
featured |
true for voices featured in the voice library |
popular |
true for the 10 most used voices of all time |
trending |
true for the 10 most used voices of the last 7 days |
createdAt |
When the voice was added (ISO 8601) |
ownerNickname |
The creator's name, on user-made voices whose creator has a public profile |
ownerUserId |
The creator's user ID, on published voices whose creator has a public profile |
stats.usageCount |
Uses of all time (library voices) |
stats.usageCount7d |
Uses in the last 7 days (library voices) |
stats.popularRank |
Position among the 10 most used voices of all time |
stats.trendingRank |
Position among the 10 most used voices of the last 7 days |
curl "https://api.lazybird.app/v2/voices?language=en&gender=female" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"myVoices": [],
"library": [
{
"id": "tgJ2Hes6DauwTg8kFrRPLN",
"displayName": "Elyssia",
"description": "YouTube Host",
"language": "en-US",
"gender": "female",
"previewText": "Hey everyone, I'm Elyssia.",
"avatar": "https://cdn.lazybird.app/..."
}
],
"totals": {
"myVoices": 0,
"library": 580
}
}
Get a voice
Returns one voice: any voice in the public library, or one of your own private voices.
Headers
X-API-KeystringRequiredYour API key
Path parameters
voiceIdstringRequiredVoice id (or a legacy pv: id)
curl "https://api.lazybird.app/v2/voices/abc123" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"voice": {
"id": "tgJ2Hes6DauwTg8kFrRPLN",
"displayName": "Elyssia",
"description": "YouTube Host",
"language": "en-US",
"gender": "female",
"labels": [
"Young Adult",
"Energetic"
],
"avatar": "https://cdn.lazybird.app/...",
"previewText": "Hey everyone, I'm Elyssia.",
"previewUrl": "https://cdn.lazybird.app/....mp3",
"scope": "global",
"published": true,
"official": true
}
}
Create a voice
Creates a private cloned voice from a voice sample. Voice cloning requires a plan with voice cloning access and available voice slots. Use a clean 10–30 second recording of one speaker.
Upload the sample file as multipart/form-data, or, when the sample is already hosted at a publicly reachable URL, send JSON with sampleUrl. Send either a sample file or a sampleUrl, not both. A successful request returns 201 Created with the new voice.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredShow 2 values
multipart/form-dataapplication/jsonBody · Form data
namestringRequiredDisplay name for the voice
samplefileRequiredMP3, WAV or OGG, up to 20 MB
rightsConfirmedbooleanOptionalConfirms you own this voice or the speaker consented to cloning it (see the Acceptable Use Policy). Recorded on the voice.
Body · JSON
namestringRequiredDisplay name for the voice
sampleUrlstringRequiredPublicly reachable URL of the voice sample
rightsConfirmedbooleanOptionalConfirms you own this voice or the speaker consented to cloning it (see the Acceptable Use Policy). Recorded on the voice.
curl -X POST "https://api.lazybird.app/v2/voices" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"name": "Narrator",
"sampleUrl": "https://example.com/sample.wav",
"rightsConfirmed": true
}'
{
"voice": {
"id": "tgJ2Hes6DauwTg8kFrRPLN",
"displayName": "Elyssia",
"description": "YouTube Host",
"language": "en-US",
"gender": "female",
"labels": [
"Young Adult",
"Energetic"
],
"avatar": "https://cdn.lazybird.app/...",
"previewText": "Hey everyone, I'm Elyssia.",
"previewUrl": "https://cdn.lazybird.app/....mp3",
"scope": "global",
"published": true,
"official": true
}
}
Design a voice
Generates a new voice from a text description of who is speaking and returns a sample of it speaking text. The description is never spoken. Requires voice cloning access. Each design uses characters equal to the length of text, with a minimum of 50.
Designing does not create a voice or use a voice slot. To keep a design, pass its sampleUrl to Create a voice. Reuse a returned seed with the same description and text to reproduce the voice.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Body
descriptionstring≤ 500RequiredWho is speaking: age, gender, pitch, energy, accent, emotion
textstring≤ 1000RequiredWhat the sample says
languagestringOptionalLocale of text, e.g. en-US. Detected when omitted
seedinteger0–2147483647OptionalOmit for a new random voice
curl -X POST "https://api.lazybird.app/v2/voices/design" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"description": "A youthful, energetic, enthusiastic American woman",
"text": "Hey there! I am so excited to show you what we built this week."
}'
{
"sampleUrl": "https://cdn.lazybird.app/users/.../voice-design-....mp3",
"seed": 1359090529,
"duration": 4.82
}
Update a voice
Changes the details of one of your own voices. Send only the fields you want to change. Edits to a published voice show in the public library right away.
To upload the avatar image from a file, send multipart/form-data with the image as avatar (PNG, JPEG or WebP, up to 5 MB); the other fields can go in the same form, with labels comma-separated. Avatars are cropped to a 200×200 square, so use a square image with the face centred. Send either an avatar file or an avatarUrl, not both. Unknown fields are rejected with 400.
Changing language clears the voice's preview clip, because the preview line follows the language; render it again afterwards.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredShow 2 values
application/jsonmultipart/form-dataPath parameters
voiceIdstringRequiredVoice id (or a legacy pv: id)
Body · JSON
namestringOptionaldescriptionstringOptionallabelsarray of stringsOptionalReplaces the voice's labels
Show 28 values
MaleFemaleChildYoung AdultAdultElderNarratorAudiobookPodcastCharacterCelebrityStreamerAdvertisingAnimeASMRCustomer ServiceDocumentaryEducationHorrorKidsMeditationNewsSleepStorytellingTrailerCalmDeepEnergeticlanguagestringOptionalPrimary locale such as en-US or ja-JP; an empty string clears it
avatarUrlstringOptionalPublic PNG, JPEG or WebP image URL
Body · Form data
namestringOptionaldescriptionstringOptionallabelsstringOptionalComma-separated labels
languagestringOptionalavatarfileOptionalPNG, JPEG or WebP image, up to 5 MB
curl -X PATCH "https://api.lazybird.app/v2/voices/abc123" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"description": "Deep, calm narrator",
"labels": [
"Narrator",
"Male"
],
"language": "en-US"
}'
{
"voice": {
"id": "tgJ2Hes6DauwTg8kFrRPLN",
"displayName": "Elyssia",
"description": "YouTube Host",
"language": "en-US",
"gender": "female",
"labels": [
"Young Adult",
"Energetic"
],
"avatar": "https://cdn.lazybird.app/...",
"previewText": "Hey everyone, I'm Elyssia.",
"previewUrl": "https://cdn.lazybird.app/....mp3",
"scope": "global",
"published": true,
"official": true
}
}
Replace a voice sample
Clones one of your voices again from a new recording. The voice keeps its ID, name, description, labels, language and avatar, so existing projects and integrations keep working and speak with the new sample from then on. Use it when the original sample had background noise, music or a second speaker.
Replacing a sample counts as one voice creation toward your plan's monthly limit, but does not use another voice slot. A published voice changes for everyone who uses it, so rightsConfirmed is required for those. The old preview clip is cleared; render it again afterwards.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredShow 2 values
multipart/form-dataapplication/jsonPath parameters
voiceIdstringRequiredVoice id (or a legacy pv: id)
Body · Form data
samplefileRequiredMP3, WAV or OGG, up to 20 MB
rightsConfirmedbooleanOptionalConfirms you own this voice or the speaker consented to cloning it (see the Acceptable Use Policy). Required for published voices.
Body · JSON
sampleUrlstringRequiredPublicly reachable URL of the new voice sample
rightsConfirmedbooleanOptionalConfirms you own this voice or the speaker consented to cloning it (see the Acceptable Use Policy). Required for published voices.
curl -X PUT "https://api.lazybird.app/v2/voices/abc123/sample" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"sampleUrl": "https://example.com/new-sample.wav",
"rightsConfirmed": true
}'
{
"voice": {
"id": "tgJ2Hes6DauwTg8kFrRPLN",
"displayName": "Elyssia",
"description": "YouTube Host",
"language": "en-US",
"gender": "female",
"labels": [
"Young Adult",
"Energetic"
],
"avatar": "https://cdn.lazybird.app/...",
"previewText": "Hey everyone, I'm Elyssia.",
"previewUrl": "https://cdn.lazybird.app/....mp3",
"scope": "global",
"published": true,
"official": true
}
}
Publish a voice
Adds one of your private voices to the public voice library. Anyone can then find it, open its page at https://lazybird.app/voices/{voiceId} and generate speech with it. Give the voice a name, description, labels, language and avatar before publishing; they are what people see in the library.
The response is the voice, now with "scope": "community" and "published": true.
Headers
X-API-KeystringRequiredYour API key
Path parameters
voiceIdstringRequiredVoice id (or a legacy pv: id)
curl -X POST "https://api.lazybird.app/v2/voices/abc123/publish" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"voice": {
"id": "tgJ2Hes6DauwTg8kFrRPLN",
"displayName": "Elyssia",
"description": "YouTube Host",
"language": "en-US",
"gender": "female",
"labels": [
"Young Adult",
"Energetic"
],
"avatar": "https://cdn.lazybird.app/...",
"previewText": "Hey everyone, I'm Elyssia.",
"previewUrl": "https://cdn.lazybird.app/....mp3",
"scope": "global",
"published": true,
"official": true
}
}
Unpublish a voice
Takes one of your voices out of the public library. The voice stays in your own voices.
Headers
X-API-KeystringRequiredYour API key
Path parameters
voiceIdstringRequiredVoice id (or a legacy pv: id)
curl -X POST "https://api.lazybird.app/v2/voices/abc123/unpublish" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"voice": {
"id": "tgJ2Hes6DauwTg8kFrRPLN",
"displayName": "Elyssia",
"description": "YouTube Host",
"language": "en-US",
"gender": "female",
"labels": [
"Young Adult",
"Energetic"
],
"avatar": "https://cdn.lazybird.app/...",
"previewText": "Hey everyone, I'm Elyssia.",
"previewUrl": "https://cdn.lazybird.app/....mp3",
"scope": "global",
"published": true,
"official": true
}
}
Render a voice preview
Returns the voice's short preview clip, the previewText line spoken in the voice. The first call renders it; later calls return the stored clip. Rendering is charged to the voice owner's credits. duration is in seconds and is only included when this call rendered the clip.
Headers
X-API-KeystringRequiredYour API key
Path parameters
voiceIdstringRequiredVoice id (or a legacy pv: id)
curl -X POST "https://api.lazybird.app/v2/voices/abc123/preview" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"previewUrl": "https://cdn.lazybird.app/....mp3",
"duration": 4.2
}
Delete a voice
Deletes one of your own voices. A published voice is also removed from the public voice library.
Headers
X-API-KeystringRequiredYour API key
Path parameters
voiceIdstringRequiredVoice id (or a legacy pv: id)
curl -X DELETE "https://api.lazybird.app/v2/voices/abc123" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"deleted": true
}
Projects and video
A project is a voiceover script, optionally on a video canvas with pictures, video, music and animations. It is what Lazybird Studio edits, so every project you make through the API opens in the editor too (projectUrl). Speech uses your voice credits, like generate-speech.
The usual flow:
- Create a project with
POST /projects. - Write the voiceover and add media with
PATCH /projects/{projectId}. - Make the speech with
POST /projects/{projectId}/speech. - Render with
POST /projects/{projectId}/exportsand poll the export until it iscompleted. See Exports. - Get a link anyone can open with
POST /projects/{projectId}/share.
Create a project
Creates an empty project. Add its voiceover, picture and sound with Change a project.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Body
namestringOptionalcurl -X POST "https://api.lazybird.app/v2/projects" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"name": "Product launch ad"
}'
{
"project": {
"id": "PROJECT_ID",
"name": "Product launch ad",
"kind": "video",
"voiceIds": [
"tgJ2Hes6DauwTg8kFrRPLN"
],
"firstLine": "Meet the fastest way to make a voiceover.",
"version": 3,
"projectUrl": "https://lazybird.app/studio/create?project=PROJECT_ID",
"createdAt": "2026-11-20T09:30:00.000Z",
"updatedAt": "2026-11-20T09:32:00.000Z"
}
}
List your projects
Newest first. While more follow, the response has nextCursor; pass it as cursor for the next page. Each project has id, name, kind (audio or video), version, projectUrl and its dates.
Headers
X-API-KeystringRequiredYour API key
Query parameters
qstringOptionalSearch by name
limitinteger1–100OptionalDefaults to 20cursorstringOptionalcurl "https://api.lazybird.app/v2/projects" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"projects": [
{
"id": "PROJECT_ID",
"name": "Product launch ad",
"kind": "video",
"voiceIds": [
"tgJ2Hes6DauwTg8kFrRPLN"
],
"firstLine": "Meet the fastest way to make a voiceover.",
"version": 3,
"projectUrl": "https://lazybird.app/studio/create?project=PROJECT_ID",
"createdAt": "2026-11-20T09:30:00.000Z",
"updatedAt": "2026-11-20T09:32:00.000Z"
}
],
"total": 0,
"nextCursor": "string"
}
Read a project
Returns the project's voiceover in order, its picture and sound blocks, animations, canvas, styles, variables and uploads. Each voiceover block has a speech state: has speech, speech being made, needs speech, speech failed or empty (no text; a new project starts with one empty block).
Headers
X-API-KeystringRequiredYour API key
Path parameters
projectIdstringRequiredProject id
curl "https://api.lazybird.app/v2/projects/PROJECT_ID" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"id": "string",
"project": {},
"outOfCredits": {
"blocks": 0,
"message": "string",
"upgradeUrl": "https://cdn.lazybird.app/..."
}
}
Change a project
Send a list of changes, applied in order, all or none (up to 200 at once).
| Actions | What they change |
|---|---|
update_project |
Name, details, master volume, and autoGenerate (make speech after each edit) |
insert_voiceover, update_voiceover, move_voiceover, delete_voiceover |
Voiceover blocks (text or SSML, voice, voice settings, pauses) and pauses |
add_block, update_block, delete_block |
Elements, video, images and audio |
add_animation, update_animation, delete_animation |
Animations |
set_canvas, set_style, delete_style, set_font, delete_font, set_variable, delete_variable |
The canvas, styles, fonts and variables |
set_script, delete_script |
Custom JavaScript the video export runs, with GSAP, for what blocks and animations can't do (particles, generative patterns, charts that draw themselves) |
Give a new item a ref, and later changes in the same request can use it as the item's id. The response lists what changed, the ids the refs got, and the blocks that need speech (needSpeechBlockIds). Edits and speech requests are rate limited per account (429).
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Path parameters
projectIdstringRequiredProject id
Body
changesarray of objects≤ 200RequiredShow 1 property
actionstringRequiredcurl -X PATCH "https://api.lazybird.app/v2/projects/PROJECT_ID" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"changes": [
{
"action": "insert_voiceover",
"ref": "intro",
"text": "Meet the fastest way to make a voiceover.",
"voiceId": "tgJ2Hes6DauwTg8kFrRPLN"
},
{
"action": "insert_voiceover",
"after": "intro",
"pause": 0.5
}
]
}'
{
"changed": true,
"summary": [
"Added voiceover block intro",
"Added a 0.5s pause"
],
"ids": {
"intro": "BLOCK_ID"
},
"needSpeechBlockIds": [
"BLOCK_ID"
]
}
Get the change schema
Returns the full JSON Schema of every change Change a project takes, and a guide to building the picture and sound: the shape of every block, animation, canvas, style, font and variable, with examples.
Headers
X-API-KeystringRequiredYour API key
curl "https://api.lazybird.app/v2/projects/change-schema" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"description": "string",
"changes": {},
"guide": "string"
}
Make speech
Makes speech for every block that needs it, or only blockIds; regenerate: true also redoes blocks that have speech. Poll Read a project until no block is speech being made. If the read then has outOfCredits, the account ran out of voice credits, and its upgradeUrl is where to get more.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Path parameters
projectIdstringRequiredProject id
Body
blockIdsarray of strings≤ 1000OptionalregeneratebooleanOptionalAlso make new speech for blocks that have it
curl -X POST "https://api.lazybird.app/v2/projects/PROJECT_ID/speech" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"blockIds": [
"string"
],
"regenerate": true
}'
{
"requested": 0
}
Speech as a file
A link to the blocks' own speech as one mp3, for anything that wants a URL rather than bytes: a player, a lipsync service, a download. Name up to 50 blocks. They come out in the project's own order, with its silences between them, whatever order you list them in, and a block that still needs speech is made first (voice credits, as above).
The link carries its own pass, so whoever holds it can fetch the file without an API key, and it works with Range requests. It lasts 30 days, and every fetch gives the file another 30. blocks says where each block landed in the file, measured on the audio itself, so captions and cuts line up with what is said.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Path parameters
projectIdstringRequiredProject id
Body
blockIdsarray of strings≤ 50Requiredcurl -X POST "https://api.lazybird.app/v2/projects/PROJECT_ID/speech/file" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"blockIds": [
"intro",
"offer"
]
}'
{
"url": "https://cdn.lazybird.app/...",
"expiresAt": "2026-11-20T09:30:00.000Z",
"seconds": 0,
"blocks": [
{
"blockId": "string",
"start": 0,
"duration": 0
}
]
}
Copy a project
Makes a copy of the project, optionally under a new name.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Path parameters
projectIdstringRequiredProject id
Body
namestringOptionalcurl -X POST "https://api.lazybird.app/v2/projects/PROJECT_ID/duplicate" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"name": "string"
}'
{
"project": {
"id": "PROJECT_ID",
"name": "Product launch ad",
"kind": "video",
"voiceIds": [
"tgJ2Hes6DauwTg8kFrRPLN"
],
"firstLine": "Meet the fastest way to make a voiceover.",
"version": 3,
"projectUrl": "https://lazybird.app/studio/create?project=PROJECT_ID",
"createdAt": "2026-11-20T09:30:00.000Z",
"updatedAt": "2026-11-20T09:32:00.000Z"
}
}
Delete a project
Deletes the project and its exports.
Headers
X-API-KeystringRequiredYour API key
Path parameters
projectIdstringRequiredProject id
curl -X DELETE "https://api.lazybird.app/v2/projects/PROJECT_ID" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{}
Add media from a URL
Copies a stock result or another Lazybird file (a cdn.lazybird.app, Pexels or Pixabay URL) into the project's uploads. Other sites are refused: upload their files instead. Use an upload's url in add_block changes.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Path parameters
projectIdstringRequiredProject id
Body
urlstringRequirednamestringOptionalcurl -X POST "https://api.lazybird.app/v2/projects/PROJECT_ID/uploads/from-url" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"url": "https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg",
"name": "Team"
}'
{
"upload": {
"id": "UPLOAD_ID",
"name": "Team",
"type": "image",
"source": "upload",
"url": "https://cdn.lazybird.app/...",
"status": "ready",
"size": 482113,
"createdAt": "2026-11-20T09:31:00.000Z"
}
}
Upload a file
Starts an upload of a local file: send its fileName, type (image, video or audio) and size in bytes. POST the file as a form to the returned uploadUrl, each of uploadFields first, then the file as file, without the API key and within an hour:
# uploadFields → one -F per field, in order; the file goes last
curl -X POST "$UPLOAD_URL" -F "key=..." -F "Content-Type=video/mp4" -F "Policy=..." \
-F "X-Amz-Signature=..." ... -F "[email protected]"
Then call Finish an upload. A file is up to 100 MB, and uploads share your plan's storage. On the Free plan, uploads are kept for 30 days.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Path parameters
projectIdstringRequiredProject id
Body
fileNamestringRequiredtypestringRequiredShow 3 values
imagevideoaudiosizeinteger≤ 104857600RequiredThe file's size in bytes
curl -X POST "https://api.lazybird.app/v2/projects/PROJECT_ID/uploads" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"fileName": "clip.mp4",
"type": "video",
"size": 7340032
}'
{
"upload": {
"id": "UPLOAD_ID",
"name": "Team",
"type": "image",
"source": "upload",
"url": "https://cdn.lazybird.app/...",
"status": "ready",
"size": 482113,
"createdAt": "2026-11-20T09:31:00.000Z"
},
"uploadUrl": "https://cdn.lazybird.app/...",
"uploadFields": {}
}
Finish an upload
Marks an upload as sent once its file is at uploadUrl. The upload is then ready to use by its url.
Headers
X-API-KeystringRequiredYour API key
Path parameters
projectIdstringRequiredProject id
uploadIdstringRequiredUpload id
curl -X POST "https://api.lazybird.app/v2/projects/PROJECT_ID/uploads/UPLOAD_ID/finalize" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"upload": {
"id": "UPLOAD_ID",
"name": "Team",
"type": "image",
"source": "upload",
"url": "https://cdn.lazybird.app/...",
"status": "ready",
"size": 482113,
"createdAt": "2026-11-20T09:31:00.000Z"
}
}
List uploads
Returns the project's uploads, newest first.
Headers
X-API-KeystringRequiredYour API key
Path parameters
projectIdstringRequiredProject id
curl "https://api.lazybird.app/v2/projects/PROJECT_ID/uploads" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"uploads": [
{
"id": "UPLOAD_ID",
"name": "Team",
"type": "image",
"source": "upload",
"url": "https://cdn.lazybird.app/...",
"status": "ready",
"size": 482113,
"createdAt": "2026-11-20T09:31:00.000Z"
}
]
}
Search stock images
Free stock images to add to projects. Each result has a block ready for an add_block change: give it a startTime.
Headers
X-API-KeystringRequiredYour API key
Query parameters
qstringOptionalpageintegerOptionalcurl "https://api.lazybird.app/v2/stock/images" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"results": [
{}
]
}
Search stock videos
Free stock videos to add to projects. Each result has a block ready for an add_block change: give it a startTime.
Headers
X-API-KeystringRequiredYour API key
Query parameters
qstringOptionalpageintegerOptionalcurl "https://api.lazybird.app/v2/stock/videos" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"results": [
{}
]
}
Search music
Free music tracks to add to projects by cdnUrl.
Headers
X-API-KeystringRequiredYour API key
Query parameters
qstringOptionalinstrumentalbooleanOptionalminDurationnumberOptionalSeconds
maxDurationnumberOptionalSeconds
pageintegerOptionallimitinteger1–25OptionalDefaults to 10curl "https://api.lazybird.app/v2/music" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"tracks": [
{}
]
}
List assets
Every file your account has, newest first, in one list: your uploads (source: upload), the clips, stills and songs your jobs made (generated), and your finished video and audio exports (export). type takes several kinds apart by commas (image,audio), and q matches words in the name: a made clip's name is its prompt, an export's is its project's name.
The response is { "assets": [...], "total": 42, "nextCursor": "..." }. Each asset has id, name, type, source, url, status, and where known projectId, thumbnailUrl, duration, width, height and size. An asset is expired once its file is gone: a Free plan's upload, or an export, after 90 days. A finished job and a finished video or audio export name their asset as assetId.
Headers
X-API-KeystringRequiredYour API key
Query parameters
projectIdstringOptionalOnly this project's
typestringOptionalimage, video or audio; several apart by commas
sourcestringOptionalShow 3 values
uploadgeneratedexportqstringOptionalSearch by name
limitinteger1–100OptionalDefaults to 20cursorstringOptionalcurl "https://api.lazybird.app/v2/assets" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"assets": [
{
"id": "UPLOAD_ID",
"name": "Team",
"type": "image",
"source": "upload",
"url": "https://cdn.lazybird.app/...",
"status": "ready",
"size": 482113,
"createdAt": "2026-11-20T09:31:00.000Z"
}
],
"total": 0,
"nextCursor": "string"
}
Share a project
Returns a url anyone can open to watch or listen to the project. It plays the project's latest MP4 (or MP3 for a voiceover) while that export matches the project, otherwise a live preview of the project as it is: export after your last change to share the finished file.
Headers
X-API-KeystringRequiredYour API key
Path parameters
projectIdstringRequiredProject id
curl -X POST "https://api.lazybird.app/v2/projects/PROJECT_ID/share" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"url": "https://cdn.lazybird.app/..."
}
Render a project
Starts rendering a video, audio or transcript file.
type |
format |
Options |
|---|---|---|
video |
mp4, mov |
width and height to render at another size |
audio |
mp3, wav, ogg |
phone (pcm or mulaw) with wav for phone systems |
transcript |
txt, docx, srt, vtt |
The export starts as exporting. Poll Get an export until status is completed, when url has the file, or failed. A video needs a picture, and every block needs its speech unless you pass allowMissingSpeech: true.
Exports share Lazybird's render machines, so each account renders a few exports at a time and a limited length of output per day, counted in seconds of the rendered file, with videos counted apart from audio. A transcript counts toward the exports at a time only. Past either limit the API returns 429 with Retry-After.
Each day includes 5 minutes of video export on the Free plan and 20 minutes on paid plans. Past that, every 10 seconds of video costs 1 video credit, taken when the export starts and given back if it fails; without enough credits the export is refused with 422 (code video_credits_limit) and an upgradeUrl. Audio and transcripts are free.
A project with custom scripts (set_script) renders them only in a video export, never in the Studio's preview. Exporting it needs a verified email and at least 1 video credit left. An ordinary script costs nothing extra: each second of video may use 40 seconds of computing and 10 seconds of waiting, plus a minute to start. Each second a render runs past that costs 1 video credit. A render stops when nothing new is drawn for 30 seconds or when what it ran over reaches the credits left; one its scripts freeze or crash fails, and the time it used is charged. A failed export says why in error.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Path parameters
projectIdstringRequiredProject id
Body
typestringRequiredShow 3 values
videoaudiotranscriptformatstringRequiredvideo: mp4, mov; audio: mp3, wav, ogg; transcript: txt, docx, srt, vtt
Show 9 values
mp4movmp3wavoggtxtdocxsrtvttwidthintegerOptionalVideo only, with height
heightintegerOptionalphonestringOptionalWAV audio only: 8 kHz mono for phone systems
Show 2 values
pcmmulawallowMissingSpeechbooleanOptionalcurl -X POST "https://api.lazybird.app/v2/projects/PROJECT_ID/exports" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"type": "video",
"format": "mp4"
}'
{
"export": {
"id": "EXPORT_ID",
"projectId": "PROJECT_ID",
"type": "video",
"format": "mp4",
"resolution": {
"width": 1920,
"height": 1080
},
"status": "exporting",
"projectVersion": 3,
"createdAt": "2026-11-20T09:33:00.000Z",
"updatedAt": "2026-11-20T09:33:00.000Z"
}
}
Get an export
Returns one export. The file at url is kept for 30 days; then the export's status is expired, without a url. projectVersion is the project version it rendered.
Headers
X-API-KeystringRequiredYour API key
Path parameters
projectIdstringRequiredProject id
exportIdstringRequiredExport id
curl "https://api.lazybird.app/v2/projects/PROJECT_ID/exports/EXPORT_ID" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"export": {
"id": "EXPORT_ID",
"projectId": "PROJECT_ID",
"type": "video",
"format": "mp4",
"resolution": {
"width": 1920,
"height": 1080
},
"status": "exporting",
"projectVersion": 3,
"createdAt": "2026-11-20T09:33:00.000Z",
"updatedAt": "2026-11-20T09:33:00.000Z"
}
}
List exports
Returns the project's exports, newest first.
Headers
X-API-KeystringRequiredYour API key
Path parameters
projectIdstringRequiredProject id
curl "https://api.lazybird.app/v2/projects/PROJECT_ID/exports" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"exports": [
{
"id": "EXPORT_ID",
"projectId": "PROJECT_ID",
"type": "video",
"format": "mp4",
"resolution": {
"width": 1920,
"height": 1080
},
"status": "exporting",
"projectVersion": 3,
"createdAt": "2026-11-20T09:33:00.000Z",
"updatedAt": "2026-11-20T09:33:00.000Z"
}
]
}
Jobs
Everything our GPUs make besides speech is one endpoint. kind names the work and input is what that kind takes:
kind |
What it makes | input takes |
Costs |
|---|---|---|---|
video |
A clip from the words, or from the picture they bring to life | prompt; optionally imageUrl (the frame it opens on — with none the words alone make it), width+height (the shape a clip made from the words alone comes out, 16:9 otherwise), 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 or speech, pinnedFrames, sound (on unless you turn it off), resolution (480p/720p/1080p), model (h3/h3-lite), addons ([{ "name": "motion" }], dance, realism, any of them together) |
On h3: 1 video credit a second at 720p and 1080p, half at 480p. On h3-lite: half of that |
avatar |
One of your avatars speaking a clip | avatarId, and what it says: text (voiced in voiceId, or the avatar's own voice, and charged as speech), audioUrl or speech; optionally firstFrame ({stillId}, {imageUrl} or {jobId}, the shot it opens on), instructions and pinnedFrames (how it acts) resolution (480p/720p/1080p) and addons ([{ "name": "realism" }], on by itself for a real photo's avatar when the clip has no instructions or pinnedFrames; [] turns it off) |
0.5 video credits a second at 480p, 1 at 720p, 2 at 1080p, as long as what it says |
avatar-setup |
An avatar, from a picture of the person — POST /avatars submits it, see Avatars |
name, imageUrl, optionally voiceId |
10 credits |
image |
A still, from a prompt and any reference pictures | prompt; optionally imageUrls (up to 4), width+height, addons ([{ "name": "realism" }]) |
3 credits |
music |
A song, from a style and lyrics, or an instrumental | style, lyrics (optional with instrumental: true) |
10 voice credits a second, up to 300 s |
transcript |
Speech to text, with word timings | audioUrl; optionally language, timestamps (every word is timed unless this is false) |
free |
timings |
Word timings for text you already have | audioUrl, text; optionally language |
free |
faces |
The faces in a picture | imageUrl |
free |
safety |
Whether a picture is safe to publish | imageUrl |
free |
language |
The languages spoken in a clip, likeliest first | audioUrl |
free |
speech is speech the account has already made, named rather than handed over: {"speech": {"projectId": "...", "blockIds": ["intro", "offer"]}}. The blocks' own takes are used, laid out as the project's timeline has them — in its order, with its silences between — and a block that still needs speech is made first. The job's speech comes back with it: the track's url and seconds, and where each block landed in it, so captions line up with the clip.
How each kind is rendered — the model, the steps, the quality setting — is ours to pick and to keep tuning, so input takes what is listed and nothing else: an unknown field is a 400.
Start a job
The call answers 202 the moment the job is queued; it never waits for the render.
Media URLs in input are public links the workers fetch: a project upload's url, a stock or music result, or any other public URL. On an image or video job, width and height go together or not at all; on a video job they are the shape of a clip made from the words alone, so a clip that opens on imageUrl comes out on that picture's shape and is refused if it asks for both.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Body
kindstringRequiredvideo 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.
Show 10 values
videoavataravatar-setupimagemusictranscripttimingsfacessafetylanguageinputobjectRequiredWhat 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.
poolstringOptionalDefaults to "priority"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.
Show 2 values
priorityoffpeakcurl -X POST "https://api.lazybird.app/v2/jobs" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"kind": "video",
"input": {
"prompt": "the logo spins and the camera pulls back",
"imageUrl": "https://cdn.lazybird.app/uploads/logo.png",
"seconds": 6
}
}'
{
"job": {
"id": "string",
"kind": "video",
"status": "queued",
"pool": "priority",
"input": {},
"output": {
"url": "https://cdn.lazybird.app/...",
"seconds": 0,
"width": 0,
"height": 0,
"lastFrameUrl": "https://cdn.lazybird.app/..."
},
"assetId": "string",
"credits": 0,
"error": "string",
"firstFrameUrl": "https://cdn.lazybird.app/...",
"readyAt": "2026-11-20T09:30:00.000Z",
"createdAt": "2026-11-20T09:30:00.000Z",
"updatedAt": "2026-11-20T09:30:00.000Z"
}
}
Resolution
A video or avatar job takes resolution: 480p, 720p or 1080p, and 720p when you leave it out. The resolution names the clip's short side, and the long side follows the shape of the picture it came from — a 16:9 picture is 854×480, 1280×720 or 1920×1080, an upright one 480×846, 720×1280 or 1080×1920. The clip is delivered at the resolution it asked for whatever went in, so you never get back a size you did not ask for.
A video job also takes model: h3, the default, gives sharper detail and smoother motion; h3-lite is quicker and costs half as much: half a video credit a second at 720p and 1080p, a quarter at 480p. addons steers the clip on top of its model: motion for people moving naturally through spins, turns and full-body action, dance for dancing, realism for a real photo's natural skin and candid look instead of the glossy one. Send any of them together, each as an object: [{ "name": "motion" }]. An avatar clip or an image takes [{ "name": "realism" }] too.
Each resolution is rendered at its own size rather than one render written out three ways, so what you pay follows what it takes to make. Nothing renders above 720p — a picture larger than that is kept whole as the reference it is, and the render runs on a copy cut to size — and 1080p takes those frames through our upscaler on the way out, so the clip carries real detail at the size it is delivered at instead of being stretched to it, at the 720p rate. A 480p clip is drawn on a canvas of its own size, a fraction of the pixels, and costs half the 720p rate.
An avatar made from a picture smaller than we render at is drawn at that picture's size and taken up to the resolution you asked for on the way out. It still arrives at that resolution; a small picture simply has less detail to carry into it.
Asking for the same video, image or music twice is two tries at it, charged twice; the same avatar job again is the clip you already have, charged once.
Be told when it is done
Don't poll. Every change to a job is published on your account's realtime channel. Connect with your API key, as the api_key query parameter or the X-API-Key header, and subscribe to user:<userId>:
const { userId } = await fetch("https://api.lazybird.app/v2/me", {
headers: { "X-API-Key": process.env.LAZYBIRD_API_KEY },
}).then((r) => r.json());
const ws = new WebSocket(`wss://api.lazybird.app/ws?api_key=${process.env.LAZYBIRD_API_KEY}`);
ws.onopen = () => ws.send(JSON.stringify({ type: "subscribe", channels: [`user:${userId}`] }));
ws.onmessage = (event) => {
const { message } = JSON.parse(event.data);
if (message?.type !== "media_job_updated") return;
const job = message.job;
if (job.status === "completed") console.log(job.id, job.output.url);
if (job.status === "failed") console.error(job.id, job.error);
};
Each message carries the whole job, so there is nothing to fetch after it arrives.
List jobs
Newest first. kind and status narrow it, limit is 1–100 (default 20), and while more follow the response has nextCursor to pass as cursor.
Headers
X-API-KeystringRequiredYour API key
Query parameters
kindstringOptionalShow 10 values
videoavataravatar-setupimagemusictranscripttimingsfacessafetylanguagestatusstringOptionalShow 5 values
queuedrunningcompletedfailedcancelledlimitinteger1–100OptionalDefaults to 20cursorstringOptionalcurl "https://api.lazybird.app/v2/jobs" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"jobs": [
{
"id": "string",
"kind": "video",
"status": "queued",
"pool": "priority",
"input": {},
"output": {
"url": "https://cdn.lazybird.app/...",
"seconds": 0,
"width": 0,
"height": 0,
"lastFrameUrl": "https://cdn.lazybird.app/..."
},
"assetId": "string",
"credits": 0,
"error": "string",
"firstFrameUrl": "https://cdn.lazybird.app/...",
"readyAt": "2026-11-20T09:30:00.000Z",
"createdAt": "2026-11-20T09:30:00.000Z",
"updatedAt": "2026-11-20T09:30:00.000Z"
}
],
"nextCursor": "string"
}
Get a job
For a client that can't hold a socket open: read it once the work is likely done, not in a tight loop. A job's status is queued, then running, then completed, failed or cancelled. A finished job has an output: url is the file the render made (video, avatar, image, music), data is what a reading found, and seconds, width and height describe what was made. A failed job has an error. A job made in the Studio for a project, such as one the agent made, names it as projectId.
Headers
X-API-KeystringRequiredYour API key
Path parameters
jobIdstringRequiredJob id
curl "https://api.lazybird.app/v2/jobs/JOB_ID" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"job": {
"id": "string",
"kind": "video",
"status": "queued",
"pool": "priority",
"input": {},
"output": {
"url": "https://cdn.lazybird.app/...",
"seconds": 0,
"width": 0,
"height": 0,
"lastFrameUrl": "https://cdn.lazybird.app/..."
},
"assetId": "string",
"credits": 0,
"error": "string",
"firstFrameUrl": "https://cdn.lazybird.app/...",
"readyAt": "2026-11-20T09:30:00.000Z",
"createdAt": "2026-11-20T09:30:00.000Z",
"updatedAt": "2026-11-20T09:30:00.000Z"
}
}
Cancel a job
Cancels a job that is still queued or running.
Headers
X-API-KeystringRequiredYour API key
Path parameters
jobIdstringRequiredJob id
curl -X DELETE "https://api.lazybird.app/v2/jobs/JOB_ID" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"job": {
"id": "string",
"kind": "video",
"status": "queued",
"pool": "priority",
"input": {},
"output": {
"url": "https://cdn.lazybird.app/...",
"seconds": 0,
"width": 0,
"height": 0,
"lastFrameUrl": "https://cdn.lazybird.app/..."
},
"assetId": "string",
"credits": 0,
"error": "string",
"firstFrameUrl": "https://cdn.lazybird.app/...",
"readyAt": "2026-11-20T09:30:00.000Z",
"createdAt": "2026-11-20T09:30:00.000Z",
"updatedAt": "2026-11-20T09:30:00.000Z"
}
}
What a job costs
The renders are paid out of video credits, a balance of their own: one credit is one second of an avatar clip at 720p, and every other render is priced against that second's work on the GPUs. A song is the exception — it is paid out of the same credits speech spends, 10 characters for every second of music. pool picks where the job runs — priority (rented GPUs, the job starts now) or offpeak (our own GPUs while they are idle, with no promise when it starts). Left out, the job goes to priority when its credits cover it and to off-peak when they don't; the job's pool says which. Out of credits in the pool named, or in both when none is, is a 422 with an upgradeUrl, like speech. A job is charged on what it delivered — never more than it held when it started, so a clip that runs a few frames long costs what you were quoted — and one that fails or that you cancel costs nothing, and a song holds what the longest one costs (3,000) while it is written, then gives back what it didn't deliver. The readings are free.
Avatars
An avatar job names someone you made first, so the people your account has speak are a list you hold rather than a face passed in with every render.
Make an avatar
Making an avatar is a job like a render: the picture is copied into your own storage and the avatar's first rest stills are rendered. The call answers 202 with the avatar and the job making it. The avatar is on your account at once, with status pending and that job's jobId; it turns preparing and then ready once the job lands, and goes away again if the job fails or is cancelled. Follow it by GET /avatars/{avatarId}, the job by GET /jobs/{jobId} or the realtime channel. Deleting a pending avatar cancels its job.
It costs 10 video credits, out of the off-peak pool unless pool says otherwise. They buy the avatar, not one render: the stored picture, and the rest stills its clips are pinned to, which are rendered, filled in and kept up to date for free for as long as you keep it.
imageUrl is a public link to a picture of that person, up to 20 MB. It is copied into your own storage as the avatar is made, and the avatar's imageUrl is that copy, so the link you sent can change afterwards without changing the avatar. Make an avatar only of someone whose likeness you have the right to use.
An avatar can also carry a voice: voiceId, one of your own voices or one of ours, by id or slug. It is what that person sounds like, so speech you write for them starts from their voice rather than one picked again each time. A clip pinned to a recording ignores it.
A clip pins a rest still every 30 seconds, at its quietest frames, so it doesn't hold one pose the whole way through; stillsReady counts the ones the avatar has and status is preparing until the first three have landed. An avatar speaks from the moment it exists — preparing is about how varied a long clip looks, not whether it renders — and a clip longer than its stills cover renders the ones it wants first, up to ten, free.
A clip opens on one of the avatar's stills, picked at random, and takes turns with the others from there. firstFrame picks the shot instead: {"stillId": "…"}, one of the avatar's stills (each has an id it keeps), after which the clip takes turns with the other stills as usual; or {"imageUrl": "…"}, a public link to a picture of the same person, up to 20 MB, copied into your storage for this clip. The clip stays on that picture — the avatar's stills are of its own shot — and comes out on its shape. Or {"jobId": "…"} carries on from an earlier avatar or video job of yours: the clip opens on that one's last frame (its output.lastFrameUrl), so scenes cut together without a jump. When that job was a clip of the same avatar on its own stills, this one keeps taking turns with them; otherwise it stays on that frame. The job's firstFrameUrl is the picture it opens on, from the moment it is queued; a still the clip renders first is there once the avatar's stills list it.
instructions direct the acting, up to 50 of them: {"instruction": "smiles warmly", "seconds": 0.5} at a moment, or start and end over a stretch, with words — the words it falls on — to place it on what is said. pinnedFrames hold up to 16 stretches to a frame, none overlapping and none longer than 10 seconds: the clip is cut at start and end and comes back to that frame at both, so a gesture in between lands and settles where you want it. A pin names stillId, one of the avatar's stills, or imageUrl, a picture of the same person — the opening shot otherwise — and may carry an instruction and words for what happens in between. A direction that starts after the clip ends is a 400.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Body
namestringRequiredWhat you call this avatar
imageUrlstringRequiredA public link to a picture of the person, up to 20 MB
voiceIdstringOptionalThe voice this person speaks in, one of yours or ours, by id or slug: speech written for them starts from it. A scene takes its original's voice when left out
parentIdstringOptionalMakes this a scene of one of your avatars: the same person in another outfit, place or shape. Make its picture first with an image job that edits the original's imageUrl (picture 1), at the width and height the scene's clips should have. A scene of a scene belongs to the original
poolstringOptionalWhere the job runs; off-peak when left out
Show 2 values
priorityoffpeakcurl -X POST "https://api.lazybird.app/v2/avatars" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"name": "Maya",
"imageUrl": "https://cdn.lazybird.app/uploads/maya.jpg"
}'
{
"avatar": {
"id": "string",
"name": "string",
"imageUrl": "https://cdn.lazybird.app/...",
"width": 0,
"height": 0,
"parentId": "string",
"voiceId": "string",
"status": "pending",
"jobId": "string",
"stillsReady": 0,
"stills": [
{
"id": "string",
"imageUrl": "https://cdn.lazybird.app/..."
}
],
"createdAt": "2026-11-20T09:30:00.000Z",
"updatedAt": "2026-11-20T09:30:00.000Z"
},
"job": {
"id": "string",
"kind": "video",
"status": "queued",
"pool": "priority",
"input": {},
"output": {
"url": "https://cdn.lazybird.app/...",
"seconds": 0,
"width": 0,
"height": 0,
"lastFrameUrl": "https://cdn.lazybird.app/..."
},
"assetId": "string",
"credits": 0,
"error": "string",
"firstFrameUrl": "https://cdn.lazybird.app/...",
"readyAt": "2026-11-20T09:30:00.000Z",
"createdAt": "2026-11-20T09:30:00.000Z",
"updatedAt": "2026-11-20T09:30:00.000Z"
}
}
List your avatars
Newest first.
Headers
X-API-KeystringRequiredYour API key
curl "https://api.lazybird.app/v2/avatars" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"avatars": [
{
"id": "string",
"name": "string",
"imageUrl": "https://cdn.lazybird.app/...",
"width": 0,
"height": 0,
"parentId": "string",
"voiceId": "string",
"status": "pending",
"jobId": "string",
"stillsReady": 0,
"stills": [
{}
],
"createdAt": "2026-11-20T09:30:00.000Z",
"updatedAt": "2026-11-20T09:30:00.000Z"
}
]
}
Read an avatar
Headers
X-API-KeystringRequiredYour API key
Path parameters
avatarIdstringRequiredAvatar id
curl "https://api.lazybird.app/v2/avatars/AVATAR_ID" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"avatar": {
"id": "string",
"name": "string",
"imageUrl": "https://cdn.lazybird.app/...",
"width": 0,
"height": 0,
"parentId": "string",
"voiceId": "string",
"status": "pending",
"jobId": "string",
"stillsReady": 0,
"stills": [
{
"id": "string",
"imageUrl": "https://cdn.lazybird.app/..."
}
],
"createdAt": "2026-11-20T09:30:00.000Z",
"updatedAt": "2026-11-20T09:30:00.000Z"
}
}
Change an avatar
Changes what it is called or the voice it speaks in. Only the fields you send change, and "voiceId": null leaves it with no voice again. The picture can't be swapped: a new face is a new avatar.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Path parameters
avatarIdstringRequiredAvatar id
Body
namestringOptionalvoiceIdstringOptionalA voice by id or slug, or null to leave it with none
curl -X PATCH "https://api.lazybird.app/v2/avatars/AVATAR_ID" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"voiceId": "VOICE_ID"
}'
{
"avatar": {
"id": "string",
"name": "string",
"imageUrl": "https://cdn.lazybird.app/...",
"width": 0,
"height": 0,
"parentId": "string",
"voiceId": "string",
"status": "pending",
"jobId": "string",
"stillsReady": 0,
"stills": [
{
"id": "string",
"imageUrl": "https://cdn.lazybird.app/..."
}
],
"createdAt": "2026-11-20T09:30:00.000Z",
"updatedAt": "2026-11-20T09:30:00.000Z"
}
}
Delete an avatar
Lets it go, picture and all; the clips already made from it stay yours. A deleted avatar is not refunded. An account keeps up to 100 avatars and makes up to 10 a minute. Then give an avatar's id to an avatar job:
curl -X POST "https://api.lazybird.app/v2/jobs" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind": "avatar", "input": {"avatarId": "AVATAR_ID", "audioUrl": "https://cdn.lazybird.app/uploads/welcome.mp3"}}'
Headers
X-API-KeystringRequiredYour API key
Path parameters
avatarIdstringRequiredAvatar id
curl -X DELETE "https://api.lazybird.app/v2/avatars/AVATAR_ID" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"deleted": true
}
Check service status
Returns the current API health. Needs no API key.
curl "https://api.lazybird.app/v2/status"
{
"status": "ok"
}
Check your account
Returns the account the API key belongs to, its plan and credit usage for the current period.
plan.tier is one of free, creator, pro, max, or legacy for older plans. remaining is the plan allowance left this period plus any purchased extraCredits. resetsAt is when used goes back to zero; it is omitted for team seats, and for a Free account, whose 3,000 credits come once, at sign-up, and never refill. One credit is one character. The plan allowance is used first; purchased extraCredits never expire.
videoCredits are what jobs and long video exports cost, one balance per pool: priority runs the job now, offpeak waits for an idle GPU. Both reset at the start of the UTC month. A Free account has no monthly off-peak allowance: its offpeak balance is a one-time grant, so it reports no resetsAt.
Headers
X-API-KeystringRequiredYour API key
curl "https://api.lazybird.app/v2/me" \
-H "X-API-Key: $LAZYBIRD_API_KEY"
{
"userId": "abc123",
"email": "[email protected]",
"plan": {
"tier": "free",
"name": "Free",
"isPaid": false
},
"credits": {
"used": 1200,
"limit": 3000,
"extraCredits": 0,
"remaining": 1800
}
}
Upgrade or buy credits
Creates a checkout link for a paid plan, or for a one-time pack of extra credits. Open the link in a browser to pay; the plan or credits apply to the account as soon as payment completes, and the same API key keeps working. See pricing for what each plan includes.
Extra credits top up a plan, so the account needs one first. They cost $20 per 1M on Creator and $5 per 1M on Pro or Max, so {"creditsUsd":10} buys 500,000 credits on Creator or 2,000,000 on Pro. They never expire.
Headers
X-API-KeystringRequiredYour API key
Content-TypestringRequiredapplication/json
Body
planstringRequiredShow 3 values
creatorpromaxintervalstringRequiredShow 2 values
monthlyyearlycreditsUsdinteger10–1000RequiredWhole dollars to spend on credits
curl -X POST "https://api.lazybird.app/v2/checkout" \
-H "X-API-Key: $LAZYBIRD_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"plan": "creator",
"interval": "monthly"
}'
{
"checkoutUrl": "https://checkout.lazybird.app/..."
}
Request a login code
Emails a 6-digit code. The response is the same whether or not an account exists for the email. Use a permanent inbox; disposable email domains are rejected with 400. You can request one code per email per minute and five per hour; extra requests get 429 with a Retry-After header.
Headers
Content-TypestringRequiredapplication/json
Body
emailstringRequiredcurl -X POST "https://api.lazybird.app/v2/auth/request-code" \
-H "Content-Type: application/json" \
--data '{
"email": "[email protected]"
}'
{
"sent": true,
"expiresInSeconds": 600
}
Trade the code for a key
Codes expire after 10 minutes and work once. A wrong or expired code returns 400 with {"error": "Invalid or expired code"}; after five wrong attempts the code is cancelled and you need to request a new one. Repeated wrong codes for one email, or too many attempts or new accounts from one network or one email domain, return 429 with a Retry-After header. Company and custom domains can create up to 15 new accounts a day this way. A 429 for too many new accounts leaves the code valid, so you can retry before it expires. Each successful verification creates a new key; existing keys keep working.
Store the key somewhere private, such as an environment variable. Accounts created this way start on the free plan; see Check your account and Upgrade or buy credits.
Headers
Content-TypestringRequiredapplication/json
Body
emailstringRequiredcodestringRequiredThe 6-digit code from the email
keyNamestring≤ 100OptionalA label for the new key
curl -X POST "https://api.lazybird.app/v2/auth/verify-code" \
-H "Content-Type: application/json" \
--data '{
"email": "[email protected]",
"code": "123456",
"keyName": "my agent"
}'
{
"apiKey": "YOUR_API_KEY",
"userId": "abc123",
"email": "[email protected]",
"isNewAccount": true
}
Responses
Successful generate-speech requests return an MP3 file, or a WAV file when you pass phone. Other endpoints return JSON.
Errors return JSON with an error message:
{
"error": "Authorization Error: Invalid API key"
}
| Status | Meaning |
|---|---|
400 |
Invalid input, such as a missing or unknown field, an invalid page cursor, or a wrong or expired login code |
401 |
Missing or invalid API key |
422 |
Your plan blocked the request, for example you are out of credits or voice cloning slots; check GET /me. When credits ran out, the body has an upgradeUrl |
429 |
Too many requests, or too many exports at once, or too long an output for what's left today; wait for the number of seconds in the Retry-After header (also in retryAfterSeconds) |
503 |
The service is temporarily unavailable; try again later |
If a request fails, check that your API key is valid, the voiceId exists, and the request includes exactly one of text and ssml.
Testing tips
- Make API requests from a server environment, not browser code.
- Start by calling
/voicesand copying a voice ID from the response. - Save
generate-speechresponses with--output speech.mp3. - Keep SSML valid XML. Escape quotation marks correctly when sending SSML inside JSON.