Base URL
All API requests use the following base URL:How it works
Every generation follows the same three-step pattern:Send a request
Call
POST /api/run with a tool, model, and input parameters. You get back a generation ID immediately.Wait for the result
Poll
GET /api/generations/:id or use webhooks to get notified when the generation is ready.Quick example
Available tools
| Tool | Description | Example models |
|---|---|---|
create-image | Generate images from text prompts | Nano Banana, Flux 2 Flex, Google Image 4 |
create-video | Create videos from text or images | Wan v2.2, Kling O3, Runway Gen4 |
text-to-speech | Convert text to natural speech | OpenAI TTS, ElevenLabs TTS |
create-music | Generate music from text prompts | MusicGen |
sound-effects | Generate sound effects | AudioGen |
edit-image | Edit images with AI | Nano Banana Edit, Seedream 4.0 Edit |
upscale-image | Enhance image resolution | Clarity Upscaler |
remove-background | Remove backgrounds from images | Background Remover |
animate-image | Animate a still image into video | Wan v2.2 Image to Video |
image-to-3d | Convert images to 3D models | TripoSR, InstantMesh |
GET /api/tools to see the full list of available tools and models.
Next steps
Get your API key
Create an API key and authenticate your requests.
Quick start
Generate your first image in under a minute.
API reference
See the full API reference for creating generations.
Browse models
Explore available models and their parameters.