- functions
- 2
- access
- Your key
- tasks
- 1
Use ReAPI on Longwave
- Download Longwave or open app.longwave.run.
- Add your ReAPI API key once in Longwave settings. Calls run on your ReAPI account at ReAPI's price.
- 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
- Generate an image from a design brief Submit the prompt and supported image generation inputs.
- Read the result of an image generation task Retrieve the selected task and its available output.
- Create an image variation for a campaign Submit another image request from the revised prompt.