Skip to main content
The deAPI extension for Raycast runs deAPI models from the Raycast launcher. It adds eight commands and three tools for Raycast AI, and works on macOS and Windows. Results are saved to a folder on your computer. The extension is open source. Its code is in the Raycast extensions repository. Every request the commands send was run against the live deAPI API to write this page.

Prerequisites


Install and set up

  1. Open the deAPI extension page and click Install Extension, or search for deAPI in the Raycast Store.
  2. Open Raycast and run any deAPI command, for example Generate Image.
  3. Paste your key into deAPI API Key when Raycast asks for it.
Raycast stores the key in its encrypted preferences. The extension sends it only to api.deapi.ai.
Create a separate key for Raycast and set a spend limit on it. See Key restrictions.

Commands

The Model dropdown in each command lists the models your API key can use for that task. The model the extension suggests comes first.

Generate Image

Type a prompt after the command name in Raycast, or fill in the form. The extension picks a width and height the model accepts for the chosen ratio and shows them under Output before you submit. In testing, a 1024 × 576 image from Z-Image-Turbo was ready in about 13 seconds.

Edit Image

Select an image in Finder or File Explorer before you run the command and it is filled in for you. In testing, FLUX.2 Klein returned an edit of one image in about 10 seconds and combined two images in about 8 seconds.

Generate Video

In testing, LTX-2.5 returned a 5-second 1024 × 576 video in about 18 seconds for $0.058, and animated a 768 × 768 image for 3 seconds in about 16 seconds for $0.054.

Text to Speech

Select text in any app before you run the command and it is filled in for you.
Each Kokoro voice speaks one language, shown next to its name. Pick a voice that matches the language of your text.
The extension does not offer the Qwen3 TTS voice cloning and voice design models, because they need inputs the form does not collect.

Transcribe

Type a link after the command name. If you leave it out, the command takes a supported link from your selected text or from the clipboard. deAPI accepts audio files up to 20 MB and video files up to 50 MB. In testing, MP3, WAV, FLAC and M4A files were transcribed, and a 19-second YouTube video took about 8 seconds. The transcript opens in Raycast. From there you can copy it, paste it into the app in front, or save it as a snippet. Transcripts are kept in Generation History and are not written to the output folder.

Remove Background and Upscale Image

Both commands take one image as PNG, JPG or WEBP. An image selected in Finder or File Explorer is filled in for you. Remove Background uses Ben2 and returns a PNG with a transparent background. Upscale Image uses RealESRGAN x4. In testing, it turned a 768 × 768 image into 3072 × 3072 in about 13 seconds. Both models accept images from 128 × 128 to 2048 × 2048 pixels.

Results

While a job runs, the command shows its status and progress. You can close the window: the job keeps running on deAPI, and the result appears in Generation History. A command waits up to 10 minutes for a job before it points you to the history. Finished files are saved to your Downloads folder, or to the folder you set in the extension preferences. File names start with deapi-, followed by the type and the first characters of the request ID, for example deapi-image-18688128.png. From any image result you can continue with Edit Image, Animate into Video, Remove Background or Upscale Image without choosing the file again.
Copy Result URL gives a signed link that expires after 5 hours. The file saved on your computer stays.

Generation History

Generation History lists up to 200 of your latest results, newest first. You can search by prompt or model and filter by type.
  • Running jobs are checked when you open the command. Use Follow Job to watch one, or Check Status to refresh it.
  • Balance is shown above the list. It needs a key with the ADMIN role; a key with the API role cannot read the balance, so nothing is shown.
  • Remove from History and Clear History delete entries from the list. The saved files stay on your computer.
The history is stored locally in Raycast. It is not synced with your deAPI account and does not include jobs started elsewhere.

Raycast AI

Mention @deapi in Raycast AI to use deAPI in a chat:
  • @deapi draw a watercolor fox sleeping under a maple tree
  • @deapi what is this video about? https://www.youtube.com/watch?v=…
  • @deapi read this aloud: Welcome to the team, we're glad you're here.
Image generation runs right away. Transcribing a link and generating speech ask for confirmation first, because they can cost more. Everything the tools create also appears in Generation History.

deAPI in the Raycast MCP Registry

Separately from the extension, the deAPI MCP server is listed in the Model Context Protocol Registry, a Raycast extension for finding and installing MCP servers in Raycast and in other MCP clients such as Claude or Cursor. The registry extension is available for macOS. To install it:
  1. Install the Model Context Protocol Registry extension.
  2. Run Search Servers and find deAPI.
  3. Install it into Raycast or another client.
  4. In the server’s environment, set DEAPI_AUTH_HEADER to Bearer followed by a space and your API key. Keep the Bearer prefix.
The entry connects to https://mcp.deapi.ai/mcp through mcp-remote and sends the key as an Authorization header. In testing, the same command connected, listed 39 tools and returned the account balance. The tools are described in MCP Server.

Preferences

Open Raycast Settings → Extensions → deAPI to change them.

Privacy

The extension sends your prompts, text, links and the files you choose to deAPI to run the request. The API key is stored in Raycast’s encrypted preferences and is sent only to api.deapi.ai.

Troubleshooting


Resources