Leap for developers
Images. Video. Voice. One API.
Send one request, get back a film, a photo, a voice or a song from any top model. Priced in dollars per call; start free with $2 of credit, no card.
- One key for every model
- Every call quoted first
- A failed call costs nothing
curl https://api.tryleap.ai/v1/generations \ -H "x-api-key: $LEAP_API_KEY" \ -H "content-type: application/json" \ -H "prefer: wait=60" \ -d '{ "model": "alibaba/wan-3.0", "input": { "prompt": "Wildlife documentary footage on a 600mm telephoto lens, late afternoon on the Chobe River in Botswana. A family of African elephants wades across the wide brown river in a line from left to right, water up to their bellies. In the middle, a small calf is almost completely underwater and holds the tip of its trunk straight up out of the water like a snorkel, its mother walking right beside it. The lead female reaches the shallows, flaps her ears and shakes her head, spraying water. Golden backlight, warm haze, glittering droplets, natural muted documentary colour with no HDR look, gentle long-lens drift. Sound: river water sloshing, a low elephant rumble, birds, a distant hippo grunt.", "aspect_ratio": "16:9", "duration": 5, "resolution": "1080p", "audio": true } }'{ "object": "generation", "model": "alibaba/wan-3.0", "status": "succeeded", "output": [ { "type": "video", "url": "https://…/chobe-crossing.mp4" } ], "usage": { "cost_usd": "1.100000" }}
Made through the API
One request shape. Every kind of output.
Each one is a single call: a different model, a different kind of work, the same request shape. The price is what that run was charged.
- Nine yearsgoogle/veo-3.1$3.52

- Stride magazine covergoogle/nano-banana-pro$0.19

- Lilacblack-forest-labs/flux-3-video$1.91

- Pastel driftminimax/minimax-h3$0.86

- Las Tias del Sonido albumrecraft/recraft-v4.1-pro$0.23

- Basement showgoogle/gemini-omni-flash-1.1$0.83

- Oibytedance/seedance-1.5-pro$0.64

- Half Shade campaignbytedance/seedream-4.5$0.04

- Laundry daykling/kling-o3-pro$0.77

- Powder turngoogle/veo-3.1-fast$0.44

Chain calls
A still, then a clip from it. Two calls.
A real pair of calls, replayed: Seedream 4.5 makes a still, then Gemini Omni Flash 1.1 starts a clip from it, passed as first_frame. Each call is quoted first and charged what it was quoted.


- 01Seedream 4.5Makes the still$0.044
Wide shot, 35mm, 5 a.m. in an empty steep street in Alfama, Lisbon: wet cobbles, sodium streetlights, a yellow vintage tram passing close to camera in...
- 02Gemini Omni Flash 1.1Brings it to life$0.825
The yellow tram rattles past the camera and clears the frame, revealing the dancer already moving: he drops into fast Afro-house footwork under the st...
$0.869 for both, each run priced before it started. "5 da manhã, shot 1", made on Leap.
Switching models
Change the model. See exactly what changes.
The envelope never changes: a model and its input. The input follows each model's own schema, so a switch is a few honest lines, not a rewrite. Here is one idea sent to three image models, and what each returned.
{ "model": "google/nano-banana-pro", "input": { "prompt": "A hand-painted shop sign that reads OPEN LATE above a tiny ramen bar on a rainy night, warm light spilling onto wet cobblestones, cinematic 35mm photo" }}
What each one takes
Rows marked in indigo differ between the three.
- Promptprompt
- Nano Banana ProText, up to 4,000 characters
- GPT Image 2Text, up to 2,000 characters
- FLUX.2 [pro]Text, up to 4,000 characters
- Reference imagesimages
- Nano Banana ProUp to 6 images
- GPT Image 2Not taken
- FLUX.2 [pro]Not taken
- Aspect ratioaspect_ratio
- Nano Banana Pro1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 21:9
- GPT Image 21:1, 3:2, 2:3
- FLUX.2 [pro]1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9, 9:21
- Imagesn
- Nano Banana Pro1 to 4
- GPT Image 21 to 4
- FLUX.2 [pro]1 to 4
- Resolutionsettings.resolution
- Nano Banana Pro1K, 2K, 4K
- GPT Image 2Not taken
- FLUX.2 [pro]Not taken
- Seedseed
- Nano Banana ProNot taken
- GPT Image 2Not taken
- FLUX.2 [pro]0 to 4294967295
| Input | Nano Banana Pro | GPT Image 2 | FLUX.2 [pro] |
|---|---|---|---|
| Promptprompt | Text, up to 4,000 characters | Text, up to 2,000 characters | Text, up to 4,000 characters |
| Reference imagesimages | Up to 6 images | Not taken | Not taken |
| Aspect ratioaspect_ratio | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 21:9 | 1:1, 3:2, 2:3 | 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9, 9:21 |
| Imagesn | 1 to 4 | 1 to 4 | 1 to 4 |
| Resolutionsettings.resolution | 1K, 2K, 4K | Not taken | Not taken |
| Seedseed | Not taken | Not taken | 0 to 4294967295 |
Every model publishes its schema, with no key needed, at api.tryleap.ai/v1/public/models/google/nano-banana-pro, and on its model page.
MCP
Give your agent a studio.
Use Leap inside ChatGPT, Claude, Claude Code, Codex, Cursor and VS Code over MCP. The pictures and clips show in the chat, and every run lands in your studio, on your balance.
claude mcp add --transport http leap https://app.tryleap.ai/api/mcp- search_modelsFind the right model
- upload_fileTake your photo
- generateMake it, in the chat
- keep_outputBuild the next on it
Add to Claude opens its Connectors page with Leap filled in. In ChatGPT, add a custom MCP server in Plugins with the URL above. Sign in when the app asks, with no key to paste, then ask it to make something. Every app's setup.
Quickstart
Your first call.
Make a key, set LEAP_API_KEY, send this. With prefer: wait=60 the answer holds the result if the run finishes within a minute. Video often takes longer, so the code reads the run again by its ID until it is done.
The full docscurl https://api.tryleap.ai/v1/generations \ -H "x-api-key: $LEAP_API_KEY" \ -H "content-type: application/json" \ -H "prefer: wait=60" \ -d '{ "model": "alibaba/wan-3.0", "input": { "prompt": "Wildlife documentary footage on a 600mm telephoto lens, late afternoon on the Chobe River in Botswana. A family of African elephants wades across the wide brown river in a line from left to right, water up to their bellies. In the middle, a small calf is almost completely underwater and holds the tip of its trunk straight up out of the water like a snorkel, its mother walking right beside it. The lead female reaches the shallows, flaps her ears and shakes her head, spraying water. Golden backlight, warm haze, glittering droplets, natural muted documentary colour with no HDR look, gentle long-lens drift. Sound: river water sloshing, a low elephant rumble, birds, a distant hippo grunt.", "aspect_ratio": "16:9", "duration": 5, "resolution": "1080p", "audio": true } }' # Video often outlasts the wait and answers "queued" or "running".# Put its "id" in GENERATION_ID and read it again until it is done:# curl https://api.tryleap.ai/v1/generations/$GENERATION_ID -H "x-api-key: $LEAP_API_KEY"