Skip to content

ReAPI MCP

ReAPI provides image and video generation through hosted model APIs. An agent can submit image generation tasks and retrieve their results. Add your ReAPI key once in Longwave settings; calls run on your vendor account.

Add to Longwave

Add ReAPI to your agent

Paste this into Claude Code or a terminal. Then run /mcp to sign in.

functions
2
access
Your key
tasks
1

Use ReAPI on Longwave

  1. Download Longwave or open app.longwave.run.
  2. Add your ReAPI API key once in Longwave settings. Calls run on your ReAPI account at ReAPI's price.
  3. Ask for the result in any thread, for example: “Generate an image from a design brief”. The agent picks the ReAPI function and calls it.

Use ReAPI in Claude Code, Codex, Cursor or ChatGPT

Add the Longwave MCP server once. It carries 2,593 functions across 103 tools, including ReAPI, and asks you to sign in on first use.

Why call ReAPI through Longwave

  • Your ReAPI key is stored once, encrypted, and used by every harness and device you use.
  • One MCP server for 103 tools, so your agent setup does not grow a key and a server per vendor.
  • Spending limits per key and per account, checked before a paid call is made.
  • Each call is recorded with the provider, the cost and the result, and can be read again from another device.

ReAPI functions

Image generation 1

Function Price
Generate an image from text Accepts a text prompt and returns a receipt for an asynchronous image generation request. reapi.image.submit
The selected model and usage determine the charge; no single per-call price applies to this function.

reAPI 1

Function Price
Get a reAPI task result Accepts a task ID and returns task status and generated output references. reapi.openapi.get.tasks.id
Task status and result retrieval; the paid generation is submitted separately. No separate published polling fee.

Prices are ReAPI's published rates. Source: ReAPI pricing.

Use cases

Questions people ask

How do I get a ReAPI API key?

Sign in to ReAPI and create a key at reapi.ai. Add it once in Longwave settings and your agents' ReAPI calls run on your own account. ReAPI API keys

Do I need a ReAPI account?

Yes. Create a key at https://reapi.ai and add it in Longwave settings. Longwave stores it encrypted and uses it only for your calls.

How do I use ReAPI in Claude Code?

Add the Longwave MCP server once with claude mcp add --transport http longwave https://api.longwave.run/v1/mcp/tasks, sign in, and ask for what you need. Claude finds the right ReAPI function and calls it.

Use ReAPI in Longwave

Ask any Longwave thread for the result, or add Longwave to Claude Code, Codex, Cursor or ChatGPT.

Add to Longwave