Documentation

Build on APImage

Image generation, video, lip sync, background editing and a brand-asset library — behind one API key. Call it over REST, or hand the whole toolset to an agent over MCP.

Your first call

Create a key under Dashboard → API keys, then generate an image. One credit at HD on flux-2-pro.

curl -X POST https://app.apimage.org/api/v1/image-studio \
  -H "Authorization: Bearer sk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A minimalist Japanese garden at dawn",
    "model": "flux-2-pro",
    "aspect_ratio": "16:9"
  }'

Validate the key first

GET https://app.apimage.org/api/v1/usage is free and returns your credit balance, monthly quota and plan. It is the cheapest way to confirm a key works.

What you can build with

Things that hold everywhere

One key, one base URL

Everything lives under https://app.apimage.org/api/v1 and authenticates with Authorization: Bearer sk_….

Credits are reserved, then settled

A job holds its cost up front and releases it on failure, so an outage never bills you.

Long jobs return an id

Video is always async, images sometimes are. Poll GET /generations or pass a webhook_url.

Errors are JSON

Always an error label plus a readable details string, at a meaningful status code.

Start building

Free accounts get three watermarked images to try the API. Paid plans unlock video, lip sync and the premium models.