Generate image, video, voice, music, sound and 3D
Choose a model, confirm the price, generate from text, images, video or sound and use the result in the editor or in a post.
One route generates image, video or voice, and edits, upscales and moves videos, with models from several makers (Veo, Kling, Seedance, Wan, Nano Banana, GPT Image, ElevenLabs voices and others). You get the price, create the generation, hear back when it ends and use the result.
Generating always charges, even on unlimited usage. Show the person the model and the price and wait for a yes before calling POST /generations. If it fails, the credits come back on their own.
Choose the model, or let the preset choose
The catalog is GET /models: every model with endpoint: generations runs here, from image, video and voice to music, sound effects, avatars, 3D and tools. The image, video and voice models CutPro curates carry modes, resolutions, seconds and voices; the others carry parameters, the model's own fields.
curl "https://api.cut.pro/api/v1/models?endpoint=generations&kind=video" \
-H "X-Api-Key: $CUTPRO_API_KEY"You don't have to pick an image, video or voice model: send kind and preset instead of model and CutPro uses the recommended one for that level, with its resolution. The presets are in presets of the same response.
Send images, videos and sounds, if you use any
curl -X POST https://api.cut.pro/api/v1/generations/media \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-F "file=@product.jpg"{ "id": "7412960011002233", "kind": "image", "seconds": null }The route reads whether the file is an image, a video or a sound and keeps it in the workspace library (it counts toward storage). Up to 100 MB. Images and sounds also come in by link, as JSON ({ "url": "https://…" }) or straight in the request in image_urls and audio_urls; a video comes in as a file only.
mode | Inputs |
|---|---|
text | none |
image | one image, the first frame |
frames | two images: first and last frame |
references | up to max_images images and up to max_audios sounds (audio_ids): the video speaks with the voice or uses the sound sent |
edit | a video in video_id and, where the model takes them, up to max_images images |
control | a video in video_id and one image, which makes the video's motion; orientation: "video" turns the face as in the video |
Without mode, it follows the inputs: with a video it is control on a model that takes it and edit on the others; with nothing it is text; on a video, one image is image, two are frames and more (or sounds only) are references; on an image, any number is references.
What CutPro generated needs no upload: output.image_id, output.video_id and output.audio_id work in image_ids, video_id and audio_ids. You can generate a voice and then a video that speaks with it, or upscale a generated video.
In edit and control, the result is as long as the input video and priced by its seconds.
Get the price
POST /generations/quote takes the same request as the generation, without credits, and answers with the exact total. It is free and generates nothing.
curl -X POST https://api.cut.pro/api/v1/generations/quote \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "kind": "video", "preset": "fast", "prompt": "a dog surfing at sunset", "seconds": 8 }'{ "credits": 96, "model": "google/veo-3.1-lite", "mode": "text", "resolution": "720p", "seconds": 8, "aspect_ratio": "9:16", "audio": true }Without aspect_ratio, the shape is 9:16. A field the model does not take answers 400 with what it takes in extra.allowed:
{ "code": "SECONDS_INVALID", "extra": { "allowed": [4, 6, 8] } }Generate
Show the person the total and, once they say yes, send the same request with credits:
curl -X POST https://api.cut.pro/api/v1/generations \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 5f0c8a8e-3d1b-4b8e-9a77-2f6e0c1d9a10" \
-d '{
"kind": "video",
"preset": "fast",
"prompt": "a dog surfing at sunset",
"seconds": 8,
"credits": 96,
"webhook_url": "https://your-app.com/webhooks/cutpro"
}'{ "id": "7412960099887766", "status": "processing", "credits_charged": 96, "seed": 1830654645, "output": null, "…": "…" }- Price: if it changed since the quote, nothing is charged and the answer is
409 PRICE_CHANGEDwith the new total inextra.credits. Show the new value and ask for the yes again. Idempotency-Key: any unique string (a UUID works). Repeating the request with the same key within 24 hours answers the first response and never charges twice, so you can safely retry after a network drop. The same key with another body answers422 IDEMPOTENCY_KEY_REUSED; while the first request is still running,409 IDEMPOTENCY_IN_PROGRESS.- Video:
secondsis required and must be one of the model'sseconds. It has sound by default;audio: falseleaves the sound out where the model allows it. - Voice (
kind: "speech"): readspromptword for word in thevoicepicked from the model'svoices. The result is an MP3. It costscreditstimes the characters ofpromptdivided by 1,000, rounded up. seed: every generation answers theseedit used. Send the sameseedwith the same request to get the closest result again.- Response: it is the whole generation, the same as
GET /generations/{id}. With?wait=60on thePOST, the answer waits for the generation to end (up to 60 seconds).
Know when it is ready
Pick one:
- Webhook: with
webhook_url, CutPro sends aPOSTto that address when the generation ends (see Webhooks). - Waiting request:
POST /generations?wait=60already answers with the finished generation if it ends within 60 seconds. - Waiting read:
GET /generations/{id}?wait=60holds the answer until the generation ends or the seconds run out. Repeat it whilestatusisprocessing.
curl "https://api.cut.pro/api/v1/generations/7412960099887766?wait=60" \
-H "X-Api-Key: $CUTPRO_API_KEY"ready:output.urlis the preview of the first file (a 6-hour link, an MP3 for a voice) andoutput.thumbnail_urlthe thumbnail;outputslists every file andtextwhat the model wrote.failed: the reason is inerror_codeand the credits are already back.
Music, sound, avatars, 3D and tools
Models that are not one of the curated image, video and voice models run through the same POST /generations, with the same quote, Idempotency-Key, ?wait and webhook. The shared fields (prompt, seconds, aspect_ratio, voice, seed, image_ids, audio_ids, video_id) are placed for you; the rest goes in options, under the names in parameters.
curl -X POST https://api.cut.pro/api/v1/generations/quote \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "suno/music-generate", "prompt": "lo-fi samba for a video background", "options": { "custom_lyrics": false, "instrumental": true, "version": "V5" } }'{ "credits": 14, "model": "suno/music-generate", "kind": "music", "mode": null, "resolution": null, "seconds": null, "aspect_ratio": null, "audio": null, "warnings": [] }warnings: fields of the request the model does not take and that will not be sent.INPUT_INVALID: a required field of the model is missing; the names come inextra.missing.OPTION_UNKNOWN:optionshas a name no model takes; those names come inextra.unknown.- Result:
outputslists each file withkind(image,video,audioorfile),url,media_typeandbytes. Images, videos and sounds go to the library and carrymedia_id; a 3D model (GLB, OBJ, FBX) or an archive is afile. A model that writes text (song lyrics, a description) answerstext. - Chain them: a result's
media_idworks inimage_ids,audio_idsorvideo_idof the next generation: make a voice and then an avatar that speaks with it, or upscale a generated video.
Webhooks
When the generation becomes ready or failed, CutPro sends to webhook_url:
{ "type": "generation.ready", "created_at": "2026-10-31T18:42:10.000Z", "data": { "id": "7412960099887766", "status": "ready", "output": { "url": "https://…" } } }data is the whole generation, the same as GET /generations/{id}. Answer 2xx within 10 seconds. Otherwise the delivery is repeated after 1 and after 10 minutes; the CutPro-Event-Id header is the same on every repeat, so you can skip one you already handled. The address must be public and https.
Every delivery is signed in the CutPro-Signature header (t=<unix seconds>,v1=<hex>). Get the key's secret from GET /generations/webhook-secret and check it like this:
import { createHmac, timingSafeEqual } from "node:crypto";
function isFromCutPro(rawBody, header, secret) {
const { t, v1 } = Object.fromEntries(header.split(",").map((part) => part.split("=")));
if (Math.abs(Date.now() / 1000 - Number(t)) > 300) return false;
const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
return expected.length === v1.length && timingSafeEqual(Buffer.from(expected), Buffer.from(v1));
}Use the raw body, before any JSON.parse. Each API key has its own secret: a new key has a new secret.
Improve the prompt
POST /generations/improve rewrites a short request the way the chosen model understands best, in the language of the request. It generates nothing. It charges improve_credits and refunds if it fails. Show the new text to the person before generating with it.
curl -X POST https://api.cut.pro/api/v1/generations/improve \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "google/veo-3.1-lite", "mode": "text", "prompt": "a dog surfing at sunset", "seconds": 8 }'Use the result
| Route | What it does |
|---|---|
GET /generations/{id}/download | Link to the file in full quality, valid for 6 hours. After downloading, you can no longer ask for the credits back. |
POST /generations/{id}/edit | Opens a finished video in the editor and returns the edit_id. Use it in POST /posts or POST /renders. Calling again returns the same one. |
GET /generations | Lists the generations, from newest to oldest. Filter with kind, status, model, created_after and created_before (ISO 8601). |
DELETE /generations/{id} | Removes it from the list and deletes the file from the library. Does not work for one in processing. |
Rate or ask for the credits back
Rating is free and helps choose models:
curl -X POST https://api.cut.pro/api/v1/generations/7412960099887766/feedback \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "vote": "down", "reason": "bad_motion" }'vote is up, down or null (clears). With down, reason is one of prompt_ignored, defects, bad_motion, not_realistic, speech_wrong (a word, name or number spoken wrong) or other. A down cancels the posts of that result that are still scheduled.
If the result is no good, ask for a refund with the same reason and a short note:
curl -X POST https://api.cut.pro/api/v1/generations/7412960099887766/refund \
-H "X-Api-Key: $CUTPRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "reason": "defects", "note": "The hands come out deformed in every shot." }'The team reviews it. refund_status goes from requested to approved or denied.
A refund is valid once per generation, only in ready, and never after downloading or posting: 409 REFUND_AFTER_DOWNLOAD and 409 REFUND_AFTER_POST.
Errors
| Code | When |
|---|---|
INSUFFICIENT_CREDITS | Not enough balance. extra.top_up_url leads to the top-up; extra.is_owner says whether the caller can top up. |
PRICE_CHANGED | The price changed. The new total is in extra.credits. |
TOO_MANY_RUNNING | The workspace already has max_running generations running. Wait for one to end. |
MODEL_REQUIRED | No model, or a preset without kind. |
PROMPT_REQUIRED | The image, video or voice model needs a prompt. |
INPUT_INVALID | A required field of the model is missing. The names come in extra.missing, to send in options. |
OPTION_UNKNOWN | options has a name no model takes. The names come in extra.unknown; each model's are in its parameters. |
MODE_UNSUPPORTED, RESOLUTION_INVALID, SECONDS_INVALID, RATIO_INVALID | The model does not take that value. What it takes comes in extra.allowed. |
MODEL_UNAVAILABLE, VOICE_INVALID | The model does not exist or the voice is not one of the model's. Check GET /models. |
IMAGES_INVALID, AUDIOS_INVALID | The number of images or sounds does not match the mode. The most it takes comes in extra.allowed. |
VIDEO_INVALID, VIDEO_TOO_LONG | edit and control need video_id and the other modes take none; the video is longer than max_video_seconds (in extra.allowed). |
IMAGE_NOT_FOUND, MEDIA_NOT_FOUND | An image, a sound or the video is not from this workspace. |
MEDIA_URL_INVALID, MEDIA_TYPE_INVALID, MEDIA_UNREADABLE, MEDIA_TOO_LARGE | A link did not open or is not public, is not the field's type (a video never comes in by link), could not be read, or is too large. The link is in extra.url. |
STORAGE_LIMIT_EXCEEDED | The workspace storage is full. |
WEBHOOK_URL_INVALID | webhook_url is not a public https address. |
IDEMPOTENCY_IN_PROGRESS | The first request with this Idempotency-Key is still running. Try again in a few seconds. |
IDEMPOTENCY_KEY_REUSED | The Idempotency-Key was already used with another body. Make a new key. |
When the generation ends failed, error_code says why: SAFETY_BLOCKED, COPYRIGHT_BLOCKED and REAL_FACES_BLOCKED are the model refusing the content (change the request or the model); TIMEOUT and MEDIA_FAILED are worth another try.
Choose the model
CutPro's full catalog of AI models: text, embeddings, image, video, voice, music, sound, avatars, 3D and tools, with prices and what each takes.
Chat with LLMs and make embeddings
Chat Completions and embeddings in OpenAI's format, for every text model in the catalog, billed by the token.