DevelopersREST · MCP · OpenAI-compatible

Build with
the imageat API

Every image, video, and LLM model on imageat through one authenticated API, plus an MCP server for any AI agent: Claude, ChatGPT, Codex, Cursor, Gemini CLI, Grok and more.

Base URLhttps://api.imageat.com/v1
Image, video, and text flowing through a unified generative media API
Reference

Workflow API

Introduction

The Workflow API lets you trigger a published imageat workflow with a single HTTP request, poll for completion, and receive CDN-hosted outputs. Every run is metered and billed against the API key's owning account.

A typical integration is three calls: POST to create a run, GET (or subscribe via SSE) to track progress, and then read CDN URLs from the final response.

Authentication

All requests are authenticated with an API key sent as a Bearer token. Create keys from your Projects page. Keys start with iat_live_ (production) or iat_test_ (sandbox).

Header
Authorization: Bearer iat_live_xxxxxxxxxxxxxxxx

Keep your API key on the server. Never expose it in client-side code or commit it to source control. Revoke and rotate from the Projects page if a key is exposed.

Model pricing overview

API and MCP requests spend your website credits (subscription and purchased) at the same rates as the website. Once those run out, usage bills your prepaid USD API balance at the prices below, which match the API pricing page and show the minimum supported configuration.

ModelStarts atMinimum configuration
nano-banana-2-liteFrom $0.08 / image1 image · 512px
nano-banana-2.1From $0.16 / image1 image · 1K
krea-3From $0.06 / image1 image · 1K · no references
nano-banana-2From $0.16 / image1 image · 1K
nano-banana-proFrom $0.40 / image1 image · 1K
midjourney-v8From $0.18 / 4 images4 images per run · 1K
gpt-image-2.5From $0.02 / image1 image · low quality · 1K
gpt-image-2From $0.02 / image1 image · low quality · 1K
kling-image-4From $0.13 / image1 image · 2K
seedream-5.5From $0.06 / image1 image · 1K
seedream-5.0-proFrom $0.14 / image1 image · 1K
ideogram/remove-background$0.02 / imagePOST /v1/edit · transparent PNG
wan3From $0.20 / video2 seconds · 480p
gemini-omni-12From $0.055 / second360p · 3s minimum · audio
kling4From $0.32 / second720p · 3s minimum
flux3-maxFrom $1.71 / video5 seconds · 720p
minimax-h3-maxFrom $0.50 / video5 seconds · 480p
seedance25From $0.83 / video4 seconds · 480p
seedance25-flashFrom $0.57 / video4 seconds · 480p
midjourney-v8From $0.18 / 4 videos4 × 5 seconds per run · 480p
pixverseFrom $0.09 / second720p · audio off
veoFrom $1.20 / video4 seconds · 720p · audio off
veo-liteFrom $0.40 / video4 seconds · 720p
soraFrom $0.80 / video4 seconds · 720p
klingFrom $0.70 / video5 seconds · audio off
kling3From $0.34 / second720p · audio off
kling3-omniFrom $0.42 / second720p · audio off
grokFrom $0.10 / second480p
grok-1-5From $0.17 / second480p · image-to-video
seedance2From $1.08 / video4 seconds · 480p
seedance2-miniFrom $0.36 / video5 seconds · 480p
gemini-omniFrom $2.12 / video5 seconds · 720p
happyhorseFrom $1.40 / video5 seconds · 720p
flux3From $1.70 / video5 seconds · 720p
elevenlabs-tts$0.30 / 1K charactersPOST /v1/audio/speech
gemini-tts$0.10 / 1K charactersPOST /v1/audio/speech
Qwen 3.8 family$0.00117/secondBilled by model execution time
Other LLM modelsUsage-basedFinal USD charge is returned in billing.amount_usd
How billing works: image prices multiply by numImages. Video cost changes with duration, resolution, audio, and mode. Qwen 3.8 is billed by model execution time. Requests reserve balance up front, refund the unused amount, and return the final charge in billing.amount_usd.
Image API

Image models

Generate new images or edit references through one JSON endpoint. Switch models without rebuilding your integration.

nano-banana-pro

Nano Banana Pro

High-fidelity generation and editing with up to 4K output.

From $0.40 / image

nano-banana-2.1

Nano Banana 2.1

Google's newest Nano Banana: up to 4K, extreme 8:1 to 1:8 ratios, up to 14 references, and optional web search grounding.

From $0.16 / image

krea-3

Krea 3

Krea's newest model: aesthetic generation with prompt expansion, faithful instruction edits, up to 4 references, 1K or 2K.

From $0.06 / image

nano-banana-2

Nano Banana 2

Fast, cost-efficient generation for iterative creative work.

From $0.16 / image

gpt-image-2.5

GPT Image 2.5

OpenAI's newest image model: five quality tiers, scoped edits, and transparent cut-outs. Add gpt-image-2.5-sunburst for the slower, finer-detail variant.

From $0.02 / image

midjourney-v8

Midjourney V8

Midjourney V8.2 with stylize, chaos, weird, and style references. Every run returns 4 images; native 2K HD optional.

From $0.18 / 4 images

gpt-image-2

GPT Image 2

Precise instruction following with selectable quality tiers.

From $0.02 / image

kling-image-4

Kling Image 4.0

Kling's newest image model: 2K or 4K stills and edits with up to 10 reference images for identity and style.

From $0.13 / image

seedream-5.5

Seedream 5.5

ByteDance's newest Seedream: 1K or 2K generation and edits with up to 10 reference images.

From $0.06 / image

seedream-5.0-pro

Seedream 5 Pro

High-fidelity ByteDance generation and reference-guided editing.

From $0.14 / image

seedream-5.0-pro

Seedream V5 Pro Unrestricted

The catalog experience for Seedream V5 Pro; use the supported Pro model ID through the API.

From $0.14 / image

nano-banana-2-lite

Nano Banana 2 Lite

The cheapest Nano Banana, for drafts, thumbnails and bulk runs.

From $0.08 / image

nano-banana

Nano Banana

The original Nano Banana (Gemini 2.5 Flash Image) for quick generation and edits.

From $0.16 / image

krea-2-large

Krea 2 Large

Krea 2 text-to-image with up to 10 style references. One image per request.

$0.13 / image

krea-2-medium

Krea 2 Medium

Lighter Krea 2 with the same style references. One image per request.

$0.07 / image

Browse all model pages →Endpoint: POST /v1/images

Generate or edit an image

Send a prompt for text-to-image. Add one or more public image URLs in images to edit or guide the result.

cURL
curl -X POST "https://api.imageat.com/v1/images" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nano-banana-pro",
    "prompt": "A cinematic product photograph on sculpted stone",
    "aspectRatio": "1:1",
    "resolution": "2K",
    "outputFormat": "png",
    "numImages": 1
  }'
Response · 200
{
  "url": "https://cdn.imageat.com/generated/image.png",
  "urls": ["https://cdn.imageat.com/generated/image.png"],
  "prompt": "A cinematic product photograph on sculpted stone",
  "generationId": "generation_01...",
  "creditsUsed": 4
}

Image model guide

All image entries shown on Models use POST /v1/images. Copy the request above and choose the model ID below.

