Image generation API is ready

One API for every creative model.

Route image and video generation through one key, one balance and stable branded model IDs—without exposing provider complexity to your product.

OpenAI SDK compatibleFixed per-request pricingNo charge on failure
generation.ts
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.MODELLANE_API_KEY,
  baseURL: "https://api.usemodellane.com/v1",
});

const image = await client.images.generate({
  model: "modellane-fast-image",
  prompt: "Editorial product photograph",
  size: "1024x1024",
});

console.log(image.data[0].url);
Request
Accepted
Route
modellane-fast-image
Status
Completed
SDK
OpenAI-compatible
Billing
One prepaid balance
Assets
Private for 24 hours
Jobs
Live status tracking

The control plane

Provider complexity stays behind one clean interface.

The platform handles authentication, model routing, job state, delivery and usage records so your team can focus on the product.

One stable API

Use a single contract while provider routing and model details stay behind the platform boundary.

OpenAI-compatible

Keep familiar JavaScript and Python SDK workflows for image generation requests.

Predictable pricing

Know the published fixed price before submission. Failed generations are not charged.

Live job lifecycle

Follow queued, processing, completed and failed states from request to final asset.

Private media delivery

Outputs are copied to private storage and delivered through short-lived signed URLs.

Operational webhooks

Receive signed completion and failure events without building a polling loop for every job.

Built for developers

Familiar request. Stable response.

Start with the synchronous image endpoint today. Use the same job system for live tracking and long-running generation workflows.

OpenAI-shaped errors and request IDs
Idempotent generation requests
Normalized job status across routes
HTTP request
POST
curl https://api.usemodellane.com/v1/images/generations \
  -H "Authorization: Bearer $MODELLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: launch-campaign-01" \
  -d '{
    "model": "modellane-fast-image",
    "prompt": "A premium studio product photo",
    "size": "1024x1024"
  }'
Response200 OK
{
  "created": 1784987423,
  "data": [{ "url": "https://api.usemodellane.com/v1/generations/..." }]
}

From key to asset

Your first generation in three steps.

A small public surface keeps integration clear while the platform handles provider mapping and delivery behind the scenes.

01

Create a project key

Issue a scoped API key from your workspace and reveal its secret once.

02

Send one request

Call the branded model ID with the OpenAI SDK or a plain HTTP request.

03

Receive the asset

Track the job live, then use or download the private result while it is available.

Private by default

Designed for production traffic

Project-scoped API keys
No permanent prompt storage
15-minute signed asset URLs
24-hour private output retention

Security and delivery

Keep credentials scoped and provider details private.

Keys belong to projects. Output files remain in private storage. Signed links expire quickly, while generation metadata stays available for operational visibility.

Minimal retention

Prompts are not written to permanent application logs.

Media isolation

Provider output URLs are never returned directly.

Build your first generation flow.

Create a project key, choose the published model and test the complete request lifecycle from the dashboard.

Open the dashboard