|Docs

Credits and what they cost

Credits pay for AI work in invideo: generation, transcripts and paid stock. Edits and exports are free. Your agent runs a dry run first and tells you the price before it spends anything.

This is the one page on money. For how credits work, start with the credits FAQ. Per-model prices are on the video, image and audio pricing pages, and in find_models. Top-ups are on the extra credits page. Plan prices are on the invideo pricing page. For one specific call, the dry run is the price. Do not infer pricing from anywhere else.

{ "tool": "generate", "arguments": {  "url": "<page-url>", "model": "<model-id>",  "inputs": { "prompt": "slow push on the bottle" },  "dry_run": true } }

What costs credits

These actions spend credits from the workspace you work in.

  • Generation. generate runs a model for video, images, audio or 3D. The price depends on the model and its inputs, such as length and resolution.
  • Transcripts. media with audio.transcript. Only the call that starts a transcript costs credits. Later calls on the same file to read the words cost nothing.
  • Model ops in media. audio.separate, audio.clean, video.upscale, image.upscale, video.removeBackground and image.removeBackground run a model and cost credits. A video upscale charges by the length of the source. An image upscale charges by the size of the result, so its price is an estimate.
  • Paid stock. add_media with stock places a stock result and charges its cost. For iStock, that is one of the workspace's iStock licenses. For other paid stock, it is a small credit charge.
  • Agent Two in the invideo app. Agent Two's work and the media it makes use credits. An outside agent edits for free and pays only for generation, transcripts and paid stock. An outside agent's own chat, such as Claude or ChatGPT, runs on that app's plan.

What is free

These actions cost nothing. Your agent can use them as often as it needs.

  • Every timeline edit, by your agent with edit_timeline or by you in invideo Editor.
  • Every export: a video, its sound, a still, or an editable project.
  • Reads: read, get_timeline, inspect_objects, capture, check_timeline, timeline_catalog.
  • Price and model lookups: find_models and get_model.
  • Stock search with search_library, and a closer look at a stock result with media.
  • Looking at and listening to a file with media: metadata, video.frames, audio.waveform, audio.loudness, audio.content, audio.onsets, audio.markers, audio.key, audio.sections and audio.beats.
  • Bringing your own files in with add_media or start_upload, and importing from Google Drive.
  • Drawing in /sketch. Asking Agent Two to work from the drawing uses credits.

document.pages and the tool ops in media that make a new file without a model, such as video.trim, video.loop, image.crop and video.stitch, can show a charge. The dry run shows its price before anything starts.

See the price first

Every generate call and every paid media op takes two fields. Use both, every time. add_media with stock takes neither: each search_library result shows its cost.

  • dry_run: true checks the inputs and returns the price. Nothing starts and nothing is spent.
  • max_credits is the most the price may be. Nothing starts when the price is higher. generate needs it when the call costs anything, unless it is a dry run. media needs it on any op that costs.

Run the dry run before the first paid call. Then tell the person the price, and start the real call with max_credits set to that price.

  1. Find the model and its price

    Your agent calls find_models with a query. Each model comes back with its id and its price per generation, per second or per other unit. It sees a list of models with prices.

  2. Read the inputs

    Your agent calls get_model with the model id. It sees the input names it must fill. This call is free.

  3. Price the exact call

    Your agent calls generate or media with dry_run: true and the real inputs. It sees the price, and an error if an input is wrong. Nothing is spent.

  4. Tell the person

    Your agent runs a dry run first. For any call that costs 1 credit or more, it tells you the price and waits for your yes. A call under 1 credit runs without asking, and your agent tells you what it cost.

  5. Run it with a cap

    Your agent sends the same call without dry_run and with max_credits. It also passes an idempotency_key, so a retry after a timeout finds the first job and does not pay twice. It sees a thread URL at once.

In a terminal, the same flags are on the commands that cost.

invideo gen models <project-url> --query "product video"invideo gen model <project-url> --model <model-id>invideo gen run <page-url> --model <model-id> --dry-run \  -i prompt="slow push on the bottle"invideo gen run <page-url> --model <model-id> --max-credits <price> \  --idempotency-key <key> -i prompt="slow push on the bottle"invideo media audio.transcript <sequence-url> --dry-runinvideo media video.upscale <sequence-url> --dry-run

Where each value comes from:

  • <project-url> comes from invideo project new. <page-url> is a notebook page, from invideo notebook new-page <project-url>, or a page listed by invideo notebook show <project-url>.
  • <model-id> is an id from invideo gen models, checked with invideo gen model.
  • <price> is estimated_credits in the dry run's answer. Pass the same inputs on both runs.
  • <key> is any text unique to this run. Reuse it on a retry.
  • <sequence-url> is the file's URL, …/notebook/seq-N.M, from invideo asset upload. Paid media ops refuse a bin asset (--asset), so pass the sequence URL.

When the pricing says the price is an estimate, the final charge can end above it. max_credits caps the estimate, not the final charge. Tell the person when a price is an estimate.

See your balance

Your agent can check the credits left before and after paid work.

  • MCP. current_user returns who is signed in and the credits left in the connection's default workspace.
  • CLI. invideo auth status prints the same, with the credits left.
  • In the app. Open your profile menu (your picture in the top right corner). It shows the credits left in the workspace, with Top up credits next to it. Usage shows credits and iStock used this billing cycle, and the storage the workspace uses. In a project, the project menu has Project usage for that project's total.
invideo auth status

When credits run out or reset

A call that needs more credits than the workspace has is refused before it starts. In the CLI this is exit code 5, "a limit: credits or quota". Your agent stops and tells you. It does not retry.

  • Plan credits. On an active plan, credits and iStock reset each month on the date and time your plan started, in UTC. A plan set by contract has one allowance for the whole contract term instead. Unused plan credits do not roll over.
  • Extra credits. You can buy extra credits without changing your plan. They expire after a set period, or when your plan ends, whichever comes first.
  • Plan ends. When a plan ends, its credits do not carry over.

See Plans for what changes by plan, and Refunds and cancellation for credits after you cancel.

Safety holds and confirmations

A paid job can stop before it finishes. It does not charge again while it waits. Your agent follows it with read or status, and never calls generate again to check on it.

Status or exit codeWhat it meansWhat to do
heldA safety review holds the job.Stop checking. Tell the person the job is under review.
Exit code 6A safety review holds the CLI job. It is not a refusal.Wait, then run invideo status again. Do not resend. If it ends failed, change the input the review flagged.
needs_confirmationOnly the person can confirm it, in invideo.Send the person the URL to confirm.
Exit code 8The CLI job needs the person's confirmation.Stop and ask the person.
refusedNothing took effect. Nothing was spent.Read message and fix the call once.

If something goes wrong

Most cost problems come from a missing dry run or a resent call.

SymptomFix
The call is refused for a price above max_credits.Run the dry run, tell the person the price, then send it with a higher cap.
generate is refused without max_credits.Add max_credits, or set dry_run: true to price it.
A generation timed out and the agent wants to send it again.Avoid a new call. Instead, resend with the same idempotency_key, or read the thread URL.
The agent calls audio.transcript again to get the words.This is correct. Only the first call spends credits.
Exit code 5 in the CLI.Stop and read the message. It names the limit: credits, iStock licenses, a price above --max-credits, or a model or generation the workspace cannot run.
The price looks different from the pricing page.Trust find_models and the dry run for that call.