thelastapi
Get started free

Images, video and voice

Image, video, speech and transcription models behind the same key, with every output kept in Files.

One API for image, video and voice AI models

Generate images, render 720p video clips, synthesize speech, and transcribe audio using one API key and OpenAI-compatible routes.

Images, video and voice

A speech-to-text API for 99 languages

Transcribe 99 languages and generate spoken audio using one OpenAI-compatible endpoint, a single API key, and shared billing with thelastapi.

Images, video and voice

A text-to-speech API: voices, formats and price per 1,000 characters

Text-to-speech costs $0.04 per 1,000 characters with vibiz/voice and vibiz/voice-lite, featuring nine voices, streamed MP3/PCM, and auto file saves.

Images, video and voice

A text-to-video API: a six-second clip from a prompt

Add AI video generation to your app with one API key using asynchronous jobs, generating 6-second clips with sound for $0.54 per render.

Images, video and voice

A vertical 9:16 video API for Shorts, Reels and TikTok

Generate vertical 9:16 AI videos for Shorts, Reels, and TikTok using thelastapi jobs endpoint or the CLI, with permanent storage included.

Images, video and voice

An AI photo editing API that starts from your photo

Pass reference photos directly to image models via an OpenAI-compatible API to edit backgrounds, face features, or combine multiple images on one key.

Images, video and voice

An image generation API for developers: Nano Banana and GPT Image on one key

Generate and edit images using Nano Banana and GPT Image on one OpenAI-compatible key with built-in asset storage and exact per-call pricing.

Images, video and voice

An image-to-video API to animate a product photo

Submit a product photo to an image-to-video job API to render smooth 720p promotional clips with permanent file storage on a single API key.

Images, video and voice

Call Kling, Seedance and Veo by model id through one API

Call Kling, Seedance, Veo and other video generation models through one API and CLI, with per-call metering and permanent asset storage.

Images, video and voice

Combine a person and a product in one image with an API

Combine a person and a product using the AI image API by passing both photo URLs to POST /v1/ai/images/generations with image_urls and an edit prompt.

Images, video and voice

Consistent characters with an image API

Generate consistent characters with an image API by passing reference image URLs alongside your prompt to preserve facial features and style across scenes.

Images, video and voice

Face swap, upscaling and background removal by model id

Run face swap, upscaling, and background removal models by model id through one OpenAI-compatible endpoint with permanent image hosting built in.

Images, video and voice

Generate product photos for an online store with an API

Generate AI product photos and studio backdrops with an API using thelastapi, the OpenAI SDK, and permanent image hosting in project Files.

Images, video and voice

GPT Image vs Nano Banana: cost per image and when to use which

Nano Banana 2.1 costs about $0.034 per image while GPT-5.4 Image 2 costs about $0.04. Compare pricing, text rendering, and image editing features.

Images, video and voice

How much does AI video generation cost per clip via API?

AI video generation via API costs $0.54 per 6-second clip ($0.09 per second) for vibiz/video, with other models billed at live rates per second.

Images, video and voice

How to use Nano Banana with an API key

You can use Nano Banana with a single API key by calling the OpenAI-compatible image endpoint at /v1/ai/images/generations or using the CLI.

Images, video and voice

Script, voice and video: an automated short-video pipeline with one API

Build an automated short-video pipeline generating scripts, voiceovers, and 9:16 clips using one API key, one SDK, and permanent file storage.

Images, video and voice

Where to keep AI-generated images, with permanent links

Store AI-generated images with permanent links by generating them under a project on thelastapi, where files save automatically to Files.

Images, video and voice