For AI agents
Use MakeCorn from your AI agent
Paste one brief into ChatGPT, Claude, Cursor or your own agent and it knows how to use the MakeCorn API: every endpoint, the polling loop, credits, limits, errors and content rules, plus a working example.
Copy the brief#
This is exactly what the button copies. It is plain Markdown, so it also works as a system prompt, a Cursor rule or a project file.
# MakeCorn API brief for AI agents
The MakeCorn API is a REST API that lets developers create adult AI photos, videos and full movies from their own apps, scripts and AI agents, using the same models and credits as the MakeCorn website. It is built for developers, creators and automation tools that need image and video generation from code. Every paid plan includes API access.
## Essentials
- Base URL: https://www.makecorn.com/api/v1
- Auth: header `Authorization: Bearer mc_live_…`. Read the key from the MAKECORN_API_KEY environment variable. Never print it or put it in client-side code.
- Format: JSON requests and responses. Send `Content-Type: application/json` on POST.
- Work is asynchronous: create, then poll the returned statusUrl.
- Human docs: https://www.makecorn.com/developers
- OpenAPI 3.1 spec: https://www.makecorn.com/openapi.json
- This brief as plain text: https://www.makecorn.com/developers.md
## API keys
- Keys start with mc_live_ and are shown once, when you create them.
- Create and turn off keys at https://www.makecorn.com/dashboard/settings/api-keys. You can have up to 10 active keys.
- Send the key in the Authorization header as a Bearer token on every request.
- Keep keys on your server. Never put them in a web page or mobile app.
## Credits and plans
- Creating photos, videos, mode runs, movies and upload links needs a paid plan. On a free account these return 402 plan_required with a link to plans.
- Each request costs the same credits as on the website. GET /models, GET /modes and GET /movies/options list every price, and creditsCharged in the response tells you exactly what was taken.
- If your balance is too low, you get 402 insufficient_credits with a link to add credits. Nothing is charged.
- If a photo or video fails, its credits go back to your balance automatically.
## Endpoints
### GET /account (Get your plan and credits)
Returns your plan, your credit balance and whether this key can create photos and videos right now. Call it before a batch of work, or to show a balance in your own app.
- plan is "free" when the account has no paid plan. canGenerate is false in that case, and creation endpoints return 402 plan_required.
Parameters: none.
Example response (200):
```json
{
"plan": "pro",
"canGenerate": true,
"credits": 1240,
"links": {
"pricing": "https://www.makecorn.com/pricing",
"topUp": "https://www.makecorn.com/dashboard/credits/buy"
}
}
```
### GET /usage (Get your usage and spend)
Returns credits spent and refunded, requests, errors, rate limit hits and jobs by type for your whole account, split per key and per day. The same numbers appear on your API usage page in the dashboard.
- Days are UTC calendar days, ending today. Only activity from 2026-11-28 on is counted.
- Credits come from your credit history and update within a minute. Requests and errors are counted for calls made with a valid key.
- errorRate is errors divided by requests, from 0 to 1. errors lists how often each error code was returned.
- partner.qualifies turns true once your account pays 500 US dollars or more in 30 days. See partner.url for partner pricing.
- Returns 404 not_found when key is not one of your keys.
Parameters:
- `days` (query, integer, optional): How many days to cover, 1 to 90. Defaults to 30.
- `key` (query, string (uuid), optional): Only count calls made with this key. Use an id from the keys list.
Example response (200):
```json
{
"range": {
"days": 7,
"from": "2026-11-22",
"to": "2026-11-28"
},
"trackedSince": "2026-11-28",
"key": null,
"totals": {
"creditsSpent": 420,
"creditsRefunded": 20,
"netCredits": 400,
"requests": 312,
"errors": 6,
"rateLimited": 2,
"errorRate": 0.0192
},
"jobs": {
"photos": 18,
"edits": 4,
"videoModes": 3,
"videos": 6,
"movies": 1
},
"errors": [
{
"code": "rate_limited",
"count": 2
},
{
"code": "insufficient_credits",
"count": 2
},
{
"code": "not_found",
"count": 2
}
],
"keys": [
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"name": "My website",
"prefix": "mc_live_9f3a",
"lastUsedAt": "2026-09-25T10:00:00.000Z",
"revoked": false,
"creditsSpent": 420,
"creditsRefunded": 20,
"netCredits": 400,
"requests": 312,
"errors": 6,
"rateLimited": 2,
"errorRate": 0.0192
}
],
"days": [
{
"date": "2026-11-28",
"creditsSpent": 420,
"creditsRefunded": 20,
"netCredits": 400,
"requests": 312,
"errors": 6,
"rateLimited": 2,
"errorRate": 0.0192
}
],
"moviesInProgress": {
"current": 1,
"limit": 3
},
"limits": {
"requestsPerMinute": 120,
"generationsPerMinute": 20
},
"credits": 1240,
"partner": {
"qualifies": false,
"paidLast30DaysUsd": 149.97,
"qualifyAtUsd": 500,
"url": "https://www.makecorn.com/biz"
},
"links": {
"dashboard": "https://www.makecorn.com/dashboard/settings/api-usage",
"topUp": "https://www.makecorn.com/dashboard/credits/buy"
}
}
```
### GET /account/webhook-secret (Check your signing secret)
Tells you whether your account has a secret for signing movie callbacks, and when it was last changed. The secret itself is never shown here.
- available is false while account secrets are being switched on. Send callbackSecret with each movie until then.
Parameters: none.
Example response (200):
```json
{
"kind": "webhook_secret",
"available": true,
"set": true,
"createdAt": "2026-09-25T10:00:00.000Z",
"rotatedAt": "2026-09-25T10:00:00.000Z"
}
```
### POST /account/webhook-secret (Create or change your signing secret)
Creates your account's secret for signing movie callbacks, or replaces it with a new one. The secret is shown only in this response, so store it right away.
- Every movie callback is signed with this secret unless that movie was given its own callbackSecret.
- Changing it takes effect at once, including for movies already being made. Update your receiver first, or briefly accept both secrets.
- Returns 503 not_available while account secrets are being switched on.
Parameters: none.
Example response (201):
```json
{
"kind": "webhook_secret",
"available": true,
"set": true,
"createdAt": "2026-09-25T10:00:00.000Z",
"rotatedAt": "2026-09-25T10:00:00.000Z",
"secret": "whsec_6f1c…"
}
```
### GET /models (List models and prices)
Lists every photo and video model you can use, the settings each one accepts and what it costs in credits. Use the options array to decide which fields to send.
- credits.default is the price with default settings. credits.table lists the price for each combination of the settings that change the price, such as duration and resolution.
- Video models also report textToVideo and imageToVideo. A model that only supports imageToVideo needs startFrameUrl.
Parameters:
- `kind` (query, string, optional): Only return photo models or only video models. Allowed: image, video.
Example response (200):
```json
{
"models": [
{
"id": "wan-26-nsfw",
"kind": "image",
"name": "Wan 2.6 NSFW (Anime)",
"lab": "Alibaba",
"description": "…",
"typicalWait": "~15s",
"maxCount": 4,
"options": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
}
],
"credits": {
"default": 9,
"table": [
{
"settings": {
"withReferenceImages": false
},
"credits": 9
},
{
"settings": {
"withReferenceImages": true
},
"credits": 12
}
]
}
}
]
}
```
### POST /generations/image (Create photos)
Starts creating 1 to 4 photos and answers right away with 202 Accepted. Each photo gets its own id and statusUrl to check.
- Credits are taken when the work starts. creditsCharged is the total for every photo that started. If a photo fails, its credits go back to your balance automatically.
- Some models create fewer photos per request. GET /models returns maxCount for each photo model.
Parameters:
- `model` (body, string, required): A photo model id from GET /models?kind=image.
- `prompt` (body, string, required): Describe the photo you want. 1 to 4,000 characters.
- `aspectRatio` (body, string, optional): Photo shape. Only used by models that list aspectRatio in their options. Defaults to the model's default, or 1:1. Allowed: 1:1, 16:9, 21:9, 3:2, 2:3, 4:5, 5:4, 3:4, 4:3, 9:16, 9:21.
- `resolution` (body, string, optional): One of the resolution choices the model lists in GET /models.
- `imageUrls` (body, string[], optional): 1 to 8 photo links to use as a reference or starting point. Required by editing models. Upload your own with POST /assets/presign.
- `count` (body, integer, optional): How many photos to create, 1 to 4. Defaults to 1.
Example request body:
```json
{
"model": "wan-26-nsfw",
"prompt": "A fictional adult woman in a red dress on a rooftop at sunset",
"count": 1
}
```
Example response (202):
```json
{
"model": "wan-26-nsfw",
"requested": 1,
"started": 1,
"creditsCharged": 9,
"generations": [
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "image",
"statusUrl": "https://www.makecorn.com/api/v1/generations/image/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
]
}
```
### GET /generations/image/{id} (Get a photo)
Returns the status of one photo. Photos are usually ready in 10 to 30 seconds. Check every 2 to 5 seconds until status is "succeeded" or "failed". When it succeeds, urls holds the finished photo.
- If a finished photo breaks our content rules, it is not delivered: withheld is true and urls is empty.
- A failed photo has creditsCharged 0 and an error message you can show to your users.
Parameters:
- `id` (path, string (uuid), required): The id returned by POST /generations/image.
Example response (200):
```json
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "image",
"model": "wan-26-nsfw",
"status": "succeeded",
"prompt": "A fictional adult woman in a red dress on a rooftop at sunset",
"urls": [
"https://assets.makecorn.com/…/photo.png"
],
"withheld": false,
"error": null,
"creditsCharged": 9,
"createdAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/generations/image/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
```
### POST /generations/video (Create a video)
Starts creating one video from a description, or from a starting photo plus a description. Answers right away with 202 Accepted and a statusUrl to check.
- Only send the fields your model lists in GET /models. Settings a model doesn't support return 400 invalid_settings.
- Credits are taken when the work starts and returned automatically if the video fails.
Parameters:
- `model` (body, string, required): A video model id from GET /models?kind=video.
- `prompt` (body, string, required): Describe the scene and the movement. 1 to 4,000 characters.
- `startFrameUrl` (body, string (url), optional): Starting photo. Required by photo-to-video models. Upload your own with POST /assets/presign.
- `endFrameUrl` (body, string (url), optional): Final photo, for models that support it.
- `duration` (body, integer, optional): Length in seconds, 3 to 15, limited to the choices the model lists. Defaults to the model's default.
- `resolution` (body, string, optional): One of the model's resolution choices, such as 720p or 1080p. Defaults to the model's default.
- `aspectRatio` (body, string, optional): Video shape, for models that list it, such as 16:9 or 9:16.
- `generateAudio` (body, boolean, optional): Add sound, for models that support it.
- `negativePrompt` (body, string, optional): Things you don't want in the video. Up to 2,000 characters.
- `audioUrl` (body, string (url), optional): Your own audio track, for models that support it.
Example request body:
```json
{
"model": "wan3-spicy",
"prompt": "She turns toward the camera and smiles as the wind moves her hair",
"startFrameUrl": "https://assets.makecorn.com/your-photo.jpg",
"duration": 5,
"resolution": "720p"
}
```
Example response (202):
```json
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "video",
"model": "wan3-spicy",
"status": "processing",
"creditsCharged": 126,
"statusUrl": "https://www.makecorn.com/api/v1/generations/video/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
```
### GET /generations/video/{id} (Get a video)
Returns the status of one video. A short video is often ready in under a minute, and longer or higher-resolution videos can take up to five minutes. Check every 10 to 15 seconds until status is "succeeded" or "failed".
- status moves from queued to processing, then ends as succeeded or failed. When it succeeds, url holds the finished video.
- If a finished video breaks our content rules, withheld is true and url is null.
- A failed video has creditsCharged 0 and an error message you can show to your users. The credits are already back in your balance.
Parameters:
- `id` (path, string (uuid), required): The id returned by POST /generations/video.
Example response (200):
```json
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "video",
"model": "wan3-spicy",
"status": "succeeded",
"prompt": "She turns toward the camera and smiles as the wind moves her hair",
"url": "https://assets.makecorn.com/…/video.mp4",
"withheld": false,
"error": null,
"creditsCharged": 126,
"createdAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/generations/video/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
```
Failed video:
```json
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "video",
"model": "wan3-spicy",
"status": "failed",
"prompt": "She turns toward the camera and smiles as the wind moves her hair",
"url": null,
"withheld": false,
"error": "This video couldn't be created. Its credits were returned to your balance.",
"creditsCharged": 0,
"createdAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/generations/video/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
```
### GET /generations (List your photos or videos)
Lists your photos or your videos, newest first, in the same shape as Get a photo and Get a video. Pass nextCursor back as cursor to get the next page.
- Photos and videos are separate lists that page separately. To show both, call once with kind=image and once with kind=video.
- nextCursor is null on the last page.
Parameters:
- `kind` (query, string, optional): Which list to return: "image" for photos or "video" for videos. Defaults to "image". Allowed: image, video.
- `limit` (query, integer, optional): Page size, 1 to 100. Defaults to 20.
- `cursor` (query, string (date-time), optional): The nextCursor value from the previous page.
Example response (200):
```json
{
"kind": "image",
"generations": [
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "image",
"model": "wan-26-nsfw",
"status": "succeeded",
"prompt": "A fictional adult woman in a red dress on a rooftop at sunset",
"urls": [
"https://assets.makecorn.com/…/photo.png"
],
"withheld": false,
"error": null,
"creditsCharged": 9,
"createdAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/generations/image/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
],
"nextCursor": "2026-09-24T18:30:00.000Z"
}
```
### GET /modes (List modes and prices)
Lists every ready-made mode, such as Undress, Cowgirl or Sexy Santa, with its categories, preview links and price in credits. A mode turns one of your characters or photos into a new photo, or a photo plus a short video.
- credits.photo is the price of a photo only. credits.video lists the price of a photo plus a video for each quality and duration.
- positions is only set for seasonal modes. Send one of them as position to choose the pose, or leave it out for defaultPosition. Their video prices list a position for each price.
- Prices in this example are only an illustration. Always read the current prices from this endpoint.
Parameters: none.
Example response (200):
```json
{
"categories": [
{
"id": "riding",
"name": "Riding"
}
],
"options": {
"output": [
"video",
"photo",
"loop"
],
"quality": [
"standard",
"hd",
"full-hd"
],
"duration": [
5,
10,
15
],
"aspectRatio": [
"9:16",
"16:9",
"1:1"
]
},
"modes": [
{
"id": "cowgirl",
"name": "Cowgirl",
"categories": [
"riding",
"pov",
"couple"
],
"badge": "hot",
"thumbnailUrl": "https://assets.makecorn.com/video-modes/20261009/cowgirl.webp",
"previewVideoUrl": "https://assets.makecorn.com/video-modes/previews/20261014/cowgirl.mp4",
"positions": null,
"defaultPosition": null,
"credits": {
"photo": 20,
"video": [
{
"quality": "hd",
"duration": 5,
"credits": 120
}
]
}
}
]
}
```
### POST /modes/{id}/runs (Run a mode)
Starts a mode on one of your characters or uploaded photos and answers right away with 202 Accepted and a statusUrl to check. With output video you get the photo first, then the video made from it.
- Needs a paid plan. Credits are taken when the run starts and returned automatically if it fails. creditsCharged tells you exactly what was taken.
- Send exactly one of characterId (GET /characters) or assetId (GET /assets or POST /assets/presign). Using an uploaded photo needs consent set to true.
- Send an Idempotency-Key header to retry safely: the same key with the same request returns the first run instead of starting and charging a new one, for 24 hours. The same key with a different request returns 409 idempotency_conflict.
- text adds your own words to the scene. Describe adults only and never name real people, or you get 400 content_not_allowed.
Parameters:
- `id` (path, string, required): A mode id from GET /modes.
- `Idempotency-Key` (header, string, optional): Your own unique id for this request, 8 to 128 letters, digits or _ . : -
- `characterId` (body, string (uuid), optional): One of your characters, from GET /characters.
- `assetId` (body, string (uuid), optional): One of your uploaded photos, from GET /assets.
- `consent` (body, boolean, optional): Required as true with assetId. Confirms the photo shows only you or a fictional AI character, never anyone else, and everyone in it is 18 or older.
- `output` (body, string, required): A photo only, or a photo plus a video made from it. Allowed: video, photo, loop.
- `quality` (body, string, optional): Video quality. Defaults to hd. Ignored for photo output. Allowed: standard, hd, full-hd.
- `duration` (body, integer, optional): Video length in seconds. Defaults to 5. Ignored for photo output. Allowed: 5, 10, 15.
- `aspectRatio` (body, string, optional): Shape of the result. Defaults to 9:16. Allowed: 9:16, 16:9, 1:1.
- `position` (body, string, optional): Seasonal modes only: the pose, from the mode's positions in GET /modes. Allowed: cowgirl, pov-from-behind, blowjob, missionary, reverse-cowgirl.
- `text` (body, string, optional): Optional extra words for the scene, up to 300 characters.
Example request body:
```json
{
"characterId": "5d2e8a1c-7b3f-4e9a-8c6d-1f2a3b4c5d6e",
"output": "video",
"quality": "hd",
"duration": 5,
"aspectRatio": "9:16",
"text": "she smiles at the camera"
}
```
Example response (202):
```json
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "mode_run",
"mode": {
"id": "cowgirl",
"name": "Cowgirl"
},
"output": "video",
"status": "processing",
"creditsCharged": 120,
"statusUrl": "https://www.makecorn.com/api/v1/modes/runs/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
```
### GET /modes/runs/{id} (Get a mode run)
Returns the status of one mode run. Check every 5 to 10 seconds until status is "succeeded" or "failed". The photo is usually ready in under a minute, and a video can take a few more minutes.
- stage tells you which part is being made: photo first, then video when output is video. photoUrl is filled as soon as the photo is ready.
- If a finished video breaks our content rules, withheld is true and videoUrl is null.
- When output is loop, the finished run also has loopVideoUrl (a seamless back-and-forth MP4 with no sound) and gifUrl (a small GIF). They can arrive a few seconds after videoUrl, so keep checking until both are filled.
- A failed run has an error message you can show to your users. Credits for the failed part are already back in your balance.
Parameters:
- `id` (path, string (uuid), required): The id returned by POST /modes/{id}/runs.
Example response (200):
```json
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "mode_run",
"mode": {
"id": "cowgirl",
"name": "Cowgirl"
},
"output": "video",
"status": "succeeded",
"stage": "video",
"photoUrl": "https://assets.makecorn.com/…/photo.png",
"videoUrl": "https://assets.makecorn.com/…/video.mp4",
"withheld": false,
"error": null,
"creditsCharged": 120,
"createdAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/modes/runs/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
```
Failed run:
```json
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "mode_run",
"mode": {
"id": "cowgirl",
"name": "Cowgirl"
},
"output": "video",
"status": "failed",
"stage": "photo",
"photoUrl": null,
"videoUrl": null,
"withheld": false,
"error": "This photo couldn't be created. Its credits were returned to your balance.",
"creditsCharged": 0,
"createdAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/modes/runs/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
```
### GET /movies/options (List movie options and stories)
Lists the ready-made stories, male actors, lengths, styles, shot choices and other options you can send to the movie endpoints, with the credits for writing each story and for a portrait of him.
- storyCredits is the price of writing the story for each length. It is the only charge when the movie is created.
- Pictures and filming are priced per scene and per shot once the story is written, because they depend on the scenes. GET /movies/{id} shows them.
- shotOptions lists what you can send when you add, direct or redo a shot.
- limits.moviesInProgress is how many movies one account can make at the same time (3).
Parameters: none.
Example response (200):
```json
{
"options": {
"durationSeconds": [
30,
60,
90,
120,
180,
240,
300
],
"aspectRatio": [
"16:9",
"9:16"
],
"quality": [
"standard",
"high",
"ultra"
],
"style": [
"cinematic",
"noir",
"romance",
"neon",
"homemade"
],
"dialogueLanguage": [
"en",
"es",
"pt",
"fr",
"de",
"ja",
"ko",
"ar"
],
"finale": [
"facial",
"body",
"mouth",
"creampie",
"none"
],
"storyShare": {
"min": 20,
"max": 70,
"default": 50
},
"premiseLength": {
"min": 20,
"max": 10000
},
"partnerLook": {
"age": [
"20s",
"30s",
"40s"
],
"ethnicity": [
"white",
"…"
],
"build": [
"…"
],
"hair": [
"…"
],
"beard": [
"…"
]
}
},
"storyCredits": [
{
"durationSeconds": 60,
"credits": 35
}
],
"partnerPortraitCredits": 12,
"shotOptions": {
"kinds": [
"story",
"sex"
],
"positions": [
{
"id": "missionary",
"name": "Missionary"
}
],
"camera": [
"first-person",
"side",
"face",
"wide"
],
"seconds": [
5,
10,
15
],
"redoFixes": {
"picture": [
"face",
"position",
"extraPerson",
"angle"
],
"video": [
"movement",
"faceChanges",
"looksWrong"
]
}
},
"limits": {
"moviesInProgress": 3
},
"actors": [
{
"id": "marco",
"name": "Marco",
"photoUrl": "https://assets.makecorn.com/male-actors/marco.webp?v=20261008a"
}
],
"categories": [
{
"id": "service",
"name": "House calls"
}
],
"templates": [
{
"id": "plumber",
"category": "service",
"title": "The plumber",
"teaser": "He fixed the leak. She asked him to stay.",
"premise": "A woman working from home calls a plumber when her kitchen sink floods…",
"durationSeconds": 60,
"storyCredits": 35
}
]
}
```
### POST /movies/quote (Check a movie before making it)
Checks a POST /movies body exactly as creating it would, including content rules and your characters and photos, and returns the price of writing the story. Nothing is made or charged.
- Returns the same 400, 402 and 404 errors POST /movies would.
- canStartNow is false when your balance is too low or your account is already making as many movies as it can.
Parameters:
- `premise` (body, string, optional): Your story in your own words, 20 to 10,000 characters. Send this or templateId.
- `templateId` (body, string, optional): A ready-made story from GET /movies/options. Send this or premise.
- `durationSeconds` (body, integer, optional): Length of the movie in seconds. Defaults to the template's length, or 120. Allowed: 30, 60, 90, 120, 180, 240, 300.
- `storyShare` (body, integer, optional): How much of the movie is story before the sex, in percent, 20 to 70. Defaults to 50.
- `aspectRatio` (body, string, optional): Shape of the movie. Defaults to 16:9. Allowed: 16:9, 9:16.
- `quality` (body, string, optional): Video quality. Higher quality costs more per scene. Defaults to high. Allowed: standard, high, ultra.
- `style` (body, string, optional): The look of the movie. Defaults to cinematic. Allowed: cinematic, noir, romance, neon, homemade.
- `dialogueLanguage` (body, string, optional): Language the actors speak. Defaults to en. Allowed: en, es, pt, fr, de, ja, ko, ar.
- `finale` (body, string, optional): How the movie ends. Defaults to facial. Allowed: facial, body, mouth, creampie, none.
- `characterId` (body, string (uuid), optional): Your character to star in the movie, from GET /characters.
- `assetId` (body, string (uuid), optional): Or one of your uploaded photos of her, from GET /assets. Needs consent.
- `partnerId` (body, string, optional): The male actor, from actors in GET /movies/options. Allowed: marco, jake, andre, kenji, rafael, liam.
- `partnerAssetId` (body, string (uuid), optional): Or one of your uploaded photos of him. Needs consent.
- `partnerPortraitId` (body, string (uuid), optional): Or a finished portrait of him from POST /movies/partner-portraits. Send partnerLook with it.
- `partnerLook` (body, object, optional): With partnerAssetId or partnerPortraitId: age, ethnicity, build, hair, beard and optional notes describing him. Allowed values are in GET /movies/options.
- `consent` (body, boolean, optional): Required as true with assetId or partnerAssetId. Confirms the photos show only you or fictional AI characters, never anyone else, and everyone in them is 18 or older.
- `autoProduce` (body, boolean, optional): Defaults to true: we write the story, make the pictures, film every scene and cut the final movie without stopping. Set false to stop after the story so you can check and edit the scenes, then call POST /movies/{id}/produce or run each step yourself.
- `longTakes` (body, boolean, optional): Defaults to false. Set true to film each story scene as one continuous 15-second take from a storyboard of six stills, with up to two spoken lines per scene, instead of one short clip per line. Same price.
- `faceRefine` (body, boolean, optional): Defaults to false. High and Ultra only. Set true to redraw her face, and his in two-person shots, from your photos in every sex scene and every long take wherever the face came out small or unlike her, keeping the new version only when it matches her photos better. About 15 credits per 10-second scene with one person and 23 with two.
- `reference` (body, string, optional): Your own id for this movie, up to 100 characters. One movie per reference: sending it again returns the first movie instead of making a new one.
- `maxCredits` (body, integer, optional): Most credits this movie may use in total. Before each step we check what it has used plus what the next step costs, and stop with status waiting instead of going over.
- `callbackUrl` (body, string (url), optional): Public https address we POST to when the movie moves to a new step, waits for you, succeeds or fails. Signed, and retried up to 5 times.
- `callbackSecret` (body, string, optional): Only to give this movie its own secret, 16 to 200 characters. Leave it out to sign with your account secret from POST /account/webhook-secret. Without an account secret we make one for this movie and return it as callback.secret.
Example request body:
```json
{
"templateId": "plumber",
"characterId": "5d2e8a1c-7b3f-4e9a-8c6d-1f2a3b4c5d6e",
"partnerId": "marco",
"quality": "high",
"aspectRatio": "16:9",
"autoProduce": false,
"maxCredits": 2500,
"reference": "batch-7-plumber-01"
}
```
Example response (200):
```json
{
"valid": true,
"durationSeconds": 60,
"credits": {
"story": 35,
"balance": 5400,
"canAffordStory": true
},
"maxCredits": 2500,
"moviesInProgress": {
"current": 1,
"limit": 3
},
"canStartNow": true
}
```
### POST /movies (Make a movie)
Starts a full movie from your own story or a ready-made one and answers right away with 202 Accepted and a statusUrl to check. With autoProduce on, the finished movie usually takes 20 to 60 minutes.
- Needs a paid plan. Credits are the same as on the website: writing the story is charged now (creditsCharged), then pictures and filming are charged scene by scene as they start. Anything that fails is refunded automatically.
- If your balance runs out, or the next step would go over maxCredits, the movie stops with status waiting and an error. Fix it, then call POST /movies/{id}/produce to carry on where it stopped.
- Safe to call in a loop: send a reference and the same value as Idempotency-Key. A retry returns the first movie (created false, creditsCharged 0) instead of making and charging a new one.
- One account can make 3 movies at the same time. More returns 429 movies_in_progress with a Retry-After header.
- Describe adults only, or you get 400 content_not_allowed. Using uploaded photos needs consent set to true.
Parameters:
- `Idempotency-Key` (header, string, optional): Your own unique id for this request, 8 to 128 letters, digits or _ . : -
- `premise` (body, string, optional): Your story in your own words, 20 to 10,000 characters. Send this or templateId.
- `templateId` (body, string, optional): A ready-made story from GET /movies/options. Send this or premise.
- `durationSeconds` (body, integer, optional): Length of the movie in seconds. Defaults to the template's length, or 120. Allowed: 30, 60, 90, 120, 180, 240, 300.
- `storyShare` (body, integer, optional): How much of the movie is story before the sex, in percent, 20 to 70. Defaults to 50.
- `aspectRatio` (body, string, optional): Shape of the movie. Defaults to 16:9. Allowed: 16:9, 9:16.
- `quality` (body, string, optional): Video quality. Higher quality costs more per scene. Defaults to high. Allowed: standard, high, ultra.
- `style` (body, string, optional): The look of the movie. Defaults to cinematic. Allowed: cinematic, noir, romance, neon, homemade.
- `dialogueLanguage` (body, string, optional): Language the actors speak. Defaults to en. Allowed: en, es, pt, fr, de, ja, ko, ar.
- `finale` (body, string, optional): How the movie ends. Defaults to facial. Allowed: facial, body, mouth, creampie, none.
- `characterId` (body, string (uuid), optional): Your character to star in the movie, from GET /characters.
- `assetId` (body, string (uuid), optional): Or one of your uploaded photos of her, from GET /assets. Needs consent.
- `partnerId` (body, string, optional): The male actor, from actors in GET /movies/options. Allowed: marco, jake, andre, kenji, rafael, liam.
- `partnerAssetId` (body, string (uuid), optional): Or one of your uploaded photos of him. Needs consent.
- `partnerPortraitId` (body, string (uuid), optional): Or a finished portrait of him from POST /movies/partner-portraits. Send partnerLook with it.
- `partnerLook` (body, object, optional): With partnerAssetId or partnerPortraitId: age, ethnicity, build, hair, beard and optional notes describing him. Allowed values are in GET /movies/options.
- `consent` (body, boolean, optional): Required as true with assetId or partnerAssetId. Confirms the photos show only you or fictional AI characters, never anyone else, and everyone in them is 18 or older.
- `autoProduce` (body, boolean, optional): Defaults to true: we write the story, make the pictures, film every scene and cut the final movie without stopping. Set false to stop after the story so you can check and edit the scenes, then call POST /movies/{id}/produce or run each step yourself.
- `longTakes` (body, boolean, optional): Defaults to false. Set true to film each story scene as one continuous 15-second take from a storyboard of six stills, with up to two spoken lines per scene, instead of one short clip per line. Same price.
- `faceRefine` (body, boolean, optional): Defaults to false. High and Ultra only. Set true to redraw her face, and his in two-person shots, from your photos in every sex scene and every long take wherever the face came out small or unlike her, keeping the new version only when it matches her photos better. About 15 credits per 10-second scene with one person and 23 with two.
- `reference` (body, string, optional): Your own id for this movie, up to 100 characters. One movie per reference: sending it again returns the first movie instead of making a new one.
- `maxCredits` (body, integer, optional): Most credits this movie may use in total. Before each step we check what it has used plus what the next step costs, and stop with status waiting instead of going over.
- `callbackUrl` (body, string (url), optional): Public https address we POST to when the movie moves to a new step, waits for you, succeeds or fails. Signed, and retried up to 5 times.
- `callbackSecret` (body, string, optional): Only to give this movie its own secret, 16 to 200 characters. Leave it out to sign with your account secret from POST /account/webhook-secret. Without an account secret we make one for this movie and return it as callback.secret.
Example request body:
```json
{
"templateId": "plumber",
"characterId": "5d2e8a1c-7b3f-4e9a-8c6d-1f2a3b4c5d6e",
"partnerId": "marco",
"quality": "high",
"aspectRatio": "16:9",
"autoProduce": false,
"maxCredits": 2500,
"reference": "batch-7-plumber-01"
}
```
Example response (202):
```json
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"created": true,
"status": "processing",
"step": "writing_story",
"autoProduce": false,
"creditsCharged": 35,
"maxCredits": 2500,
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
```
### GET /movies (List your movies)
Lists your movies, newest first. Filter by status or by your own reference to follow a batch and collect the finished videoUrl of each movie.
- nextCursor is null on the last page.
Parameters:
- `status` (query, string, optional): Only movies with this status. Allowed: processing, waiting, succeeded, failed.
- `reference` (query, string, optional): Only the movie with this reference.
- `limit` (query, integer, optional): Page size, 1 to 100. Defaults to 20.
- `cursor` (query, string (date-time), optional): The nextCursor value from the previous page.
Example response (200):
```json
{
"movies": [
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "succeeded",
"step": "done",
"autoProduce": false,
"videoUrl": "https://assets.makecorn.com/…/movie.mp4",
"thumbnailUrl": "https://assets.makecorn.com/…/thumb.jpg",
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
],
"nextCursor": null
}
```
### GET /movies/{id} (Get a movie and its storyboard)
Returns one movie with its full storyboard: every scene and every shot with its text, order, picture, clip, status and price. Check every 30 to 60 seconds until status is "succeeded", "waiting" or "failed".
- status is "processing" while we work on it, "waiting" when it needs you (autoProduce is off, or it stopped with an error), "succeeded" when videoUrl holds the finished movie and "failed" when it couldn't be made.
- step names the part being made: writing_story, story_ready, making_pictures, filming, final_cut, done or failed.
- scenes[].shots[] is the storyboard. pictureUrl is the still for a shot and clipUrl its video. Shots with editable true can be changed with the shot endpoints. credits shows what a new picture or clip of that shot costs.
- Story shots are priced per scene, not per second of finished video. A scene's story shots share one price: a storyboard and a scene clip of 15 to 30 seconds (3 seconds per story shot, at least 15, counting up to 10 shots). Each story shot shows its even share with credits.pricedBy "scene", and the shares add up to the scene's credits. So a scene with 1 to 5 story shots costs the same. Sex shots and transitions have credits.pricedBy "shot" and are priced on their own, by length.
- nextActions lists what you can do next, with the method, path and credits. canProduce is true when POST /movies/{id}/produce can carry on.
- credits.used is what this movie has cost so far after refunds. It is filled when the movie isn't being worked on. credits.estimatedToFinish is an estimate for everything still to make.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
Example response (200):
```json
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "waiting",
"step": "story_ready",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35,
"used": 35,
"estimatedToFinish": 1240
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"premise": "A woman working from home calls a plumber when her kitchen sink floods…",
"logline": "A flooded kitchen, a soaked plumber and a cold drink that turns into more.",
"maxCredits": 2500,
"callbackUrl": null,
"scenes": [
{
"index": 1,
"title": "On the counter",
"status": "waiting",
"shotCount": 3,
"seconds": 30,
"picturesReady": 0,
"clipsReady": 0,
"credits": {
"pictures": 36,
"film": 0
},
"direction": {
"summary": "They give in on the kitchen counter.",
"location": "Bright kitchen",
"wardrobe": "Her sundress, his wet work shirt",
"cameraNote": "Close and warm",
"audioNote": "Afternoon street sounds"
},
"shots": [
{
"id": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"position": 4,
"sceneIndex": 1,
"kind": "sex",
"editable": true,
"isExplicit": true,
"action": "She pulls him onto the counter and kisses him.",
"keyframePrompt": "Kitchen counter, afternoon sun, she pulls him close.",
"explicitPrompt": "She rides him on the kitchen counter.",
"motionPrompt": "Slow, steady rhythm, camera holds still.",
"dialogue": "Don't stop.",
"camera": "side",
"seconds": 10,
"status": "pending",
"pictureUrl": null,
"clipUrl": null,
"hasPreviousVersion": false,
"error": null,
"credits": {
"picture": 12,
"clip": 96,
"pricedBy": "shot"
}
}
]
}
],
"canProduce": true,
"nextActions": [
{
"action": "produce",
"method": "POST",
"path": "/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f/produce",
"credits": 1240
},
{
"action": "make_pictures",
"method": "POST",
"path": "/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f/pictures",
"credits": 180
},
{
"action": "replan",
"method": "POST",
"path": "/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f/replan"
},
{
"action": "delete",
"method": "DELETE",
"path": "/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
]
}
```
Finished movie:
```json
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "succeeded",
"step": "done",
"autoProduce": false,
"videoUrl": "https://assets.makecorn.com/…/movie.mp4",
"thumbnailUrl": "https://assets.makecorn.com/…/thumb.jpg",
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35,
"used": 1279,
"estimatedToFinish": 0
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"premise": "A woman working from home calls a plumber when her kitchen sink floods…",
"logline": "A flooded kitchen, a soaked plumber and a cold drink that turns into more.",
"maxCredits": 2500,
"callbackUrl": null,
"scenes": [
{
"index": 1,
"title": "On the counter",
"status": "done",
"shotCount": 3,
"seconds": 30,
"picturesReady": 3,
"clipsReady": 3,
"credits": {
"pictures": 36,
"film": 0
},
"direction": {
"summary": "They give in on the kitchen counter.",
"location": "Bright kitchen",
"wardrobe": "Her sundress, his wet work shirt",
"cameraNote": "Close and warm",
"audioNote": "Afternoon street sounds"
},
"shots": [
{
"id": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"position": 4,
"sceneIndex": 1,
"kind": "sex",
"editable": true,
"isExplicit": true,
"action": "She pulls him onto the counter and kisses him.",
"keyframePrompt": "Kitchen counter, afternoon sun, she pulls him close.",
"explicitPrompt": "She rides him on the kitchen counter.",
"motionPrompt": "Slow, steady rhythm, camera holds still.",
"dialogue": "Don't stop.",
"camera": "side",
"seconds": 10,
"status": "clip_ready",
"pictureUrl": "https://assets.makecorn.com/…/shot-4.png",
"clipUrl": "https://assets.makecorn.com/…/shot-4.mp4",
"hasPreviousVersion": false,
"error": null,
"credits": {
"picture": 12,
"clip": 96,
"pricedBy": "shot"
}
}
]
}
],
"canProduce": false,
"nextActions": [
{
"action": "delete",
"method": "DELETE",
"path": "/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
]
}
```
### POST /movies/{id}/produce (Finish a movie)
Makes everything a movie still needs without stopping: the missing pictures, the scenes not filmed yet and the final cut. Use it after autoProduce false and your edits, or to carry on after the movie stopped.
- Needs a paid plan. Each step is charged as it starts, the same as on the website.
- maxCredits and callbackUrl replace the movie's earlier ones.
- Returns 409 when the movie is busy, already finished or has nothing left to make.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `maxCredits` (body, integer, optional): Most credits this movie may use in total. Before each step we check what it has used plus what the next step costs, and stop with status waiting instead of going over.
- `callbackUrl` (body, string (url), optional): Public https address we POST to when the movie moves to a new step, waits for you, succeeds or fails. Signed, and retried up to 5 times.
- `callbackSecret` (body, string, optional): Only to give this movie its own secret, 16 to 200 characters. Leave it out to sign with your account secret from POST /account/webhook-secret. Without an account secret we make one for this movie and return it as callback.secret.
Example request body:
```json
{
"maxCredits": 3000
}
```
Example response (202):
```json
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"status": "processing",
"step": "making_pictures",
"autoProduce": true,
"maxCredits": 3000,
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
```
### POST /movies/{id}/replan (Rewrite the story)
Writes the story again from the start, with your notes added to it. Only works before any picture or clip is made. Costs the same as writing the story.
- notes are added to the end of your story, so say what to change, for example a different place or more talking.
- Check again with GET /movies/{id} until step is story_ready.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `notes` (body, string, optional): What to change, 3 to 2,000 characters.
- `dialogueLanguage` (body, string, optional): A new language for the actors. Allowed: en, es, pt, fr, de, ja, ko, ar.
Example request body:
```json
{
"notes": "Set it at night with rain on the windows, and give him more lines."
}
```
Example response (202):
```json
{
"ok": true,
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "processing",
"step": "writing_story",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/quality (Change the film quality)
Changes the video quality for everything filmed from now on. Higher quality costs more per scene.
- Needs a paid plan. Scene and shot prices in GET /movies/{id} change with it.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `quality` (body, string, required): The new quality. Allowed: standard, high, ultra.
Example request body:
```json
{
"quality": "ultra"
}
```
Example response (200):
```json
{
"ok": true,
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "waiting",
"step": "story_ready",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "ultra",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/finale (Change the ending)
Changes how the movie ends. Adds, changes or removes the final shot. Once the final shot is made it can't change.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `finale` (body, string, required): The new ending. Allowed: facial, body, mouth, creampie, none.
Example request body:
```json
{
"finale": "mouth"
}
```
Example response (200):
```json
{
"ok": true,
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "waiting",
"step": "story_ready",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### DELETE /movies/{id} (Delete a movie)
Deletes a movie with its storyboard, pictures and clips. Wait until it isn't being worked on.
- Returns 409 while a step is running.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
Example response (200):
```json
{
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"deleted": true
}
```
### POST /movies/{id}/pictures (Make every scene's pictures)
Makes the still picture for every shot that doesn't have one yet. Check the pictures in GET /movies/{id} before filming.
- Needs a paid plan. Credits are taken shot by shot as they start, the same as on the website, and returned for anything that fails.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
Example response (202):
```json
{
"ok": true,
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "processing",
"step": "making_pictures",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/film (Film every ready scene)
Films every shot that has its picture and no clip yet. Failed clips are tried again.
- Needs a paid plan. Credits are taken shot by shot as they start, the same as on the website, and returned for anything that fails.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
Example response (202):
```json
{
"ok": true,
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "processing",
"step": "filming",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/cut (Make the final cut)
Joins every filmed shot into the finished movie. Free. When it is done, videoUrl in GET /movies/{id} holds the movie.
- Needs a paid plan. Credits are taken shot by shot as they start, the same as on the website, and returned for anything that fails.
- Shots without a clip are left out. Run it again after refilming to get a new cut.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
Example response (202):
```json
{
"ok": true,
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "processing",
"step": "final_cut",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/scenes/{sceneIndex}/pictures (Make one scene's pictures)
Makes the missing pictures of one scene only.
- Needs a paid plan. The scene's price is credits.pictures or credits.film in GET /movies/{id}.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `sceneIndex` (path, integer, required): A scene index from scenes[] in GET /movies/{id}.
Example response (202):
```json
{
"ok": true,
"sceneIndex": 1,
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "processing",
"step": "making_pictures",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/scenes/{sceneIndex}/film (Film one scene)
Films the ready shots of one scene only.
- Needs a paid plan. The scene's price is credits.pictures or credits.film in GET /movies/{id}.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `sceneIndex` (path, integer, required): A scene index from scenes[] in GET /movies/{id}.
Example response (202):
```json
{
"ok": true,
"sceneIndex": 1,
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "processing",
"step": "filming",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### GET /movies/{id}/clips (List videos you can add)
Lists your finished videos of this movie's star that you can add to the movie as a shot.
- Only movies that star one of your characters can use your own videos.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
Example response (200):
```json
{
"clips": [
{
"generationId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"videoUrl": "https://assets.makecorn.com/…/video.mp4",
"posterUrl": "https://assets.makecorn.com/…/poster.png",
"shareable": true
}
]
}
```
### POST /movies/{id}/clips (Add one of your videos)
Copies one of your finished videos into the movie as a ready shot. Free.
- Needs a paid plan. afterShotId places it after that shot. Leave it out or send null to put it first.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `generationId` (body, string (uuid), required): A generationId from GET /movies/{id}/clips.
- `afterShotId` (body, string (uuid), optional): Put it after this shot. Null puts it first.
Example request body:
```json
{
"generationId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"afterShotId": null
}
```
Example response (200):
```json
{
"ok": true,
"id": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "waiting",
"step": "story_ready",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/partner-portraits (Make a portrait of him)
Makes a portrait of the man in your movie from a description. When it is ready, pass its id as partnerPortraitId with the same partnerLook to POST /movies.
- Needs a paid plan. The price is partnerPortraitCredits in GET /movies/options.
Parameters:
- `age` (body, string, required): His age. Allowed: 20s, 30s, 40s.
- `ethnicity` (body, string, required): His background. Allowed values are in GET /movies/options.
- `build` (body, string, required): His build.
- `hair` (body, string, required): His hair.
- `beard` (body, string, required): His beard.
- `notes` (body, string, optional): Anything else about his look, up to 200 characters.
Example request body:
```json
{
"age": "30s",
"ethnicity": "white",
"build": "athletic",
"hair": "shortDark",
"beard": "stubble"
}
```
Example response (202):
```json
{
"id": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
"kind": "partner_portrait",
"status": "working",
"creditsCharged": 12,
"statusUrl": "https://www.makecorn.com/api/v1/movies/partner-portraits/9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b"
}
```
### GET /movies/partner-portraits/{id} (Get a portrait of him)
Returns a portrait's status. Check every 5 seconds until status is "ready" or "failed". Failed portraits are refunded.
Parameters:
- `id` (path, string (uuid), required): The id from POST /movies/partner-portraits.
Example response (200):
```json
{
"id": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
"kind": "partner_portrait",
"status": "ready",
"imageUrl": "https://assets.makecorn.com/…/him.png",
"statusUrl": "https://www.makecorn.com/api/v1/movies/partner-portraits/9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b"
}
```
### POST /movies/{id}/shots (Add a shot)
Adds a new shot to the storyboard, written in your own words. Free. Its picture and clip are made with the next pictures and filming step.
- afterShotId places it after that shot. Null puts it first. Shots can't go after the final shot.
- A story shot joins its scene's price. Up to 5 story shots in a scene cost the same as 1, so a story shot on its own in a scene pays the full 15-second scene price. Each story shot after the 5th adds 3 seconds to the scene clip.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `kind` (body, string, required): A story moment or a sex scene. Allowed: story, sex.
- `text` (body, string, required): What happens, 3 to 1,500 characters. Describe adults only.
- `positionId` (body, string, optional): For a sex scene: the position, from shotOptions.positions. Allowed: oral, deepthroat, handjob, titjob, missionary, legs-up, cowgirl, reverse-cowgirl, doggy, standing-from-behind, kissing, cunnilingus, spooning, prone.
- `afterShotId` (body, string (uuid), optional): Put it after this shot. Null puts it first.
Example request body:
```json
{
"kind": "sex",
"text": "On the sofa, slow and close",
"positionId": "missionary",
"afterShotId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f"
}
```
Example response (200):
```json
{
"ok": true,
"id": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "waiting",
"step": "story_ready",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/shots/{shotId} (Edit a shot)
Changes the words of a shot before it is made: what happens, the picture and video directions and the spoken line. Send only the fields you want to change. Free.
- Only shots with editable true can change, and not while they are being made.
- dialogue must stay short enough to be spoken in the shot, or you get 400.
- After editing a made shot, redo its picture or clip to see the change.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `shotId` (path, string (uuid), required): A shot id from scenes[].shots[] in GET /movies/{id}.
- `action` (body, string, optional): What happens in the shot.
- `keyframePrompt` (body, string, optional): How the still picture should look.
- `explicitPrompt` (body, string, optional): For sex scenes: what the explicit picture shows. Null clears it.
- `motionPrompt` (body, string, optional): How things move in the video.
- `dialogue` (body, string, optional): The spoken line. Null for no words.
- `isExplicit` (body, boolean, optional): Whether this is a sex scene.
Example request body:
```json
{
"dialogue": "Stay a little longer.",
"motionPrompt": "He leans in slowly, camera pushes in."
}
```
Example response (200):
```json
{
"ok": true,
"shotId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "waiting",
"step": "story_ready",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### DELETE /movies/{id}/shots/{shotId} (Remove a shot)
Removes a shot that isn't made yet from the storyboard. Free.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `shotId` (path, string (uuid), required): A shot id from scenes[].shots[] in GET /movies/{id}.
Example response (200):
```json
{
"ok": true,
"shotId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"deleted": true,
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "waiting",
"step": "story_ready",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/shots/{shotId}/move (Move a shot)
Moves a shot one place up or down in the storyboard. Free.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `shotId` (path, string (uuid), required): A shot id from scenes[].shots[] in GET /movies/{id}.
- `direction` (body, string, required): Which way to move it. Allowed: up, down.
Example request body:
```json
{
"direction": "up"
}
```
Example response (200):
```json
{
"ok": true,
"shotId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "waiting",
"step": "story_ready",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/shots/{shotId}/direct (Set a sex scene's camera and length)
Chooses the camera angle and length of a sex scene. Free. Longer shots cost more to film.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `shotId` (path, string (uuid), required): A shot id from scenes[].shots[] in GET /movies/{id}.
- `camera` (body, string, required): The camera angle. Null lets us choose. Allowed: first-person, side, face, wide.
- `seconds` (body, integer, required): Length in seconds. Allowed: 5, 10, 15.
Example request body:
```json
{
"camera": "first-person",
"seconds": 15
}
```
Example response (200):
```json
{
"ok": true,
"shotId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "waiting",
"step": "story_ready",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/shots/{shotId}/quote (Price a new picture or clip)
Returns what a new picture or a new clip of this shot would cost with your changes. Nothing is charged.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `shotId` (path, string (uuid), required): A shot id from scenes[].shots[] in GET /movies/{id}.
- `kind` (body, string, required): A new picture or a new clip. Allowed: picture, video.
- `text` (body, string, optional): What to change, in your own words. For a board scene send beats instead.
- `beats` (body, object[], optional): For a board scene: one { shotId, action, dialogue } per shot in that scene.
- `fixes` (body, string[], optional): Quick fixes to apply. Picture fixes and video fixes are in shotOptions.redoFixes of GET /movies/options. Allowed: face, position, extraPerson, angle, movement, faceChanges, looksWrong.
Example request body:
```json
{
"kind": "video",
"fixes": [
"movement"
]
}
```
Example response (200):
```json
{
"ok": true,
"shotId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"credits": 96,
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "waiting",
"step": "story_ready",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/shots/{shotId}/picture (Make a new picture)
Makes a new still picture for this shot, with your changes. The old one is kept until you choose.
- Needs a paid plan. Get the price first from the quote endpoint and send it as expectedCredits.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `shotId` (path, string (uuid), required): A shot id from scenes[].shots[] in GET /movies/{id}.
- `text` (body, string, optional): What to change, in your own words. For a board scene send beats instead.
- `beats` (body, object[], optional): For a board scene: one { shotId, action, dialogue } per shot in that scene.
- `fixes` (body, string[], optional): Quick fixes to apply. Picture fixes and video fixes are in shotOptions.redoFixes of GET /movies/options. Allowed: face, position, extraPerson, angle, movement, faceChanges, looksWrong.
- `expectedCredits` (body, integer, optional): The credits from POST /movies/{id}/shots/{shotId}/quote. If the price changed since, you get 409 and nothing is charged.
Example request body:
```json
{
"text": "Her face toward the camera",
"fixes": [
"face"
],
"expectedCredits": 12
}
```
Example response (202):
```json
{
"ok": true,
"shotId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "processing",
"step": "making_pictures",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/shots/{shotId}/refilm (Film a shot again)
Films a new clip of a filmed shot, with your changes. The old clip is kept until you choose.
- Needs a paid plan. Get the price first from the quote endpoint and send it as expectedCredits.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `shotId` (path, string (uuid), required): A shot id from scenes[].shots[] in GET /movies/{id}.
- `text` (body, string, optional): What to change, in your own words. For a board scene send beats instead.
- `beats` (body, object[], optional): For a board scene: one { shotId, action, dialogue } per shot in that scene.
- `fixes` (body, string[], optional): Quick fixes to apply. Picture fixes and video fixes are in shotOptions.redoFixes of GET /movies/options. Allowed: face, position, extraPerson, angle, movement, faceChanges, looksWrong.
- `expectedCredits` (body, integer, optional): The credits from POST /movies/{id}/shots/{shotId}/quote. If the price changed since, you get 409 and nothing is charged.
Example request body:
```json
{
"fixes": [
"movement"
],
"expectedCredits": 96
}
```
Example response (202):
```json
{
"ok": true,
"shotId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "processing",
"step": "filming",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/shots/{shotId}/retry (Try a failed shot again)
Makes a failed shot's picture or clip again. Its credits were already returned when it failed.
- Needs a paid plan.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `shotId` (path, string (uuid), required): A shot id from scenes[].shots[] in GET /movies/{id}.
Example response (202):
```json
{
"ok": true,
"shotId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "processing",
"step": "filming",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### POST /movies/{id}/shots/{shotId}/keep-previous (Keep the earlier version)
Goes back to the picture and clip this shot had before its last redo, when hasPreviousVersion is true. Free.
- Needs a paid plan.
Parameters:
- `id` (path, string (uuid), required): The movie id from POST /movies.
- `shotId` (path, string (uuid), required): A shot id from scenes[].shots[] in GET /movies/{id}.
Example response (200):
```json
{
"ok": true,
"shotId": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
"movie": {
"id": "3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f",
"kind": "movie",
"reference": "batch-7-plumber-01",
"title": "The Plumber",
"status": "waiting",
"step": "story_ready",
"autoProduce": false,
"videoUrl": null,
"thumbnailUrl": null,
"error": null,
"options": {
"durationSeconds": 60,
"aspectRatio": "16:9",
"quality": "high",
"style": "cinematic",
"dialogueLanguage": "en",
"finale": "facial"
},
"credits": {
"story": 35
},
"createdAt": "2026-09-25T10:00:00.000Z",
"updatedAt": "2026-09-25T10:00:00.000Z",
"statusUrl": "https://www.makecorn.com/api/v1/movies/3f0c8f7e-2b1a-4c55-9d7e-6a1b2c3d4e5f"
}
}
```
### GET /characters (List your characters)
Lists the characters you created on MakeCorn that have a photo, newest first. Pass a character's id as characterId to run a mode on her.
- nextCursor is null on the last page.
Parameters:
- `limit` (query, integer, optional): Page size, 1 to 100. Defaults to 20.
- `cursor` (query, string (date-time), optional): The nextCursor value from the previous page.
Example response (200):
```json
{
"characters": [
{
"id": "5d2e8a1c-7b3f-4e9a-8c6d-1f2a3b4c5d6e",
"name": "Asia",
"photoUrl": "https://assets.makecorn.com/…/asia.png",
"createdAt": "2026-09-25T10:00:00.000Z"
}
],
"nextCursor": null
}
```
### POST /assets/presign (Upload a photo)
Returns a private upload link for a starting or reference photo. Send the file with a PUT request to uploadUrl within 2 minutes, using the headers returned, then pass url to imageUrls or startFrameUrl, or pass id as assetId to a mode run.
- Needs a paid plan. Each key can create 30 upload links per minute.
- The photo is saved to your library. Keep id so you can delete it later with DELETE /assets/{id}.
- Only upload photos of yourself or of a fictional AI character, never anyone else, even with their permission. Nobody in them may be under 18.
Parameters:
- `contentType` (body, string, required): The file type of the photo you will upload. Allowed: image/jpeg, image/png, image/webp.
Example request body:
```json
{
"contentType": "image/jpeg"
}
```
Example response (200):
```json
{
"id": "8b1f2c3d-4e5f-4a6b-9c7d-0e1f2a3b4c5d",
"uploadUrl": "https://…signed-upload-link…",
"method": "PUT",
"headers": {
"Content-Type": "image/jpeg"
},
"expiresInSeconds": 120,
"url": "https://assets.makecorn.com/…/photo.jpg"
}
```
### GET /assets (List your uploaded photos)
Lists the photos in your library, newest first, with the id you need to delete one or to start a mode run from it. Pass nextCursor back as cursor to get the next page.
- This lists photos you uploaded, from the API or the website. Photos and videos you created are listed by GET /generations.
- nextCursor is null on the last page.
Parameters:
- `limit` (query, integer, optional): Page size, 1 to 100. Defaults to 20.
- `cursor` (query, string (date-time), optional): The nextCursor value from the previous page.
Example response (200):
```json
{
"assets": [
{
"id": "8b1f2c3d-4e5f-4a6b-9c7d-0e1f2a3b4c5d",
"type": "image",
"url": "https://assets.makecorn.com/…/photo.jpg",
"createdAt": "2026-09-25T10:00:00.000Z"
}
],
"nextCursor": null
}
```
### DELETE /assets/{id} (Delete an uploaded photo)
Deletes one photo from your library for good: the library entry and the stored file. Photos and videos you already created from it are not affected, because each one keeps its own copy.
- Deleting is permanent and can't be undone.
- Calling it again for the same id returns 404 not_found, so a retry after a timeout is safe. Treat 404 as already deleted.
- You can only delete your own photos. Any other id returns 404.
- Each key can delete 60 photos per minute.
Parameters:
- `id` (path, string (uuid), required): The id returned by POST /assets/presign or listed by GET /assets.
Example response (200):
```json
{
"id": "8b1f2c3d-4e5f-4a6b-9c7d-0e1f2a3b4c5d",
"deleted": true
}
```
### POST /assets/delete (Delete several photos)
Deletes up to 25 photos from your library in one request, by id or by the url you got from POST /assets/presign. Use url for photos you uploaded before upload links returned an id.
- Each item ends up in exactly one list: deleted, notFound (not yours, or already deleted) or failed (try that one again).
- Deleting is permanent. Photos and videos you already created keep their own copies.
- Every item counts toward the 60 deletes per minute limit.
Parameters:
- `ids` (body, string[] (uuid), optional): Asset ids to delete. ids and urls together hold 1 to 25 items.
- `urls` (body, string[] (url), optional): Photo links returned as url by POST /assets/presign. Only links to your own uploads are deleted.
Example request body:
```json
{
"ids": [
"8b1f2c3d-4e5f-4a6b-9c7d-0e1f2a3b4c5d"
],
"urls": [
"https://assets.makecorn.com/…/photo.jpg"
]
}
```
Example response (200):
```json
{
"deleted": [
"8b1f2c3d-4e5f-4a6b-9c7d-0e1f2a3b4c5d"
],
"notFound": [
"https://assets.makecorn.com/…/photo.jpg"
],
"failed": []
}
```
## Polling pattern
- Creating returns 202 Accepted with an id and statusUrl. Nothing is finished yet.
- status is one of "queued", "processing", "succeeded" or "failed".
- Photos are usually ready in 10 to 30 seconds. Check them every 2 to 5 seconds.
- Short videos are often ready in under a minute, longer ones can take up to five minutes. Check them every 10 to 15 seconds.
- On "succeeded", read urls (photos) or url (video). If withheld is true, the result broke our content rules and is not delivered.
- On "failed", creditsCharged is 0 and the credits are already back in your balance. Show error to your user or try again.
- Status checks count toward the 120 requests per minute limit, so don't poll faster than you need.
## Making a good movie (recipe for agents)
1. **Pick the story and check the price.** Read the stories, actors and options, then send your planned body to the quote endpoint. It runs every check POST /movies would and returns the story price without charging. Set maxCredits to the most the whole movie may cost. (`GET /movies/options`, `POST /movies/quote`)
2. **Write the story, then stop.** Create the movie with autoProduce false, your own reference and the same value as Idempotency-Key. Writing takes about 2 to 3 minutes. Wait until step is story_ready. (`POST /movies`, `GET /movies/{id}`)
3. **Review the storyboard.** Read scenes[].shots[]: what happens, the picture and video directions and each spoken line. Fix weak shots by sending only the fields you change, add or remove shots, reorder them, and set the camera and length of sex scenes. If the whole story is wrong, rewrite it with notes before any picture is made. (`POST /movies/{id}/shots/{shotId}`, `POST /movies/{id}/shots`, `DELETE /movies/{id}/shots/{shotId}`, `POST /movies/{id}/shots/{shotId}/move`, `POST /movies/{id}/shots/{shotId}/direct`, `POST /movies/{id}/replan`)
4. **Make the pictures.** Make every scene's still pictures. This is the cheap step, so it is the right time to get the look right. Wait until the movie is waiting again. (`POST /movies/{id}/pictures`, `GET /movies/{id}`)
5. **Check every picture.** Look at each pictureUrl. Check her face matches, the right people are in it, the position matches the shot and nothing looks broken. For a bad picture, price a new one with your fix, then make it with expectedCredits. If the new one is worse, keep the earlier version. (`POST /movies/{id}/shots/{shotId}/quote`, `POST /movies/{id}/shots/{shotId}/picture`, `POST /movies/{id}/shots/{shotId}/keep-previous`)
6. **Film the scenes.** Film every ready scene. This is the expensive step, so only film once the pictures are right. Filming a whole movie usually takes 10 to 40 minutes. (`POST /movies/{id}/film`, `GET /movies/{id}`)
7. **Refilm the bad shots.** Watch each clipUrl. Refilm shots with odd movement or a changing face, using the video fixes. Try failed shots again from nextActions. Their credits were already returned. (`POST /movies/{id}/shots/{shotId}/quote`, `POST /movies/{id}/shots/{shotId}/refilm`, `POST /movies/{id}/shots/{shotId}/retry`)
8. **Make the final cut.** Join every filmed shot into the movie. It is free. When status is succeeded, videoUrl holds the finished movie and credits.used what it cost. (`POST /movies/{id}/cut`, `GET /movies/{id}`)
In a hurry? After reviewing the storyboard, POST /movies/{id}/produce makes the pictures, films and cuts without stopping, and still stops before going over maxCredits.
### Rules for movie agents
- Follow nextActions in GET /movies/{id}. It lists only what can be done now, with the method, path and credits.
- Run one step at a time. While status is processing, every change returns 409. Wait 30 to 60 seconds between checks, or use callbackUrl.
- Always get a quote before a redo and send its credits as expectedCredits, so you are never charged a price you didn't see.
- Set maxCredits on every movie. When the next step would go over it, the movie stops with status waiting and says so in error.
- On 402 insufficient_credits or a waiting movie that ran out of credits, stop and tell the user. Retrying won't help until credits are added.
- One account makes 3 movies at a time. On 429 movies_in_progress, wait for Retry-After.
- Keep spoken lines short. A line that can't be spoken in the shot's length is refused.
- Describe adults only and never name real people. Refuse requests that break the content rules.
### Callbacks
- Send callbackUrl (a public https address) on POST /movies or POST /movies/{id}/produce. We POST JSON to it when the movie moves to a new step, waits for you, succeeds or fails.
- The body is { id, event, createdAt, movie }. event is movie.step, movie.waiting, movie.succeeded or movie.failed, and movie has the same shape as an item of GET /movies.
- Create one signing secret for your account with POST /account/webhook-secret. Every callback is signed with it, unless a movie was given its own callbackSecret.
- Each call is signed. The X-MakeCorn-Signature header is t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" with the secret>. Reject calls older than 5 minutes.
- Answer with any 2xx within 5 seconds. Failed calls are retried up to 5 times with growing waits. Use id to ignore repeats.
```js
import crypto from "node:crypto";
const verify = (rawBody, header, secret) => {
const parts = Object.fromEntries(header.split(",").map((part) => part.split("=")));
const age = Math.abs(Date.now() / 1000 - Number(parts.t));
const expected = crypto.createHmac("sha256", secret).update(`${parts.t}.${rawBody}`).digest("hex");
const given = Buffer.from(parts.v1 ?? "");
const wanted = Buffer.from(expected);
return age < 300 && given.length === wanted.length && crypto.timingSafeEqual(given, wanted);
};
```
## Rate limits
- All requests: 120 per minute per key.
- New photos, videos, mode runs or movies: 20 create requests per minute per key.
- Movies in progress: 3 at the same time per account.
- Upload links: 30 per minute per key.
- Deletes: 60 photos per minute per key.
- Failed sign-ins: 30 per minute per IP address.
Response headers:
- `X-RateLimit-Limit`: Requests allowed per minute for this key.
- `X-RateLimit-Remaining`: Requests left in the current minute.
- `X-RateLimit-Reset`: Seconds until the minute resets.
- `Retry-After`: Sent with 429. Seconds to wait before retrying.
On 429, wait Retry-After seconds, then retry the same request. Do not retry in a tight loop.
## Errors
Every error has the same shape. `details` is only present on some errors.
```json
{
"error": {
"code": "insufficient_credits",
"message": "You don't have enough credits for this request. Add credits at https://www.makecorn.com/dashboard/credits/buy and try again.",
"details": {
"topUpUrl": "https://www.makecorn.com/dashboard/credits/buy"
}
}
}
```
- 400 `validation_error`: A field is missing, has the wrong type or is out of range. The message names the field.
- 400 `invalid_settings`: The settings don't match what the chosen model accepts. Check its options in GET /models.
- 400 `unknown_model`: That model id isn't available for this kind. Check GET /models.
- 400 `content_not_allowed`: Your text describes something we don't allow, such as anyone under 18 or a real person.
- 400 `invalid_request`: The request can't be handled as sent, for example count is above the model's maxCount.
- 401 `unauthorized`: The key is missing, mistyped or turned off.
- 402 `plan_required`: Creating photos, videos, mode runs, movies and uploads needs a paid plan. details.pricingUrl links to plans.
- 402 `insufficient_credits`: Your balance is too low for this request. details.topUpUrl links to buy more credits.
- 403 `forbidden`: This account isn't allowed to do that.
- 404 `not_found`: Nothing with that id belongs to your account, or it was already deleted.
- 405 `method_not_allowed`: Wrong HTTP method. The Allow header lists the right one.
- 409 `idempotency_conflict`: That Idempotency-Key was already used with a different request. Use a new key.
- 409 `conflict`: The same request is still being handled. Wait a moment, then check its status.
- 429 `rate_limited`: Too many requests. Wait for the number of seconds in the Retry-After header, then retry.
- 429 `movies_in_progress`: Your account is already making as many movies at once as it can. Wait for the number of seconds in the Retry-After header, or until one finishes.
- 503 `not_available`: This feature isn't switched on for your account yet. The message says what to use meanwhile.
- 500 `internal_error`: Something went wrong on our side. Try again shortly.
- 502 `generation_failed`: The work couldn't start. Any credits it used were returned.
On 402, stop and tell the user: plan_required means they need a paid plan (details.pricingUrl), insufficient_credits means they need more credits (details.topUpUrl). Do not retry.
## Content rules (must follow)
- Adults only. Every person shown must be 18 or older, and your users must be 18 or older.
- Never create anything showing or suggesting a minor, in any style, including anime.
- Never create intimate content of a real person other than yourself, even with their permission, and never impersonate a real person.
- Only upload photos of yourself or of a fictional AI character, never anyone else.
- Results that break these rules are withheld and not delivered. Repeated attempts can get the account closed.
If a user asks for something that breaks these rules, refuse and do not call the API.
## Models
Prices and options change, so always confirm with GET /models before creating. Current models:
- `nano-banana-2` (image): Nano Banana 2 by Google, typical wait 10s, from 42 credits
- `z-image-turbo` (image): Z-Image Turbo (NSFW) by Alibaba, typical wait 1s, from 6 credits
- `wan-26-nsfw` (image): Wan 2.6 NSFW (Anime) by Alibaba, typical wait ~15s, from 9 credits
- `wan-25-nsfw-edit` (image): Wan 2.5 NSFW Edit by Alibaba, typical wait ~15s, from 12 credits
- `qwen-image-max` (image): Qwen Max NSFW by Alibaba, typical wait ~20s, from 13 credits
- `gpt-image-2.5-sunburst` (image): GPT Image 2.5 by OpenAI, typical wait ~30s, from 5 credits
- `gpt-image-2.5-flare` (image): GPT Image 2.5 Flare by OpenAI, typical wait ~30s, from 5 credits
- `seedream-4.5` (image): Seedream 4.5 by ByteDance, typical wait ~20s, from 8 credits
- `seedream-5-flash` (image): Seedream 5.0 Flash by ByteDance, typical wait ~30s, from 5 credits
- `qwen-edit-2511-scenes` (image): Uncensored Scenes by Alibaba, typical wait ~15s, from 5 credits
- `kling_v30_pro` (video): Kling v3.0 Pro by Kuaishou, typical wait ~90s, from 63 credits
- `kling_v30_std` (video): Kling v3.0 Standard by Kuaishou, typical wait ~90s, from 48 credits
- `kling_v30_4k` (video): Kling v3.0 4K by Kuaishou, typical wait ~120s, from 228 credits
- `wan3` (video): Wan 3 by Alibaba, typical wait ~120s, from 18 credits
- `wan3-spicy` (video): Wan 3 Uncensored by Alibaba, typical wait ~120s, from 18 credits
- `wan27-spicy` (video): Wan 2.7 Uncensored by Alibaba, typical wait ~120s, from 47 credits
- `seedance2` (video): Seedance 2.0 by ByteDance, typical wait ~75s, from 88 credits
- `seedance25` (video): Seedance 2.5 by ByteDance, typical wait ~90s, from 130 credits
- `seedance25-turbo` (video): Seedance 2.5 Turbo by ByteDance, typical wait ~90s, from 144 credits
- `seedance2-mini` (video): Seedance 2.0 Mini by ByteDance, typical wait ~90s, from 44 credits
- `minimax-h3` (video): MiniMax H3 by MiniMax, typical wait ~90s, from 23 credits
- `minimax-h3-singularity` (video): MiniMax H3 Singularity by MiniMax, typical wait ~90s, from 29 credits
- `minimax-h3-reference` (video): MiniMax H3 Reference by MiniMax, typical wait ~150s, from 29 credits
- `minimax-h3-singularity-reference` (video): MiniMax H3 Singularity Reference by MiniMax, typical wait ~150s, from 29 credits
- `minimax-h3-uncensored` (video): MiniMax H3 Uncensored by MiniMax, typical wait ~90s, from 29 credits
- `wan22-fast` (video): Wan 2.2 Fast by Alibaba, typical wait ~30s, from 9 credits
- `ltx2` (video): LTX-2 by Lightricks, typical wait ~40s, from 11 credits
- `hunyuan-video-15` (video): HunyuanVideo 1.5 by Tencent, typical wait ~60s, from 18 credits
## Minimal working example (JavaScript, axios)
```js
import axios from "axios";
const makecorn = axios.create({
baseURL: "https://www.makecorn.com/api/v1",
headers: {
Authorization: `Bearer ${process.env.MAKECORN_API_KEY}`,
},
});
const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
const createPhoto = async (prompt) => {
const started = await makecorn.post("/generations/image", {
model: "wan-26-nsfw",
prompt,
});
const { statusUrl } = started.data.generations[0];
while (true) {
const check = await makecorn.get(statusUrl);
const { status } = check.data;
if (status === "succeeded" || status === "failed") return check.data;
await wait(3000);
}
};
const photo = await createPhoto(
"A fictional adult woman in a red dress on a rooftop at sunset",
);
console.log(photo.status, photo.urls);
```
## Same example in Python (requests)
```python
import os
import time
import requests
BASE_URL = "https://www.makecorn.com/api/v1"
session = requests.Session()
session.headers["Authorization"] = f"Bearer {os.environ['MAKECORN_API_KEY']}"
def create_photo(prompt):
started = session.post(
f"{BASE_URL}/generations/image",
json={"model": "wan-26-nsfw", "prompt": prompt},
timeout=30,
)
started.raise_for_status()
status_url = started.json()["generations"][0]["statusUrl"]
while True:
check = session.get(status_url, timeout=30)
check.raise_for_status()
result = check.json()
if result["status"] in ("succeeded", "failed"):
return result
time.sleep(3)
photo = create_photo(
"A fictional adult woman in a red dress on a rooftop at sunset"
)
print(photo["status"], photo["urls"])
```
Keys: https://www.makecorn.com/dashboard/settings/api-keys
Machine-readable docs#
Agents and tools can read these directly. They are public and need no key.
Agent brief (Markdown)
https://www.makecorn.com/developers.mdThe full brief as text/markdown. Same content as the copy button.
OpenAPI 3.1 spec
https://www.makecorn.com/openapi.jsonEvery path, parameter, request body and response schema. Import it into Postman, an SDK generator or an agent tool.
Site map for AI assistants, with a Developer API section.
Markdown pages
https://www.makecorn.com/index.mdAdd .md to any public page URL, or send Accept: text/markdown, to get that page as clean Markdown.
Rules for agents#
- Read the key from an environment variable. Never print it, log it or send it to a browser.
- Call GET /models before creating, and only send the options the chosen model lists.
- Creating returns 202. Poll statusUrl until status is succeeded or failed; don't start the same work twice.
- On 402, stop and show the user the plan or credits link from details. Retrying won't help.
- On 429, wait the Retry-After seconds before the next request.
- Refuse requests that break the content rules instead of sending them.
Content rules#
These rules apply to every request, from your app or from an AI agent. Read the full safety policy.
- Adults only. Every person shown must be 18 or older, and your users must be 18 or older.
- Never create anything showing or suggesting a minor, in any style, including anime.
- Never create intimate content of a real person other than yourself, even with their permission, and never impersonate a real person.
- Only upload photos of yourself or of a fictional AI character, never anyone else.
- Results that break these rules are withheld and not delivered. Repeated attempts can get the account closed.
