Image and video infrastructure

Leonardo API Gateway

One stable API for GPT Image 2 and Seedance 2.0 Fast, backed by intelligent account rotation, balance reservations, and customer-level credit control.

Models
Image + video
Requests
Idempotent
Billing
Reserved safely

Model access

Two generation workflows. One contract.

Customer-facing credits remain separate from provider token costs, so pricing can evolve without changing your upstream account logic.

ModelOutputReferencePublic endpoint
GPT Image 2JPG / PNGURL or desktopPOST /v1/images/generate
Seedance 2.0 FastMP4 + previewURL or desktopPOST /v1/videos/generate

Request lifecycle

Concurrency without credit surprises.

  1. 01Authenticate

    Resolve customer plan, key, and request limits.

  2. 02Reserve

    Hold customer credits before provider work begins.

  3. 03Route

    Choose an account with enough available provider balance.

  4. 04Reconcile

    Commit on acceptance or refund cleanly on failure.

Quickstart

Submit now. Poll when ready.

Every generation uses an idempotency key. The response returns a customer-owned job without exposing the Leonardo account behind it.

Explore image generation documentation
Generate an image
curl -X POST https://admin.seedance2unlimited.space/v1/images/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Idempotency-Key: order-2026-001" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "cinematic product photo",
    "quality": "LOW",
    "size": "16:9_SMALL"
  }'

Service status

Gateway health

Checking serviceConnecting to backend
View error contract