The Magnt Image API

Image generation.
Part of your product.

Let your users turn an idea into an image, or a rough photo into a better one. One Magnt key connects your app to realistic image generation and editing.

1. Create your Magnt key

Sign in, name a key and copy its secret. Manage and revoke keys from the same website.

2. Describe the image

Send a prompt to generate something new, or attach photos and describe the edit. Choose the composition your app needs.

3. Put the result to work

Receive WebP bytes or base64 JSON. Preview, download or save the accepted result in your own application.

Build the image workflow your users need.

Start with a specific task. Each guide includes a prompt, composition choices and what to check before a result reaches your users.

Your app decides what to keep.

Every request stands on its own. Magnt uses the prompt and photos you send with that request, returns the image, and keeps no photo history. Your application decides what happens to the result.

Access is managed separately from your photos. Magnt stores key hashes and account usage so you can revoke keys and track your allowance.

What the API supports

Model
magnt-image-1
Inputs
A prompt and up to 3 PNG, JPEG or WebP images
Output
One WebP image, as bytes or base64 JSON
Composition
Six aspect ratios, with 1K or 2K resolution
Request limit
4 MiB total; 2 MiB per decoded input image
Account limit
30 generation requests per hour

From the playground to your code.

Start with your existing Magnt allowance.

API generations share the image allowance in your Magnt account. Each successful image uses one plan generation or two legacy credits. Creating a key does not add free generations, and there is no separate API subscription today.

See plans and allowances →

Your next feature starts with one image.

Create a Magnt key, try your prompt, and bring the result into your app. Each image uses one plan generation or two legacy credits.