# ARRScale API > scale: send a 3–10 s UGC hook video and a photo of a person, get the same hook back with that person in it (same camera, pose, motion and timing; captions removed; graded; 1080p; original sound). Asynchronous REST API with prepaid credit: $0.12 per generated second at 360p, $0.27 at 720p. The console and the MCP server run on a monthly plan's credits instead (Starter $19, Plus $49, Pro $129; one credit is one second at 360p). Failed requests are free. Base URL: https://arrscale.com Auth: `Authorization: Key KEY_ID:KEY_SECRET` (keys from https://arrscale.com/console; keep them server-side; store as ARRSCALE_API_KEY) ## Docs - [Full API reference](https://arrscale.com/llms-full.txt): every endpoint, field, status, error and limit in one Markdown file. - [Docs page](https://arrscale.com/docs) - [One-prompt setup](https://arrscale.com/setup) ## Endpoints - `POST /v1/files?content_type=video/mp4|image/jpeg|image/png|image/webp|audio/mpeg|audio/wav|audio/mp4`: upload a file (raw body) → `public_url` - `GET /v1/voices?gender=&age=&style=&query=`: voices for talking heads (your own and the reviewed library) with `voice_id` and `preview_url`; `GET /v1/voices/explore?query=&tags=&language=&sort=&page=` searches Fish Audio's library live; `POST /v1/voices/saved {voice_id}` / `DELETE /v1/voices/saved/{voice_id}` keep one in your list; `POST /v1/voices` `{name, audio_url, consent: true}` clones your own voice from a 10–180 s recording; `DELETE /v1/voices/{voice_id}` - `POST /v1/video/talking-head`: Chatot (the talking head) remakes a talking-head video with a new person and voice. `{video_url (the original, 3–90 s), image_urls (1–3 pictures of the new person, or image_url), voice_id (from /v1/voices or /v1/voices/explore), script? (the words, exactly; without it the original's own words), prompt? (e.g. how to say a name, or where to sound excited, by place: never quote the script, 422 prompt_quotes_script), delivery? (lively default | original), resolution? (480p|720p, finished at 1080p), finish? (default true), sheet? (default true: one photo becomes a six-view sheet first)}`. Runs Wan 3.0: lip-sync and voice in one pass, then jump cuts in the pauses, shake/grain/light matched to the original, 1080p and a little room echo. A script is made in takes of at most 15 s (up to 6, split at sentence ends), joined with a cut. $0.08 per billed second at 480p ($0.15 at 720p) plus $0.20 per video and $0.10 per take; each take bills its reference seconds (the original's first 5–8 s) plus its own length. Estimate with `POST /v1/estimate/video/talking-head` `{video_url|seconds, script?}` → `{usd, takes, reference_seconds}`. Completed requests may warn `words_missing: …`. MCP: `talking_head`. Finishing options on the same call: `inserts` (your own footage or pictures, each `{media_url, words (the script words it shows on), layout: icon|small|big|full, box?: [x,y,w,h] fractions, start_at?, crop_top?, crop_bottom?}`), `captions` (true: every word captioned), `end_card_url` (+ `end_card_seconds`, default 1), `trim_extra` (default true: words said that are not in the script are cut). - `POST /v1/video/talking-head/plan` `{video_url}` (free): the original's sentences with times, the `slots` where it lays icons, screenshots or clips over the speaker (time, layout, box, what it shows, what is said), clear stretches and how many words a script can have. Write your script line by line from it and pick your own footage for each slot. MCP: `plan_talking_head`. - `POST /v1/video/talking-head/refinish` (Chatot's redo step) `{request_id, inserts?, captions?, end_card_url?, end_card_seconds?, trim_extra?, script?}` (free): a completed talking head finished again from its kept base, without making the video again; send the whole finishing you want. `POST /v1/video/talking-head/finish` does the same for any video you send as `video_url`. MCP: `refinish_talking_head`. - `POST /v1/estimate/scale/1.1/video-edit`: `{seconds|video_url, resolution}` → `{usd, seconds}` (free) - `POST /v1/scale/1.1/video-edit`: scale: swap the person in short clips without speech (B-roll), 3–10 s, for the person in a photo, on Alibaba Wan 3.0. The result is silent unless `keep_audio: true`. `{video_url, image_url, resolution?, prompt?, remove_text?, keep_audio?}` + `Idempotency-Key` header → `{request_id, status_url, cancel_url}` - `POST /v1/seedance/2.5/pet-swap`: Seedance 2.5 (ByteDance Seedance 2.5 video edit, run through the ARRScale harness) turns the person in a 4–20 s clip into a real pet (default a white French bulldog). `{video_url, pet?, image_url?, resolution? (480p|720p), prompt?, remove_text?, keep_audio?}`. $0.15 per second at 480p, $0.33 at 720p (the clip's length rounded up, 5 s at least; +$0.20 with `image_url`). Estimate with `POST /v1/estimate/seedance/2.5/pet-swap`. - `POST /v1/seedance/{2.5|2.0|2.0-fast|2.0-mini}/generate`: ByteDance Seedance 2.5, 2.0, 2.0 Fast and 2.0 Mini make a new video from a prompt, or a prompt and a first frame. `{prompt, image_url?, duration? (whole seconds, 5–30 on 2.5, 5–15 on the others), resolution?, aspect_ratio?, generate_audio?}`. Per second: 2.5 $0.123 (480p), $0.277 (720p), $0.682 (1080p); 2.0 $0.084, $0.181, $0.449, $0.933 (4K); 2.0 Fast $0.067, $0.145; 2.0 Mini $0.042, $0.09. Estimate with `POST /v1/estimate/seedance/{…}/generate`. - `POST /v1/ditto/1.0/swap`: Ditto puts any character (the user from one photo, another person, a pet) in place of one person in a clip, copying every move (ARRScale's harness on Alibaba Wan 3.0 Prime, no GPU). `{video_url, image_urls (1–8 pictures of the character) | character (a short description), target? (who to replace, in words; needed with several people), cast? (2–4 {target, image_urls | character}: several people at once, one price), resolution? (480p|720p), prompt?, remove_text?, keep_audio?}`. $0.318 per second at 480p (rounded up, 5 s at least). Estimate with `POST /v1/estimate/ditto/1.0/swap`. MCP tool: `ditto_swap`. The same harness on cheaper models, for clips of up to 15 s: `/v1/ditto-fast/1.0/swap` (ByteDance Seedance 2.0 Fast, $0.14/s), `/v1/ditto-lite/1.0/swap` (Seedance 2.0 Mini, $0.10/s). - `GET /v1/requests/{id}/status`: `queued | in_progress | completed | failed | nsfw | canceled`; `video.url` when completed - `POST /v1/requests/{id}/cancel`, `DELETE /v1/requests/{id}`, `GET /v1/balance` - Seedance 2.5 also takes `subject`: `"person"` (default) or `"animal"`. With `"animal"` the clip already stars an animal (a viral dog clip): only that animal becomes your pet, and the people, props and captions stay. Same price. ## Clients - [Node client, zero dependencies](https://arrscale.com/sdk/arrscale.mjs): `node arrscale.mjs hook.mp4 person.jpg out.mp4` - [Python client, zero dependencies](https://arrscale.com/sdk/arrscale.py): `python arrscale.py hook.mp4 person.jpg out.mp4`