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.
API reference
Nine endpoints, every parameter and response, with credit costs and rate limits. Use this when you are writing the integration yourself.
ReadMCP server
19 tools over one endpoint, so Claude, Cursor or ChatGPT can generate and edit directly. No client code to write.
ReadYour 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
Images
FLUX 2 Pro, Klein and Max plus GPT Image 2, up to 4K, with reference images and six edit tools.
Video & lip sync
Seedance 2.0 text, image and video to video, plus talking avatars from a face and an audio track.
Background tools
Transparent cutouts, or a new scene with light matched to the subject.
Image to text
Describe a render, OCR a label, or ask a question about what an image shows.
Brand assets
Characters, products, backgrounds and palettes that keep a campaign on-model across generations.
Credits & billing
Reserved up front, refunded on failure. One free call returns your live balance and plan.
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.