API
Every Remerged video model from your own code. Jobs land in your library as usual.
Start
- Make a key and add credits on your account page. Every plan, Free included, gets every model. One credit is one US cent.
- Send the key as a bearer token:
/quote, then/jobs, then poll.
curl https://remerged.ai/api/v1/jobs \
-H "Authorization: Bearer rm_live_…" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A hummingbird hovering at a red flower, slow motion",
"model": "minimax-h3",
"durationS": 5,
"aspect": "16:9"
}'
# 201 {"id": "…", "ids": ["…"], "credits": 24}
curl https://remerged.ai/api/v1/jobs/<id> -H "Authorization: Bearer rm_live_…"
# {"job": {"status": "generating" | "upscaling" | "ready" | "failed", "video_url": …}}Price
Paid plans pay less; /quote gives your price. Five seconds at each model's default quality:
| Model | id | Price |
|---|---|---|
| Seedance 2.5 480p | seedance-2.5 | 64 credits |
| Seedance 2.0 480p | seedance-2.0 | 44 credits |
| Seedance 2.0 Fast 480p | seedance-2.0-fast | 35 credits |
| Seedance 2.0 Mini 480p | seedance-2.0-mini | 22 credits |
| MiniMax H3 720p | minimax-h3 | 24 credits |
| LTX-2.5 720p | ltx-2.5 | 15 credits |
| Wan 2.6 720p | wan-2.6 | 60 credits |
Upscaling is extra per second.
Endpoints
Under https://remerged.ai/api/v1, JSON in and out. Go by the HTTP status; errors carry error and usually message.
| GET | /models | Every model, what it takes, and your price for five seconds. |
| POST | /quote | What a job body would cost you, without making it. |
| POST | /jobs | Make a video. Charged when it is made; refunded in full if it fails. |
| GET | /jobs/{id} | Status, and once ready a video URL good for an hour. |
| GET | /jobs?limit=20 | Your recent jobs, newest first. Filter with customer, source=api, before. |
| DELETE | /jobs/{id} | Delete a finished video and free its storage. |
| POST | /jobs/{id}/finish | Finish a Seedance 2.5 draft at 1080p: the same take, at the 1080p price, within seven days. |
| POST | /uploads | A presigned PUT for an image, video or audio input. |
| GET · PATCH | /account | Balance, plan, limits; set a low-balance warning. |
| POST | /joins | Join 2 to 20 of your clips into one video, with music and captions if you like. |
| GET | /joins/{id} | Status, and once ready a video URL good for an hour. |
| POST | /customers | Name one of your customers, with a credit cap. |
| GET | /customers | Your customers and what each has spent. |
| GET · PATCH · DELETE | /customers/{id} | One customer: its usage, cap, or off switch. |
| GET | /cast | The character library: ready-made people to keep a story consistent. |
| GET | /cast/{id} | One library character, with its key and portrait. |
| POST | /webhooks/test | A signed test ping to your webhook URL. |
Machine-readable: /openapi.json and /llms.txt.
Agents (MCP)
Point any MCP client at https://dev.remerged.ai/api/mcp with your key as a bearer token. Each video needs a max_credits you agreed to; at most 2,000 credits a day per key; an agent never buys credits.
{ "mcpServers": { "remerged": {
"type": "http",
"url": "https://dev.remerged.ai/api/mcp",
"headers": { "Authorization": "Bearer rm_live_…" } } } }Music
Mix and/or master a track. Previews are free (up to 20 a day). A full track costs 120 credits to mix and 120 credits to master, on every plan; refunded if it fails.
| POST | /uploads | With "purpose": "music": a presigned PUT for an MP3 or WAV of up to 10 minutes. |
| GET | /music/quote | What a full track costs, and the master styles. |
| POST | /music/jobs | A free 30 s preview, or the full track. |
| GET | /music/jobs/{id} | Status, and once ready the files. |
| GET | /music/jobs | Your recent music jobs. |
| POST | /music/analysis | Your track measured against a genre. Free. |
curl https://remerged.ai/api/v1/music/jobs \
-H "Authorization: Bearer rm_live_…" \
-H "Content-Type: application/json" \
-d '{"type": "preview", "source_key": "uploads/…", "duration_s": 214}'
# then the whole track, with the master you liked
-d '{"type": "full", "preview_id": "…", "duration_s": 214,
"master_style": "classic"}'mixandmaster(both true if left out). Master styles:classic,extended,corrective.- A ready preview lists
files: 30 s MP3s of the original, the mix and each master style. A ready full track hasaudio_url, a WAV good for an hour. /music/analysistakessource_keyandgenre(auto, techno, psytrance, house, edm). A202gives arunto poll withGET /music/analysis?run=….
The job body
prompt,model,durationS,aspect(16:9, 9:16, 1:1, 4:3, 3:4, 21:9 or adaptive),audio.mode: quality, optionally upscaled (720p,480p-1080p). Left out: the model's default, never upscaled.image_urls(public HTTPS, optionally{"url": "…", "role": "first_frame"}), or upload with/uploadsand passimages: [{"key": "…", "role": "reference"}].seedorvariations(up to four),webhook_url; per model,negativePrompt,promptExpansionanddraft(/modelssays which).- MiniMax H3, LTX-2.5 and Wan 2.6 take a prompt and a starting image (H3 also a last frame, Wan 2.6 a 3–30 s
reference_audio). Seedance takes frames or references, not both: up to 30 pictures on 2.5 and 9 on 2.0, clips and audio of at least 2 s, and characters on Pro. Give each clip'ssecondsand anything unusable is refused before you pay. - Call pictures Image 1, Image 2… in the order sent (
images, thenimage_urls), clips Video 1, audio Audio 1. Prompting guides are in the help centre.
The API makes videos and music; pictures, extending and Studio are on the site.
When it is ready
Pass a webhook_url, or poll /jobs/{id} every 30 seconds. We POST the job there, signed with the key's webhook secret as X-Remerged-Signature-V2: sha256=<HMAC of timestamp.body>, with the time in X-Remerged-Timestamp. Answer 2xx within 10 seconds; otherwise we retry for about a day (eight tries), with the same X-Remerged-Delivery id.
Video URLs last an hour (video_url_expires_at). Copy each file to your own storage from your server, then DELETE /jobs/{id} to free ours.
Longer videos
Make the clips, then join them in order into one MP4. They can still be rendering; the join starts when the last is ready. Up to 20 clips and 10 minutes, 200 joins a day.
curl https://remerged.ai/api/v1/joins \
-H "Authorization: Bearer rm_live_…" \
-H "Content-Type: application/json" \
-d '{"job_ids": ["…", "…", "…", "…"], "transition": "cut"}'
# 201 {"join": {"id": "join_…", "status": "waiting"}}
# then "joining", then "ready" with "video_url"transition: cut, dissolve or fade. Add "music": {"prompt": "warm acoustic guitar"} for a track made to fit (charged when the join is made), or {"track": "uploads/…"} for your own; and "captions": ["…", "…"], one text per clip, burned in.
Characters
The character library holds thousands of ready-made people, each always the same face. Find one with GET /cast, put its key in images with role character, and name it in the prompt as "Image 1". Use the same keys in every clip and the same people appear in every scene. Seedance models; Pro, Max and enterprise accounts. More in the help centre.
curl "https://remerged.ai/api/v1/cast?q=teacher&gender=female" \
-H "Authorization: Bearer rm_live_…"
# then, in a job body:
"images": [{"key": "preset:asset-…", "role": "character"}],
"prompt": "Image 1 smiles at the camera and says: \"Welcome back.\""Your customers
Selling to your own customers? Make each one a customer with a credit_cap per month or in total, and pass "customer": "cus_…" with their jobs. A job over the cap is refused with 402 customer_cap; failed jobs don't count. cap_reset_day (1 to 28) sets the day their month starts. Your balance pays for all of them. Selling in bulk? Enterprise prices fall with volume; guides are in the help centre.
curl https://remerged.ai/api/v1/customers \
-H "Authorization: Bearer rm_live_…" \
-H "Content-Type: application/json" \
-d '{"name": "Jo", "external_id": "your-user-17", "credit_cap": 2000}'Limits
- 60 requests a minute per key.
- Jobs running at once: Free 2, Standard 4, Pro 8, Max 16. More wait their turn as
queued. - Five keys per account. Out of credits: a 402 with a link to add some.
PATCH /account {"low_balance_credits": 5000}: an email and anaccount.low_balancewebhook when you drop below it.