Model pageAPI model valueUseful controls
Nano Banana Pronano-banana-proresolution, aspectRatio, images, numImages
Nano Banana 2.1nano-banana-2.1resolution, aspectRatio (incl. 8:1–1:8, auto), up to 14 images, enableWebSearch
Krea 3krea-3resolution (1K or 2K), aspectRatio, up to 4 images (each billed), numImages
Nano Banana 2nano-banana-2resolution, aspectRatio, images, numImages
GPT Image 2.6gpt-image-2.6 or gpt-image-2.6-sunburstsame as 2.5, plus outputFormat gif with gifFrames (2–16) and gifFrameMs
GPT Image 2.5gpt-image-2.5 or gpt-image-2.5-sunburstquality (low–max), resolution, up to 16 images, transparentBackground
Midjourney V8midjourney-v84 images per run, resolution (1K or 2K HD), aspectRatio, images, stylize, chaos, weird, seed, styleReferenceUrl
GPT Image 2gpt-image-2quality, resolution, images, outputFormat
Kling Image 4.0kling-image-4resolution (2K or 4K), aspectRatio, images (up to 10), numImages
Seedream 5.5seedream-5.5resolution (1K or 2K), aspectRatio, images (up to 10), numImages
Seedream 5seedream-5.0-proresolution, aspectRatio, images
Nano Banana 2 Lite / Nano Banananano-banana-2-lite or nano-bananaaspectRatio, images, numImages
Krea 2krea-2-large or krea-2-mediumaspectRatio (1:1, 4:3, 3:2, 16:9, 2.35:1, 4:5, 2:3, 9:16), up to 10 style references in images. One image per request
Seedream V5 Pro Unrestrictedseedream-5.0-proUse the supported Pro API route for this catalog entry
Switch image models
const response = await fetch("https://api.imageat.com/v1/images", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.IMAGEAT_API_KEY}`,
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    model: "gpt-image-2.5", // replace with any image model ID above
    prompt: "Editorial product photograph, soft studio light",
    resolution: "1K",
    quality: "low",
    aspectRatio: "1:1",
    numImages: 1
  })
})

const result = await response.json()

Image request parameters

ParameterDefaultDescription
modelnano-banana-pronano-banana-pro, nano-banana-2.1, nano-banana-2, nano-banana-2-lite, nano-banana, krea-3, krea-2-large, krea-2-medium, gpt-image-2.6, gpt-image-2.6-sunburst, gpt-image-2.5, gpt-image-2.5-sunburst, midjourney-v8, gpt-image-2, kling-image-4, seedream-5.5, or seedream-5.0-pro
promptrequiredGeneration or editing instructions
images—Optional public URLs or base64 data URLs, each under 10 MB
aspectRatio1:11:1, 16:9, 9:16, 4:3, 3:4, 3:2, or 2:3. GPT Image 2.5 renders it as exact pixels and squares off anything it cannot match. Nano Banana 2.1 also takes 21:9, 5:4, 4:5, 4:1, 1:4, 8:1, 1:8, and auto
resolution1K1K, 2K, or 4K
qualitymediumGPT Image 2: low, medium, or high. GPT Image 2.5 and 2.6 add xhigh and max
gifFrames / gifFrameMs9 / 160GPT Image 2.6 with outputFormat gif: frame count (2–16) and milliseconds per frame (20–2000)
transparentBackgroundfalseGPT Image 2.5 only: returns a cut-out with no background, in png or webp
outputFormatpngpng, jpeg, or webp
enableWebSearchfalseNano Banana models: ground the image in a live web search (Nano Banana 2.1 adds $0.03 per request)
numImages1Generate 1–4 outputs. Ignored by midjourney-v8, which always returns 4

The API keeps provider routing behind imageat. Your application uses the same model IDs, authentication, credits, and response shape.

Midjourney V8

Use midjourney-v8 (Midjourney V8.2) on both POST /v1/images and POST /v1/videos. No Midjourney subscription is needed. Every run returns 4 outputs, and the price covers all four, so read urls rather than url.

  • Images ($0.18 per run of 4, $0.26 at 2K HD): text-to-image, or pass an image in images[0] to re-imagine it. The request is synchronous and takes about two minutes. numImages is ignored.
  • Video ($0.18 per run of 4 at 480p, $0.52 at 720p): image-to-video only. Each run makes four 5-second clips from imageUrl.
ParameterApplies toDescription
promptimage (required), video (optional)Up to 1,024 characters
aspectRatioimage1:1, 9:16, 16:9, 4:3, 3:4, 2:3, 3:2, 9:21, or 21:9. Other ratios snap to the nearest one
resolutionimage1K, or 2K for native 2K HD
imagesimageOptional. images[0] is re-imagined (image-to-image); images[1] is used as a style reference
styleReferenceUrlimageOptional public URL of a style reference image (same as images[1])
stylize / chaos / weirdimageOptional, 0–1000 / 0–100 / 0–3000
seedimageOptional non-negative integer
imageUrlvideo (required)Public URL of the image to animate
resolutionvideo480p or 720p
motionvideolow or high
cURL · image
curl -X POST "https://api.imageat.com/v1/images" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "midjourney-v8",
    "prompt": "A lighthouse on a basalt cliff at dusk, painterly, volumetric fog",
    "aspectRatio": "16:9",
    "resolution": "1K",
    "stylize": 250
  }'
Response · 200
{
  "url": "https://cdn.imageat.com/generated/mj-1.png",
  "urls": [
    "https://cdn.imageat.com/generated/mj-1.png",
    "https://cdn.imageat.com/generated/mj-2.png",
    "https://cdn.imageat.com/generated/mj-3.png",
    "https://cdn.imageat.com/generated/mj-4.png"
  ],
  "prompt": "A lighthouse on a basalt cliff at dusk, painterly, volumetric fog",
  "generationId": "generation_01...",
  "generationIds": ["generation_01...", "generation_02...", "generation_03...", "generation_04..."]
}
cURL · video
curl -X POST "https://api.imageat.com/v1/videos" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "midjourney-v8",
    "imageUrl": "https://example.com/still.jpg",
    "prompt": "Slow push-in, fog drifting past the lighthouse",
    "resolution": "480p",
    "motion": "low"
  }'

The video request returns taskId and generationId like every other video model. When GET /v1/videos/status reports completed, urls holds all four clips (url is the first). Webhook payloads carry urls too.

Video API

Video models

Every video model shown on the Models page uses the same asynchronous endpoint and polling flow. Choose the model ID, then supply the controls supported by that model.

ModelModel IDPriceGuide
Gemini Omni Flash 1.2
3–15s · 360p/720p/1080p/4K · audio
gemini-omni-12From $0.055/secText, image, first/last-frame (≤10s) or reference-image (up to 10) video, 16:9 or 9:16
Kling 4.0
3–30s · 720p/1080p
kling4From $0.32/secText, image, first/last-frame, reference-image (up to 10) or video edit (mode edit-video, billed per source second)
FLUX 3 Max
5–20s · 720p/1080p · audio
flux3-maxFrom $1.71Text, image, or first/last-frame video (firstFrameUrl + lastFrameUrl)
Wan 3.0
2–30s · 480p/720p/1080p · audio
wan3From $0.20Text, image, first/last-frame or reference-image video
MiniMax H3 Max
5–15s · 480p/768p
minimax-h3-maxFrom $0.50Text, image, or first/last-frame video
Seedance 2.5
4–30s · 480p/720p
seedance25From $0.83Text, image, reference, or frame-controlled video
Seedance 2.5 Flash
4–30s · 480p/720p
seedance25-flashFrom $0.57Faster, cheaper Seedance 2.5: text, image, reference, or first/last-frame video
Midjourney V8
4 × 5s · 480p/720p
midjourney-v8From $0.18Image-to-video, 4 clips per run
Pixverse V6
1–15s · up to 1080p
pixverseFrom $0.09/secText/image video with optional audio
Veo 3.1 Fast
4/6/8s · 720p/1080p/4K · audio
veoFrom $1.20Default model. Text or image video
Veo 3.1 Lite
4/6/8s · 720p/1080p · audio
veo-liteFrom $0.40Text, image, or first/last-frame video
Sora
4/8/12s · 720p/1080p
soraFrom $0.80Text or image video
Kling 2.6
5/10s · 720p/1080p · optional audio
klingFrom $0.70Text or image video
Kling 3.0
3–15s · 720p/1080p/4K · optional audio
kling3From $0.34/secText or image video
Kling 3.0 Omni
3–15s · 720p/1080p/4K · optional audio
kling3-omniFrom $0.42/secText or image video
Grok Video
1–15s · 480p/720p
grokFrom $0.10/secText or image video
Grok Video 1.5
1–15s · 480p/720p
grok-1-5From $0.17/secImage-to-video
Seedance 2.0
4–15s · 480p/720p/1080p
seedance2From $1.08Text, image, or reference-image video
Seedance 2.0 Mini
5/10/15s · 480p/720p
seedance2-miniFrom $0.36Text, image, or reference-image video
Gemini Omni Flash
5/10s · 720p
gemini-omniFrom $2.12Text or image video
Happy Horse 1.0
5/10/15s · 720p/1080p
happyhorseFrom $1.40Text or image video
Happy Horse 1.0 Reference
5/10/15s · 720p/1080p
happyhorse-refFrom $1.40Reference-image video (referenceImageUrls)
FLUX 3 Video
5–20s · 720p/1080p
flux3From $1.70Text or image video
One endpoint, 23 models. Omit model and you get veo. Use wan3 for up to 30 seconds of 1080p video with native audio, seedance25 for 4–30 seconds with reference inputs, kling3 or veo for 4K, and seedance2-mini, grok or minimax-h3-max when cost matters most. Each model accepts only its own durations, resolutions and aspect ratios; an unsupported value returns 422 listing the valid ones.Wan 3.0 API page →MiniMax H3 Max API page →Midjourney V8 model page →Pixverse V6 model page →

Create a Seedance 2.5 video

POST /v1/videos

The endpoint accepts JSON and returns a task ID. Keep the API key on your server and poll the status endpoint until a CDN video URL is returned.

cURL
curl -X POST "https://api.imageat.com/v1/videos"   -H "Authorization: Bearer $IMAGEAT_API_KEY"   -H "Content-Type: application/json"   -d '{
    "model": "seedance25",
    "providerVariant": "more",
    "prompt": "A paper airplane glides through a softly lit studio",
    "duration": "5s",
    "resolution": "720p",
    "aspectRatio": "adaptive",
    "generateAudio": true,
    "outputFormat": "mp4",
    "watermark": false
  }'
Response · 200
{
  "status": "pending",
  "taskId": "2750591",
  "generationId": "a45ooNh1FBLgv6bjy7My",
  "prompt": "A paper airplane glides through a softly lit studio"
}

For image-to-video, send imageUrl. For a directed transition, send both firstFrameUrl and lastFrameUrl.

Video model request examples

Change only the model-specific fields shown here. Every request returns either a completed URL or the taskId/generationId pair used by the polling example below.

Wan 3.0
{
  "model": "wan3",
  "prompt": "A barista pours latte art in slow motion, the soft hiss of the steam wand",
  "duration": "8s",
  "resolution": "1080p",
  "aspectRatio": "16:9",
  "generateAudio": true
}
MiniMax H3 Max
{
  "model": "minimax-h3-max",
  "prompt": "A slow cinematic dolly through a sunlit garden",
  "duration": "5s",
  "resolution": "480p",
  "aspectRatio": "16:9",
  "generateAudio": false
}
Seedance 2.5
{
  "model": "seedance25",
  "providerVariant": "more",
  "prompt": "A paper airplane glides through a softly lit studio",
  "duration": "5s",
  "resolution": "720p",
  "aspectRatio": "adaptive",
  "generateAudio": true
}
Midjourney V8 (4 clips per run)
{
  "model": "midjourney-v8",
  "imageUrl": "https://example.com/still.jpg",
  "prompt": "Slow push-in, fog drifting past the lighthouse",
  "resolution": "480p",
  "motion": "low"
}
Pixverse V6
{
  "model": "pixverse",
  "prompt": "Neon reflections ripple across a rainy city street",
  "duration": "5s",
  "resolution": "720p",
  "aspectRatio": "16:9",
  "generateAudio": false
}

Seedance 2.5 request parameters

ParameterDefaultDescription
modelrequiredUse seedance25
providerVariantstandardUse more for this Seedance 2.5 endpoint
promptrequiredScene, motion, camera, style, and audio direction
imageUrl—Optional first frame for image-to-video
firstFrameUrl / lastFrameUrl—Send both URLs for first-and-last-frame generation
duration5sWhole seconds from 4s through 30s
resolution720p480p or 720p
aspectRatioadaptiveadaptive, 16:9, 9:16, 4:3, 3:4, 1:1, or 21:9
generateAudiotrueGenerate synchronized audio; no additional credit surcharge
outputFormatmp4mp4 for broad compatibility or mov for compatible post-production workflows
watermarkfalseOptional boolean watermark control

Poll video status

GET /v1/videos/status?taskId={taskId}&generationId={generationId}

Poll every 5–10 seconds while status is pending. Reuse the same Bearer API key used to create the generation.

cURL
curl "https://api.imageat.com/v1/videos/status?taskId=2750591&generationId=a45ooNh1FBLgv6bjy7My"   -H "Authorization: Bearer $IMAGEAT_API_KEY"
Completed response
{
  "status": "completed",
  "url": "https://cdn.imageat.com/generated/video.mp4"
}

A failed task returns { "status": "failed", "error": "..." }. Failed provider generations are handled by the platform's refund workflow.

Cancel an unfinished task with POST /v1/videos/cancel and a JSON body containing both taskId and generationId. Ownership is verified before the provider task is cancelled and unused balance is refunded.

Pass a public HTTPS URL as webhook_url when creating a video to receive video.completed or video.failed. Optionally pass a 16–256 character webhook_secret; it is encrypted at rest and deliveries include an HMAC-SHA256 x-imageat-signature.

Templates API

Ready-made templates

Versioned templates that turn your users' photos into a fixed result. Send the inputs; imageat owns the prompt, model, reference media and processing, and keeps them the same for a template version.

List templates

GET /v1/templates needs no key and returns every template with its input schema, fixed output, price and an example. GET /v1/templates/{template_id} returns one.

Templatetemplate_idInputs → outputAPI price
Paper Cutout Cartoonpaper-cutout-cartoon-v1photo → 1K · 3:4 PNG$0.16 per output
Hotel Lobby Swaphotel-lobby-swap-v1left_photo, right_photo → 15s · 480p · 16:9 MP4 with audio$2.99 per output
Liquid Car Revealliquid-car-reveal-v1car_photo → 10s · 480p · 9:16 MP4 with audio$2.06 per output
GTA 6 Charactergta-6-character-v1photo → 1K · 3:4 PNG$0.16 per output
GTA 6 Convertible Drivegta-6-convertible-drive-v1photo → 15s · 480p · 9:16 MP4 with audio$9.55 per output
GTA 6 Gamer Apocalypsegta-6-gamer-apocalypse-v1photo → 19s · 480p · 4:3 MP4 with audio$12.72 per output
GTA 6 In-Game Character Selfiegta-6-selfie-hud-v1photo → 2K · 4:5 PNG$0.17 per output
Vice City Mafia Bossgta-6-mafia-boss-v1photo → 2K · 4:5 PNG$0.17 per output
GTA 6 WANTED Mugshot Postergta-6-wanted-v1photo → 2K · 4:5 PNG$0.17 per output
GTA 6 Jet Ski Chasegta-6-jetski-v1photo → 2K · 4:5 PNG$0.17 per output
GTA 6 Loading Screen Artgta-6-loading-cash-v1photo → 2K · 4:5 PNG$0.17 per output
Vice City Couple Covergta-6-couple-v1photo → 2K · 4:5 PNG$0.17 per output
Vice City Crewgta-6-crew-v1photo → 2K · 4:5 PNG$0.17 per output
GTA 6 Neon Wheeliegta-6-moto-v1photo → 2K · 4:5 PNG$0.17 per output
GTA 6 Downtown Night Covergta-6-solo-night-v1photo → 2K · 4:5 PNG$0.17 per output
GTA 6 Ocean Drive Illustrationgta-6-ocean-drive-v1photo → 2K · 4:5 PNG$0.17 per output
GTA 6 Vice Beach Lifestylegta-6-beach-v1photo → 2K · 4:5 PNG$0.17 per output
GTA 6 Nightclub Loading Screengta-6-loading-nightclub-v1photo → 2K · 4:5 PNG$0.17 per output
GTA 6 Heist Couple Loading Screengta-6-loading-heist-couple-v1photo → 2K · 4:5 PNG$0.17 per output
GTA 6 Vice Beach Loading Screengta-6-loading-vice-beach-v1photo → 2K · 4:5 PNG$0.17 per output
GTA 6 Rooftop Skyline Wallpapergta-6-wallpaper-rooftop-v1photo → 2K · 9:16 PNG$0.17 per output
GTA 6 Sunset Causeway Wallpapergta-6-wallpaper-causeway-v1photo → 2K · 9:16 PNG$0.17 per output
GTA 6 Neon Night Wallpapergta-6-wallpaper-neon-night-v1photo → 2K · 9:16 PNG$0.17 per output
Vice City Collage (Man)vice-city-collage-man-v1photo → 2K · 16:9 PNG$0.20 per output
Vice City Collage (Woman)vice-city-collage-woman-v1photo → 2K · 16:9 PNG$0.20 per output
GTA 6 Jet Ski Doggta-6-jet-ski-dog-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
GTA 6 Neon Pursuit Drivegta-6-neon-pursuit-drive-v1photo → 23s · 480p · 9:16 MP4 with audio$15.27 per output
GTA 6 Speedboat Getawaygta-6-speedboat-getaway-v1photo → 15s · 480p · 4:3 MP4 with audio$3.00 per output
GTA 6 Urban Mission Shinegta-6-urban-mission-shine-v1photo_1, photo_2, photo_3, photo_4 → 8s · 480p · 9:16 MP4 with audio$1.60 per output
GTA Desert Chaos Walkgta-desert-chaos-walk-v1photo → 30s · 480p · 16:9 MP4 with audio$6.45 per output
Vice City Getaway Duovice-city-getaway-duo-v1photo_1, photo_2 → 15s · 480p · 16:9 MP4 with audio$3.63 per output
GTA Sunset Pier Swapgta-sunset-pier-swap-v1photo → 30s · 480p · 4:3 MP4 with audio$15.27 per output
GTA 5 Goodbye Farewellgta-5-goodbye-farewell-v1photo → 10s · 480p · 4:3 MP4 with audio$1.66 per output
GTA V Effectgta-v-effect-v1photo → 2K · 1:1 PNG$0.40 per output
Robert Pattinson James Bond 007 Stylerobert-pattinson-james-bond-007-v1photo → 1K · 3:4 PNG$0.16 per output
I Love The Smiths Elevator Scenei-love-the-smiths-elevator-scene-v1photo_1, photo_2 → 24s · 480p · 16:9 MP4 with audio$15.90 per output
Bby Wow Guybby-wow-guy-v1photo → 7s · 480p · 9:16 MP4 with audio$1.40 per output
Money Flexmoney-flex-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
TV Show Halaytv-show-halay-v1photo_1, photo_2, photo_3 → 15s · 480p · 9:16 MP4 with audio$3.00 per output
You Tweakingyou-tweaking-v1photo_1, photo_2 → 8s · 480p · 9:16 MP4 with audio$1.65 per output
Bing Bing Bing Kickingbing-bing-bing-kicking-v1photo_1, photo_2 → 12s · 480p · 9:16 MP4 with audio$2.41 per output
Bulin 47 Freestylebulin-47-freestyle-v1photo → 30s · 480p · 9:16 MP4 with audio$19.09 per output
Say It Right Trio Dancesay-it-right-trio-dance-v1photo → 24s · 480p · 9:16 MP4 with audio$15.27 per output
Bad Timesbad-times-v1photo → 28s · 480p · 9:16 MP4 with audio$18.45 per output
No Scrubs AI Triono-scrubs-v1photo_1, photo_2, photo_3 → 12s · 480p · 9:16 MP4 with audio$2.48 per output
Viral Mesut Ozil Bouncemesut-ozil-bounce-viral-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Billie Jean Dancebillie-jean-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Club Spotlight Couplete-he-perdido-entre-la-gente-v1photo_1, photo_2 → 10s · 480p · 9:16 MP4 with audio$2.21 per output
Lil Yachty Walk Outlil-yachty-walk-out-v1photo → 30s · 480p · 4:3 MP4 with audio$19.09 per output
Split Facesplit-face-v1photo_1, photo_2 → 1K · 3:4 PNG$0.16 per output
Blade Runner Hologramblade-runner-hologram-v1photo_1, photo_2 → 11s · 480p · 16:9 MP4 with audio$2.21 per output
Love Options Dancelove-options-dance-v1photo_1, photo_2 → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Wassup Dancewassup-dance-v1photo → 10s · 480p · 9:16 MP4 with audio$2.00 per output
St Tropez DJst-tropez-dj-v1photo → 11s · 480p · 9:16 MP4 with audio$2.21 per output
Fridge POVfridge-pov-v1photo_1, photo_2 → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Car Alarm Dancecar-alarm-dance-v1photo → 12s · 480p · 9:16 MP4 with audio$2.41 per output
The Jawn Dancethe-jawn-dance-v1photo → 12s · 480p · 9:16 MP4 with audio$2.41 per output
Puerto Rican Mami Dancepuerto-rican-mami-dance-v1photo_1, photo_2 → 15s · 480p · 9:16 MP4 with audio$3.00 per output
I'm the One Carryim-the-one-shoulder-carry-v1photo_1, photo_2 → 9s · 480p · 9:16 MP4 with audio$1.80 per output
Singing Dogsinging-dog-v1photo → 10s · 480p · 9:16 MP4 with audio$2.21 per output
Whining Dog Memewhining-dog-meme-v1photo → 8s · 480p · 9:16 MP4 with audio$1.80 per output
Headbopheadbop-v1photo → 12s · 480p · 4:3 MP4 with audio$2.41 per output
Next Chapter Dancenext-chapter-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Single Ladies Dog Dancesingle-ladies-dog-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Gang Gang Dancegang-gang-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
I'm Not Yo B No Moreim-not-yo-b-no-more-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Smooth Criminal Dancesmooth-criminal-dance-v1photo_1, photo_2 → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Dame Hombro Stilts Dancedame-hombro-stilts-dance-v1photo → 13s · 480p · 9:16 MP4 with audio$2.60 per output
Riding Lionriding-lion-v1photo → 5s · 480p · 9:16 MP4 with audio$1.00 per output
Toosie Slidetoosie-slide-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Can Can Dancecan-can-dance-v1photo → 10s · 480p · 9:16 MP4 with audio$2.21 per output
Dame Hombro Dancedame-hombro-dance-v1photo → 14s · 480p · 9:16 MP4 with audio$2.80 per output
I'm With You Singingim-with-you-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Twilight Baseball Scenetwilight-baseball-scene-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Tactical Operator Selfietactical-operator-selfie-v1photo → 11s · 480p · 16:9 MP4 with audio$2.41 per output
Hit the Road Dudehit-the-road-dude-v1photo → 11s · 480p · 9:16 MP4 with audio$2.21 per output
Champagne Birthdaychampagne-birthday-v1photo → 10s · 480p · 9:16 MP4 with audio$2.21 per output
Phone on the Trainphone-on-train-v1photo → 30s · 480p · 9:16 MP4 with audio$19.09 per output
Deck the Halls Dancedeck-the-halls-dance-v1photo → 14s · 480p · 9:16 MP4 with audio$2.80 per output
Airport Transitionairport-transition-v1photo → 9s · 480p · 16:9 MP4 with audio$1.80 per output
Nice Try Short Dramanice-try-short-drama-v1photo_1, photo_2 → 15s · 480p · 9:16 MP4 with audio$3.09 per output
I'm Onnat Toy Carim-onnat-toy-car-v1photo → 1K · 3:4 PNG$0.16 per output
AI Chicken Danceai-chicken-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Fuzzy Dream Dancefuzzy-dream-dance-v1photo → 13s · 480p · 9:16 MP4 with audio$2.80 per output
Mi Chico Dancemi-chico-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Closer Dancecloser-dance-v1photo_1, photo_2 → 10s · 480p · 9:16 MP4 with audio$2.06 per output
AI Muscle Filterai-muscle-filter-v1photo → 1K · 3:4 PNG$0.16 per output
Cardo Dinnercardo-dinner-v1photo_1, photo_2 → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Rasputin Dancerasputin-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Then I Walk Inthen-i-walk-in-v1photo → 8s · 480p · 9:16 MP4 with audio$1.80 per output
Susan Dell Dancesusan-dell-dance-v1photo → 11s · 480p · 9:16 MP4 with audio$2.41 per output
Charme Dancecharme-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Flower in Noseflower-in-nose-v1photo → 11s · 480p · 9:16 MP4 with audio$2.41 per output
Shirt-to-Jacket Dancegomlegi-cekete-donusen-adam-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
On The Radar Freestyleon-the-radar-freestyle-v1photo_1, photo_2 → 14s · 480p · 16:9 MP4 with audio$3.00 per output
Wyw My Sweetie Dancewyw-my-sweetie-dance-v1photo → 13s · 480p · 9:16 MP4 with audio$2.80 per output
Elevator Outfit Changeelevator-outfit-change-v1photo → 14s · 480p · 9:16 MP4 with audio$3.00 per output
Stateside Dancestateside-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Window Dancewindow-dance-v1photo → 12s · 480p · 9:16 MP4 with audio$2.48 per output
Escalator Outfit Changeescalator-outfit-change-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Abra Kadabra Danceabra-kadabra-dance-v1photo_1, photo_2 → 12s · 480p · 9:16 MP4 with audio$2.41 per output
Diamond Miner Memediamond-miner-meme-v1photo → 15s · 480p · 4:3 MP4 with audio$3.00 per output
Love Me Editlove-me-edit-v1photo → 10s · 480p · 9:16 MP4 with audio$2.06 per output
You Talking Bout Meyou-talking-bout-me-v1photo_1, photo_2, photo_3 → 15s · 480p · 9:16 MP4 with audio$3.09 per output
My Prime 1v1 Dunkmy-prime-1v1-dunk-v1photo_1, photo_2 → 12s · 480p · 9:16 MP4 with audio$2.48 per output
Deep Down In My Heartdeep-down-in-my-heart-v1photo_1, photo_2 → 12s · 480p · 9:16 MP4 with audio$2.48 per output
Biker Birthday Cakebiker-birthday-cake-v1photo → 8s · 480p · 9:16 MP4 with audio$1.65 per output
Grandma Parkourgrandma-parkour-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Passenger Princesspassenger-princess-v1photo_1, photo_2 → 10s · 480p · 9:16 MP4 with audio$2.06 per output
58th Floor Duet58th-floor-v1photo_1, photo_2 → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Bye Byebye-bye-v1photo → 11s · 480p · 9:16 MP4 with audio$2.21 per output
Getting Arrested Againgetting-arrested-again-v1photo → 8s · 480p · 9:16 MP4 with audio$1.60 per output
Parrot Danceparrot-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Party Viral Danceparty-viral-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Invisible Bike Chasecrazy-frog-v1photo → 11s · 480p · 16:9 MP4 with audio$2.41 per output
Flamingo Floatflamingo-float-v1photo → 12s · 480p · 9:16 MP4 with audio$2.41 per output
Snow Leopard Memesnow-leopard-meme-v1photo → 15s · 480p · 4:3 MP4 with audio$3.00 per output
Addicted Danceaddicted-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Trouble Maker Dancetrouble-maker-dance-v1photo_1, photo_2 → 15s · 480p · 9:16 MP4 with audio$3.00 per output
What Stop Signwhat-stop-sign-meme-v1photo → 11s · 480p · 9:16 MP4 with audio$2.41 per output
Talk Dirty Dancetalk-dirty-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Mickey D's Dancemickey-ds-dance-v1photo_1, photo_2 → 9s · 480p · 9:16 MP4 with audio$1.80 per output
Hideaway Dancehideaway-dance-v1photo_1, photo_2 → 13s · 480p · 9:16 MP4 with audio$2.60 per output
SaWaDiKa Dancesawadika-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Le Dije a ChatGPTle-dije-a-chatgpt-v1photo → 1K · 3:4 PNG$0.16 per output
Kung Fu Catkung-fu-cat-v1photo → 5s · 480p · 9:16 MP4 with audio$1.21 per output
Training Season Dancetraining-season-dance-v1photo → 12s · 480p · 9:16 MP4 with audio$2.48 per output
Babydoll Dancebabydoll-dance-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Pray For Me Slow Mopray-for-me-slow-mo-v1photo → 10s · 480p · 9:16 MP4 with audio$2.21 per output
ChatGPT Millionairechatgpt-millionaire-v1photo → 13s · 480p · 9:16 MP4 with audio$2.80 per output
Ramalama Halloween Walkramalama-bang-bang-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
Crochet Filtercrochet-filter-v1photo → 1K · 3:4 PNG$0.16 per output
Closing Door Prankclosing-door-prank-v1photo → 15s · 480p · 9:16 MP4 with audio$3.00 per output
I Wanna Love You Cati-wanna-love-you-cat-v1photo → 10s · 480p · 9:16 MP4 with audio$2.00 per output

Each template page has a Playground to try it with your own photos and an API tab with ready-to-copy requests.

Run a template

POST /v1/templates/{template_id}/run with every input of the template under inputs, each a public JPEG, PNG or WebP URL (up to 10 MB, short side at least 256 px). Inputs are named, so order is explicit: left_photo always performs on the left. Extra fields such as prompt or model are rejected. Host local files first with POST /v1/uploads.

Send an Idempotency-Key header: the same key and body return the same job with x-idempotent-replayed: true and are charged once; the same key with a different body is a 409.

cURL
curl -X POST https://api.imageat.com/v1/templates/hotel-lobby-swap-v1/run \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "inputs": {
      "left_photo": "https://example.com/left-photo.jpg",
      "right_photo": "https://example.com/right-photo.jpg"
    }
  }'
Response · 202
{
  "id": "tpl_7f3c9a1e5b2d4c8f9a0b1c2d",
  "object": "template.job",
  "template_id": "hotel-lobby-swap-v1",
  "status": "queued",
  "charge": {
    "wallet": "api_balance",
    "amount_usd": "2.99",
    "refunded": false
  },
  "created_at": "2026-11-21T12:00:00.000Z",
  "completed_at": null
}

Poll a job

GET /v1/templates/jobs/{job_id} returns queued, running, completed or failed. Images usually finish in about 30 seconds and videos in 3–8 minutes; poll every 3–10 seconds. A job id from another account returns 404.

cURL
curl https://api.imageat.com/v1/templates/jobs/$JOB_ID \
  -H "Authorization: Bearer $IMAGEAT_API_KEY"
Response · completed
{
  "id": "tpl_7f3c9a1e5b2d4c8f9a0b1c2d",
  "object": "template.job",
  "template_id": "hotel-lobby-swap-v1",
  "status": "completed",
  "output": {
    "url": "https://cdn.imageat.com/api-templates/out/<user>/tpl_7f3c9a1e5b2d4c8f9a0b1c2d.mp4",
    "content_type": "video/mp4",
    "width": 854,
    "height": 480,
    "duration_seconds": 15
  },
  "charge": {
    "wallet": "api_balance",
    "amount_usd": "2.99",
    "refunded": false
  },
  "created_at": "2026-11-21T12:00:00.000Z",
  "completed_at": "2026-11-21T12:04:10.000Z"
}

The output URL is a permanent file on our CDN. A failed job carries error.code: provider_rejected (the content filter rejected an input), input_rejected (a photo could not be used (for example no clear face or subject)), output_check_failed (the result did not match the fixed output spec), provider_busy (capacity was full; retry later), timeout (the job did not finish in time), generation_failed (any other failure).

Billing and errors

Template runs bill your prepaid USD API balance only, even when the account has website credits. The listed price is debited when the job is accepted and refunded automatically if the job fails, so you pay per completed output. Up to 3 template jobs can run at once per account.

Statuserror.codeWhen
401UnauthorizedMissing or invalid API key.
402insufficient_api_balanceThe USD API balance is below the template price. Website credits are never used.
404template_not_found / job_not_foundUnknown template id, or a job that belongs to another account.
409idempotency_key_conflictThe Idempotency-Key was already used with a different body.
413invalid_inputAn input image is larger than 10 MB.
415unsupported_mediaAn input is not a JPEG, PNG or WebP image.
422input_count / invalid_inputMissing, extra or unreadable inputs, or an image under 256 px on its short side.
429too_many_running_jobs3 jobs are already running on the account; wait for one to finish.

Errors use the shape { "error": { "code": "...", "message": "..." } }. Nothing is charged for a request that returns an error.

Edit API

Image edits

Background removal, object erasing, inpainting, relighting, virtual try-on and more on an existing image, each as a feature of one endpoint.

Run an edit

POST /v1/edit takes a public imageUrl and a feature. Prompt-driven features read prompt; inpainting reads maskUrl; Background Replace takes backgroundPrompt or backgroundImageUrl. GET /v1/edit/features lists every feature live.

cURL
curl -X POST "https://api.imageat.com/v1/edit" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "feature": "ideogram-remove-background",
    "imageUrl": "https://example.com/product.jpg"
  }'
Response · 200
{
  "url": "https://cdn.imageat.com/generated/edit.png",
  "feature": "Ideogram Remove Background",
  "creditsUsed": 1,
  "generationId": "generation_01..."
}
Featurefeature valueAPI price
Remove Backgroundremove-background$0.04
Ideogram Remove Backgroundideogram-remove-background$0.02
Object Eraserobject-eraser$0.10
Background Replacebackground-replace$0.10
AI Editai-edit$0.16
AI Edit Proai-edit-proFrom $0.40
GPT Image Editgpt-image-edit$0.50
Seedream Editseedream-edit$0.10
Inpaint (Nano Banana 2)inpaint-nano-banana-2$0.16
Inpaint (GPT Image)inpaint-gpt$0.50
Inpaint (Ideogram V3)inpaint-ideogram$0.40
Layerize (Seedream 5.5)layerizeFrom $0.15
Relightrelight$0.10
Perspective Changeperspective$0.10
Virtual Try-Onvirtual-try-on$0.20
Google Virtual Try-Onvirtual-try-on-google$0.15
City Teleportcity-teleport$0.08
Plastic Surgery AIplastic-surgery$0.20
Post Processingpost-processing$0.01

Over MCP each feature is its own imageat_edit_* tool.

Audio API

Text to speech

Voiceovers and narration from text, returned as a CDN audio file with its measured duration.

Generate speech

POST /v1/audio/speech is synchronous. Send up to 5,000 characters of text, a model, and a voice id or name from GET /v1/audio/voices. ElevenLabs also takes stability (0–1).

cURL
curl -X POST "https://api.imageat.com/v1/audio/speech" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "elevenlabs-tts",
    "text": "Every great product starts with a single frame.",
    "voice": "Brian"
  }'
Response · 200
{
  "status": "completed",
  "url": "https://cdn.imageat.com/generated/speech.mp3",
  "durationSec": 3.4,
  "creditsUsed": 3,
  "generationId": "generation_01..."
}
ModelModel IDPriceUse for
Eleven v4elevenlabs-tts$0.30 / 1K charactersMost natural narration; default model
Gemini 2.5 TTSgemini-tts$0.10 / 1K charactersCheaper multilingual voices
Social API

Post to social accounts

Publish and schedule images and videos to the Instagram, Facebook Page, LinkedIn and X accounts connected in Social Hub, straight from a generation. No credits; posting needs an imageat plan. Accounts are connected once on the site, then any key on the account can post to them.

List connected accounts

GET /v1/social/accounts returns each account with can_publish, and a reason when it can't post right now (platform not live yet, needs reconnecting, or outside the plan).

Response · 200
{
  "accounts": [
    { "id": "6f1c…", "platform": "instagram", "name": "imageatai", "handle": "@imageatai", "status": "active", "can_publish": true, "reason": null },
    { "id": "9a2e…", "platform": "tiktok", "name": "imageat", "handle": "@imageat", "status": "active", "can_publish": false, "reason": "TikTok publishing is not available yet" }
  ],
  "plan": { "can_publish": true, "max_accounts": 10, "max_autopilots": 20 },
  "connect_url": "https://imageat.com/social-hub?tab=integrations"
}

Create a post

POST /v1/social/posts. Pass the media as generation_id (any generation on your account) or media_url (https JPEG, PNG, WebP or MP4 up to 100 MB). mode is draft (default), schedule (with scheduled_at, ISO 8601, and an IANA timezone) or publish. captions overrides the caption per account. Each platform's format, length and caption limits are checked before anything is stored. Accounts in remind_account_ids (for platforms where can_publish is false) are not posted to: at the scheduled time the user is emailed and posts it from Social Hub.

cURL
curl -X POST "https://api.imageat.com/v1/social/posts" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "account_ids": ["6f1c…", "b7d0…"],
    "generation_id": "generation_01…",
    "caption": "Made with imageat ✨ #aivideo",
    "captions": { "b7d0…": "New drop. Made with imageat." },
    "mode": "schedule",
    "scheduled_at": "2026-11-05T18:00:00+03:00",
    "timezone": "Europe/Istanbul"
  }'
Response · 201
{
  "post": {
    "id": "c3e9…",
    "status": "scheduled",
    "scheduled_at": "2026-11-05T15:00:00.000Z",
    "media": [{ "url": "https://cdn.imageat.com/…/video.mp4", "type": "video" }],
    "destinations": [
      { "account_id": "6f1c…", "platform": "instagram", "status": "pending", "published_url": null, "error": null },
      { "account_id": "b7d0…", "platform": "linkedin", "status": "pending", "published_url": null, "error": null }
    ]
  }
}

With publish, each destination is sent right away. Videos can stay publishing for a minute or two while the platform processes them; poll the post for the final status. Up to 60 posts per hour per account. A 402 with code: "plan_required" means the plan doesn't cover posting, or that account.

Get, list and cancel posts

GET /v1/social/posts/{id} returns the post with each destination's status (pending, publishing, published, failed, cancelled), published_url and error. GET /v1/social/posts?status=scheduled&limit=20 lists the newest first. DELETE /v1/social/posts/{id} cancels a draft or scheduled post; destinations that already went out stay published.

Queue on an autopilot

Autopilots are weekly posting slots set up in Social Hub. GET /v1/social/autopilots lists them; POST /v1/social/autopilots/{id}/queue takes up to 30 items and schedules each in the next free slot on the autopilot's accounts.

cURL
curl -X POST "https://api.imageat.com/v1/social/autopilots/AUTOPILOT_ID/queue" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "items": [
    { "generation_id": "generation_01…", "caption": "Monday drop" },
    { "media_url": "https://cdn.imageat.com/…/clip.mp4", "caption": "Behind the scenes" }
  ] }'

The same tools are in the MCP server (imageat_social_*), so Claude, ChatGPT, Cursor and other agents can generate a video and schedule it in one conversation.

Media API

FFmpeg jobs

Run real ffmpeg (FFmpeg 8: x264, x265, VP9, AV1, subtitles, loudnorm) on up to 5 inputs. $0.01 per started minute of the run, $0.03 minimum. Overview

Run a job

POST /v1/ffmpeg/process returns 202 with the job. Inputs are public URLs (up to 500 MB) named in0.<ext>, in1.<ext>… from their path, or an upload_id from POST /v1/ffmpeg/uploads for private files up to 2 GB. Send outputs (named out.<ext> or out-name.<ext>, up to 5) with their options, or a command string.

cURL
curl -X POST "https://api.imageat.com/v1/ffmpeg/process" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "inputs": [{ "url": "https://example.com/clip.mov" }],
    "outputs": [{ "name": "out.mp4", "options": ["-vf", "scale=-2:720", "-c:v", "libx264", "-crf", "23", "-c:a", "aac"] }],
    "timeout_seconds": 600,
    "webhook_url": "https://your.app/hooks/ffmpeg"
  }'
GET /v1/ffmpeg/jobs/{id} · 200
{
  "id": "ff_9Qm3...",
  "object": "ffmpeg.job",
  "status": "succeeded",
  "outputs": [{ "name": "out.mp4", "bytes": 21402331, "url": "https://..." }],
  "run_seconds": 18.6,
  "price_usd": 0.03
}

Status is queued, running, succeeded or failed (with error and the ffmpeg log). A job holds the price of timeout_seconds + 2 minutes (600 s default → $0.12) and returns the rest when it ends; failures under a minute are free. Output URLs last 24 hours, files 7 days. URLs, absolute paths, movie/amovie, filter scripts and HLS/DASH/tee outputs are rejected. At most 5 running jobs per account.

New · OpenAI

GPT-6 Astra

Use openai/gpt-6-astra for long-context reasoning, image input, web search, and native tool-calling workflows.

Open model guide
GPT-6 Astra
curl -X POST "https://api.imageat.com/v1/chat/completions" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-6-astra","messages":[{"role":"user","content":"Plan this agent workflow"}],"reasoning":"high","verbosity":"medium","web_search":true}'

Astra also accepts OpenAI-format tools, tool_choice, parallel_tool_calls, and image URL content parts. Maximum output is currently capped at 4,000 tokens by imageat.

New · Google

Gemini 4 Argon

Use google/gemini-4-argon for long, multi-step coding, research, and document analysis over text, images, video, and audio, with optional Google Search or Maps grounding.

Open playground
Gemini 4 Argon
curl -X POST "https://api.imageat.com/v1/chat/completions" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemini-4-argon","messages":[{"role":"user","content":"Compare three coworking spaces near Karaköy"}],"reasoning":"high","google_maps":true}'

reasoning sets the thinking level (low, medium by default, high). web_search (Google Search) or google_maps (Maps place data) grounds the answer; use one at a time, since web search wins when both are set. max_tokens is not forwarded to Gemini. Image URL content parts are passed as input files; custom function tools are not supported by this provider. MCP clients get the same model as the imageat_ask_gemini_argon tool.

New · DeepSeek

DeepSeek V4 Flash & Pro

Use deepseek/v4-flash for fast, low-cost chat and agent loops, or deepseek/v4-pro for the hardest coding and reasoning. Both are text-only with a 1M-token context, optional thinking, and native tool calls.

DeepSeek V4
curl -X POST "https://api.imageat.com/v1/chat/completions" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek/v4-flash","messages":[{"role":"user","content":"Refactor this function to remove the N+1 query"}],"reasoning":"high"}'

reasoning sets the thinking effort (low, medium by default, high); "enable_thinking": false skips it for the fastest answer, and max_tokens only applies then. Only the final answer is returned. OpenAI-format tools return native tool_calls, including parallel calls. Image content parts are rejected before any charge. API price per 1M tokens: Flash $0.88 in / $2.64 out, Pro $2.64 / $7.92.

LLM API

Chat completions

Generate chat and reasoning responses through an OpenAI-compatible endpoint using the same imageat API key. One endpoint serves every LLM in the catalog — switch models by changing the model field.

Flagship uncensored model: qwen/qwen3.8-27b-uncensored · Context window: 262,144 tokens · Output limit: 4,000 tokens

The same advanced thinking and sampling controls are supported by qwen/qwen3-8-27b, qwen/qwen3-8-27b-obliterated, and unsloth/qwen3-8-flash-next-gguf.

Model IDNameProvider
qwen/qwen3.8-27b-uncensoredQwen 3.8 27B UncensoredQwen
deepseek/v4-1-flashDeepSeek V4.1 FlashDeepSeek
deepseek/v4-1-flash-economyDeepSeek V4.1 Flash EconomyDeepSeek
deepseek/v4-flashDeepSeek V4 FlashDeepSeek
deepseek/v4-proDeepSeek V4 ProDeepSeek
google/gemini-4-argonGemini 4 ArgonGoogle
openai/gpt-6-astraGPT-6 AstraOpenAI
unsloth/qwen3-8-flash-next-ggufQwen 3.8 Flash Next GGUFUnsloth
qwen/qwen3-8-27b-obliteratedQwen 3.8 27B ObliteratedQwen
qwen/qwen3-8-27bQwen 3.8 27BQwen
google/gemini-3.8-flashGemini 3.8 FlashGoogle
google/gemini-3.7-flashGemini 3.7 FlashGoogle
openai/gpt-5-6-solGPT 5.6 SolOpenAI
openai/gpt-5-6-terraGPT 5.6 TerraOpenAI
openai/gpt-5-6-lunaGPT 5.6 LunaOpenAI
xai/grok-4-5Grok 4.5xAI
zhipu/glm-4.7-flashGLM 4.7 FlashZhipu AI
openai/gpt-oss-20bGPT-OSS 20BOpenAI
claude/sonnet-5Claude Sonnet 5Anthropic
claude/opus-5Claude Opus 5Anthropic

A request for an ID outside this list is rejected with 400 Unsupported model, and the response lists the accepted IDs.

Create a chat completion

POST /v1/chat/completions

The request follows the familiar OpenAI chat-completions shape. Set stream to true for a text/event-stream response, or omit it for a single JSON completion.

cURL
curl -X POST "https://api.imageat.com/v1/chat/completions" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen3.8-27b-uncensored",
    "messages": [
      {"role": "system", "content": "You are a concise product strategist."},
      {"role": "user", "content": "Suggest three retention features for Imageat."}
    ],
    "enable_thinking": false,
    "temperature": 0.7,
    "max_tokens": 500
  }'

Long or thinking-enabled requests can take several minutes. Keep the HTTP connection open until the final completion is returned.

OpenAI-compatible clients

Any tool that speaks the OpenAI API — opencode, Cline, Continue, the OpenAI SDKs, the Vercel AI SDK — works by pointing its base URL at https://api.imageat.com/v1 and using the imageat key as the API key. Include the /v1: https://api.imageat.com on its own returns 404.

Environment
export OPENAI_BASE_URL="https://api.imageat.com/v1"
export OPENAI_API_KEY="$IMAGEAT_API_KEY"

GET /v1/models lists every model ID this endpoint accepts.

POST /v1/responses supports the newer Responses API shape, including instructions, input items, function tools, structured function-call output, and Responses-style SSE events. This is useful for Codex-style agents and SDKs that prefer Responses over Chat Completions.

Responses API
curl -X POST "https://api.imageat.com/v1/responses" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen3.8-27b-uncensored",
    "input": "Give me a two-line launch checklist",
    "stream": true
  }'

Streaming responses are OpenAI-style chat.completion.chunk events terminated by data: [DONE]. The model runs as a batch task, so the text is buffered until it finishes and then streamed out; the connection is held open with SSE comment pings in the meantime.

Agent clients may send OpenAI-format tools and tool_choice. Function selections are returned as structured message.tool_calls (or streamed delta.tool_calls) with finish_reason: "tool_calls"; send the tool result back in a role: "tool" message to continue the loop.

For Responses API streams, consume typed events such as response.output_text.delta, response.function_call_arguments.done, and response.completed. To continue a tool loop, include the prior function_call and matching function_call_output items in the next request's input.

Stored Responses support previous_response_id, GET /v1/responses/{response_id}, DELETE /v1/responses/{response_id}, and POST /v1/responses/{response_id}/cancel. Set store: false for stateless requests.

Production reliability

Send a unique Idempotency-Key on non-streaming image, video, chat, and Responses requests. Keys are scoped to the credential and endpoint, retained for 24 hours, and replay the original response without charging twice.

Every v1 response includes x-request-id. You may supply x-client-request-id for correlation. Rate-limit responses include Retry-After and rate-limit headers.

Errors use an OpenAI-style { error: { message, type, param, code } } envelope on the new lifecycle and reliability paths. Token usage in Responses includes estimated input/output counts when the upstream provider does not expose tokenizer totals.

Agent client configuration

OpenCode can use imageat as its model provider, while Claude, Cursor, VS Code/Copilot, Cline, Continue, and Roo Code can connect to the remote MCP server at https://mcp.imageat.com/mcp.

opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "imageat": {
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "baseURL": "https://api.imageat.com/v1",
        "apiKey": "{env:IMAGEAT_API_KEY}"
      },
      "models": {
        "qwen/qwen3.8-27b-uncensored": { "name": "Qwen 3.8" }
      }
    }
  },
  "model": "imageat/qwen/qwen3.8-27b-uncensored"
}
.vscode/mcp.json
{
  "servers": {
    "imageat": {
      "type": "http",
      "url": "https://mcp.imageat.com/mcp"
    }
  }
}

MCP 0.4 exposes typed tool results, safety annotations, model/account/recent-generation resources, reusable prompts, and an experimental imageat_generate_video_task lifecycle alongside the backwards-compatible video status tool.

Request parameters

ParameterDefaultDescription
modelQwen model IDAny ID returned by GET /v1/models
messagesrequiredSystem, user, and assistant messages
streamfalsetrue returns OpenAI-style server-sent events
tools—OpenAI-format function definitions available to the model
tool_choiceautoauto, none, required, or a specific function
enable_thinkingtrueDeeper reasoning or shorter direct answers
temperature0.7Output randomness
top_p / top_k0.95 / 20Probability sampling controls
max_tokens1000Maximum output tokens; capped at 4,000
min_tokens0Minimum output-token target
repetition_penalty1.0Reduces repeated phrases and loops
length_penalty1.0Biases toward shorter or longer output
stop—String or array of stop sequences
seed123456Optional repeatability seed
quantization / do_sampletrue / trueEfficiency and sampling toggles
user / session_id—Optional conversation identifiers

model, messages, max_tokens, and stream apply to every model. The sampling controls below them — enable_thinking, temperature, top_p, top_k, the penalties, stop, seed, quantization, and do_sample — are available on the Qwen 3.8 family; other catalog models ignore them.

Response and credit billing

Response · 200
{
  "id": "chatcmpl_2747897",
  "object": "chat.completion",
  "model": "qwen/qwen3.8-27b-uncensored",
  "choices": [{
    "index": 0,
    "message": { "role": "assistant", "content": "..." },
    "finish_reason": "stop"
  }],
  "credits_used": 2,
  "billing": {
    "reserved_credits": 3,
    "provider_cost_usd": 0.0324,
    "elapsed_seconds": 54
  }
}

Read the generated text from choices[0].message.content.

Qwen 3.8 27B Uncensored reserves three credits and settles at 1–3 credits. The other Qwen 3.8 and catalog models reserve ten and settle at 1–10 credits. Unused reserved credits are returned automatically, and failed requests receive a full refund.

LLM errors include 400 for invalid messages or an unsupported model, 402 for insufficient balance, 429 for rate limits, and 502 when the provider request fails.

Browse the Qwen playgrounds →

Run lifecycle

A run moves through these states:

  • queued — accepted, waiting for a worker
  • running — worker executing nodes
  • completed — all outputs ready
  • failed — one or more nodes failed; check error
  • cancelled — cancelled before completion

Credits are reserved at run creation and settled (refund of unused portion) once the run completes or fails. The final response includes credits_used.

Create a run

POST /v1/workflows/{workflow_id}/runs — start a run of a published workflow.

Request
POST https://api.imageat.com/v1/workflows/wf_abc123/runs
Authorization: Bearer iat_live_...
Content-Type: application/json
Idempotency-Key: 8f3b... (optional)

{
  "nodes": [],
  "edges": [],
  "webhook": {
    "url": "https://your-app.com/webhook/imageat",
    "secret": "whsec_..."
  }
}

If you pass empty nodes/edges, the saved (published) workflow graph is used. Pass them to override inputs (e.g. a different prompt) per-run.

Response · 202
{
  "run_id": "run_01HX...",
  "status": "queued"
}

Idempotency: send the same Idempotency-Key to safely retry a request — the same run is returned instead of creating a duplicate.

Poll a run

GET /v1/runs/{run_id}

Response · 200
{
  "run_id": "run_01HX...",
  "status": "completed",
  "outputs": {
    "node_output_1": {
      "type": "image",
      "value": "https://cdn.imageat.com/runs/run_01HX.../node_output_1.png"
    }
  },
  "credits_used": 12,
  "created_at": "2026-05-22T10:01:24Z",
  "completed_at": "2026-05-22T10:01:38Z"
}

Poll every 1–2 seconds while the status is queued or running. For faster feedback, use SSE.

Server-sent events (live updates)

GET /v1/runs/{run_id}/events

Returns a text/event-stream. Each event is a JSON line emitted as nodes start, finish, or the run terminates. The stream closes after run_complete or run_failed.

Event examples
data: {"event":"node_start","node_id":"n1"}

data: {"event":"node_complete","node_id":"n1","output":{...}}

data: {"event":"run_complete","run_id":"run_01HX..."}

Cancel a run

POST /v1/runs/{run_id}/cancel

Cancels a queued or running run. Reserved credits are refunded; already-executed node costs are kept.

Response · 200
{ "ok": true }

Outputs & CDN URLs

Final outputs are mirrored to cdn.imageat.com so URLs are stable and fast. The path format is:

https://cdn.imageat.com/runs/{run_id}/{node_id}.{ext}

Each output entry has a type describing how to consume the value:

typevalue
imageSingle CDN image URL
imagesArray of image URLs
videoCDN video URL (mp4)
textPlain text (e.g. LLM output)

Webhooks

Pass a webhook object on run creation to receive a signed POST when the run terminates — no polling required.

Webhook payload
POST https://your-app.com/webhook/imageat
X-Imageat-Signature: t=1716372924,v1=sha256(...)
Content-Type: application/json

{
  "event": "run_complete",
  "run_id": "run_01HX...",
  "status": "completed",
  "outputs": { ... },
  "credits_used": 12
}

Verify X-Imageat-Signature using your webhook secret: compute HMAC-SHA256 over {timestamp}.{raw_body} and compare in constant time.

Error codes

statusmeaning
401Missing or invalid API key
402Insufficient credits — response includes balance and required
403Run belongs to a different account
404Workflow or run not found, or workflow not published
422Invalid request body (bad nodes/edges)
500Internal worker error — safe to retry with the same Idempotency-Key

Code examples

A full create → poll → read flow in three languages.

cURL
# 1. Create a run
RUN=$(curl -s -X POST https://api.imageat.com/v1/workflows/wf_abc123/runs \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"nodes": [], "edges": []}' | jq -r .run_id)

# 2. Poll until complete
while true; do
  RES=$(curl -s https://api.imageat.com/v1/runs/$RUN \
    -H "Authorization: Bearer $IMAGEAT_API_KEY")
  STATUS=$(echo "$RES" | jq -r .status)
  [ "$STATUS" = "completed" ] && echo "$RES" | jq .outputs && break
  [ "$STATUS" = "failed" ] && echo "$RES" | jq . && exit 1
  sleep 2
done
Node.js
const API_KEY = process.env.IMAGEAT_API_KEY!;
const BASE = "https://api.imageat.com/v1";

async function runWorkflow(workflowId: string) {
  const create = await fetch(`${BASE}/workflows/${workflowId}/runs`, {
    method: "POST",
    headers: {
      Authorization: `Bearer ${API_KEY}`,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({ nodes: [], edges: [] }),
  });
  if (!create.ok) throw new Error(`create failed: ${create.status}`);
  const { run_id } = await create.json();

  while (true) {
    await new Promise((r) => setTimeout(r, 1500));
    const poll = await fetch(`${BASE}/runs/${run_id}`, {
      headers: { Authorization: `Bearer ${API_KEY}` },
    });
    const data = await poll.json();
    if (data.status === "completed") return data;
    if (data.status === "failed") throw new Error(data.error);
  }
}

const result = await runWorkflow("wf_abc123");
console.log(result.outputs, result.credits_used);
Python
import os, time, requests

API_KEY = os.environ["IMAGEAT_API_KEY"]
BASE = "https://api.imageat.com/v1"
H = {"Authorization": f"Bearer {API_KEY}"}

def run_workflow(workflow_id: str) -> dict:
    r = requests.post(
        f"{BASE}/workflows/{workflow_id}/runs",
        headers={**H, "Content-Type": "application/json"},
        json={"nodes": [], "edges": []},
    )
    r.raise_for_status()
    run_id = r.json()["run_id"]

    while True:
        time.sleep(1.5)
        data = requests.get(f"{BASE}/runs/{run_id}", headers=H).json()
        if data["status"] == "completed":
            return data
        if data["status"] == "failed":
            raise RuntimeError(data.get("error", "run failed"))

result = run_workflow("wf_abc123")
print(result["outputs"], result["credits_used"])
MCP Server

imageat MCP server

Use imageat from any AI agent that speaks the Model Context Protocol: Claude Code, Claude, ChatGPT, Codex, Cursor, Gemini CLI, VS Code, Windsurf, OpenCode, Grok Bot, OpenClaw, Hermes and more. No code required.

Overview

The @imageat/mcp package is a Model Context Protocol (MCP) server. Once connected, your AI client gains tools to generate images, generate video, and run every imageat edit feature — all billed against your account credits. Edit tools are discovered live, so new features appear automatically.

The same steps with screenshots and setup prompts: imageat MCP setup guide.

Published on npm: npmjs.com/package/@imageat/mcp

Connect your AI client

Pick your client for exact setup steps. Remote connectors sign in with your imageat account; local servers use an API key. Every client gets the same tools and billing.

Remote connector · sign in with imageat, no API key to copy

1

Add the server

Register imageat as a remote HTTP server. Add --scope user to use it in every project.

Terminal
claude mcp add --transport http imageat https://mcp.imageat.com/mcp
2

Sign in

Inside Claude Code run /mcp, pick imageat and choose Authenticate. Sign in to imageat in the browser and click Allow.

3

Generate

Ask for an image or video. Outputs come back as CDN URLs, ready to drop into your code or assets.

Grok Bot & terminal agents

Grok Bot: add a custom remote HTTPS MCP server named imageat at https://mcp.imageat.com/mcp, then complete the imageat sign-in and authorization. Ask the Bot to discover tools and check your balance before your first generation.

CLI: install Node.js 18+ and run npm i -g @imageat/mcp. Register imageat-mcp as a stdio server in your terminal agent's MCP settings, with your Projects API key in IMAGEAT_API_KEY. Restart or reload the agent to discover tools.

The command is an MCP server, so your agent manages its input and output. Authentication uses the API key; there is no separate imageat CLI login command. Built-in MCP workflow prompts include product visuals, image animation, and social campaigns.

Direct terminal API request
read -r -s IMAGEAT_API_KEY
export IMAGEAT_API_KEY
curl -X POST "https://api.imageat.com/v1/images" \
  -H "Authorization: Bearer $IMAGEAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"seedream-5.0-pro","prompt":"A cinematic product photograph","resolution":"2K","numImages":1}'
unset IMAGEAT_API_KEY

This Bash/zsh example reads your key without echoing it, generates one paid image, and returns its URL. For videos, use the video API examples in this guide or the MCP video tools.

Copy the complete agent setup prompts →

Install

You only need Node.js 18+ and an API key from your Projects page. Add the server to your client's MCP config:

Claude Desktop · claude_desktop_config.json
{
  "mcpServers": {
    "imageat": {
      "command": "npx",
      "args": ["-y", "@imageat/mcp"],
      "env": {
        "IMAGEAT_API_KEY": "iat_live_xxxxxxxxxxxx"
      }
    }
  }
}

On macOS this file lives at ~/Library/Application Support/Claude/claude_desktop_config.json. Restart the client after editing. The imageat tools will appear in the tools menu.

env varnotes
IMAGEAT_API_KEYRequired. Your iat_live_ key.
IMAGEAT_BASE_URLOptional. Defaults to https://imageat.com.

claude.ai & ChatGPT (remote)

The npx setup above is a local process, so it works in desktop apps (Claude Desktop, Cursor). Browser clients like claude.ai and ChatGPT instead connect to a remote MCP endpoint over Streamable HTTP:

Remote MCP endpoint
https://mcp.imageat.com/mcp
ClientHow to add
claude.aiSettings → Connectors → Add custom connector → paste the URL above.
ChatGPTConnectors / Developer mode → add server → paste the URL above.

When the client asks for the connector's authorization, provide your iat_live_ key — it's sent as a Bearer token and scoped to your account's credits. Same tools, same billing as the desktop setup.

Tools

The server exposes these tools to the connected client:

toolwhat it does
imageat_generate_imageText-to-image / image-to-image. Returns CDN image URL(s).
imageat_generate_videoText-to-video / image-to-video. Returns a CDN mp4 URL.
imageat_ask_gemini_argonAsk Google's Gemini 4 Argon a question, with optional image URLs and Google Search or Maps grounding (one at a time). Returns the text answer.
imageat_check_creditsSpendable balance — subscription credits and prepaid API balance.
imageat_social_list_accountsSocial accounts connected in Social Hub, whether each can post now, and autopilots.
imageat_social_create_postDraft, schedule or publish a generation to connected accounts. Asks before publishing.
imageat_social_list_postsRecent posts with each account's status and link.
imageat_social_cancel_postCancel a draft or scheduled post.
imageat_social_queue_autopilotQueue up to 30 items on an autopilot's weekly slots.
ai_visibility_checkScore a website for AI assistants and agents (llms.txt, AI crawler rules, JSON-LD, sitemap, OpenGraph, MCP files) with a fix list. Free.
imageat_edit_*One tool per edit feature — remove background, object eraser, relight, virtual try-on, city teleport, inpaint, and more. Fetched live, so new features appear automatically.

Same auth and billing as the REST API — every call is metered against the API key's account, and errors return clear messages (e.g. 402 with your balance when out of credits).