remagicaDocs home

Introduction

What the Remagica API does, and where to start.

The Remagica API gives your code the same tools as the canvas. You can generate images, video, speech and music with the models in the app, run workflows and apps your team built, and turn long videos into short vertical clips.

Everything you make lands in your workspace, next to what your team makes in the app.

How it works

  • One base URL: https://api.remagica.com/api/v1. Requests and responses are JSON.
  • API keys: every request sends a key in the x-api-key header. A key belongs to one workspace and can only do what its scopes allow.
  • Credits: anything that generates spends your workspace's credits, at the prices in the app. See Credits and pricing.
  • Jobs run in the background: a request that makes something answers 202 Accepted straight away. You then poll for the result, or get a webhook when it's done.
  • Files: you upload inputs to storage first and pass them around by storage key. Results come back with signed download URLs.

Where to start

For tools and agents

On this page