Guides

How to give an AI agent image and video tools over MCP, billed per use

Short answer

Add a remote MCP server that exposes media tools and bills per task. With NPPU you add one MCP URL and an API key to your client (Claude Code, Claude Desktop, Cursor, Codex or any Streamable HTTP client), and the agent can search the tool catalog, submit a task and hand you the result.

There's no subscription and no prepaid balance: each task is quoted first, and you pay for it through a link or QR code the agent shows you. Failed or timed-out tasks are refunded in full automatically.

Set it up in three steps

  1. Create an API key

    Sign in to the workbench and create a key.

  2. Add the MCP server to your client

    Endpoint: https://nppu.ai/mcp. Transport: Streamable HTTP. Auth: Authorization: Bearer <API key> (OAuth is not supported yet). Config for each client is on the agent setup page.

  3. Ask in plain language

    For example: "Use NPPU to put this product photo on a white background: https://example.com/shoe.jpg". The agent finds the right tool, tells you the price and asks you to pay.

Claude Code
claude mcp add --transport http nppu https://nppu.ai/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"
Cursor and other clients that use an mcpServers JSON config
{
  "mcpServers": {
    "nppu": {
      "url": "https://nppu.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

The MCP tools

ToolWhat it does
search_toolsFind tools in the catalog, with their input requirements and prices.
get_toolRead one tool's input format and price.
create_taskSubmit a task. Returns right away while the server checks the input and calculates the price.
wait_taskFollow a task: first the quote with a payment link and QR code, then the result.
get_upload_urlGet an upload URL for a local file, then pass the returned URL to create_task.
pay_orderGet the payment link and QR code of an unpaid order again.
list_ordersList recent orders, for example to recover a lost order ID.
list_entitlements, use_entitlementFind tasks that were paid for but never started, and run them without paying again.

The catalog lives on the server, so new tools show up through search_tools without reinstalling anything.

How a task is billed

  1. create_task returns preparing while the server checks the input and measures it (for example, the length of a video).
  2. wait_task returns awaiting_payment with the price, a payment link and a QR code, and the agent shows them to you. If the input can't be processed, the status is rejected and nothing is charged.
  3. You pay by card through Stripe (USD) or with WeChat Pay (CNY). The agent keeps calling wait_task.
  4. On done, the agent receives the result files. On failed, the payment is refunded automatically.
  5. If the payment window passes, the status is expired. The agent checks list_orders before placing a new order, so you don't pay twice.
Agents never pay on your behalf: every order is paid by a person. A leaked API key can't spend your money, but it also means NPPU isn't built for fully unattended batch pipelines.

What's available and what it costs

Every tool in the catalog, from product photos and watermark removal to AI image and video generation (with model choice), lip sync and video translation. Prices come from the live tool catalog and are also on the Pricing page.

ToolBillingUSD (Stripe)CNY (WeChat Pay)
White Background Product ImageProduct ImagesBilled per image
  • Per image$1.99 / image
  • Per image¥13.99 / image
E-commerce Image SetProduct ImagesBilled per image
  • Charged per item selected in "Shots to generate"; failed items are refunded
  • Per image$1.99 / image
  • Per image¥13.99 / image
AI Image GeneratorAI GenerationBilled per image
  • Model · Nano Banana Pro / 1k$1.99 / image
  • Model · Nano Banana Pro / 2k$1.99 / image
  • Model · Nano Banana 2 / 0.5k$1.99 / image
  • Model · Nano Banana 2 / 1k$1.99 / image
  • Model · Nano Banana 2 / 2k$1.99 / image
  • Model · Nano Banana 2 Fast / 2k$1.99 / image
  • Model · Nano Banana 2.1 / 1k$1.99 / image
  • Model · Nano Banana 2.1 / 2k$1.99 / image
  • Model · GPT Image 2 / 1k$1.99 / image
  • Model · GPT Image 2 / 2k$1.99 / image
  • Model · GPT Image 2.5 / 1k$1.99 / image
  • Model · GPT Image 2.5 / 2k$1.99 / image
  • Model · GPT Image 2.5 Sunburst / 1k$1.99 / image
  • Model · GPT Image 2.5 Sunburst / 2k$1.99 / image
  • Model · GPT Image 2.6 / 1k$1.99 / image
  • Model · GPT Image 2.6 / 2k$1.99 / image
  • Model · GPT Image 2.6 / 1k$1.99 / image
  • Model · GPT Image 2.6 / 2k$1.99 / image
  • Model · GPT Image 2.6 Sunburst / 1k$1.99 / image
  • Model · GPT Image 2.6 Sunburst / 2k$1.99 / image
  • Model · GPT Image 2.6 Sunburst / 1k$1.99 / image
  • Model · GPT Image 2.6 Sunburst / 2k$1.99 / image
  • Model · Seedream 5.5 / 1k$1.99 / image
  • Model · Seedream 5.5 / 1.5k$1.99 / image
  • Model · Seedream 5.5 / 2k$1.99 / image
  • Model · Seedream 5.0 Pro / 1k$1.99 / image
  • Model · Seedream 5.0 Pro / 2k$1.99 / image
  • Model · Seedream 5.0 Lite / $1.99 / image
  • Model · Kling Image 4.0 / 2k$1.99 / image
  • Model · Grok Imagine Image 2.0 / 1k$1.99 / image
  • Model · Grok Imagine Image 2.0 / 2k$1.99 / image
  • Model · MiniMax H3 Image / 1k$1.99 / image
  • Model · MiniMax H3 Image / 2k$1.99 / image
  • Model · MiniMax H3 Image Highspeed / 1k$1.99 / image
  • Model · MiniMax H3 Image Highspeed / 2k$1.99 / image
  • Model · Nano Banana Pro / 1k¥13.99 / image
  • Model · Nano Banana Pro / 2k¥13.99 / image
  • Model · Nano Banana 2 / 0.5k¥13.99 / image
  • Model · Nano Banana 2 / 1k¥13.99 / image
  • Model · Nano Banana 2 / 2k¥13.99 / image
  • Model · Nano Banana 2 Fast / 2k¥13.99 / image
  • Model · Nano Banana 2.1 / 1k¥13.99 / image
  • Model · Nano Banana 2.1 / 2k¥13.99 / image
  • Model · GPT Image 2 / 1k¥13.99 / image
  • Model · GPT Image 2 / 2k¥13.99 / image
  • Model · GPT Image 2.5 / 1k¥13.99 / image
  • Model · GPT Image 2.5 / 2k¥13.99 / image
  • Model · GPT Image 2.5 Sunburst / 1k¥13.99 / image
  • Model · GPT Image 2.5 Sunburst / 2k¥13.99 / image
  • Model · GPT Image 2.6 / 1k¥13.99 / image
  • Model · GPT Image 2.6 / 2k¥13.99 / image
  • Model · GPT Image 2.6 / 1k¥13.99 / image
  • Model · GPT Image 2.6 / 2k¥13.99 / image
  • Model · GPT Image 2.6 Sunburst / 1k¥13.99 / image
  • Model · GPT Image 2.6 Sunburst / 2k¥13.99 / image
  • Model · GPT Image 2.6 Sunburst / 1k¥13.99 / image
  • Model · GPT Image 2.6 Sunburst / 2k¥13.99 / image
  • Model · Seedream 5.5 / 1k¥13.99 / image
  • Model · Seedream 5.5 / 1.5k¥13.99 / image
  • Model · Seedream 5.5 / 2k¥13.99 / image
  • Model · Seedream 5.0 Pro / 1k¥13.99 / image
  • Model · Seedream 5.0 Pro / 2k¥13.99 / image
  • Model · Seedream 5.0 Lite / ¥13.99 / image
  • Model · Kling Image 4.0 / 2k¥13.99 / image
  • Model · Grok Imagine Image 2.0 / 1k¥13.99 / image
  • Model · Grok Imagine Image 2.0 / 2k¥13.99 / image
  • Model · MiniMax H3 Image / 1k¥13.99 / image
  • Model · MiniMax H3 Image / 2k¥13.99 / image
  • Model · MiniMax H3 Image Highspeed / 1k¥13.99 / image
  • Model · MiniMax H3 Image Highspeed / 2k¥13.99 / image
Event Poster MakerImage EditingBilled per image
  • Per image$1.99 / image
  • Per image¥13.99 / image
Image Layer SplitterImage EditingBilled by number of layers
  • Resolution · 1k$1.99 / layer
  • Resolution · 1.5k$1.99 / layer
  • Resolution · 2k$1.99 / layer
  • Resolution · 1k¥13.99 / layer
  • Resolution · 1.5k¥13.99 / layer
  • Resolution · 2k¥13.99 / layer
Image Watermark RemoverImage EditingBilled per image
  • Per image$1.99 / image
  • Per image¥13.99 / image
Image 4K UpscaleImage EditingBilled per image
  • Per image$1.99 / image
  • Per image¥13.99 / image
AI Video GeneratorAI GenerationBilled per second of video
  • Priced by actual duration, measured before you pay
  • Model · Seedance 2.0 / 720pabout $0.36 / sec, from $1.99
  • Model · Seedance 2.0 / 480pabout $0.18 / sec, from $1.99
  • Model · Seedance 2.0 Mini / 720pabout $0.20 / sec, from $1.99
  • Model · Seedance 2.0 Mini / 480pabout $0.10 / sec, from $1.99
  • Model · Seedance 2.5 / 720pabout $0.56 / sec, from $1.99
  • Model · Seedance 2.5 / 480pabout $0.24 / sec, from $1.99
  • Model · Seedance 2.5 Flash / 720pabout $0.36 / sec, from $1.99
  • Model · Seedance 2.5 Flash / 480pabout $0.16 / sec, from $1.99
  • Model · Veo 3.1 / 720pabout $0.96 / sec, from $1.99
  • Model · Kling 3.0 / 720pabout $0.36 / sec, from $1.99
  • Model · Kling 4.0 / 720pabout $0.38 / sec, from $1.99
  • Model · Grok Imagine Video / 720pabout $0.12 / sec, from $1.99
  • Model · Grok Imagine Video / 480pabout $0.12 / sec, from $1.99
  • Model · MiniMax H3 / 768pabout $0.30 / sec, from $1.99
  • Model · HappyHorse 1.0 / 720pabout $0.36 / sec, from $1.99
  • Model · HappyHorse 1.1 / 720pabout $0.36 / sec, from $1.99
  • Model · Wan 3.0 / 720pabout $0.32 / sec, from $1.99
  • Model · Wan 3.0 / 480pabout $0.18 / sec, from $1.99
  • Model · Wan 3.0 Prime / 720pabout $0.32 / sec, from $1.99
  • Model · Wan 3.0 Prime / 480pabout $0.18 / sec, from $1.99
  • Model · Seedance 2.0 / 720pabout ¥2.40 / sec, from ¥13.99
  • Model · Seedance 2.0 / 480pabout ¥1.20 / sec, from ¥13.99
  • Model · Seedance 2.0 Mini / 720pabout ¥1.33 / sec, from ¥13.99
  • Model · Seedance 2.0 Mini / 480pabout ¥0.67 / sec, from ¥13.99
  • Model · Seedance 2.5 / 720pabout ¥3.74 / sec, from ¥13.99
  • Model · Seedance 2.5 / 480pabout ¥1.60 / sec, from ¥13.99
  • Model · Seedance 2.5 Flash / 720pabout ¥2.40 / sec, from ¥13.99
  • Model · Seedance 2.5 Flash / 480pabout ¥1.07 / sec, from ¥13.99
  • Model · Veo 3.1 / 720pabout ¥6.40 / sec, from ¥13.99
  • Model · Kling 3.0 / 720pabout ¥2.40 / sec, from ¥13.99
  • Model · Kling 4.0 / 720pabout ¥2.53 / sec, from ¥13.99
  • Model · Grok Imagine Video / 720pabout ¥0.80 / sec, from ¥13.99
  • Model · Grok Imagine Video / 480pabout ¥0.80 / sec, from ¥13.99
  • Model · MiniMax H3 / 768pabout ¥2.00 / sec, from ¥13.99
  • Model · HappyHorse 1.0 / 720pabout ¥2.40 / sec, from ¥13.99
  • Model · HappyHorse 1.1 / 720pabout ¥2.40 / sec, from ¥13.99
  • Model · Wan 3.0 / 720pabout ¥2.13 / sec, from ¥13.99
  • Model · Wan 3.0 / 480pabout ¥1.20 / sec, from ¥13.99
  • Model · Wan 3.0 Prime / 720pabout ¥2.13 / sec, from ¥13.99
  • Model · Wan 3.0 Prime / 480pabout ¥1.20 / sec, from ¥13.99
AI Video ExtenderAI GenerationBilled per second of video
  • Priced by actual duration, measured before you pay
  • Resolution · 720pabout $0.22 / sec, from $1.99
  • Resolution · 480pabout $0.10 / sec, from $1.99
  • Resolution · 720pabout ¥1.47 / sec, from ¥13.99
  • Resolution · 480pabout ¥0.67 / sec, from ¥13.99
AI Video EditorAI GenerationBilled per second of video
  • Priced by actual duration, measured before you pay
  • Resolution · 720pabout $0.22 / sec, from $1.99
  • Resolution · 480pabout $0.10 / sec, from $1.99
  • Resolution · 720pabout ¥1.47 / sec, from ¥13.99
  • Resolution · 480pabout ¥0.67 / sec, from ¥13.99
Product Link to Video AdProduct ImagesBilled per video
  • Resolution · 720p$5.99 / video
  • Resolution · 720p¥36.99 / video
Talking Photo (Lip Sync)AI GenerationBilled per second of video
  • Priced by actual duration, measured before you pay
  • Max 300s per video
  • Per secabout $0.48 / sec, from $1.99
  • Per secabout ¥3.20 / sec, from ¥13.99
Video Character SwapVideo EditingBilled per second of video
  • Priced by actual duration, measured before you pay
  • Max 60s per video
  • Per secabout $0.48 / sec, from $1.99
  • Per secabout ¥3.20 / sec, from ¥13.99
Motion TransferAI GenerationBilled per second of video
  • Priced by actual duration, measured before you pay
  • Max 30s per video
  • Quality · Standardabout $0.42 / sec, from $1.99
  • Quality · Proabout $0.56 / sec, from $1.99
  • Quality · Standardabout ¥2.80 / sec, from ¥13.99
  • Quality · Proabout ¥3.74 / sec, from ¥13.99
Add Subtitles to VideoVideo EditingBilled per minute of video, rounded up
  • Per min$1.99 / min
  • Per min¥13.99 / min
Video TranslationTranslationBilled per second of video
  • Priced by actual duration, measured before you pay
  • Max 300s per video
  • Per secabout $0.18 / sec, from $1.99
  • Per secabout ¥1.20 / sec, from ¥13.99
Video 4K UpscaleVideo EditingBilled per second of video
  • Priced by actual duration, measured before you pay
  • Max 300s per video
  • Per secabout $0.06 / sec, from $1.99
  • Per secabout ¥0.40 / sec, from ¥13.99
Video Watermark & Subtitle RemoverVideo EditingBilled per second of video
  • Priced by actual duration, measured before you pay
  • Max 300s per video
  • Method · Watermark removalabout $0.12 / sec, from $1.99
  • Method · Remove subtitlesabout $0.12 / sec, from $1.99
  • Method · Remove everythingabout $0.24 / sec, from $1.99
  • Method · Watermark removalabout ¥0.80 / sec, from ¥13.99
  • Method · Remove subtitlesabout ¥0.80 / sec, from ¥13.99
  • Method · Remove everythingabout ¥1.60 / sec, from ¥13.99

Per-task tools vs. calling model APIs directly

Both are valid; they solve different problems.

Per-task MCP tools (NPPU)Model APIs billed by usage
What the agent callsA finished task, such as "white background" or "translate this video"A model endpoint; you build the pipeline around it
When the price is knownBefore paying, per taskAfter the call, based on usage
Who paysA person, per orderUsually a card or balance on the developer account
If a task failsRefunded automaticallyDepends on the provider's terms
Best forAgents that occasionally need a media task done for a personDevelopers building automated pipelines at scale

FAQ

Which MCP clients work?

Any client that supports remote MCP over Streamable HTTP, such as Claude Code, Claude Desktop (through mcp-remote), Cursor and Codex. Setup for each one is on the agent setup page.

Can my agent pay automatically?

No. You pay for each order through the link or QR code the agent shows you. Even with a leaked API key, nobody can spend your money.

How do I pass a local file?

The agent calls get_upload_url, uploads the file with the returned curl command, and passes the returned URL to create_task.

Where can I see the orders my agent placed?

Under Orders in the workbench, the same as web orders. You can download results and track refunds there.

Is OAuth supported?

Not yet. Send your API key in the Authorization: Bearer header.

Do I need to update anything when new tools are added?

No. The catalog lives on the server, so search_tools always returns the latest tools and prices.

Pay only for a finished result

No subscription, no prepaid balance. Failed or timed-out tasks are refunded in full automatically.