# Authentication Source: https://docs.mage.space/api/authentication How to authenticate with the Mage API: create a key in API → API Keys, send it as a Bearer token, keep it on your servers, and revoke it when needed. Every request carries an API key in the `Authorization` header. Keys are created in [API → API Keys](https://www.mage.space/api?tab=api-keys). A key belongs to your account, generates as you, and spends your Gems. Keys work once the account has a successful payment (any [Gem pack or plan](https://www.mage.space/gems)); before that, every call answers `402 payment_required`. ## Create a key 1. Sign in to Mage and open [API → API Keys](https://www.mage.space/api?tab=api-keys). You can also choose **API** (Beta) in the navigation, then select **API Keys**. 2. Select **Create API key**, enter a **Key name** in the popup, and select **Create key**. Use a name for the service or environment that will use it, such as `Production server`. 3. In **You're ready to build**, select **Copy key** and store it securely before closing the popup. An editable quick start and playground appear below the key. A key starts with `mage_sk_` and is shown only once. Mage stores only a hash of it, so a lost key cannot be recovered: create a new one and revoke the old one. ## Authorization header ```http theme={null} Authorization: Bearer mage_sk_... ``` ```bash theme={null} curl --url https://api.mage.space/v1/account \ --header "Authorization: Bearer $MAGE_API_KEY" ``` ## Manage keys [API → API Keys](https://www.mage.space/api?tab=api-keys) has two tabs: * **Active** lists keys that can authenticate requests. An account may hold up to 10 active keys. To revoke one, select **Revoke** beside it and confirm in the popup. * **Revoked** lists keys that no longer work, including their revocation dates and usage history. Revoked keys do not count toward the active-key limit. Both tabs show when each key was last used, how many requests it made, and its Gems usage over the last 30 days. [API → Stats](https://www.mage.space/api?tab=stats) shows usage across active and revoked keys. Only accepted requests count; a refused one costs nothing. Revocation takes effect immediately. Generations already running finish, but the key can no longer submit, read, or cancel requests. > [!WARNING] > > Keep keys on your servers. The API sends no CORS headers, so a browser cannot > call it directly, and a key shipped inside an app can be extracted and used to > spend your Gems. Store keys in a secrets manager or environment variables, > never in source control, logs, or URLs, and rotate a key as soon as you > suspect it leaked. ## Authentication errors A request without a usable key is refused with `401 unauthorized` and the [error envelope](/api/errors). ```json theme={null} { "error": { "code": "unauthorized", "message": "The API key is invalid or has been revoked." } } ``` A valid key on an account that cannot generate, for example a banned one, is refused with `403 forbidden` when it submits. # Billing and retention Source: https://docs.mage.space/api/billing How the Mage API charges Gems: the price of a request, when it is charged and refunded, cancellations, auto top-up, and how long results and inputs are kept. Every API request is paid in Gems from your account. Membership plans and their unlimited models do not apply to the API. > [!WARNING] > > The API and the [MCP server](/api/mcp) need a successful payment on your > account first: buy any [Gem pack or plan](https://www.mage.space/gems). Until > then every call answers `402 payment_required`. The signup bonus works in the > Mage app only. Keys made before the payment start working as soon as it goes > through. ## Prices The price depends on the model and its settings: resolution, duration, and on some models the number of references. Each model's page shows the price of its default settings. Before you submit, `GET /v1/account` shows the balance; after you submit, `billing.gems_charged` on the request shows the exact charge. A request the balance cannot cover is refused with `402 insufficient_gems` and `gems_required`, and nothing is charged. ## When Gems move | Event | Gems | | - | - | | The request is accepted | Charged. `billing.gems_charged` is the price. | | The generation fails | Refunded. The status read shows `gems_refunded`. | | The model's provider blocks the content | Refunded. The request reports `failed` with `content_blocked` and a [`reason`](/api/errors#provider-blocks). | | Mage's content policy forbids the output | Kept, as in the app. The request reports `failed` with `content_blocked`. | | You cancel the request | Kept, as in the app. | | The request is refused before it runs | Nothing is charged. | ## Auto top-up If auto top-up is on for your account, an API request that needs more Gems than the balance holds triggers it exactly as a generation in the app would, including the charge to your card. Manage it in [API → Billing](https://www.mage.space/api?tab=billing), where you can also see your Gem balances and transactions. Billing shows a warning when auto top-up is disabled; leave it off if you want API spend bounded by the balance. See [how Gems work](/plans/how-gems-work). ## Retention Results and inputs live in a 30-day temporary area. A result's `expires_at` and an upload ticket's `url_expires_at` say when each URL stops working. A completed request stays `completed` after its media expires; only the download stops. Copy anything you want to keep to your own storage. # Cancel request Source: https://docs.mage.space/api/endpoints/cancel-request api/openapi.json POST /v1/requests/{request_id}/cancel Stop a live Mage API request through its cancel URL. Gems are not refunded on cancellation. Stop a live request. The run is marked cancelled and the generation backend is asked to stop; the response is the request's state afterwards. Gems are not returned on cancellation, as in the web app. Cancelling a request that already finished is a `409 request_finished`. Cancelling one that is already cancelled does nothing and returns its state. # Create character Source: https://docs.mage.space/api/endpoints/create-character api/openapi.json POST /v1/characters POST /v1/characters saves a private character from a name, a portrait image, and optionally a voice clip, and returns the handle a prompt mentions it by. Save a character: a `name`, an `image` (an https URL, an [upload](/api/endpoints/create-upload) URL, or a data URL of a JPEG or PNG), and optionally a `description` and a `voice`. The image is stored with the character for as long as it exists, unlike request inputs, which expire after 30 days. The `handle` is what a prompt mentions as `@handle`: 1 to 15 lowercase letters, digits, underscores, or dashes, starting with a letter, and unique among live characters and references. Handles such as `image1` and `image2` are reserved for uploaded images and return `400 invalid_config`. Leave it out to have one derived from the name with a short random suffix. A handle that is already in use is a `409 handle_taken`; retry with another. Handles cannot be changed later. A `voice` clip (MP3 or WAV) goes through the same processing as a clip uploaded in the app: it is trimmed to 10 seconds and normalized, and the processed clip is what the models hear. On models that support character voices, the voice is sent whenever the character is mentioned unless the request sets `use_character_voices` to false. Characters created through the API are private. Publishing them happens in the app, which runs media moderation. # Create reference Source: https://docs.mage.space/api/endpoints/create-reference api/openapi.json POST /v1/references POST /v1/references saves a private image or audio reference and returns the handle a prompt mentions it by. Save a reference: a `name`, a `kind`, and the media for that kind. An `object`, `location`, `pose`, or `outfit` takes an `image` (an https URL, an [upload](/api/endpoints/create-upload) URL, or a data URL of a JPEG or PNG), stored with the reference for as long as it exists. An `audio` reference takes an `audio` clip (MP3 or WAV) instead, which goes through the same processing as a clip uploaded in the app: trimmed to 15 seconds and normalized. The `handle` follows the same rules as a character's: 1 to 15 lowercase letters, digits, underscores, or dashes, starting with a letter, unique among live characters and references, and fixed once created. Handles such as `image1` and `image2` are reserved for uploaded images and return `400 invalid_config`. Leave it out to have one derived from the name. A handle already in use is a `409 handle_taken`. References created through the API are private. # Create upload Source: https://docs.mage.space/api/endpoints/create-upload api/openapi.json POST /v1/uploads POST /v1/uploads returns a signed URL to upload one image, video, or audio file of up to 100 MB to Mage storage. A signed URL to `PUT` one file onto Mage storage, for inputs too large for a data URL. Request bodies are capped at 4.5 MB on the platform, so a data URL carries about 3 MB; an upload takes up to 100 MB. Create a ticket with the file's `content_type`, `PUT` the bytes to `upload_url` with exactly the `headers` returned, then send `url` in any media field of a generate request, or as the `voice` or `audio` of a character or audio reference you create. The upload URL is valid for 15 minutes (`upload_url_expires_at`); the file lives 30 days (`url_expires_at`), like every input and result. See [Inputs and uploads](/api/inputs) for the full flow. # Delete character Source: https://docs.mage.space/api/endpoints/delete-character api/openapi.json DELETE /v1/characters/{character_id} DELETE /v1/characters/{character_id} removes one of the account's characters; its handle stops resolving at once. Remove one of your characters by the `id` from [`GET /v1/characters`](/api/endpoints/list-characters). The response is `204` with no body. From then on a prompt that mentions its handle is refused with `400 invalid_config`, and the handle may be taken by a new character or reference. Only your own characters can be deleted here; any other id is a `404 character_not_found`. Requests that already ran with the character keep their results. # Delete reference Source: https://docs.mage.space/api/endpoints/delete-reference api/openapi.json DELETE /v1/references/{reference_id} DELETE /v1/references/{reference_id} removes one of the account's references; its handle stops resolving at once. Remove one of your references by the `id` from [`GET /v1/references`](/api/endpoints/list-references). The response is `204` with no body. From then on a prompt that mentions its handle is refused with `400 invalid_config`, and the handle may be taken by a new character or reference. Only your own references can be deleted here; any other id is a `404 reference_not_found`. Requests that already ran with the reference keep their results. # Generate Source: https://docs.mage.space/api/endpoints/generate api/openapi.json POST /v1/{architecture}/generate Submit an image, video, or audio generation with any Mage model: the partial config body, the Idempotency-Key header, the 202 response, and every error the generate endpoint can return. Submit a generation. The body is a partial config for the architecture in the path: it is layered onto the architecture's default config, so every field you leave out keeps its default. Each model page lists the fields its architecture accepts, with tokens and defaults; the same schema comes back from [`GET /v1/architectures`](/api/endpoints/list-architectures) as `input_schema`. The response is the request's current state, with `status_url` to poll and `cancel_url` to stop it. Gems are charged when the request is accepted; a request that fails is refunded. See [Requests and lifecycle](/api/requests) for what happens next. This page documents the endpoint in general. For a specific model, open its page under [Models](/api/models/overview): the playground there is filled in with that model's fields. ## Common fields The same field names mean the same thing on every model. `aspect_ratio` is a `W:H` ratio such as `16:9`; `first_image` and `last_image` are the frames a video starts and ends on; `image` and `additional_images` are reference images; `video` or `videos` is the source video; `resolution` and `duration` are tokens from the model's lists. A model's page lists which of these it takes and the values it accepts. A setting a model does not have is not an error: it passes through like any unknown field, and the model ignores it. A config copied from the app is accepted as it is. # Get account Source: https://docs.mage.space/api/endpoints/get-account api/openapi.json GET /v1/account GET /v1/account returns the gems balance the Mage API draws from. The gems balance the API's generations draw from. A generation whose price exceeds the balance is refused with `402 insufficient_gems` and `gems_required`. If auto top-up is on for the account, an API request can trigger it exactly as a generation in the app would. # Get request status Source: https://docs.mage.space/api/endpoints/get-request-status api/openapi.json GET /v1/requests/{request_id}/status Read the state, result, billing, and error of a Mage API request from its status URL. The request's state, result, and billing, in the same shape the submit call returned. Poll it until `status` is `completed`, `failed`, or `cancelled`; see [Requests and lifecycle](/api/requests) for the states and a polling strategy. A completed request carries the output in `result`. Temporary media expires 30 days after the request (`result.expires_at`), so download what you want to keep. A failed request carries `error` and reports both the gems charged and the gems refunded. # List architectures Source: https://docs.mage.space/api/endpoints/list-architectures api/openapi.json GET /v1/architectures GET /v1/architectures returns every model the Mage API can generate with, each with its input fields, option tokens, defaults, JSON Schema, and gem price. The API describing itself: every architecture you can generate with, in one call. Use it to build a model picker, to validate a request before sending it, or to read the field names and tokens of a model at runtime instead of hard-coding them. The list changes without a version bump: architectures appear when they launch and disappear when they are retired. Each entry carries `type` (`image`, `video`, or `audio`: what the model generates), `image_inputs` and `video_inputs` (the config field each media role writes to, so you can tell an image-to-video model from a text-only one before submitting), `options` and `options_by_model` (the tokens each adjustable field accepts, narrowed per variant), `input_schema` (the request body as JSON Schema, defaults folded in), `gems` (the price of the default config), and `generate_url`. # List characters Source: https://docs.mage.space/api/endpoints/list-characters api/openapi.json GET /v1/characters GET /v1/characters returns the account's saved characters, newest first, with the handle each one is mentioned by. Your own characters, newest first, with `limit` and `cursor` for paging: send the `next_cursor` of one page as `cursor` to get the next, until it is null. Each entry's `handle` is what a prompt mentions as `@handle`; `id` is what [`DELETE /v1/characters/{character_id}`](/api/endpoints/delete-character) takes. Other users' public characters are not listed. They can still be mentioned by handle in a prompt. See [Characters and references](/api/inputs#characters-and-references). # List references Source: https://docs.mage.space/api/endpoints/list-references api/openapi.json GET /v1/references GET /v1/references returns the account's saved image and audio references, newest first, with the handle each one is mentioned by. Your own references, newest first, with `limit` and `cursor` for paging: send the `next_cursor` of one page as `cursor` to get the next, until it is null. Each entry's `kind` says what it is (`object`, `location`, `pose`, `outfit`, or `audio`); the four image kinds carry `image_url`, an audio reference carries `audio_url`. `handle` is what a prompt mentions as `@handle`; `id` is what [`DELETE /v1/references/{reference_id}`](/api/endpoints/delete-reference) takes. See [Characters and references](/api/inputs#characters-and-references) for how mentions work. # Errors and retries Source: https://docs.mage.space/api/errors Every error the Mage API returns: the JSON envelope, each HTTP status and error code with its cause, how a failed request reports on a status read, and which calls are safe to retry. Every error is a JSON envelope with a stable `code`, a `message` for a person, and sometimes more detail. Branch on the code, never on the message text. ```json theme={null} { "error": { "code": "insufficient_gems", "message": "This generation costs 338 gems and the account balance is too low.", "request_id": "d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff", "gems_required": 338 } } ``` ## Codes | HTTP | Code | When | Retry | | - | - | - | - | | 400 | `invalid_request` | The body is not a JSON object, sets a server-owned field, names one setting twice, contradicts the endpoint's architecture, or the `Idempotency-Key` is malformed. | After fixing the request | | 400 | `invalid_config` | A field has the wrong type or a value outside its tokens, an input could not be fetched, an `@handle` did not resolve or exceeds a budget, or a model rule was broken. The message names it. | After fixing the request | | 401 | `unauthorized` | The key is missing, malformed, unknown, or revoked. | No | | 402 | `insufficient_gems` | The balance is below the price. `gems_required` is the price. | After adding Gems | | 402 | `payment_required` | The account has no successful payment yet. The API and the MCP server need one first: any Gem pack or plan. Signup bonus Gems work in the Mage app only. | After a first payment | | 403 | `forbidden` | The account cannot generate. | No | | 403 | `content_blocked` | The request was blocked by Mage's content policy before it ran. | No | | 404 | `architecture_not_found` | No such architecture. The catalog lists the ids. | No | | 404 | `request_not_found` | No request with this id belongs to the account, or it was not made through the API. | No | | 404 | `character_not_found` | No character with this id belongs to the account. | No | | 404 | `reference_not_found` | No reference with this id belongs to the account. | No | | 404 | `not_found` | No such endpoint. `docs_url` points here. | No | | 409 | `request_finished` | Cancel was called on a request that already completed or failed. | No | | 409 | `handle_taken` | A create named a `handle` that a live character or reference already uses. `handle` is included. | With another handle, or without one | | 410 | `architecture_retired` | The architecture was retired. | With another model | | 429 | `too_many_requests` | The account has its cap of generations in flight. See [limits](/api/limits). | After some finish, with backoff | | 451 | `content_blocked` | The request was blocked by an external content restriction. | No | | 500 | `internal_error` | Something failed on Mage's side. The failure is reported to Mage automatically. | Yes, with backoff and an idempotency key | Codes are an open set: a new one may appear within a version. Treat a code you do not know by its HTTP status. ## Refusals that carry a request id A submit that Mage records before refusing it (`402`, `403`, `410`, `429`, `451`, and a `400` or `500` raised by the run itself) carries `request_id` in the envelope. Its status read reports how the request ended, and its Gems ledger is visible in the app, even if you sent no idempotency key. The key you sent with it is spent: a retry with the same `Idempotency-Key` replays this failed request instead of submitting again. After fixing the cause, submit a new attempt with a new key. ## Failures on a status read A request that was accepted and then failed reports `status: failed` with `error.code` set to one of these, and `billing` shows both the charge and the refund. | Code | Meaning | Gems | | - | - | - | | `generation_failed` | The generation did not produce output. Most failures are transient; try again. | Refunded | | `content_blocked` | Moderation forbade the output, or the model's provider refused the content. | Kept for forbidden output; refunded for a provider block | | `preprocess_refused` | The source media could not be prepared for the model, so the run stopped before it generated. | Refunded | | `insufficient_gems` | The balance was too low when the run started. | Never charged | The text of a model's own error is never forwarded. ### Provider blocks When the model's external provider refused the content, rather than Mage, `error` also carries `reason` and `stage`, so you can fix the request instead of guessing: | `reason` | The provider refused | What to change | | - | - | - | | `likeness` | A real person or celebrity | Remove real people from the prompt and images | | `ip` | Copyrighted or trademarked material | Describe an original design instead of a character, brand, artist, or lyrics | | `nsfw` | Content past the model's own limit (sexual, violent, or otherwise sensitive) | Try another model, or soften the request | | `minors` | Content that may involve a minor | Make sure everyone depicted is clearly an adult | | `audio` | The audio, usually copyrighted music or a real person's voice | Remove music or voices from the inputs, or generate without audio | | `unspecified` | Something it did not name | Reword the prompt or change the images | `stage` is `input` when the provider refused the prompt or the input media, `output` when it refused the generated media, and `null` when it did not say. Retrying the same request usually gets the same block. New reasons may appear within a version; treat an unknown one as `unspecified`. ```json theme={null} { "status": "failed", "error": { "code": "content_blocked", "message": "The model's provider refused a real person or celebrity in the prompt or images. Any gems charged were refunded.", "reason": "likeness", "stage": "input" } } ``` ## Retry policy * Retry status reads on network errors and `5xx` responses, with exponential backoff and jitter. * Retry a submit that got no response (a timeout or a network error) with the same [`Idempotency-Key`](/api/requests#retrying-a-submit-safely), so it cannot charge twice. * An error envelope that carries `request_id` has consumed its key: the refusal is recorded as that request, and the same key replays it. Fix the cause, then submit again with a new key. * Do not retry `401`, `403`, `404`, `409`, or `451`, and do not retry a `400` without changing the request. * Wait on `429` and on `402` until requests finish or Gems are added, then submit again, with a new key when the envelope carried `request_id`. * Give every retry loop a cap on attempts and a deadline. The [TypeScript](/api/sdks/typescript#retries-and-idempotency) and [Python](/api/sdks/python#retries-and-idempotency) SDKs follow this policy for you, and raise each envelope as an error with its `code`, `status`, and `request_id`. If you contact [mage@mage.space](mailto:mage@mage.space) about a request, include its `request_id` and roughly when it happened. # Inputs and uploads Source: https://docs.mage.space/api/inputs How to send images, video, saved audio clips, and saved characters and references to the Mage API: which fields each model has, https URLs and data URLs, the upload endpoint for files over the request body limit, @handle mentions, accepted formats, size limits, and retention. Models that take an image or a video take it in named fields. A model's page lists its media fields, and the [catalog](/api/endpoints/list-architectures) reports them as `image_inputs` and `video_inputs`, so a client can tell an image-to-video model from a text-only one before it submits. ## Where inputs go The roles and the field names are the same on every model. | Role | Field | Notes | | - | - | - | | First frame | `first_image` | The image a video starts from. Required on image-to-video models. | | Last frame | `last_image` | The image a video ends on. Usually needs a first frame too. | | Reference image | `image` | The first reference. On image models, the input image for an edit; on Seed Audio, an image the audio is generated to match. | | More reference images | `additional_images` | A list. The model's rules cap how many. | | Source video | `video` or `videos` | The video to edit or reference. `videos` is a list. | ## Three ways to send a file Every media field accepts either an `https` URL or a data URL. Before the run, Mage brings each input onto its own storage, so the model only ever reads from Mage. **1. An https URL** Any public `https` URL that serves the file with the right content type. Mage downloads it, following up to 3 redirects, within 60 seconds and 100 MB. Private and internal hosts are refused. A URL that serves another content type, or that cannot be fetched, is a `400 invalid_config` naming the field. **2. A data URL** `data:image/png;base64,...` with the file inline. Request bodies are capped at 4.5 MB, so a data URL carries about 3 MB of file. Use it for small images; use an upload for anything larger. **3. An upload** For files too large for a data URL, and for files that are not on a public URL, create an upload ticket and `PUT` the file to Mage storage. Then send the returned `url` in any media field, or as the `voice` or `audio` of a character or audio reference you create. ```bash theme={null} TICKET=$(curl --silent --request POST \ --url https://api.mage.space/v1/uploads \ --header "Authorization: Bearer $MAGE_API_KEY" \ --header "Content-Type: application/json" \ --data '{ "content_type": "video/mp4" }') curl --request PUT \ --url "$(echo "$TICKET" | jq -r .upload_url)" \ --header "Content-Type: video/mp4" \ --header "x-goog-content-length-range: 0,104857600" \ --upload-file clip.mp4 export INPUT_URL="$(echo "$TICKET" | jq -r .url)" ``` Send every header in the ticket's `headers` exactly as returned; storage checks them against the signature. The upload URL is valid for 15 minutes (`upload_url_expires_at`). Do not send your API key to the upload URL. The SDKs do both steps in one call: `uploads.upload` in the [TypeScript](/api/sdks/typescript#inputs-and-uploads) and [Python](/api/sdks/python#inputs-and-uploads) SDKs creates the ticket, sends the file with the right headers, and returns the `url` to use. A URL that already points at Mage storage, such as the result of an earlier request or an upload, is used as it is. Mage checks that it still exists; an expired one is refused before anything is charged, with a message asking you to upload it again. ## Formats and limits | Kind | Formats | Limit | | - | - | - | | Images | JPEG, PNG | 100 MB per file | | Video | MP4, MOV, WebM | 100 MB per file; each model caps the length of a source video | | Audio | MP3, WAV | 100 MB per file; a character voice is trimmed to 10 seconds, an audio reference to 15 | Audio is taken only when you create a character or an audio reference; a generate request mentions the saved clip by `@handle`. Formats are checked by the content type the file is served or declared with, not by its extension. ## Video is measured for you Mage measures every source video after it is stored and fills in its duration, and its dimensions where a model needs them. Do not send `video_duration_s`, `video_durations_s`, `video_width`, or `video_height`; the measured values are what the model rules and billing use. ## Retention Inputs are stored in the same 30-day temporary area as results, so an input expires with the generations it fed. An upload ticket reports the file's deletion time as `url_expires_at`. Keep your own copy of anything you may need to send again. The one exception is the media of a saved character or reference, which is kept for as long as the entity exists. ## Characters and references A saved character is one image, a handle, and optionally a voice; a reference is one image of an object, location, pose, or outfit, or one audio clip. Both are the same entities as in the app: create them in the app or with [`POST /v1/characters`](/api/endpoints/create-character) and [`POST /v1/references`](/api/endpoints/create-reference), list yours with the `GET` endpoints, and use them by writing `@handle` in `prompt`, exactly as a user types it in the app. ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` * **What resolves.** Every `@handle` is matched, case-insensitively, against your own characters, image references, and audio references, and against public characters. Mage attaches the entity's image or clip to the request and rewrites the mention to the positional phrase the model reads, so the prompt may say where and how the entity appears, in natural language. * **What is refused.** A handle that matches nothing, a handle on a model that does not support that kind of entity, and more mentions than the model's budget allows are each a `400 invalid_config` naming the handle, before anything is charged. Any `@` followed by letters is read as a handle, so an email address in a prompt is refused too. The models that accept each kind, and their budgets, are in the `mentions` and `max_images` fields of the [catalog](/api/endpoints/list-architectures) and on each model's page. * **Budgets.** Image inputs, characters, and references share one budget per request (`max_images`). Audio references and character voices share another (`mentions.max_audio_references`). * **Voices follow characters.** On the models that support character voices (`mentions.character_voices`), a mentioned character's voice clip is sent with its image and counts as an audio source. Send `use_character_voices: false` to leave the voices out. * **Your own image inputs by position.** On models that support characters or references, `@image1`, `@image2`, and so on refer to the request's own image inputs in order (`image`, then `additional_images`); other models refuse them, and a number past the inputs you sent is refused like an unknown handle. The `image` handles are reserved, so no entity can take one: `"@image1 wearing @red-coat"`. * **Handles can change hands.** A deleted entity's handle may be taken again, by you or, for public characters, by anyone. Store the `id` from the list endpoints if you need to detect that a handle now names something else. ## Fields you cannot set A few config fields belong to the server and are refused with `400 invalid_request` when a request includes them: `app`, `characters`, `references`, `moodboard`, `moodboard_sampled_images`, `audio_references`, `prompt_filter`, `dynamic_prompt`, `fast_mode`, `use_gems`, and `wait_time_s`. Characters, references, and audio references are attached by `@handle` in the prompt, never as objects; Moodboards and in-app prompt styling are not available through the API, so send the finished prompt and the inputs themselves. A body may carry `architecture` as long as it matches the endpoint; a contradicting value is refused. Fields the model's schema does not list pass through to the model unchanged and are never refused. # Mage for ComfyUI Source: https://docs.mage.space/api/integrations/comfyui Run Mango, Cherry, Seed Audio, and every other Mage model as ComfyUI nodes: install from ComfyUI-Manager or the Comfy CLI, add your Mage API key, and queue. No GPU and no model downloads. Mage for ComfyUI is an open-source custom node pack, `comfyui-mage`, that runs Mage's image, video, and audio models from your ComfyUI workflows. The models run on Mage's servers, so the nodes need no GPU and no model downloads. Each run spends Gems from the Mage account whose API key you set. > [!NOTE] > > The nodes are in beta at `0.x`, so their inputs may still change. ## Install > [tab] ComfyUI-Manager > > 1. Open **ComfyUI-Manager** and select **Custom Nodes Manager**. > 2. Search for **Mage** and select **Install**. > 3. Restart ComfyUI when asked. > [tab] Comfy CLI > > ```bash theme={null} > comfy node install comfyui-mage > ``` > [tab] Manual > > Clone the repository into `custom_nodes` and install its requirements with the Python environment ComfyUI uses. > > ```bash theme={null} > cd ComfyUI/custom_nodes > git clone https://github.com/mage-space/ComfyUI-Mage > pip install -r ComfyUI-Mage/requirements.txt > ``` The nodes depend on the [Python SDK](/api/sdks/python), `mage-space`, and on packages ComfyUI already ships. They need a recent ComfyUI. ## Add your API key Create a key in [API → API Keys](https://www.mage.space/api?tab=api-keys), then do one of the following: * Set the `MAGE_API_KEY` environment variable before starting ComfyUI. ```bash theme={null} export MAGE_API_KEY="mage_sk_..." ``` * Or copy `config.ini.example` to `config.ini` in the `ComfyUI-Mage` folder and paste the key after `api_key =`. The environment variable wins when both are set. The key is never stored in your workflows, so you can share them safely. ## Nodes The nodes are in the **Mage** category. | Node | Makes | Inputs | | - | - | - | | **Mage Mango Image** | IMAGE | Prompt, model, aspect ratio, resolution, and seed; optional reference images, or the image to edit. | | **Mage Cherry Video** | VIDEO | Prompt, model, aspect ratio, resolution, duration, and seed; optional reference images and a source video. The video includes sound. | | **Mage Seed Audio** | AUDIO | Prompt, duration, and seed; an optional image for the audio to match. | | **Mage Generate (any model)** | IMAGE, VIDEO, or AUDIO | Model family, variant, prompt, seed, and any other fields as JSON; optional reference images, first and last frames, and a video. | Each node also outputs the result's `url`. Mage keeps outputs for 30 days, so save anything you want to keep with ComfyUI's save nodes. The option lists on Mango, Cherry, and Seed Audio come from the API reference, so they match the [model pages](/api/models/overview). A variant may offer fewer values than its family lists; a model refuses a value it does not offer before any Gems are spent. ### Mage Generate **Mage Generate** runs any model in the API. Choose the family in `architecture`, optionally a variant in `model_id`, and put the model's other fields in `extra_config` as a JSON object, for example: ```json theme={null} { "aspect_ratio": "16:9", "resolution": "720p", "duration": "5" } ``` Connect `images` for reference images, `first_frame` and `last_frame` for models that start or end a video on an image, and `video` for a source video. A model that takes no such input refuses it before anything is uploaded. Only the output that matches what the model makes carries a value: a node connected to a different one stops with a message naming the output to use instead. ## Costs and caching * Every run spends Gems at the model's listed price. The node shows the request's status and the Gems it cost while it runs. * The seed is fixed by default, so queueing the same inputs again reuses ComfyUI's cached output instead of paying for a new run. Change the seed, or set it to randomize, when you want a variation. * Stopping the queue cancels every Mage request the workflow started, including one whose submission was still being answered. Cancelled runs are not refunded. * A request your balance cannot cover, or a value the model does not offer, fails the node with the API's message before any Gems are spent. ## Characters and references Mention your saved characters and references by `@handle` in any prompt, exactly as on mage.space. See [Characters and references](/api/inputs#characters-and-references). ## Troubleshooting | Message | What to do | | - | - | | No Mage API key | Set `MAGE_API_KEY` or create `config.ini`, then restart ComfyUI. | | `insufficient_gems` | Add Gems to the account that owns the key. | | `invalid_config` | The model does not take one of the values or fields you set. Its model page lists what it accepts. | | A model takes no video input, or no frame image | Disconnect that input, or pick a model that takes it. | | The node is missing after installing | Restart ComfyUI and check its console for an import error; install `requirements.txt` with ComfyUI's own Python. | ## Privacy Images and videos you connect to a node are uploaded to Mage storage and deleted after 30 days, like the outputs. The nodes send nothing else and collect no telemetry. ## Source The nodes are MIT-licensed on [GitHub](https://github.com/mage-space/ComfyUI-Mage) and published to the [Comfy Registry](https://registry.comfy.org/nodes/comfyui-mage). > [card] [Python SDK](/api/sdks/python) > > The client the nodes are built on. > [card] [Models](/api/models/overview) > > Every model with its fields, options, and price. # Mage skills for Claude, Codex, and Cursor Source: https://docs.mage.space/api/integrations/skills Free, open-source Agent Skills that teach Claude, Claude Code, Codex, Cursor, and other agents complete creative jobs with Mage: product photoshoots, marketplace listings, ad variations, UGC and faceless videos, YouTube thumbnails, and every Mage app, from face swaps to video edits. Mage skills are [Agent Skills](https://agentskills.io): folders of instructions an AI agent loads when a request matches them. Each one teaches the agent a complete job, such as a product photoshoot or an ad resize, and runs it on Mage's image, video, and audio models through the [MCP server](/api/mcp). Every generation is paid in Gems from your account, and every skill quotes the price before it runs anything big. > [!NOTE] > > The skills are in beta at `0.x`, so their workflows may still change. ## Install **1. Connect Mage** Add the Mage connector to your agent and sign in, as in [Use Mage from Claude, ChatGPT, Grok, and Cursor](/api/mcp). In Claude Code: ```bash theme={null} claude mcp add --transport http mage https://mcp.mage.space/mcp ``` **2. Add the skills** One command adds every skill to Claude Code, Codex, Cursor, and other agents that load `SKILL.md` skills: ```bash theme={null} npx skills add mage-space/skills ``` In Claude Code you can install them as a plugin instead, with `/plugin marketplace add mage-space/skills` and then `/plugin install mage@mage`. In Claude, upload a zipped skill folder under **Customize → Skills**; skills there need code execution turned on. **3. Ask for the job** Describe what you want, for example "Shoot three lifestyle photos of my product", or call a skill by name, such as `/mage-product-photoshoot`. ## Skills | Skill | Command | What it does | | - | - | - | | [Generate](https://www.mage.space/skills/generate) | `/mage-generate` | Images, video, and audio on the right model, priced before it runs. | | [Consistent Characters](https://www.mage.space/skills/characters) | `/mage-characters` | Saves a character from one portrait, with a voice if you want one, and keeps it consistent with `@handle`. | | [Product Photoshoot](https://www.mage.space/skills/product-photoshoot) | `/mage-product-photoshoot` | Ten photography modes from one product photo, with the product kept exact. | | [Marketplace Listing Images](https://www.mage.space/skills/marketplace-cards) | `/mage-marketplace-cards` | A white-background main image, secondary images, and A+ modules. | | [Ad Multiplier](https://www.mage.space/skills/ad-multiplier) | `/mage-ad-multiplier` | Test variants of an ad: talent, wardrobe, setting, or headline, everything else locked. | | [Ad Resizer](https://www.mage.space/skills/ad-resizer) | `/mage-ad-resizer` | Recomposes a static ad for feed, Stories, Reels, and banners. | | [Ad Localizer](https://www.mage.space/skills/ad-localizer) | `/mage-ad-localizer` | Translates the text in a static ad and keeps the layout. | | [UGC Video](https://www.mage.space/skills/ugc-video) | `/mage-ugc-video` | Creator-style product videos with a scripted hook and spoken lines. | | [Faceless Video](https://www.mage.space/skills/faceless-video) | `/mage-faceless-video` | Researched, narrated videos in ten illustrated styles. | | [YouTube Thumbnail](https://www.mage.space/skills/youtube-thumbnail) | `/mage-youtube-thumbnail` | Truthful thumbnails with faces kept exact, variants, and headline edits. | | [Face Swap](https://www.mage.space/skills/face-swap) | `/mage-face-swap` | Puts one face and hairstyle on the person in another photo. | | [Character Swap](https://www.mage.space/skills/character-swap) | `/mage-character-swap` | Replaces the whole person in a photo, keeping the scene and pose. | | [Outfit Swap](https://www.mage.space/skills/outfit-swap) | `/mage-outfit-swap` | Dresses the person in a photo in the outfit from another image. | | [Inpaint](https://www.mage.space/skills/inpaint) | `/mage-inpaint` | Changes one masked region of an image and keeps the rest identical. | | [Refine](https://www.mage.space/skills/refine) | `/mage-refine` | Fixes eyes or hands, adds detail, or makes one focused change. | | [Relight](https://www.mage.space/skills/relight) | `/mage-relight` | Relights a photo with the direction, hardness, brightness, and color you choose. | | [Angles](https://www.mage.space/skills/angles) | `/mage-angles` | Shows a photo from a new camera angle. | | [Recreate](https://www.mage.space/skills/recreate) | `/mage-recreate` | Turns a reference image into a prompt and makes new images in its look. | | [Character Builder](https://www.mage.space/skills/character-builder) | `/mage-character-builder` | Designs a character from a list of traits and saves it. | | [Character Muse](https://www.mage.space/skills/character-muse) | `/mage-character-muse` | Refines a character from a starter portrait with face presets or plain words. | | [Character Sheet](https://www.mage.space/skills/character-sheet) | `/mage-character-sheet` | Turns one image into a character reference sheet. | | [Video Editor](https://www.mage.space/skills/video-editor) | `/mage-video-editor` | Edits a video with one instruction, keeping its motion and timing. | | [Video Face Swap](https://www.mage.space/skills/video-face-swap) | `/mage-video-face-swap` | Swaps a face into every frame of a clip. | | [Video Character Swap](https://www.mage.space/skills/video-character-swap) | `/mage-video-character-swap` | Replaces the whole person in a clip with your character. | | [Lipsync](https://www.mage.space/skills/lipsync) | `/mage-lipsync` | Makes a portrait speak a voice clip. | | [Music Video](https://www.mage.space/skills/music-video) | `/mage-music-video` | Makes your characters sing and dance to a track. | | [Scene Builder](https://www.mage.space/skills/scene-builder) | `/mage-scene-builder` | Puts two characters in a ready-made or custom video scene. | The skills from Face Swap to Scene Builder are the [Mage apps](https://www.mage.space/apps) as skills: each sends the app's own prompt with the same models and defaults. Each skill's page shows a real run: the conversation, the Gems it cost, and the results. ## How they work A skill never calls Mage directly. It tells the agent which [MCP tools](/api/mcp#what-your-assistant-can-do) to use and how: pick a model with `list_models` and `get_model`, price the work with `estimate_cost`, start it with `generate`, and wait with `get_request`. Pricing, moderation, billing, and limits are the same as everywhere else in Mage. * **You approve the spend.** Skills quote the total in Gems before a batch or a video and wait for a yes. * **Files are links.** Skills take https links to images and video. Agents that run commands upload local files with `create_upload`; a file attached to a chat never reaches Mage. * **Output is truthful.** Skills don't invent product facts, results, reviews, or quotes, and the faceless video skill researches real topics. * **Results last 30 days.** Download what you want to keep, or save it in Mage. ## Update Run `npx skills add mage-space/skills` again, or `/plugin update mage@mage` in Claude Code. ## Source The skills are MIT-licensed on [GitHub](https://github.com/mage-space/skills), where you can read, fork, and adapt them. Browse them with examples at [mage.space/skills](https://www.mage.space/skills). # Rate limits and concurrency Source: https://docs.mage.space/api/limits The limits on Mage API use: generations in flight per account, active keys, request body and input sizes, and how to design a client around them. The main limit is concurrency: how many generations an account may have queued or running at once. There is no charge for a refused request. ## Generations in flight An account may have 20 generations in flight at once, counting the API and the app together. A submit past that cap is refused with `429 too_many_requests` and nothing is charged. The cap can be changed for an account; write to [mage@mage.space](mailto:mage@mage.space) with your use case. ```json theme={null} { "error": { "code": "too_many_requests", "message": "At most 20 generations may be in flight at once for this account; 20 are running now." } } ``` The check reads the count at submit time. A burst of simultaneous submits can therefore slightly exceed the cap; every admitted generation is still paid for as usual. ## Other limits | Limit | Value | | - | - | | Active API keys per account | 10 | | Request body | 4.5 MB | | One media input | 100 MB, whether fetched, decoded, or uploaded | | Fetching one input URL | 60 seconds and 3 redirects | | `Idempotency-Key` | 1 to 255 characters | | Results and inputs | Kept 30 days | | A list page | 50 characters or references; 200 at most | | A handle | 1 to 15 characters | Requests may also be rate limited at the edge during bursts. Treat any `429` as a signal to wait, whatever its body. Manage keys in [API → API Keys](https://www.mage.space/api?tab=api-keys). Only keys in **Active** count toward the key limit; **Revoked** keeps their history without using an active-key slot. ## Designing around the limits * Keep a worker pool no larger than your cap and submit from it, rather than submitting everything at once and handling the refusals. * Poll on a separate schedule from submission, with backoff, so status reads do not compete with submits. * Store `request_id` as soon as a submit returns; the status link is how you recover from anything that happens afterwards. * Send an `Idempotency-Key` with every submit so a retry never pays twice. # Use Mage from Claude, ChatGPT, Grok, and Cursor Source: https://docs.mage.space/api/mcp Connect Claude, ChatGPT, Claude Code, Grok, or Cursor to your Mage account through the Mage MCP server, then ask your assistant to generate images, video, and audio, paid in Gems. The Mage MCP server connects AI assistants to your Mage account. Once it is connected, you can ask Claude, ChatGPT, Claude Code, Grok, or Cursor to pick a model, quote the price, generate an image, video, or audio clip, and bring back the result. It also reads your generation history and saved creations, and uses your saved characters and references. ```text Server URL theme={null} https://mcp.mage.space/mcp ``` > [!WARNING] > > Every generation your assistant starts is paid in Gems from your account. Your > assistant can check the price first, and you can disconnect it at any time. > The MCP server needs a successful payment on your account first: any [Gem pack > or plan](https://www.mage.space/gems). The signup bonus works in the Mage app > only. ## Connect your assistant > [tab] Claude > > Works in Claude on the web, the desktop app, the mobile apps, and Cowork. > > 1. Open [Connect Mage to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector\&connectorName=Mage\&connectorUrl=https%3A%2F%2Fmcp.mage.space%2Fmcp). The connector name and URL are filled in for you. Select **Add**. > 2. Select **Connect**. A Mage page opens and asks you to sign in if you are not already. > 3. Check that the page names the app you are connecting, then select **Connect**. You return to Claude. > 4. In a chat, turn the Mage connector on from the **+** menu under **Connectors**, and ask for what you want to make. > > On a Team or Enterprise plan, an owner first adds the connector under **Organization settings** → **Connectors**. The Free plan allows one custom connector. > [tab] ChatGPT > > Add Mage as a personal plugin from ChatGPT’s Plugins page. > > 1. Open [ChatGPT Plugins](https://chatgpt.com/plugins). > > 2. Click **Add**, then choose **Create MCP App**. > > 3. Enter **Mage** for **Name**, `https://mcp.mage.space/mcp` for **Server URL**, and select **OAuth** for **Authentication**. Leave **Advanced OAuth settings** blank; no client ID or client secret is needed. The icon and description are optional. > > 4. Review the notice, check **I understand and want to continue**, then click **Create**. > > 5. Sign in to Mage on the page that opens, check the app's name, and select **Connect**. > > 6. Install **Mage** from your **Personal** plugins, start a **Work** chat, and mention **@Mage**. > > > [!NOTE] > > > > If **Create MCP App** is missing, turn on **Developer mode** in ChatGPT’s > > **Settings** → **Security and login**, then return to **Plugins**. See > > [ChatGPT’s setup guide](https://developers.openai.com/plugins/quickstart) > > for more details. > [tab] Claude Code > > Add the server, then sign in from Claude Code: > > ```bash theme={null} > claude mcp add --transport http mage https://mcp.mage.space/mcp > ``` > > Run `/mcp` in Claude Code, choose **mage**, and authenticate. A browser page opens for you to sign in to Mage and select **Connect**. > > To use an [API key](/api/authentication) instead of signing in: > > ```bash theme={null} > claude mcp add --transport http mage https://mcp.mage.space/mcp \ > --header "Authorization: Bearer $MAGE_API_KEY" > ``` > [tab] Grok > > Add Mage as a [custom MCP connector](https://docs.x.ai/grok/connectors). > > 1. Open [Grok connectors](https://grok.com/connectors), select **New Connector**, then choose **Custom**. > 2. Enter `https://mcp.mage.space/mcp` and complete the authentication prompts to connect your Mage account. > 3. Start a conversation and ask Grok to use Mage to create an image, video, or audio. > > On Grok Business or Enterprise, a team admin must first provision the connector in the [cloud console](https://docs.x.ai/grok/connector-management). > [tab] Cursor > > [![Add Mage to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](cursor://anysphere.cursor-deeplink/mcp/install?name=mage\&config=eyJ1cmwiOiJodHRwczovL21jcC5tYWdlLnNwYWNlL21jcCIsImF1dGgiOnsiQ0xJRU5UX0lEIjoiaHR0cHM6Ly9jdXJzb3IuY29tL21jcCIsInNjb3BlcyI6WyJtYWdlIiwib2ZmbGluZV9hY2Nlc3MiXX19) > > The button installs Mage with its public OAuth client ID; sign in to Mage when prompted. If Mage is already installed, replace its existing configuration with the one from this link. If the button does nothing, open the [web install link](https://cursor.com/install-mcp?name=mage\&config=eyJ1cmwiOiJodHRwczovL21jcC5tYWdlLnNwYWNlL21jcCIsImF1dGgiOnsiQ0xJRU5UX0lEIjoiaHR0cHM6Ly9jdXJzb3IuY29tL21jcCIsInNjb3BlcyI6WyJtYWdlIiwib2ZmbGluZV9hY2Nlc3MiXX19) instead: it opens Cursor from the browser and shows the same configuration to add by hand. > > For manual setup, add this entry to `~/.cursor/mcp.json`: > > ```json mcp.json theme={null} > { > "mcpServers": { > "mage": { > "url": "https://mcp.mage.space/mcp", > "auth": { > "CLIENT_ID": "https://cursor.com/mcp", > "scopes": [ > "mage", > "offline_access" > ] > } > } > } > } > ``` > > The client ID is public and needs no client secret. Cursor uses [static OAuth configuration](https://cursor.com/docs/mcp#static-oauth-for-remote-servers) to open Mage’s consent page. > > You can also connect with an [API key](/api/authentication): > > ```json mcp.json theme={null} > { > "mcpServers": { > "mage": { > "url": "https://mcp.mage.space/mcp", > "headers": { "Authorization": "Bearer ${env:MAGE_API_KEY}" } > } > } > } > ``` When an app connects by signing in, Mage shows who is asking before anything is shared: the app's name, the site it comes from, and where you return afterwards. A guest session cannot connect an app; sign in with your Mage account first. ## What your assistant can do | Tool | What it does | | - | - | | `list_models` | Lists the recommended models with their prices, what each is best for, and its trade-offs; the rest on request. | | `get_model` | Describes one model: its fields, allowed values, defaults, rules, and price. | | `estimate_cost` | Prices a generation before it starts. Nothing is charged. | | `create_upload` | Gets a signed link to upload a file from your computer, for assistants that can run commands. | | `generate` | Starts a generation, paid in Gems. | | `get_request` | Waits for a generation to finish and returns the result link. | | `cancel_request` | Stops a running generation. Gems are not refunded. | | `get_account` | Shows the connected account, its Gems balance, and what auto top-up can add. | | `list_characters` | Lists your characters and their `@handle`s. | | `create_character` | Saves a private character from an image link, optionally with a voice clip. | | `delete_character` | Deletes one of your characters. | | `list_references` | Lists your outfits, poses, locations, objects, and voice clips, all of them or one kind. | | `create_reference` | Saves a private reference from an image or audio link. | | `delete_reference` | Deletes one of your references. | | `list_history` | Lists your generations from the last 30 days, including the ones you made in Mage yourself. | | `search_creations` | Searches the creations you saved, by what they show, by collection, or by date. | Mention a saved character or reference in a request with its handle, for example "Make a portrait of @ana wearing @red-coat", and your assistant passes it to the model. ## Skills [Mage skills](/api/integrations/skills) teach your assistant complete jobs on top of these tools: product photoshoots, marketplace listings, ad variations, UGC and faceless videos, YouTube thumbnails, and the Mage apps, from face swaps and relighting to video edits and lip sync. Add them with `npx skills add mage-space/skills`, or browse them with examples at [mage.space/skills](https://www.mage.space/skills). ## Which model your assistant uses Unless you name a model, your assistant makes images with **Mango 4**, video with **Cherry 2 Pro**, and audio with **Seed Audio**. It tells you the model and the price before it starts, and after a result it may suggest one alternative when its trade-off fits what you are doing. | | Images | Video | | - | - | - | | Default | Mango 4 | Cherry 2 Pro | | Same family | Mango 3, Mango 3 Turbo (a flat price), Mango 3S (up to 3K), Mango 2 (up to 4K), Mango | Cherry Pro (4K), Cherry, Cherry Mini (the cheapest Cherry) | | Also recommended | Guava 2 Pro and Guava 2 (photoreal), GPT Image 2.6 Flare (text, precise edits, and GIFs) | Lemon (first and last frames, clips up to 30 seconds) | Every other model runs only when you ask for it by name, for example "make it with Melon" or "use Nano Banana 2". Your assistant may suggest one when it suits a request better, such as an anime model for an anime clip, and waits for your answer. [Which model should I use?](/models/which-model-should-i-use) compares them all. Cherry 2 Pro is Mage's most capable and most expensive video model, and its price climbs steeply with resolution and length. Ask for Cherry Mini or Lemon while you are drafting. ## How generations work 1. Your assistant picks a model with `list_models`, as above, and reads its fields with `get_model`. 2. It checks the price with `estimate_cost`, which also catches a request the model would refuse. A video's price depends on its length: Mage measures a video already on Mage, such as an uploaded file or an earlier result, when it quotes the price, and a video linked from another site only when the generation starts. 3. It starts the generation with `generate`, which charges your Gems. Each generation carries a key your assistant makes up, so a retry after a dropped connection returns the same generation instead of paying twice. 4. It waits with `get_request` until the result is ready and gives you the link. Results stay available for 30 days: download what you want to keep, or save it in Mage. A result flagged by moderation as NSFW is marked as such. See [Requests](/api/requests) for the states a generation goes through and [Billing](/api/billing) for how Gems are charged. ## Images and files Media inputs, such as a first frame, a reference image, or a video to edit, are links: a public `https` link to the file itself, or a data URL of up to about 3 MB. * **Claude Code, Cursor, and other assistants that run commands** can upload a file from your computer: they get a signed upload link with `create_upload`, send the file to it, and use the file's new link like any other. A file can be up to 100 MB and is deleted after 30 days. Each upload holds one file: a corrected file goes up as a new upload, since the old link can keep showing the first file for up to 4 hours. * **Claude, ChatGPT, and Grok chats** cannot pass a file you attach to the chat on to Mage. Share a direct link to the file instead, or use a creation already on Mage. * A link to a web page, such as a YouTube or TikTok video, is not a file and is refused. ## Manage connected apps Every app you connected is listed in [MCP → Connected apps](https://www.mage.space/mcp?tab=connected), with when you connected it and when it was last used. Select **Disconnect** to stop an app at once; it can no longer use your account or spend your Gems until you connect it again. Open **MCP** in the floating navigation, then select **Connected apps**. ## Limits * Up to 20 generations can run at once for your account, as with the [API](/api/limits). * An app can make up to 120 tool calls a minute. * `get_request` waits up to 2 minutes per call; your assistant calls it again for longer generations. ## Troubleshooting * **Cursor says "Incompatible auth server: does not support dynamic client registration"**: update the existing Mage entry in `~/.cursor/mcp.json` to include the `auth` block from the Cursor setup above, then reconnect. A server URL alone does not include Mage’s pre-registered Cursor client ID. * **"Couldn't reach the MCP server"**: check that the URL is exactly `https://mcp.mage.space/mcp`, then remove the connector and add it again. * **The connection asks you to sign in again**: the connection lasts up to 180 days, after which the app asks you to approve it again. Disconnecting in Mage also ends it. * **Every call fails with `payment_required`**: the MCP server needs a successful payment on your account first. Buy any [Gem pack or plan](https://www.mage.space/gems), then ask again; there is no need to reconnect. The signup bonus works in the Mage app only. * **A generation failed with `insufficient_gems`**: add Gems in [API → Billing](https://www.mage.space/api?tab=billing) and try again. # Anima Source: https://docs.mage.space/api/models/anima api/openapi.json POST /v1/anima/generate Generate images with Anima through the Mage API: the fields of POST /v1/anima/generate, its options by model, the rules it enforces, and its gem price. An anime and illustration model with clean lines and flat color, with Danbooru-style tags and prompt weighting. | Detail | | | - | - | | Type | Image | | Models | `anima-v1` (Anima v1, default) | | Image inputs | None | | Video inputs | None | | Gems | 20 at the default settings | | Model page | [Anima](/models/anima) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * Escape literal parentheses in the prompt as `\(` and `\)`; unescaped parentheses are read as prompt weighting. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Berry Source: https://docs.mage.space/api/models/berry api/openapi.json POST /v1/berry/generate Generate video with Berry through the Mage API: the fields of POST /v1/berry/generate, its options by model, the rules it enforces, and its gem price. Mage's reference-driven video model, faithful to the images you give it; Berry 2 is the current version. A first frame or reference images, or a source video to edit. | Detail | | | - | - | | Type | Video | | Models | `berry` (Berry), `berry-2` (Berry 2, default) | | Image inputs | `first_image` (first frame image), `image` (reference image), `additional_images` (additional reference images) | | Video inputs | `video` (source video) | | Gems | 189 at the default settings | | Model page | [Berry](/models/berry) | ## Options by model The tokens each variant accepts. A field left out inherits the architecture default, clamped to the variant's first listed token when the variant does not offer it. | Model | `resolution` | `duration` | | - | - | - | | `berry` | `720p`, `1080p` | `3` to `15` | | `berry-2` | `480p`, `720p`, `1080p` | `3` to `15` | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 9 images, characters, and references per request | | References | All models | 9 images, characters, and references per request | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * A first frame cannot be combined with reference images. * Video editing runs on `berry` only, not `berry-2`: send `model_id: "berry"` with a source video of 3 to 60 seconds. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Blueberry Source: https://docs.mage.space/api/models/blueberry api/openapi.json POST /v1/blueberry/generate Generate video with Blueberry through the Mage API: the fields of POST /v1/blueberry/generate, its options by model, the rules it enforces, and its gem price. A video model that fills the motion between a first and a last frame, with audio; Blueberry 2 is the current version. | Detail | | | - | - | | Type | Video | | Models | `blueberry`, `blueberry-v2` (default) | | Image inputs | `first_image` (first frame image), `last_image` (last frame image) | | Video inputs | None | | Gems | 360 at the default settings | | Model page | [Blueberry 2 and Raspberry](/models/blueberry-and-raspberry) | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Audio references | All models | 1 audio references per request | ```json theme={null} { "prompt": "A narrator reads the forecast in the voice of @radio-host" } ``` ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * A last frame is supported on `blueberry-v2` only. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Cherry Source: https://docs.mage.space/api/models/cherry api/openapi.json POST /v1/cherry/generate Generate video with Cherry through the Mage API: the fields of POST /v1/cherry/generate, its options by model, the rules it enforces, and its gem price. Mage's flagship video line, with cinematic motion and audio: Cherry Mini, Cherry, Cherry Pro, and Cherry 2 Pro, the most powerful, with clips up to 30 seconds. | Detail | | | - | - | | Type | Video | | Models | `cherry-mini` (Cherry Mini), `cherry` (Cherry), `cherry-pro` (Cherry Pro), `cherry-2-pro` (Cherry 2 Pro, default) | | Image inputs | `image` (reference image), `additional_images` (additional reference images) | | Video inputs | `videos` (source videos) | | Gems | 618 at the default settings | | Model page | [Cherry](/models/cherry) | ## Options by model The tokens each variant accepts. A field left out inherits the architecture default, clamped to the variant's first listed token when the variant does not offer it. | Model | `resolution` | `duration` | | - | - | - | | `cherry-mini` | `480p`, `720p` | `4`, `5`, `8`, `10`, `15` | | `cherry` | `480p`, `720p` | `4`, `5`, `8`, `10`, `15` | | `cherry-pro` | `480p`, `720p`, `1080p`, `4k` | `4`, `5`, `8`, `10`, `15` | | `cherry-2-pro` | `480p`, `720p`, `1080p` | `4`, `5`, `8`, `10`, `15`, `20`, `25`, `30` | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 8 images, characters, and references per request (`cherry-2-pro`: 29) | | References | All models | 8 images, characters, and references per request (`cherry-2-pro`: 29) | | Audio references | All models | 3 audio sources per request, counting the voices of mentioned characters | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` A mentioned character's voice is sent with its image and counts as an audio source. Send `use_character_voices: false` to leave the voices out. ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * Video editing takes exactly one source video, of 4 to 30 seconds on `cherry-2-pro` and 2 to 15 seconds on the other models. * On `cherry-2-pro` an edit keeps its source video's length and aspect ratio: `duration` and `aspect_ratio` are ignored, and the price follows the video's length. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Chroma Source: https://docs.mage.space/api/models/chroma api/openapi.json POST /v1/chroma/generate Generate images with Chroma through the Mage API: the fields of POST /v1/chroma/generate, its options by model, the rules it enforces, and its gem price. An open-weights general-purpose image model on the Flux architecture. | Detail | | | - | - | | Type | Image | | Models | `chroma-v1-hd` (default) | | Image inputs | None | | Video inputs | None | | Gems | 35 at the default settings | | Model page | [Chroma](/models/chroma) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Eleven Music Source: https://docs.mage.space/api/models/eleven_music api/openapi.json POST /v1/eleven_music/generate Generate audio with Eleven Music through the Mage API: the fields of POST /v1/eleven_music/generate, its options by model, the rules it enforces, and its gem price. ElevenLabs' music model: songs with vocals or instrumentals, as an MP3 of exactly the requested duration. A prompt that names an artist or quotes copyrighted lyrics is refused by ElevenLabs; the request fails and is refunded. | Detail | | | - | - | | Type | Audio | | Models | `eleven-music-v2.5` (Eleven Music v2.5, default) | | Image inputs | None | | Video inputs | None | | Gems | 113 at the default settings | | Model page | [Eleven Music](/models/eleven-music) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * The prompt describes the song, at most 2000 characters. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Eleven Speech Source: https://docs.mage.space/api/models/eleven_speech api/openapi.json POST /v1/eleven_speech/generate Generate audio with Eleven Speech through the Mage API: the fields of POST /v1/eleven_speech/generate, its options by model, the rules it enforces, and its gem price. ElevenLabs' expressive text to speech in 90+ languages, as an MP3 as long as the text. Audio tags in square brackets direct the delivery and add sound cues: \[whispers], \[laughs], \[sarcastic], \[door slams]. | Detail | | | - | - | | Type | Audio | | Models | `eleven-v4` (Eleven v4, default) | | Image inputs | None | | Video inputs | None | | Gems | 30 per started block of 250 characters of the prompt, at least one block | | Model page | [Eleven Speech](/models/eleven-speech) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * The prompt is the text to speak, at most 5000 characters, audio tags included. * `voice` is one of darian, talia, elara, baxter, eldrin, elowen, kaelen, lawrence, alicia, maisie, warren, jade, caleb, sawyer, florence, wyatt. * `stability` runs from 0 (expressive) to 1 (steady). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Flux 2 Source: https://docs.mage.space/api/models/flux2 api/openapi.json POST /v1/flux2/generate Generate images with Flux 2 through the Mage API: the fields of POST /v1/flux2/generate, its options by model, the rules it enforces, and its gem price. Flux 2 Dev, an open-weights model for long, detailed prompts, generation, and edits from up to three reference images. | Detail | | | - | - | | Type | Image | | Models | `flux2-dev` (default) | | Image inputs | `image` (reference image), `additional_images` (additional reference images) | | Video inputs | None | | Gems | 40 at the default settings | | Model page | [Flux 2](/models/flux) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # GPT Image 2 Source: https://docs.mage.space/api/models/gpt_image_2 api/openapi.json POST /v1/gpt_image_2/generate Generate images with GPT Image 2 through the Mage API: the fields of POST /v1/gpt_image_2/generate, its options by model, the rules it enforces, and its gem price. OpenAI's GPT Image models for generation and edits: GPT Image 2, GPT Image 2.5 Flare and Sunburst, and GPT Image 2.6 Flare and Sunburst, which also make animated GIFs. OpenAI's safety filter applies. | Detail | | | - | - | | Type | Image | | Models | `gpt-image-2` (GPT Image 2, default), `gpt-image-2.5-flare` (GPT Image 2.5 Flare), `gpt-image-2.5-sunburst` (GPT Image 2.5 Sunburst), `gpt-image-2.6-flare` (GPT Image 2.6 Flare), `gpt-image-2.6-sunburst` (GPT Image 2.6 Sunburst) | | Image inputs | `image` (reference image), `additional_images` (additional reference images) | | Video inputs | None | | Gems | 9 at the default settings | | Model page | [GPT Image 2](/models/gpt-image-2) | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 15 images, characters, and references per request | | References | All models | 15 images, characters, and references per request | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * Each model offers some `quality` levels only; a level the chosen model does not offer is refused. * Set `output_format` to `gif` on a GPT Image 2.6 model for an animated GIF, with `frame_count` from 2 to 16 (default 9) and `frame_duration_ms` from 20 to 2000 (default 200). Other models refuse it. `resolution` does not apply: each `aspect_ratio` has one frame size, near 640 pixels. The result is a `.gif` file, and its `type` stays `image`. * A GIF is priced by `quality` and by the frame range it falls in (2 to 8, 9, 10 to 12, or 13 to 16), not per frame. The price table below shows stills: read a GIF's price from the cost estimate. * A GIF on Mage, such as an earlier result, passed as an image input runs on its first frame. A GIF from anywhere else is refused: image inputs are JPEG or PNG. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Grok Image Source: https://docs.mage.space/api/models/grok_image api/openapi.json POST /v1/grok_image/generate Generate images with Grok Image through the Mage API: the fields of POST /v1/grok_image/generate, its options by model, the rules it enforces, and its gem price. xAI's Grok Imagine image models in two tiers, for generation and edits from reference images: Grok Image 2.0 (`grok-imagine-image-2.0`), the default, and Grok Image (`grok-imagine-image`) for cheap drafts. xAI retired Grok Image Quality (`grok-imagine-image-quality`) on November 2, 2026, and a request that names it is refused. xAI's safety filter applies. | Detail | | | - | - | | Type | Image | | Models | `grok-imagine-image` (Grok Image), `grok-imagine-image-2.0` (Grok Image 2.0, default) | | Image inputs | `image` (reference image), `additional_images` (additional reference images) | | Video inputs | None | | Gems | 90 at the default settings | | Model page | [Grok](/models/grok) | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 3 images, characters, and references per request | | References | All models | 3 images, characters, and references per request | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Grok Video Source: https://docs.mage.space/api/models/grok_video api/openapi.json POST /v1/grok_video/generate Generate video with Grok Video through the Mage API: the fields of POST /v1/grok_video/generate, its options by model, the rules it enforces, and its gem price. xAI's Grok Imagine for video, from text, reference images, or a source video to edit. xAI's safety filter applies. | Detail | | | - | - | | Type | Video | | Models | `grok-imagine-video` (Grok Video, default) | | Image inputs | `image` (reference image), `additional_images` (additional reference images) | | Video inputs | `video` (source video) | | Gems | 375 at the default settings | | Model page | [Grok](/models/grok) | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 5 images, characters, and references per request | | References | All models | 5 images, characters, and references per request | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * A source video must be at most 8.7 seconds and cannot be combined with reference images. * Up to 5 reference images, which cap the clip at 10 seconds. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Guava Source: https://docs.mage.space/api/models/guava api/openapi.json POST /v1/guava/generate Generate images with Guava through the Mage API: the fields of POST /v1/guava/generate, its options by model, the rules it enforces, and its gem price. Mage's photorealism family, for portraits, fashion, and product shots that pass for photographs, with reference images. Guava 2 and Guava 2 Pro are the current pair. | Detail | | | - | - | | Type | Image | | Models | `guava` (Guava, default), `guava-pro` (Guava Pro), `guava-pro-v1-5` (Guava Pro 1.5), `guava-2` (Guava 2), `guava-2-pro` (Guava 2 Pro) | | Image inputs | `image` (reference image), `additional_images` (additional reference images) | | Video inputs | None | | Gems | 37 at the default settings | | Model page | [Guava](/models/guava) | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 3 images, characters, and references per request | | References | All models | 3 images, characters, and references per request | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # HiDream Source: https://docs.mage.space/api/models/hidream api/openapi.json POST /v1/hidream/generate Generate images with HiDream through the Mage API: the fields of POST /v1/hidream/generate, its options by model, the rules it enforces, and its gem price. A fast general image model with a negative prompt, photoreal or illustrated. | Detail | | | - | - | | Type | Image | | Models | `hidream-fast` (default) | | Image inputs | None | | Video inputs | None | | Gems | 20 at the default settings | | Model page | [HiDream](/models/hidream) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Kiwi Source: https://docs.mage.space/api/models/kiwi api/openapi.json POST /v1/kiwi/generate Generate video with Kiwi through the Mage API: the fields of POST /v1/kiwi/generate, its options by model, the rules it enforces, and its gem price. Everyday video from text or a single start frame, with nothing else to set up. | Detail | | | - | - | | Type | Video | | Models | `kiwi` (default) | | Image inputs | `first_image` (first frame image) | | Video inputs | None | | Gems | 270 at the default settings | | Model page | [Kiwi](/models/kiwi) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Krea 2 Source: https://docs.mage.space/api/models/krea_2 api/openapi.json POST /v1/krea_2/generate Generate images with Krea 2 through the Mage API: the fields of POST /v1/krea_2/generate, its options by model, the rules it enforces, and its gem price. A fast image model with a strong built-in aesthetic, at 1K or 2K. | Detail | | | - | - | | Type | Image | | Models | `krea-2-turbo` (Krea 2 Turbo, default) | | Image inputs | None | | Video inputs | None | | Gems | 20 at the default settings | | Model page | [Krea 2](/models/krea-2) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Lemon Source: https://docs.mage.space/api/models/lemon api/openapi.json POST /v1/lemon/generate Generate video with Lemon through the Mage API: the fields of POST /v1/lemon/generate, its options by model, the rules it enforces, and its gem price. Mage's all-round video model at a friendlier price: frames, references, Voices, generated audio, and clips from 2 to 30 seconds. | Detail | | | - | - | | Type | Video | | Models | `lemon` (default) | | Image inputs | `first_image` (first frame image), `last_image` (last frame image), `image` (reference image), `additional_images` (additional reference images) | | Video inputs | `videos` (source videos) | | Gems | 245 at the default settings | | Model page | [Lemon](/models/lemon) | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 10 images, characters, and references per request | | References | All models | 10 images, characters, and references per request | | Audio references | All models | 5 audio sources per request, counting the voices of mentioned characters | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` A mentioned character's voice is sent with its image and counts as an audio source. Send `use_character_voices: false` to leave the voices out. ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * First and last frames cannot be combined with reference images or videos: send one kind or the other. * Up to 10 reference images and 5 reference videos. * Each reference video is 1 to 15 seconds long, at most 15 seconds combined, and the combined length plus `duration` is at most 30 seconds. Reference-video seconds bill like output seconds. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # LTX Video Source: https://docs.mage.space/api/models/ltx_video api/openapi.json POST /v1/ltx_video/generate Generate video with LTX Video through the Mage API: the fields of POST /v1/ltx_video/generate, its options by model, the rules it enforces, and its gem price. A fast open-weights video model for cheap iteration, in Distilled and Dev variants, from text or a start frame. | Detail | | | - | - | | Type | Video | | Models | `ltx-video-096-distilled` (default), `ltx-video-096-dev` | | Image inputs | `first_image` (first frame image) | | Video inputs | None | | Gems | 20 at the default settings | | Model page | [LTX Video](/models/ltx-video) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Magejutsu Source: https://docs.mage.space/api/models/magejutsu api/openapi.json POST /v1/magejutsu/generate Generate video with Magejutsu through the Mage API: the fields of POST /v1/magejutsu/generate, its options by model, the rules it enforces, and its gem price. Recasts an existing video: a director writes the edit prompt from the source, and a video-edit pass rebuilds who and what performs it. Send the source video and the replacement references; the output keeps the source length, ratio, motion and sound. | Detail | | | - | - | | Type | Video | | Models | `magejutsu` (Magejutsu, default), `magejutsu-lite` (Magejutsu Lite), `magejutsu-feather` (Magejutsu Feather) | | Image inputs | `image` (reference image), `additional_images` (additional reference images) | | Video inputs | `videos` (source videos) | | Gems | Video-edit cost plus a flat 200-Gem processing fee per run, including direction, guidance, and image tasks | | Model page | [Magejutsu](/models/magejutsu) | ## Options by model The tokens each variant accepts. A field left out inherits the architecture default, clamped to the variant's first listed token when the variant does not offer it. | Model | `resolution` | | - | - | | `magejutsu` | `480p`, `720p`, `1080p` | | `magejutsu-lite` | `480p`, `720p`, `1080p` | | `magejutsu-feather` | `480p`, `720p` | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 30 images, characters, and references per request | | References | All models | 30 images, characters, and references per request | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * `videos` and `image` are required. * The source video runs 4 to 30 seconds on magejutsu and 4 to 15 on magejutsu-lite, the faster and cheaper variant, and on magejutsu-feather, the cheapest and fastest, which runs motion_transfer only and renders at 480p and 720p. The output follows the source's length and aspect ratio. * Every request runs the same director in the backend. Choose motion_transfer to rebuild the performers and keep the motion, or object_swap to change selected elements and keep the rest of the shot as filmed. The mode also decides how the source is prepared: a motion transfer guides the edit with each replaced performer's movement and face, and an object swap edits the source as filmed. A clip the guidance cannot read, such as one with no person in it, renders from the source as filmed. There are no manual approval steps or draft renders. * Send up to 30 reference images across image and additional_images. The director reads every one, and the edit receives the ones its prompt uses: up to 27 on magejutsu, 9 on magejutsu-lite and 8 on magejutsu-feather. * The prompt is optional: without one, the director maps the references to the source by prominence and fit. * Original audio is restored by default; set keep_original_audio to false to retain generated audio. * The images are the replacement; mention each in the prompt by position ("image 1 is the person on the left"). * The source video is the only one accepted on a request; a longer clip is refused rather than trimmed. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Mango Source: https://docs.mage.space/api/models/mango api/openapi.json POST /v1/mango/generate Generate images with Mango through the Mage API: the fields of POST /v1/mango/generate, its options by model, the rules it enforces, and its gem price. Mage's flagship image family, for consistent characters, precise edits, and scenes merged from many references. Mango 4 (`mango-v4`) is the default and the newest, with the most lifelike light and skin and the sharpest small text; Mango 3 (`mango-v3`) is the previous flagship; Mango 3 Turbo (`mango-v3-turbo`) drafts at a flat price, references included, and Mango 3S (`mango-v3s`) reaches 3K. | Detail | | | - | - | | Type | Image | | Models | `mango` (Mango), `mango-v2` (Mango 2), `mango-v3s` (Mango 3S), `mango-v3` (Mango 3), `mango-v3-turbo` (Mango 3 Turbo), `mango-v4` (Mango 4, default) | | Image inputs | `image` (reference image), `additional_images` (additional reference images) | | Video inputs | None | | Gems | 42 at the default settings | | Model page | [Mango](/models/mango) | ## Options by model The tokens each variant accepts. A field left out inherits the architecture default, clamped to the variant's first listed token when the variant does not offer it. | Model | `resolution` | | - | - | | `mango` | `1K`, `2K`, `3K`, `4K` | | `mango-v2` | `2K`, `3K`, `4K` | | `mango-v3s` | `2K`, `3K` | | `mango-v3` | `1K`, `2K` | | `mango-v3-turbo` | `1K`, `2K` | | `mango-v4` | `1K`, `2K` | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | `mango-v2`, `mango-v3s`, `mango-v3`, `mango-v3-turbo`, `mango-v4` | 10 images, characters, and references per request | | References | `mango-v2`, `mango-v3s`, `mango-v3`, `mango-v3-turbo`, `mango-v4` | 10 images, characters, and references per request | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Melon Source: https://docs.mage.space/api/models/melon api/openapi.json POST /v1/melon/generate Generate video with Melon through the Mage API: the fields of POST /v1/melon/generate, its options by model, the rules it enforces, and its gem price. Mage's anime video model, as Melon and Melon Pro, with optional audio. | Detail | | | - | - | | Type | Video | | Models | `melon` (Melon, default), `melon-pro` (Melon Pro) | | Image inputs | `first_image` (first frame image), `last_image` (last frame image), `image` (reference image), `additional_images` (additional reference images) | | Video inputs | None | | Gems | 147 at the default settings | | Model page | [Melon](/models/melon) | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 7 images, characters, and references per request | | References | All models | 7 images, characters, and references per request | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * First and last frames cannot be combined with reference images: send one kind or the other. * The prompt is at most 5000 characters. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # MiniMax-H3 Source: https://docs.mage.space/api/models/minimax_h3 api/openapi.json POST /v1/minimax_h3/generate Generate video with MiniMax-H3 through the Mage API: the fields of POST /v1/minimax_h3/generate, its options by model, the rules it enforces, and its gem price. A fast open video model that generates video and stereo audio together. | Detail | | | - | - | | Type | Video | | Models | `minimax-h3-turbo` (MiniMax-H3 Turbo), `pika-h3-flex` (Pika H3 Flex, default), `minimax-h3` (MiniMax-H3) | | Image inputs | `first_image` (first frame image), `last_image` (last frame image), `image` (reference image), `additional_images` (additional reference images) | | Video inputs | `videos` (source videos) | | Gems | 45 at the default settings | | Model page | [MiniMax-H3](/models/minimax-h3) | ## Options by model The tokens each variant accepts. A field left out inherits the architecture default, clamped to the variant's first listed token when the variant does not offer it. | Model | `resolution` | `duration` | | - | - | - | | `minimax-h3-turbo` | `480p`, `544p`, `720p`, `768p` | `5` to `15` | | `pika-h3-flex` | `480p`, `544p`, `720p`, `768p` | `5` to `15` | | `minimax-h3` | `480p`, `544p`, `720p`, `768p` | `5` to `8` | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 9 images, characters, and references per request | | References | All models | 9 images, characters, and references per request | | Audio references | All models | 3 audio sources per request, counting the voices of mentioned characters | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` A mentioned character's voice is sent with its image and counts as an audio source. Send `use_character_voices: false` to leave the voices out. ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * First and last frames cannot be combined with reference images or videos: send one kind or the other. * Up to 9 reference images and 3 reference videos of 2 to 15 seconds each. * References share a 21-second budget with the clip: `duration`, plus 2 seconds for each reference image, mentioned character, and mentioned reference, plus 1.15 seconds for each second of each reference video (counted up to `duration`), must come to at most 21. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # MiniMax H3 Image Source: https://docs.mage.space/api/models/minimax_h3_image api/openapi.json POST /v1/minimax_h3_image/generate Generate images with MiniMax H3 Image through the Mage API: the fields of POST /v1/minimax_h3_image/generate, its options by model, the rules it enforces, and its gem price. An open-weights image model for text-to-image and edits from up to 16 reference images, at 2K (about 4 megapixels) or native 4K (about 16 megapixels), with LoRAs. Distilled to six steps, it takes no negative prompt, step count, or guidance scale. Write the whole image in English; for an edit, say what to keep from each image, what changes, and then describe the result. | Detail | | | - | - | | Type | Image | | Models | `minimax-h3-image` (MiniMax H3 Image, default) | | Image inputs | `image` (reference image), `additional_images` (additional reference images) | | Video inputs | None | | Gems | 15 at the default settings | | Model page | [MiniMax H3 Image](/models/minimax-h3-image) | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 16 images, characters, and references per request | | References | All models | 16 images, characters, and references per request | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * Send up to 16 reference images across image and additional_images, plus mentioned characters and references; the prompt names them image 1, image 2, ... in that order. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # MiniMax Music 3 Source: https://docs.mage.space/api/models/minimax_music api/openapi.json POST /v1/minimax_music/generate Generate audio with MiniMax Music 3 through the Mage API: the fields of POST /v1/minimax_music/generate, its options by model, the rules it enforces, and its gem price. MiniMax's open-weights song model: complete songs with sung vocals that follow your lyrics, or instrumentals, up to 5 minutes, as a 44.1 kHz stereo MP3, with LoRAs. Put the words in `lyrics` and the sound in the prompt. | Detail | | | - | - | | Type | Audio | | Models | `minimax-music-3` (MiniMax Music 3, default) | | Image inputs | None | | Video inputs | None | | Gems | 125 at the default settings | | Model page | [MiniMax Music 3](/models/minimax-music-3) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * The prompt describes the music, at most 4000 characters: genre, tempo and key, mood and how it builds, the vocalist (name the voice, or the song may come out instrumental), and the instruments. * `lyrics` holds the words to sing, at most 6000 characters. Put each section tag (\[intro], \[verse], \[pre-chorus], \[chorus], \[bridge], \[outro]) on its own line: words on a tag's line are dropped. * Leave `lyrics` empty, or set `instrumental` to true, for an instrumental. * `duration` is the longest the song may run, and the price; the model ends the song when its lyrics and arrangement are done, often sooner. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # MOSS-Image Source: https://docs.mage.space/api/models/moss_image api/openapi.json POST /v1/moss_image/generate Generate images with MOSS-Image through the Mage API: the fields of POST /v1/moss_image/generate, its options by model, the rules it enforces, and its gem price. An open-weights image model for long, detailed prompts and English or Chinese text, at 1K or 2K. | Detail | | | - | - | | Type | Image | | Models | `moss-image` (MOSS-Image, default) | | Image inputs | None | | Video inputs | None | | Gems | 25 at the default settings | | Model page | [MOSS-Image](/models/moss-image) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Nano Banana 2 Source: https://docs.mage.space/api/models/nano_banana_v2 api/openapi.json POST /v1/nano_banana_v2/generate Generate images with Nano Banana 2 through the Mage API: the fields of POST /v1/nano_banana_v2/generate, its options by model, the rules it enforces, and its gem price. Google's Nano Banana models, for graphics with readable text and edits from up to 14 reference images, up to 4K. Nano Banana 2.1 (`nano-banana-v2.1`), the default, costs less; Nano Banana 2 (`nano-banana-v2`) also renders at 512. Google's safety filter applies. | Detail | | | - | - | | Type | Image | | Models | `nano-banana-v2` (Nano Banana 2), `nano-banana-v2.1` (Nano Banana 2.1, default) | | Image inputs | `image` (reference image), `additional_images` (additional reference images) | | Video inputs | None | | Gems | 51 at the default settings | | Model page | [Nano Banana 2](/models/nano-banana-2) | ## Options by model The tokens each variant accepts. A field left out inherits the architecture default, clamped to the variant's first listed token when the variant does not offer it. | Model | `resolution` | | - | - | | `nano-banana-v2` | `512`, `1K`, `2K`, `4K` | | `nano-banana-v2.1` | `1K`, `2K`, `4K` | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 14 images, characters, and references per request | | References | All models | 14 images, characters, and references per request | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Models in the API Source: https://docs.mage.space/api/models/overview Every model the Mage API generates with, its architecture id, its variants, the inputs and mentions it takes, and the gem price of its default settings. Each model is an architecture with its own endpoint, `POST /v1/{architecture}/generate`, and its own page here listing every field it accepts. The same list, with each field's tokens and defaults as JSON Schema, comes back from [`GET /v1/architectures`](/api/endpoints/list-architectures), so a client can discover it at runtime. Variants of a model (Plum and Plum Max, the Cherry line) are the `model_id` field of one architecture. Mentions are the saved entities a prompt may attach by `@handle`; see [Characters and references](/api/inputs#characters-and-references). Gems are the price of the default settings; other resolutions and durations cost more or less, and the charge for a request is in its response. To see what each model makes before you call it, browse [every model on Mage](https://www.mage.space/models). ## Image models | Model | Architecture | Variants | Inputs | Mentions | Gems at defaults | | - | - | - | - | - | - | | [Anima](/api/models/anima) | `anima` | 1 | Text only | None | 20 | | [Chroma](/api/models/chroma) | `chroma` | 1 | Text only | None | 35 | | [Flux 2](/api/models/flux2) | `flux2` | 1 | Reference images | None | 40 | | [GPT Image 2](/api/models/gpt_image_2) | `gpt_image_2` | 5 | Reference images | Characters, references | 9 | | [Grok Image](/api/models/grok_image) | `grok_image` | 2 | Reference images | Characters, references | 90 | | [Guava](/api/models/guava) | `guava` | 5 | Reference images | Characters, references | 37 | | [HiDream](/api/models/hidream) | `hidream` | 1 | Text only | None | 20 | | [Krea 2](/api/models/krea_2) | `krea_2` | 1 | Text only | None | 20 | | [Mango](/api/models/mango) | `mango` | 6 | Reference images | Characters, references | 42 | | [MiniMax H3 Image](/api/models/minimax_h3_image) | `minimax_h3_image` | 1 | Reference images | Characters, references | 15 | | [MOSS-Image](/api/models/moss_image) | `moss_image` | 1 | Text only | None | 25 | | [Nano Banana 2](/api/models/nano_banana_v2) | `nano_banana_v2` | 2 | Reference images | Characters, references | 51 | | [SDXL Plus](/api/models/sdxl_plus) | `sdxl_plus` | 1 | Reference image | None | 15 | | [Seedream](/api/models/seedream) | `seedream` | 6 | Reference images | Characters, references | 42 | | [Stable Diffusion v1.5](/api/models/stable_diffusion_v15) | `stable_diffusion_v15` | 1 | Reference image | None | 10 | | [Stable Diffusion v3.5 Large](/api/models/stable_diffusion_v35_large) | `stable_diffusion_v35_large` | 1 | Reference image | None | 10 | | [Stable Diffusion XL](/api/models/stable_diffusion_xl) | `stable_diffusion_xl` | 1 | Reference image | None | 10 | | [Z-Image](/api/models/z_image) | `z_image` | 1 | Text only | None | 10 | ## Video models | Model | Architecture | Variants | Inputs | Mentions | Gems at defaults | | - | - | - | - | - | - | | [Berry](/api/models/berry) | `berry` | 2 | First frame, reference images, source video | Characters, references | 189 | | [Blueberry](/api/models/blueberry) | `blueberry` | 2 | First and last frame | Audio | 360 | | [Cherry](/api/models/cherry) | `cherry` | 4 | Reference images, source videos | Characters, references, audio | 618 | | [Grok Video](/api/models/grok_video) | `grok_video` | 1 | Reference images, source video | Characters, references | 375 | | [Kiwi](/api/models/kiwi) | `kiwi` | 1 | First frame | None | 270 | | [Lemon](/api/models/lemon) | `lemon` | 1 | First and last frame, reference images, source videos | Characters, references, audio | 245 | | [LTX Video](/api/models/ltx_video) | `ltx_video` | 2 | First frame | None | 20 | | [Magejutsu](/api/models/magejutsu) | `magejutsu` | 3 | Reference images, source videos | Characters, references | 1586 | | [Melon](/api/models/melon) | `melon` | 2 | First and last frame, reference images | Characters, references | 147 | | [MiniMax-H3](/api/models/minimax_h3) | `minimax_h3` | 3 | First and last frame, reference images, source videos | Characters, references, audio | 45 | | [Plum](/api/models/plum) | `plum` | 3 | First and last frame, reference images, source videos | Characters, references, audio | 173 | | [Raspberry](/api/models/raspberry) | `raspberry` | 1 | First frame, reference images | Characters, references | 360 | | [Seedance](/api/models/seedance) | `seedance` | 4 | Reference images, source videos | Characters, references, audio | 618 | | [Wan 3.0](/api/models/wan_3) | `wan_3` | 1 | First and last frame, reference images, source videos | Characters, references, audio | 245 | | [Wan Video v2.2](/api/models/wan_22) | `wan_22` | 2 | First frame | None | 40 | ## Audio models | Model | Architecture | Variants | Inputs | Mentions | Gems at defaults | | - | - | - | - | - | - | | [Eleven Music](/api/models/eleven_music) | `eleven_music` | 1 | Text only | None | 113 | | [Eleven Speech](/api/models/eleven_speech) | `eleven_speech` | 1 | Text only | None | 30 | | [MiniMax Music 3](/api/models/minimax_music) | `minimax_music` | 1 | Text only | None | 125 | | [Seed Audio](/api/models/seed_audio) | `seed_audio` | 1 | Reference image | Audio | 19 | # Plum Source: https://docs.mage.space/api/models/plum api/openapi.json POST /v1/plum/generate Generate video with Plum through the Mage API: the fields of POST /v1/plum/generate, its options by model, the rules it enforces, and its gem price. Mage's full-feature video model with generated audio on every clip and output up to 2K, as Plum, the faster Plum Max, and Plum Fast, the fastest and lowest-cost. | Detail | | | - | - | | Type | Video | | Models | `plum` (Plum), `plum-max` (Plum Max), `plum-fast` (Plum Fast, default) | | Image inputs | `first_image` (first frame image), `last_image` (last frame image), `image` (reference image), `additional_images` (additional reference images) | | Video inputs | `videos` (source videos) | | Gems | 173 at the default settings | | Model page | [Plum](/models/plum) | ## Options by model The tokens each variant accepts. A field left out inherits the architecture default, clamped to the variant's first listed token when the variant does not offer it. | Model | `resolution` | `duration` | | - | - | - | | `plum` | `768P`, `2K` | `4` to `15` | | `plum-max` | `480P`, `768P` | `5` to `15` | | `plum-fast` | `480P`, `768P` | `4` to `15` | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 9 images, characters, and references per request | | References | All models | 9 images, characters, and references per request | | Audio references | All models | 3 audio sources per request, counting the voices of mentioned characters | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` A mentioned character's voice is sent with its image and counts as an audio source. Send `use_character_voices: false` to leave the voices out. ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * First and last frames cannot be combined with reference images: send one kind or the other. * On `plum-max` and `plum-fast` a last frame must be paired with a first frame. * Video editing takes exactly one source video of 2 to 15 seconds, an output `duration`, and up to 2 reference images, counting mentioned characters and references. It takes no frames, audio references, or character voices: send `use_character_voices: false` to mention a character that has a voice. * On `plum-max`, a source video bills at a higher rate per second than the output, so at 768P an edit costs more on `plum-max` than on `plum`. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Raspberry Source: https://docs.mage.space/api/models/raspberry api/openapi.json POST /v1/raspberry/generate Generate video with Raspberry through the Mage API: the fields of POST /v1/raspberry/generate, its options by model, the rules it enforces, and its gem price. A character video model from a first frame and reference images, with Voices and audio. | Detail | | | - | - | | Type | Video | | Models | `raspberry` (default) | | Image inputs | `first_image` (first frame image), `image` (reference image), `additional_images` (additional reference images) | | Video inputs | None | | Gems | 360 at the default settings | | Model page | [Blueberry 2 and Raspberry](/models/blueberry-and-raspberry) | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 5 images, characters, and references per request | | References | All models | 5 images, characters, and references per request | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` A mentioned character's voice is sent with its image. Send `use_character_voices: false` to leave the voices out. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # SDXL Plus Source: https://docs.mage.space/api/models/sdxl_plus api/openapi.json POST /v1/sdxl_plus/generate Generate images with SDXL Plus through the Mage API: the fields of POST /v1/sdxl_plus/generate, its options by model, the rules it enforces, and its gem price. Mage's high-detail SDXL pipeline with automatic face and hand cleanup, with an optional input image. | Detail | | | - | - | | Type | Image | | Models | `6A35A7855770AE9820A3C931D4964C3817B6D9E3C6F9C4DABB5B3A94E5643B80` (default) | | Image inputs | `image` (reference image) | | Video inputs | None | | Gems | 15 at the default settings | | Model page | [SDXL Plus](/models/sdxl-plus) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Seed Audio Source: https://docs.mage.space/api/models/seed_audio api/openapi.json POST /v1/seed_audio/generate Generate audio with Seed Audio through the Mage API: the fields of POST /v1/seed_audio/generate, its options by model, the rules it enforces, and its gem price. Voices, dialogue, music, and sound effects from one prompt, as an MP3 of exactly the requested duration. | Detail | | | - | - | | Type | Audio | | Models | `seed-audio-1.0` (Seed Audio, default) | | Image inputs | `image` (reference image) | | Video inputs | None | | Gems | 19 at the default settings | | Model page | [Seed Audio](/models/seed-audio) | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Audio references | All models | 3 audio references per request | ```json theme={null} { "prompt": "A narrator reads the forecast in the voice of @radio-host" } ``` ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * An image reference cannot be combined with audio references: send one kind or the other. * The prompt is at most 2986 characters. * `sample_rate` is one of 8000, 16000, 24000, 32000, 44100, 48000. * `speech_rate` is a whole number from -50 to 100. * `loudness_rate` is a whole number from -50 to 100. * `pitch_rate` is a whole number from -12 to 12. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Seedance Source: https://docs.mage.space/api/models/seedance api/openapi.json POST /v1/seedance/generate Generate video with Seedance through the Mage API: the fields of POST /v1/seedance/generate, its options by model, the rules it enforces, and its gem price. ByteDance's Seedance video line, with cinematic motion and audio: Seedance 2.0 Mini, Seedance 2.0 Fast, Seedance 2.0, and Seedance 2.5, the most powerful, with clips up to 30 seconds. Strict Filter: the provider's content filter checks the prompt, the input media, and the finished video; a request it refuses fails with `content_blocked` and a reason, and is refunded. | Detail | | | - | - | | Type | Video | | Models | `seedance-2.0-mini` (Seedance 2.0 Mini), `seedance-2.0-fast` (Seedance 2.0 Fast), `seedance-2.0` (Seedance 2.0), `seedance-2.5` (Seedance 2.5, default) | | Image inputs | `image` (reference image), `additional_images` (additional reference images) | | Video inputs | `videos` (source videos) | | Gems | 618 at the default settings | | Model page | [Seedance](/models/seedance) | ## Options by model The tokens each variant accepts. A field left out inherits the architecture default, clamped to the variant's first listed token when the variant does not offer it. | Model | `resolution` | `duration` | | - | - | - | | `seedance-2.0-mini` | `480p`, `720p` | `4`, `5`, `8`, `10`, `15` | | `seedance-2.0-fast` | `480p`, `720p` | `4`, `5`, `8`, `10`, `15` | | `seedance-2.0` | `480p`, `720p`, `1080p`, `4k` | `4`, `5`, `8`, `10`, `15` | | `seedance-2.5` | `480p`, `720p`, `1080p` | `4`, `5`, `8`, `10`, `15`, `20`, `25`, `30` | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 8 images, characters, and references per request (`seedance-2.5`: 29) | | References | All models | 8 images, characters, and references per request (`seedance-2.5`: 29) | | Audio references | All models | 3 audio sources per request, counting the voices of mentioned characters | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` A mentioned character's voice is sent with its image and counts as an audio source. Send `use_character_voices: false` to leave the voices out. ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * Video editing takes exactly one source video, of 4 to 30 seconds on `seedance-2.5` and 2 to 15 seconds on the other models. * On `seedance-2.5` an edit keeps its source video's length and aspect ratio: `duration` and `aspect_ratio` are ignored, and the price follows the video's length. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Seedream Source: https://docs.mage.space/api/models/seedream api/openapi.json POST /v1/seedream/generate Generate images with Seedream through the Mage API: the fields of POST /v1/seedream/generate, its options by model, the rules it enforces, and its gem price. ByteDance's Seedream image family, for detailed scenes, readable text, and edits from up to 10 references or Characters: Seedream 5.5 (`seedream-5.5`), the newest and the default, with more realistic images, clearer small text, and steadier repeated edits; Seedream 5.0 Pro (`seedream-5.0-pro`), the previous flagship; Seedream 5.0 Flash (`seedream-5.0-flash`), one flat price with input images included, the lowest at 2K or with input images (Seedream 5.5 costs less for a 1K prompt alone); Seedream 5.0 Lite (`seedream-5.0-lite`), up to 3K; Seedream 4.5 (`seedream-4.5`), up to 4K; and Seedream 4.0 (`seedream-4.0`). Strict Filter: Mage checks the prompt and the first image before the run; a request it refuses fails with `content_blocked` and a reason, and is refunded. | Detail | | | - | - | | Type | Image | | Models | `seedream-4.0` (Seedream 4.0), `seedream-4.5` (Seedream 4.5), `seedream-5.0-lite` (Seedream 5.0 Lite), `seedream-5.0-pro` (Seedream 5.0 Pro), `seedream-5.0-flash` (Seedream 5.0 Flash), `seedream-5.5` (Seedream 5.5, default) | | Image inputs | `image` (reference image), `additional_images` (additional reference images) | | Video inputs | None | | Gems | 42 at the default settings | | Model page | [Seedream](/models/seedream) | ## Options by model The tokens each variant accepts. A field left out inherits the architecture default, clamped to the variant's first listed token when the variant does not offer it. | Model | `resolution` | | - | - | | `seedream-4.0` | `1K`, `2K`, `3K`, `4K` | | `seedream-4.5` | `2K`, `3K`, `4K` | | `seedream-5.0-lite` | `2K`, `3K` | | `seedream-5.0-pro` | `1K`, `2K` | | `seedream-5.0-flash` | `1K`, `2K` | | `seedream-5.5` | `1K`, `2K` | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | `seedream-4.5`, `seedream-5.0-lite`, `seedream-5.0-pro`, `seedream-5.0-flash`, `seedream-5.5` | 10 images, characters, and references per request | | References | `seedream-4.5`, `seedream-5.0-lite`, `seedream-5.0-pro`, `seedream-5.0-flash`, `seedream-5.5` | 10 images, characters, and references per request | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Stable Diffusion v1.5 Source: https://docs.mage.space/api/models/stable_diffusion_v15 api/openapi.json POST /v1/stable_diffusion_v15/generate Generate images with Stable Diffusion v1.5 through the Mage API: the fields of POST /v1/stable_diffusion_v15/generate, its options by model, the rules it enforces, and its gem price. The classic Stable Diffusion 1.5, with an optional input image. | Detail | | | - | - | | Type | Image | | Models | `15012C538F503CE2EBFC2C8547B268C75CCDAFF7A281DB55399940FF1D70E21D` (default) | | Image inputs | `image` (reference image) | | Video inputs | None | | Gems | 10 at the default settings | | Model page | [Stable Diffusion](/models/stable-diffusion) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Stable Diffusion v3.5 Large Source: https://docs.mage.space/api/models/stable_diffusion_v35_large api/openapi.json POST /v1/stable_diffusion_v35_large/generate Generate images with Stable Diffusion v3.5 Large through the Mage API: the fields of POST /v1/stable_diffusion_v35_large/generate, its options by model, the rules it enforces, and its gem price. Stable Diffusion 3.5 Large, the Stable Diffusion that follows detailed prompts most closely, with an optional input image. | Detail | | | - | - | | Type | Image | | Models | `sd-3-5-large` (default) | | Image inputs | `image` (reference image) | | Video inputs | None | | Gems | 10 at the default settings | | Model page | [Stable Diffusion](/models/stable-diffusion) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Stable Diffusion XL Source: https://docs.mage.space/api/models/stable_diffusion_xl api/openapi.json POST /v1/stable_diffusion_xl/generate Generate images with Stable Diffusion XL through the Mage API: the fields of POST /v1/stable_diffusion_xl/generate, its options by model, the rules it enforces, and its gem price. Stable Diffusion XL, tuned for photoreal output, with an optional input image. | Detail | | | - | - | | Type | Image | | Models | `6A35A7855770AE9820A3C931D4964C3817B6D9E3C6F9C4DABB5B3A94E5643B80` (default) | | Image inputs | `image` (reference image) | | Video inputs | None | | Gems | 10 at the default settings | | Model page | [Stable Diffusion](/models/stable-diffusion) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Wan Video v2.2 Source: https://docs.mage.space/api/models/wan_22 api/openapi.json POST /v1/wan_22/generate Generate video with Wan Video v2.2 through the Mage API: the fields of POST /v1/wan_22/generate, its options by model, the rules it enforces, and its gem price. Wan Video v2.2, an open-weights video model from text or a start frame, with a Lightning variant. | Detail | | | - | - | | Type | Video | | Models | `wan22-video` (default), `wan22-video-lightning` | | Image inputs | `first_image` (first frame image) | | Video inputs | None | | Gems | 40 at the default settings | | Model page | [Wan Video](/models/wan-video) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Wan 3.0 Source: https://docs.mage.space/api/models/wan_3 api/openapi.json POST /v1/wan_3/generate Generate video with Wan 3.0 through the Mage API: the fields of POST /v1/wan_3/generate, its options by model, the rules it enforces, and its gem price. Alibaba's Wan 3.0, one video model for text, frames, reference images, reference videos, and Voices, in clips from 2 to 30 seconds with generated audio. Strict Filter: the provider's content filter checks the prompt, the input media, and the finished video; a request it refuses fails with `content_blocked` and a reason, and is refunded. | Detail | | | - | - | | Type | Video | | Models | `wan-3.0` (Wan 3.0, default) | | Image inputs | `first_image` (first frame image), `last_image` (last frame image), `image` (reference image), `additional_images` (additional reference images) | | Video inputs | `videos` (source videos) | | Gems | 245 at the default settings | | Model page | [Wan 3.0](/models/wan-3) | ## Mentions Write `@handle` in `prompt` to attach one of your saved entities, exactly as in the app. Each mention counts against the budget below; a mention that does not resolve, or that the chosen model does not support, is refused with `400 invalid_config` before any gems are charged. See [Characters and references](/api/inputs#characters-and-references). | Mention | Models | Budget | | - | - | - | | Characters | All models | 10 images, characters, and references per request | | References | All models | 10 images, characters, and references per request | | Audio references | All models | 5 audio sources per request, counting the voices of mentioned characters | ```json theme={null} { "prompt": "@ana walking through a night market, wearing @red-coat" } ``` A mentioned character's voice is sent with its image and counts as an audio source. Send `use_character_voices: false` to leave the voices out. ## Rules A request that breaks one of these is refused with `400 invalid_config` before any gems are charged. * First and last frames cannot be combined with reference images or videos: send one kind or the other. * Up to 10 reference images and 5 reference videos. * Each reference video is 1 to 15 seconds long, at most 15 seconds combined, and the combined length plus `duration` is at most 30 seconds. Reference-video seconds bill like output seconds. Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Z-Image Source: https://docs.mage.space/api/models/z_image api/openapi.json POST /v1/z_image/generate Generate images with Z-Image through the Mage API: the fields of POST /v1/z_image/generate, its options by model, the rules it enforces, and its gem price. The fastest image model on Mage: photoreal text-to-image with solid anatomy and lettering, at 1K or 2K. | Detail | | | - | - | | Type | Image | | Models | `z-image-turbo` (Z-Image, default) | | Image inputs | None | | Video inputs | None | | Gems | 10 at the default settings | | Model page | [Z-Image](/models/z-image) | ## Mentions This model takes no `@handle` mentions: saved characters, references, and audio references are not available on it. See [Characters and references](/api/inputs#characters-and-references). Every field below that you leave out keeps its default. Option values are the tokens listed per field; a numeric token may be sent as a number. Fields the schema does not list pass through to the model unchanged. The exact charge for other settings is in the response's `billing.gems_charged`, and the balance at [`GET /v1/account`](/api/endpoints/get-account). # Mage API Source: https://docs.mage.space/api/overview Run Mage image, video, and audio models from your own code through one authenticated, asynchronous API: submit a generation, poll its status, download the result. Every request is paid in Gems. The Mage API runs the same models as the app from your own code. You submit a generation to a model's endpoint, get back a request id with a status link, poll it, and download the result. Every request is paid in Gems from your account. Open the [API dashboard](https://www.mage.space/api) by choosing **API** (Beta) in Mage's navigation. Its **API Keys**, **Billing**, and **Stats** tabs bring key management, Gems billing, and usage together. The floating navigation also opens [MCP](https://www.mage.space/mcp) to connect your assistant and the [Playground](https://www.mage.space/playground) to explore and try models. To compare models by what they make before you write code, browse [every model on Mage](https://www.mage.space/models), or start from the [developer hub](https://www.mage.space/developers) for the image, video, and audio APIs, the SDKs, and the MCP server. > [card] [Run your first request](/api/quickstart) > > Create a key and complete a generation from submission to result. > [card] [Get an API key](https://www.mage.space/api?tab=api-keys) > > Open API → API Keys, select Create API key, and name it in the popup. Copy > the one-time key, then use the quick start shown below it. ## Make a request Every model shares the same authentication, the same request lifecycle, and the same field names. The JSON body depends on the model. ```bash cURL theme={null} curl --request POST \ --url https://api.mage.space/v1/flux2/generate \ --header "Authorization: Bearer $MAGE_API_KEY" \ --header "Content-Type: application/json" \ --data '{ "prompt": "Editorial portrait in soft daylight", "aspect_ratio": "4:5" }' ``` ```ts TypeScript SDK theme={null} import Mage from '@mage-space/sdk'; const mage = new Mage(); // reads MAGE_API_KEY const request = await mage.generate('flux2', { prompt: 'Editorial portrait in soft daylight', aspect_ratio: '4:5', }); ``` ```python Python SDK theme={null} from mage_space import Mage mage = Mage() # reads MAGE_API_KEY request = mage.generate("flux2", { "prompt": "Editorial portrait in soft daylight", "aspect_ratio": "4:5", }) ``` The API answers at once with the request's id, its state, and the links to check or cancel it. The SDKs' `run` goes one step further: it waits for the result and returns the finished request. ```json theme={null} { "request_id": "d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff", "status": "in_progress", "architecture": "flux2", "model_id": "flux2-dev", "created_at": "2026-09-17T14:52:48.000Z", "updated_at": "2026-09-17T14:52:49.000Z", "billing": { "mode": "gems", "gems_charged": 40 }, "result": null, "error": null, "status_url": "https://api.mage.space/v1/requests/d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff/status", "cancel_url": "https://api.mage.space/v1/requests/d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff/cancel" } ``` ## Choose your path > [card] [Ship to production](/api/requests) > > The request lifecycle, polling, cancellation, errors, and limits. > [card] [Send images, video, and audio](/api/inputs) > > URLs, data URLs, and uploads for files larger than a request body. > [card] [Pick a model](/api/models/overview) > > Every model with its fields, tokens, defaults, and price. ## SDKs and integrations > [card] [TypeScript SDK](/api/sdks/typescript) > > `npm install @mage-space/sdk`. Typed configs for every model. > [card] [Python SDK](/api/sdks/python) > > `pip install mage-space`. Sync and asyncio clients. > [card] [ComfyUI](/api/integrations/comfyui) > > Every Mage model as ComfyUI nodes. No GPU needed. The SDKs submit and wait for results, send an idempotency key with every submission so a retry never charges twice, and upload large files for you. They are open source in the [mage-space GitHub organization](https://github.com/mage-space). ## Base URL Every endpoint lives under `https://api.mage.space/v1`. Fields, models, and endpoints are added within `v1`; anything that would break an existing client ships as a new version. See [versioning](/api/versioning). > [!NOTE] > > Results and inputs are kept for 30 days. Download what you want to keep. # Quickstart Source: https://docs.mage.space/api/quickstart Generate your first image with the Mage API in five minutes: create a key, submit a request with curl, poll the status link until it completes, and download the result. This walkthrough runs one generation from the command line with `curl` and `jq`, to show each step of the API. You need a Mage account with a successful payment (any [Gem pack or plan](https://www.mage.space/gems); the signup bonus does not cover the API) and access to [API → API Keys](https://www.mage.space/api?tab=api-keys). > [!TIP] > > Writing TypeScript or Python? The [TypeScript SDK](/api/sdks/typescript) and > the [Python SDK](/api/sdks/python) do the submitting and polling below in one > call. Create a key as in step 1, then: > > ```ts TypeScript theme={null} > // npm install @mage-space/sdk > import Mage from '@mage-space/sdk'; > > const mage = new Mage(); // reads MAGE_API_KEY > const request = await mage.run('flux2', { > prompt: 'Editorial portrait in soft daylight, 35mm film look', > aspect_ratio: '4:5', > }); > console.log(request.result.url); > ``` > > ```python Python theme={null} > # pip install mage-space > from mage_space import Mage > > mage = Mage() # reads MAGE_API_KEY > request = mage.run("flux2", { > "prompt": "Editorial portrait in soft daylight, 35mm film look", > "aspect_ratio": "4:5", > }) > print(request["result"]["url"]) > ``` > [!WARNING] > > An API key spends the Gems on your account. Use it in server-side code only, > and never commit it to source control. **1. Create a key** 1. Open [API → API Keys](https://www.mage.space/api?tab=api-keys). In Mage's navigation, this is **API** (Beta), then the **API Keys** tab. 2. Select **Create API key**. In the popup, enter a **Key name**, such as `Production server`, then select **Create key**. 3. The **You're ready to build** popup shows your new key. Select **Copy key** and save it securely before closing the popup. The key starts with `mage_sk_` and is shown only once; Mage keeps only a hash of it. The popup also includes an editable quick start and playground. To follow this command-line walkthrough, export the key in your shell: ```bash theme={null} export MAGE_API_KEY="mage_sk_..." ``` Your key appears under **Active** in API Keys. Previously revoked keys and their usage history are under **Revoked**. See [Authentication](/api/authentication#manage-keys) for key management. **2. Submit a generation** Each model has its own endpoint, `POST /v1/{architecture}/generate`. The body holds the fields you want to set; every other field keeps the model's default. This call uses Flux 2. ```bash theme={null} curl --request POST \ --url https://api.mage.space/v1/flux2/generate \ --header "Authorization: Bearer $MAGE_API_KEY" \ --header "Content-Type: application/json" \ --data '{ "prompt": "Editorial portrait in soft daylight, 35mm film look", "aspect_ratio": "4:5" }' ``` The response is the request's current state. Gems are charged now, and `status_url` is where to look next. ```json theme={null} { "request_id": "d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff", "status": "in_progress", "architecture": "flux2", "model_id": "flux2-dev", "created_at": "2026-09-17T14:52:48.000Z", "updated_at": "2026-09-17T14:52:49.000Z", "billing": { "mode": "gems", "gems_charged": 40 }, "result": null, "error": null, "status_url": "https://api.mage.space/v1/requests/d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff/status", "cancel_url": "https://api.mage.space/v1/requests/d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff/cancel" } ``` Keep `request_id`; everything else about the request is reached through it. ```bash theme={null} export REQUEST_ID="d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff" ``` **3. Poll until it finishes** Read `status_url` every few seconds until `status` is `completed`, `failed`, or `cancelled`. ```bash theme={null} while true; do STATE=$(curl --silent \ --url "https://api.mage.space/v1/requests/$REQUEST_ID/status" \ --header "Authorization: Bearer $MAGE_API_KEY") STATUS=$(echo "$STATE" | jq -r .status) [ "$STATUS" = "queued" ] || [ "$STATUS" = "in_progress" ] || break sleep 3 done echo "$STATE" | jq . ``` A completed request carries the output in `result`. ```json theme={null} { "request_id": "d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff", "status": "completed", "architecture": "flux2", "model_id": "flux2-dev", "created_at": "2026-09-17T14:52:48.000Z", "updated_at": "2026-09-17T14:53:10.000Z", "billing": { "mode": "gems", "gems_charged": 40 }, "result": { "type": "image", "url": "https://cdn3.mage.space/temp/30d/user/image.png", "width": 1024, "height": 1280, "seed": 1234567, "expires_at": "2026-10-17T14:52:48.000Z", "moderation": { "nsfw": false } }, "error": null, "status_url": "https://api.mage.space/v1/requests/d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff/status", "cancel_url": "https://api.mage.space/v1/requests/d7e6c0f3-6699-4f6c-bb45-2ad7fd9158ff/cancel" } ``` **4. Download the output** ```bash theme={null} curl --output portrait.png "$(echo "$STATE" | jq -r .result.url)" ``` Temporary media expires 30 days after the request, at `result.expires_at`. Copy what you want to keep to your own storage. ## Cancel a request A live request stops when you `POST` to its `cancel_url`. The response is the request's state afterwards. Gems are not returned for a cancelled request. ```bash theme={null} curl --request POST \ --url "https://api.mage.space/v1/requests/$REQUEST_ID/cancel" \ --header "Authorization: Bearer $MAGE_API_KEY" ``` ## Try a video model The same call reaches every model; only the endpoint and the fields change. This one runs Plum for five seconds at 16:9. Video takes longer than an image, so poll less often. ```bash theme={null} curl --request POST \ --url https://api.mage.space/v1/plum/generate \ --header "Authorization: Bearer $MAGE_API_KEY" \ --header "Content-Type: application/json" \ --data '{ "prompt": "A slow push-in on a lighthouse at dusk, waves breaking below", "aspect_ratio": "16:9", "duration": "5" }' ``` ## Try an audio model Seed Audio generates voices, dialogue, music, and sound effects as an MP3 of exactly the `duration` you ask for, from 5 to 120 seconds. The result's `type` is `audio`, and its `url` is the MP3. ```bash theme={null} curl --request POST \ --url https://api.mage.space/v1/seed_audio/generate \ --header "Authorization: Bearer $MAGE_API_KEY" \ --header "Content-Type: application/json" \ --data '{ "prompt": "A calm narrator reading a short weather report", "duration": "10" }' ``` To voice it with a clip of your own, save the clip as an audio reference with [`POST /v1/references`](/api/endpoints/create-reference) and mention its handle in the prompt: `"@radio-host reads the forecast"`. The same field names mean the same thing on every model: `aspect_ratio` as `W:H`, `first_image` and `last_image`, `resolution`, `duration`. Each model's reference page lists its fields, the values each one accepts, its defaults, and its price at those defaults. You can also open [Playground](https://www.mage.space/playground) and select **Try this** on a model to edit the request, try it in the playground, or copy it as cURL or as code for the [TypeScript](/api/sdks/typescript) or [Python](/api/sdks/python) SDK. ## Next steps > [card] [TypeScript SDK](/api/sdks/typescript) > > Typed configs, a call that waits for the result, and safe retries. > [card] [Python SDK](/api/sdks/python) > > The same, with sync and asyncio clients. > [card] [Requests and lifecycle](/api/requests) > > Statuses, polling, idempotency keys, cancellation, and results. > [card] [Models](/api/models/overview) > > Every model with its endpoint, fields, and price. > [card] [Inputs and uploads](/api/inputs) > > Send images, video, and saved audio clips to a model. > [card] [Errors and retries](/api/errors) > > Every error code, what it means, and what to retry. # Requests and lifecycle Source: https://docs.mage.space/api/requests How a Mage API request moves from submission to result: the request object, its five statuses, how to poll, idempotency keys for safe retries, cancellation, and what the result contains. The API is asynchronous. A submit returns at once with a request object, the generation runs in the background, and the same object, read from `status_url`, reports progress and the result. ## The request object The submit response, a status read, and a cancel response all return this shape. | Field | Type | Meaning | | - | - | - | | `request_id` | string | The request's id. It is also the id in `status_url` and `cancel_url`. | | `status` | string | One of the [statuses](#statuses) below. | | `architecture` | string | The architecture the request generates with, as in the endpoint path. | | `model_id` | string or null | The model variant, when the architecture has variants. | | `created_at` | ISO 8601 | When the request was accepted. | | `updated_at` | ISO 8601 | When it last changed. | | `billing` | object | `mode` is always `gems`; `gems_charged` is the charge; `gems_refunded` appears on a failed request. | | `result` | object or null | The output once `status` is `completed`. See [the result](#the-result). | | `error` | object or null | `code` and `message` once `status` is `failed`. | | `status_url` | URL | Where to poll. | | `cancel_url` | URL | Where to `POST` to stop the request. | Use the URLs the API returns rather than building them yourself. ## Statuses | Status | Meaning | Final | | - | - | - | | `queued` | Mage accepted the request and the generation backend has not confirmed it yet. Most submit responses are already past this. | No | | `in_progress` | The generation is running. | No | | `completed` | The output is ready in `result`. | Yes | | `failed` | No output. `error` says why and `billing.gems_refunded` says what came back. See [errors](/api/errors). | Yes | | `cancelled` | The request was stopped through `cancel_url`. Gems are not returned. | Yes | Output that Mage's content policy forbids reports as `failed` with the code `content_blocked` and no URL, so you never have to inspect moderation flags to learn that a request produced nothing. When the model's external provider refused the content instead, `error` also says why in [`reason`](/api/errors#provider-blocks), and the Gems are refunded. ## Polling > [!TIP] > > The [TypeScript](/api/sdks/typescript) and [Python](/api/sdks/python) SDKs > poll this way for you: `run` submits and waits, and `requests.wait` polls a > request you already have. Poll `status_url` until the status is final. Start with a short interval, back off, and add a little jitter so a batch of requests does not poll in step. * Images usually complete within seconds; video and audio within minutes. Start at 2 seconds for an image and 5 seconds for video or audio, multiply by 1.5 after each read, and cap the interval at 15 seconds. * Set a deadline of your own for each request, generous for video and long audio, and treat a request that passes it as something to investigate rather than to resubmit. * A status read is safe to retry on a network error or a `5xx`. A `401` or `404` will not change on retry; stop and check the key and the id. ```python Python theme={null} import random import time import requests FINAL = {"completed", "failed", "cancelled"} headers = {"Authorization": f"Bearer {api_key}"} delay = 2.0 while True: response = requests.get(status_url, headers=headers, timeout=30) response.raise_for_status() # a 401 or 404 will not change; a 5xx may be retried request = response.json() if request["status"] in FINAL: break time.sleep(delay + random.uniform(0, 0.5)) delay = min(delay * 1.5, 15.0) ``` ```javascript JavaScript theme={null} const FINAL = new Set(['completed', 'failed', 'cancelled']); let delay = 2000; let request; for (;;) { const response = await fetch(statusUrl, { headers: { Authorization: `Bearer ${apiKey}` }, }); if (!response.ok) { throw new Error(`status read failed with ${response.status}`); } request = await response.json(); if (FINAL.has(request.status)) break; await new Promise((resolve) => setTimeout(resolve, delay + Math.random() * 500) ); delay = Math.min(delay * 1.5, 15000); } ``` ## Retrying a submit safely A submit charges Gems, so a client that times out while waiting for the response must not simply send it again. Send an `Idempotency-Key` header instead: a string of 1 to 255 characters of your choosing, scoped to your API key. A retried submit with the same key returns the original request with `200` and charges nothing. The key identifies the first submission made with it, whatever body a later retry carries; the body is not compared. Derive the key from the request it protects, such as a hash of the payload or a job id that maps to exactly one payload, and never reuse it for a different request. A key is consumed by the first submission Mage records under it, including one it then refuses: an error envelope that carries `request_id` means the same key will replay that failed request rather than submit a new one. Keep the key for transport retries, when you got no response at all, and use a new key for a new attempt after a refusal. The SDKs send an `Idempotency-Key` with every submission and reuse it when they retry that submission themselves; pass your own key to cover retries across processes. ## Cancelling `POST` to `cancel_url` to stop a live request. The run is marked cancelled and the generation backend is asked to stop; the response is the request's state afterwards. Gems are not returned for a cancelled request, as in the app. Cancelling a request that already completed or failed is refused with `409 request_finished`. Cancelling a request that is already cancelled does nothing and returns its state. ## The result | Field | Meaning | | - | - | | `type` | `image`, `video`, or `audio` (an MP3). | | `url` | Where to download the output. | | `width`, `height` | Dimensions in pixels; 0 for audio. | | `seed` | The seed the generation ran with. Send it back as `seed` to reproduce the output. | | `expires_at` | When `url` stops working: 30 days after the request for temporary media, or null for media saved permanently. | | `moderation.nsfw` | Whether moderation flagged the output as NSFW. Forbidden output is never returned; it reports as a failed request. | Download what you want to keep. A completed request stays `completed` after its media expires; only the URL stops working. # Python SDK Source: https://docs.mage.space/api/sdks/python Generate images, video, and audio with every Mage model from Python using the official SDK, mage-space: sync and asyncio clients, typed configs, a run call that waits for the result, safe retries, uploads, and errors. `mage-space` is the official Python client for the Mage API. It has a sync client and an asyncio client, types the config of every model, submits a generation and waits for the result in one call, and retries safely without paying twice. > [!NOTE] > > The SDK is in beta at `0.x`, so a minor version may still change it. The API > itself is versioned separately and stays stable within `v1`. ## Install ```bash theme={null} pip install mage-space ``` It needs Python 3.10 or later, and depends on `httpx` and `typing-extensions`. The package installs as `mage-space` and imports as `mage_space`. ## Quick start Create a key in [API → API Keys](https://www.mage.space/api?tab=api-keys) and export it as `MAGE_API_KEY`. ```python theme={null} from mage_space import Mage mage = Mage() # reads MAGE_API_KEY request = mage.run("mango", { "prompt": "Editorial portrait in soft daylight, 35mm film look", "aspect_ratio": "4:5", }) print(request["result"]["url"]) ``` `run` submits the generation, polls it with the backoff the API recommends, and returns the completed request. Responses are plain dictionaries shaped like the [request object](/api/requests#the-request-object). The output is at `result.url` and is kept for 30 days, so download what you want to keep. ## Async `AsyncMage` has the same methods, awaited, and works as an async context manager. ```python theme={null} import asyncio from mage_space import AsyncMage async def main() -> None: async with AsyncMage() as mage: request = await mage.run("seed_audio", {"prompt": "Rain on a tin roof", "duration": "10"}) print(request["result"]["url"]) asyncio.run(main()) ``` Its `on_update` callback may be a plain function or a coroutine function. ## Models The first argument is the model's architecture id, as in its endpoint path: `mango` for images, `cherry` for video, `seed_audio` for audio, and [every other model](/api/models/overview). `model_id` selects a variant. ```python theme={null} mage.run("mango", {"prompt": "A paper boat in a gutter stream", "model_id": "mango-v3s"}) ``` Each model has a `TypedDict` in `mage_space.types` with its fields, allowed values, and defaults. Annotate a config with it to have your type checker check it: ```python theme={null} from mage_space.types import CherryConfig config: CherryConfig = {"prompt": "A paper boat in a gutter stream", "resolution": "1080p"} mage.run("cherry", config) ``` A model released after your version of the SDK still works by its id. `mage_space.ARCHITECTURES` holds the name, output type, and request JSON Schema of every model this version knows; `mage.architectures.list()` returns the live catalog with prices. ## Submit and poll separately ```python theme={null} request = mage.generate("cherry", { "prompt": "Waves rolling onto a black sand beach at sunset", "resolution": "720p", "duration": "5", }) print(request["request_id"], request["status"]) # e.g. in_progress final = mage.requests.wait( request, timeout=900, # seconds on_update=lambda r: print(r["status"]), ) if final["status"] == "completed": print(final["result"]["url"]) ``` `wait` polls from 2 seconds, multiplies the delay by 1.5 after each read up to 15 seconds, adds jitter, and returns the final request whatever its status. Past `timeout` it raises `MageTimeoutError`, and the request keeps running on Mage. `requests.get(request_id)` reads a request once, and `requests.cancel(request_id)` stops a live one. Gems are not returned for a cancelled request. ## Inputs and uploads Media fields take an `https` URL or a data URL. For a file larger than about 3 MB, or one that is not at a public URL, upload it first and send the URL the upload returns. ```python theme={null} photo = mage.uploads.upload("photo.jpg") # a path, bytes, or a binary file object mage.run("kiwi", {"prompt": "The camera slowly pushes in", "first_image": photo["url"]}) ``` The content type comes from the file name; pass `content_type=` for raw bytes. Uploads expire after 30 days, at `url_expires_at`. See [Inputs and uploads](/api/inputs) for formats and limits. ## Characters and references ```python theme={null} ana = mage.characters.create(name="Ana", handle="ana", image="https://example.com/ana.png") coat = mage.references.create(name="Red coat", handle="red-coat", kind="outfit", image=photo["url"]) mage.run("mango", {"prompt": "@ana walking through a night market, wearing @red-coat"}) page = mage.characters.list(limit=50) while page["next_cursor"]: page = mage.characters.list(cursor=page["next_cursor"]) ``` ## Errors | Exception | When | | - | - | | `MageAPIError` | The API answered with an [error](/api/errors): `status`, `code` (such as `insufficient_gems`), `message`, `request_id`, and `body`. | | `MageGenerationError` | `run` ended with a failed or cancelled request: `code` (such as `content_blocked`, or `cancelled`) and the final `request`. | | `MageTimeoutError` | `wait` or `run` passed its `timeout`. `request` is the last state read, or `None` if none was; the request keeps running. | | `MageConnectionError` | No response at all, after retries. | | `MageError` | The base class of all of the above, also raised for a missing API key. | ```python theme={null} from mage_space import MageAPIError, MageGenerationError try: mage.run("mango", {"prompt": "A lighthouse at night"}) except MageAPIError as error: if error.code == "insufficient_gems": print("Gems needed:", error.body["error"]["gems_required"]) else: raise except MageGenerationError as error: print("No output:", error.code) ``` New error codes may appear; treat an unknown `code` by its HTTP `status`. ## Retries and idempotency Reads, cancels, deletes, and uploads are retried up to `max_retries` times (default 2) on connection errors and on `408`, `429`, and `5xx` responses, with exponential backoff. `generate` and `run` send an `Idempotency-Key` with every submission, a fresh UUID unless you pass `idempotency_key=`, and retry with the same key only when no response arrived or on a `408` or `5xx` that recorded no request. A replayed submission returns the original request and charges nothing. Pass your own key, such as a job id, to make retries across processes safe too. Creating characters and references is never retried. ## Configuration ```python theme={null} Mage( api_key=None, # default: MAGE_API_KEY base_url=None, # default: MAGE_BASE_URL, else https://api.mage.space timeout=60.0, # seconds per HTTP attempt max_retries=2, http_client=None, # your own httpx.Client (an httpx.AsyncClient for AsyncMage) ) ``` Use `with Mage() as mage:` or `mage.close()` to close the connection pool; the SDK closes only an HTTP client it created. ## Reference | Method | What it does | | - | - | | `run(model, config, ...)` | Submit a generation, wait for it, and return the completed request. | | `generate(model, config, idempotency_key=None)` | Submit a generation and return the request at once. | | `requests.get(request_id)` | Read a request's current state. | | `requests.wait(id_or_request, ...)` | Poll until the request is completed, failed, or cancelled. | | `requests.cancel(request_id)` | Stop a live request. | | `uploads.upload(data, content_type=None)` | Upload a file and return its ticket; send `ticket["url"]` in a field. | | `uploads.create(content_type=...)` | Create an upload ticket without sending a file. | | `characters.list / create / delete` | Your saved characters. | | `references.list / create / delete` | Your saved references. | | `account.get()` | Your Gems balance. | | `architectures.list()` | The live catalog: every model with its options, inputs, and price. | ## Source and releases The SDK is MIT-licensed on [GitHub](https://github.com/mage-space/mage-python) and published to [PyPI](https://pypi.org/project/mage-space/) with build attestations. Its model types come from this API reference: when the reference changes, a pull request updates them, so new models and options arrive as new releases. > [card] [TypeScript SDK](/api/sdks/typescript) > > The same API for Node.js, with typed configs. > [card] [ComfyUI](/api/integrations/comfyui) > > Every Mage model as ComfyUI nodes, built on this SDK. # TypeScript SDK Source: https://docs.mage.space/api/sdks/typescript Generate images, video, and audio with every Mage model from Node.js using the official TypeScript SDK, @mage-space/sdk: typed configs, a run call that waits for the result, safe retries, uploads, and typed errors. `@mage-space/sdk` is the official TypeScript client for the Mage API. It wraps every endpoint, types the config of every model, submits a generation and waits for the result in one call, and retries safely without paying twice. > [!NOTE] > > The SDK is in beta at `0.x`, so a minor version may still change it. The API > itself is versioned separately and stays stable within `v1`. ## Install ```bash theme={null} npm install @mage-space/sdk ``` It needs Node.js 20.19 or later, or another server runtime with `fetch`. The package is ESM-only with no runtime dependencies; Node.js 20.19 and later can also `require()` it. > [!WARNING] > > Keep your API key on your servers. The API sends no CORS headers, so browsers > cannot call it, and a key shipped to a browser can be used to spend your Gems. > Call the SDK from server code, such as a route handler or a server action. ## Quick start Create a key in [API → API Keys](https://www.mage.space/api?tab=api-keys) and export it as `MAGE_API_KEY`. ```ts theme={null} import Mage from '@mage-space/sdk'; const mage = new Mage(); // reads MAGE_API_KEY const request = await mage.run('mango', { prompt: 'Editorial portrait in soft daylight, 35mm film look', aspect_ratio: '4:5', }); console.log(request.result.url); ``` `run` submits the generation, polls it with the backoff the API recommends, and resolves to the completed request. The output is at `result.url` and is kept for 30 days, so download what you want to keep. ## Models The first argument is the model's architecture id, as in its endpoint path: `mango` for images, `cherry` for video, `seed_audio` for audio, and [every other model](/api/models/overview). `model_id` selects a variant. ```ts theme={null} const video = await mage.run('cherry', { prompt: 'Waves rolling onto a black sand beach at sunset', model_id: 'cherry-2-pro', resolution: '720p', duration: '5', }); const audio = await mage.run('seed_audio', { prompt: 'Warm lo-fi beat with vinyl crackle', duration: '30', }); ``` Every model's config is typed: your editor completes the fields and flags an option the model does not offer. The types, such as `MangoConfig` and `CherryConfig`, are exported, and `ARCHITECTURES` lists the models this version of the SDK knows. A model released after your version of the SDK still works: pass its id as a string, and the config is checked only against the fields every model shares. ## Submit and poll separately Use `generate` when you want the request id before the output is ready, for example to store it and collect the result later. ```ts theme={null} const submitted = await mage.generate('cherry', { prompt: 'Waves at dusk' }); console.log(submitted.request_id, submitted.status); // e.g. "in_progress" const final = await mage.requests.wait(submitted.request_id, { timeout: 15 * 60_000, onUpdate: (request) => console.log(request.status), }); if (final.status === 'completed') console.log(final.result?.url); ``` `requests.wait` polls from 2 seconds, multiplies the delay by 1.5 after each read up to 15 seconds, adds jitter, and resolves to the final request whatever its status. Its `timeout` also cuts short a status read in progress; the request keeps running on Mage. `requests.get(id)` reads a request once, and `requests.cancel(id)` stops a live one. Gems are not returned for a cancelled request. ## Inputs and uploads Media fields take an `https` URL or a data URL. For a file larger than about 3 MB, or one that is not at a public URL, upload it first and send the URL the upload returns. ```ts theme={null} import { readFile } from 'node:fs/promises'; const clip = await mage.uploads.upload(await readFile('clip.mp4'), { contentType: 'video/mp4', }); await mage.run('cherry', { prompt: 'Restyle this clip as a watercolor painting', videos: [clip.url], }); ``` `upload` creates the ticket, checks the size, and sends the file with the headers storage expects. It takes a `Blob`, an `ArrayBuffer`, or a typed array such as a `Buffer`; a `Blob` supplies its own content type. Uploads expire after 30 days, at `clip.url_expires_at`. See [Inputs and uploads](/api/inputs) for formats and limits. ## Characters and references Save a character or a reference once, then mention its `@handle` in any prompt. ```ts theme={null} await mage.characters.create({ name: 'Ana', handle: 'ana', image: 'https://example.com/ana.png', }); await mage.run('mango', { prompt: '@ana walking through a night market' }); const page = await mage.characters.list({ limit: 50 }); // Pass page.next_cursor as cursor to read the next page. ``` `mage.references` works the same way for objects, locations, poses, outfits, and audio clips. ## Errors | Error | When | | - | - | | `MageAPIError` | The API answered with an [error](/api/errors). It has `status`, `code` (such as `insufficient_gems`), `message`, and `requestId`. Treat an unknown `code` by its `status`. | | `MageGenerationError` | `run` finished with a failed or cancelled request. It has `code` (such as `content_blocked`, or `cancelled`) and `request`. | | `MageTimeoutError` | `wait` or `run` reached its `timeout`. `request` is the last state read, or `null` if none was; the request keeps running. | | `MageConnectionError` | No response arrived, after retrying. | | `MageError` | The base class of all of the above, also thrown for a missing API key. | ```ts theme={null} import Mage, { MageAPIError, MageGenerationError } from '@mage-space/sdk'; const mage = new Mage(); try { await mage.run('mango', { prompt: 'A lighthouse at night' }); } catch (error) { if (error instanceof MageAPIError && error.code === 'insufficient_gems') { // Top up Gems, then try again. } else if (error instanceof MageGenerationError) { console.log('No output:', error.code); } else { throw error; } } ``` ## Retries and idempotency Reads, cancels, deletes, and uploads are retried up to twice on network errors and on `408`, `429`, and `5xx` responses, with exponential backoff. `generate` and `run` send an `Idempotency-Key` with every submission, so a retried submission is never charged twice. The SDK makes a new key per call and reuses it when it retries that call itself, which it does only when no response arrived or on a `408` or `5xx` that recorded no request. Pass your own key to make retries across processes safe too; see [Retrying a submit safely](/api/requests#retrying-a-submit-safely). ```ts theme={null} await mage.generate( 'mango', { prompt: 'A lighthouse' }, { idempotencyKey: `job-${job.id}` } ); ``` Creating a character or a reference is never retried. ## Configuration ```ts theme={null} const mage = new Mage({ apiKey: process.env.MAGE_API_KEY, // default: MAGE_API_KEY baseURL: 'https://api.mage.space', // default: MAGE_BASE_URL, then this timeout: 60_000, // per HTTP attempt, in milliseconds maxRetries: 2, fetch: customFetch, // default: the global fetch }); ``` Every method also takes a `signal` to abort it. ## Reference | Method | What it does | | - | - | | `run(model, config, options?)` | Submit a generation, wait for it, and return the completed request. | | `generate(model, config, options?)` | Submit a generation and return the request at once. | | `requests.get(id)` | Read a request's current state. | | `requests.wait(idOrRequest, options?)` | Poll until the request is completed, failed, or cancelled. | | `requests.cancel(id)` | Stop a live request. | | `uploads.upload(data, options?)` | Upload a file and return its ticket; send `ticket.url` in a media field. | | `uploads.create({ content_type })` | Create an upload ticket without sending a file. | | `characters.list / create / delete` | Your saved characters. | | `references.list / create / delete` | Your saved references. | | `account.get()` | Your Gems balance. | | `architectures.list()` | The live catalog: every model with its options, inputs, and price. | ## Source and releases The SDK is MIT-licensed on [GitHub](https://github.com/mage-space/mage-typescript) and published to [npm](https://www.npmjs.com/package/@mage-space/sdk). Its model types come from this API reference: when the reference changes, a pull request updates them, so new models and options arrive as new releases. Each release is published with npm provenance, and its changes are in the repository's changelog. > [card] [Python SDK](/api/sdks/python) > > The same API for Python, with sync and asyncio clients. > [card] [ComfyUI](/api/integrations/comfyui) > > Every Mage model as ComfyUI nodes. # Versioning and changes Source: https://docs.mage.space/api/versioning How the Mage API changes over time: what ships within v1, what waits for v2, how deprecations are announced, and what a client must tolerate. The version is in the path: every endpoint lives under `/v1`. Within a version, changes are additive; a change that would break an existing client ships as a new version while the old one keeps working. ## What ships within a version * New endpoints. * New optional request fields, and new option tokens on existing fields. * New response fields, and new models in the catalog. * New error codes. ## What waits for a new version * Removing or renaming a field, an endpoint, or a status. * Changing a field's type or meaning. * Tightening validation so that a request that was accepted is refused. ## What a client must tolerate * Ignore response fields you do not know. * Treat an error code you do not know by its HTTP status. * Expect the catalog to change: models appear when they launch, and a retired one answers `410 architecture_retired`. * The set of statuses is fixed within a version. ## Deprecation When a version is scheduled to retire, its responses carry `Deprecation` and `Sunset` headers for at least six months before the date, and the date is announced in the [release notes](/release-notes). Nothing is deprecated today. # Angles: view any image from a new camera angle Source: https://docs.mage.space/apps/angles View any image from a new camera angle. Pick an elevation and orientation to regenerate the same scene from a different viewpoint in one click. View any image from a new camera angle. Pick an elevation and orientation to regenerate the same scene from a different viewpoint in one click. It runs on Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2. ## Overview | Detail | | | - | - | | Category | Edit | | Inputs | 1 image | | Accepts | image | | Runs on | Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2 | | Open | [mage.space/apps/angles](https://www.mage.space/apps/angles) | ## What Angles is for * Product shots that need several viewpoints of one item * Coverage of a scene for a sequence or a storyboard * A second angle on a composition you already like ## How to use Angles 1. Open Angles and upload your image. 2. Choose the viewpoint you want. 3. Run it, then check that details on the far side of the subject are plausible rather than invented. ## Limitations * The model is inferring what the unseen side of the scene looks like. The further you move the camera, the more of the result is invention. * Small angle changes are reliable. A full reverse angle usually is not. # Character Builder: Attributes Source: https://docs.mage.space/apps/character-builder-attributes Create unique AI characters from preset attributes — appearance, style, mood, and setting — and reuse them across image and video generations. Create unique AI characters from preset attributes — appearance, style, mood, and setting — and reuse them across image and video generations. It runs on Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2. ## Overview | Detail | | | - | - | | Category | Create | | Inputs | No input image needed | | Accepts | No upload | | Output | A Character you can reuse anywhere Characters are supported | | Runs on | Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2 | | Open | [mage.space/apps/character-builder-attributes](https://www.mage.space/apps/character-builder-attributes) | ## What Character Builder: Attributes is for * A character you can describe as a list of traits ## How to use Character Builder: Attributes 1. Open Character Builder. 2. Set the attributes. Anything you leave alone is chosen for you. 3. Generate and adjust until the character is right. 4. Save it and name it. That name becomes the @ handle you use in prompts. ## Limitations * The attributes are fixed lists, so anything outside them cannot be specified here. For a look the presets do not reach, Muse works from references instead. # Character Builder: Muse Source: https://docs.mage.space/apps/character-builder-muse Build one-of-a-kind AI characters by exploring references and starter images. Build one-of-a-kind AI characters by exploring references and starter images. It runs on Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2. ## Overview | Detail | | | - | - | | Category | Create | | Inputs | Starter images or your own references | | Accepts | No upload | | Output | A Character you can reuse anywhere Characters are supported | | Runs on | Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2 | | Open | [mage.space/apps/character-builder-muse](https://www.mage.space/apps/character-builder-muse) | ## What Character Builder: Muse is for * A look you can recognize but cannot describe * Discovering a character rather than specifying one ## How to use Character Builder: Muse 1. Open Muse. 2. Start from references or starter images. 3. Refine, steering toward what you want. 4. Save and name the character when it is right. ## Limitations * Slower than building from attributes, because refining is the method. * Only build characters from references you have the right to use. # Character Sheet: a full turnaround from one image Source: https://docs.mage.space/apps/character-sheet Turn one character image into a reference sheet with a face close-up, front, three-quarter, side, and back views, and detail panels, then save it as a Character. Turn one image of a character into a full reference sheet: a large face close-up, front, three-quarter, side, and back views, and close-ups of the hair, the outfit, and the most distinctive detail. Every panel shows the same character in the style of the image you added, and you can save the sheet as a Character. ## Overview | Detail | | | - | - | | Category | Create | | Inputs | 1 image of the character, plus optional details | | Accepts | image | | Output | One wide 16:9 sheet, 2K by default | | Runs on | Mango 4 by default; Mango 3, Mango 3 Turbo, the Guava and Seedream lines, and several others | | Open | [mage.space/apps/character-sheet](https://www.mage.space/apps/character-sheet) | ## What Character Sheet is for * One reference that holds a character from every angle, for consistent generations * Turnaround views to draw or model from, for comics and games * Trying a costume idea in every view before you commit to it ## How to use Character Sheet **1. Add a character image** Upload a JPEG or PNG up to 30 MB, drop it on the page, or pick one of your creations. **2. Add details, if you like** Under Details, list accessories, clothing, or features to add as short phrases, such as "a silver circlet, a long red cape". Leave it empty to keep the character exactly as shown. **3. Make the sheet** The price in Gems shows on the Make Sheet button. The sheet lands in History; press Create Character to save it with an `@handle`, or download, share, or remix it. ## Tips * A full-body image in a simple pose gives the best sheet, because every view has to repeat the outfit, shoes, and build. * The style carries over: a photo gives a sheet of photos, and an illustration gives an illustrated sheet. * A sheet saved as a [Character](/features/characters) gives later generations more to work from than a single portrait. ## Limitations * From a portrait, the sheet has to invent everything below the shoulders. * Each sheet is priced in Gems. The price depends on the model and resolution. # Character Swap: replace a character in an image Source: https://docs.mage.space/apps/character-swap Replace an entire character in an image while preserving the scene, powered by AI. Replace an entire character in an image while preserving the scene, powered by AI. It runs on Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2. ## Overview | Detail | | | - | - | | Category | Swap | | Inputs | 1 image plus a character | | Accepts | image | | Runs on | Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2 | | Open | [mage.space/apps/character-swap](https://www.mage.space/apps/character-swap) | ## What Character Swap is for * Putting a Character you built into a scene you already like * Reusing one good composition across several characters * Cases where Face Swap produced a visible join ## How to use Character Swap 1. Open Character Swap and upload the image whose scene you want to keep. 2. Upload an image of the replacement character. 3. Run it and check that the lighting on the new subject matches the room. If it does not, Relight will fix it. ## Limitations * The same consent rule applies as for Face Swap. * It keeps the composition, which means it also keeps the original pose. If you need a different pose, generate rather than swap. # Face Swap: swap faces between two images Source: https://docs.mage.space/apps/face-swap Swap faces between two images seamlessly with AI-powered face detection and blending. Swap faces between two images seamlessly with AI-powered face detection and blending. It runs on Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2. ## Overview | Detail | | | - | - | | Category | Swap | | Inputs | 2 images: the image to change and the face to use | | Accepts | image | | Runs on | Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2 | | Open | [mage.space/apps/face-swap](https://www.mage.space/apps/face-swap) | ## What Face Swap is for * Putting a character you built into a scene you generated separately * Consistency fixes where one image in a set came out slightly off * Your own likeness in your own compositions ## How to use Face Swap 1. Open Face Swap and upload the image you want to change. 2. Upload the face you want to use. 3. Run it, then check the edges around the hairline and jaw, which is where a swap shows first. ## Limitations * Generating a recognizable real person without their consent is not permitted on Mage. See the content rules. * It swaps the face only, so the head shape stays. Very different face shapes, strong angles, or heavy occlusion produce visible seams. Character Swap replaces the whole subject and handles those cases better. # Image Enhancer: upscale any image up to 6K Source: https://docs.mage.space/apps/image-enhancer Upscale and refine any image with AI. Supports up to 6K resolution with enhanced detail and quality. Upscale and refine any image with AI. Supports up to 6K resolution with enhanced detail and quality. ## Overview | Detail | | | - | - | | Category | Enhance | | Inputs | 1 image | | Accepts | image | | Output | 2K, 4K, or 6K | | Open | [mage.space/apps/image-enhancer](https://www.mage.space/apps/image-enhancer) | 2K runs unlimited from Pro, 4K from Pro Plus, and 6K on Max. Every setting also runs on Gems. ## What Image Enhancer is for * Print work, posters, and wall art * Print-on-demand products * Stock library submissions, which reject low-resolution files * Rescuing an older generation that was made at a smaller size ## How to use Image Enhancer 1. Open Image Enhancer and upload your image. 2. Set the output size you need. 3. Run it. Larger targets take longer. 4. Check the result at 100% before you use it. Upscaling makes flaws bigger too. ## Limitations * An upscale enlarges what the generation already made; it cannot recover detail that was never there. Fix a soft image at generation time, then enhance. * If the subject is a person, run Skin Enhancer as well. Upscaling alone tends to make skin look waxy. # Inpaint: edit part of an image with a mask Source: https://docs.mage.space/apps/inpaint Edit specific areas of any image with a mask and prompt. Paint over the region you want to change and describe what should replace it. Edit specific areas of any image with a mask and prompt. Paint over the region you want to change and describe what should replace it. It runs on Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2. ## Overview | Detail | | | - | - | | Category | Edit | | Inputs | 1 image plus a mask and a prompt | | Accepts | image | | Runs on | Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2 | | Open | [mage.space/apps/inpaint](https://www.mage.space/apps/inpaint) | ## What Inpaint is for * Fixing hands, which is where image models fail most often * Removing an object without recomposing the shot * Changing one element while a set stays consistent * Adding something the original prompt missed ## How to use Inpaint 1. Open Inpaint and upload your image. 2. Mask the region you want changed. Mask slightly wider than the object itself, so the model has room to blend. 3. Describe what should be there. An empty wooden table works better than remove the cup. 4. Run it. If the join shows, re-mask a little wider and try again. ## Limitations * Masking too tightly is the most common mistake. The model needs surrounding context to match lighting and texture. * It edits, it does not restructure. A change to the composition or the perspective needs a new generation. # Lipsync: make any subject speak an audio clip Source: https://docs.mage.space/apps/lipsync Make any subject speak an audio clip from a single image. Lip movements sync to the audio with natural expressions, powered by Plum, Cherry, or Blueberry. Make any subject speak an audio clip from a single image. Lip movements sync to the audio with natural expressions, powered by Plum, Cherry, or Blueberry. It runs on Plum, Plum Max, Plum Fast, Lemon, Wan 3.0, the Cherry line, the Seedance line, Blueberry, or Blueberry 2. ## Overview | Detail | | | - | - | | Category | Video | | Inputs | 1 subject image plus an audio clip | | Accepts | image | | Runs on | Plum, Plum Max, Plum Fast, Lemon, Wan 3.0, the Cherry line, the Seedance line, Blueberry, or Blueberry 2 | | Open | [mage.space/apps/lipsync](https://www.mage.space/apps/lipsync) | ## What Lipsync is for * Talking-head clips from a single portrait * Giving a Character a voice and a face at once * Narration and dialogue over a still ## How to use Lipsync 1. Generate or choose the image of your subject. 2. Supply the audio. Seed Audio will generate a clip if you do not have a recording. 3. Open Lipsync, upload both, pick a model, and run it. 4. Check the mouth against the audio at full speed. ## Limitations * The subject needs to be facing the camera with the mouth visible. Profiles and heavy occlusion do not work. * Only use voices and likenesses you have the right to use. # Magejutsu: recast a video you already have Source: https://docs.mage.space/apps/magejutsu Magejutsu recasts an existing video with your characters, outfits, places, and products, keeping the motion, camera, cuts, timing, and sound as filmed. Magejutsu recasts a video you already have. Bring a clip and photos of who or what should be in it, and it rebuilds the cast or swaps one thing while the motion, camera, cuts, timing, and sound stay as filmed. A director model watches your clip first and writes the edit, so you can start without a prompt. ## Overview | Detail | | | - | - | | Category | Video | | Inputs | 1 source video plus up to 30 reference images | | Accepts | video, image, and your saved Characters and References | | Runs on | Magejutsu, Magejutsu Lite, or Magejutsu Feather | | Price | Gems on every plan; the Generate button shows the total before you run | | Open | [mage.space/apps/magejutsu](https://www.mage.space/apps/magejutsu) | ## What Magejutsu is for * Putting yourself, a saved character, or a client into an existing clip * Music videos, dance trends, ads, and short films where the performance already exists * Changing an outfit, a product, or a location without reshooting * Replacing [Motion Control](/models/pear-motion-control), which Magejutsu supersedes ## Modes | Mode | What it does | | - | - | | Motion transfer | Keeps only the motion: the camera, cuts, and timing stay, and your references play every part | | Object swap | Changes only what you point at, such as a person, an outfit, or a product, and keeps the rest as filmed | ## How to use Magejutsu **1. Add a source video** Upload a clip of 4 to 30 seconds (4 to 15 on Lite and Feather), pick one of your creations, or press Remix on a clip in the motion library. **2. Add references** Add up to 30 images: characters, outfits, props, and places. Upload photos, or choose From your creations, From your characters, or From your references in the reference picker. **3. Add directions, or don't** Directions are off by default, and the director decides who goes where. Turn them on to say what changes, mentioning references as `@image1` or, for a Character you added in the picker, its `@handle`. **4. Generate** The recast keeps the clip's length, aspect ratio, cuts, and sound. It lands in History, ready to download, share, or remix. ## Which model to pick | Model | Source length | Resolutions | Best for | | - | - | - | - | | Magejutsu | 4 to 30 s | 480p, 720p, 1080p | The best recasts and the longest sources | | Magejutsu Lite | 4 to 15 s | 480p, 720p, 1080p | Faster and cheaper, with fewer references reaching the render | | Magejutsu Feather | 4 to 15 s | 480p, 720p | The cheapest and fastest, for motion transfer only | See the [Magejutsu model page](/models/magejutsu) for what each model supports. ## Tips * One clear, front-lit photo per person is enough. Map each reference to its subject by position, such as "image 1 is the person on the left". * A clip with a clearly visible subject and steady framing recasts best. * Remixing a Magejutsu creation reuses its motion and settings, never its reference images. ## Limitations * A source clip is required. Magejutsu edits footage; it does not invent it. * The price follows the clip's length and the resolution you pick, and it is paid in Gems on every plan. * You need permission for the footage and for any likeness in it, as with every face-editing tool on Mage. See [likeness and reports](/policy/likeness-and-reports). # Music Video: make your characters perform a song Source: https://docs.mage.space/apps/music-video Make your characters perform a music video to any audio track. Performers sing and dance in sync with the music with cinematic camera work, powered by Plum or Cherry. Make your characters perform a music video to any audio track. Performers sing and dance in sync with the music with cinematic camera work, powered by Plum or Cherry. It runs on Plum, Plum Max, Plum Fast, Lemon, Wan 3.0, the Cherry line, or the Seedance line. ## Overview | Detail | | | - | - | | Category | Video | | Inputs | 1 to 3 performers, up to 3 reference images, and an audio track | | Accepts | image | | Runs on | Plum, Plum Max, Plum Fast, Lemon, Wan 3.0, the Cherry line, or the Seedance line | | Open | [mage.space/apps/music-video](https://www.mage.space/apps/music-video) | ## What Music Video is for * Music and performance clips with a recurring character * Short-form content for a character you have built * Turning a track into something visual ## How to use Music Video 1. Build the Character you want as the lead performer. Add up to 2 more if the scene needs them. 2. Supply your audio track. 3. Open Music Video, set it up, and generate. 4. For a specific dance rather than a generated one, use Motion Control instead and supply a reference video. ## Limitations * The movement is generated, so you do not control the choreography. Motion Control is the tool when the movement has to be a specific one. * Use audio you have the right to use. Mage's usage rights cover what you generate, not music you did not license. # Outfit Swap: change clothing and keep the person Source: https://docs.mage.space/apps/outfit-swap Swap clothing, footwear, and accessories onto a subject while preserving the person and scene. Swap clothing, footwear, and accessories onto a subject while preserving the person and scene. It runs on Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2. ## Overview | Detail | | | - | - | | Category | Swap | | Inputs | 1 image plus an outfit | | Accepts | image | | Runs on | Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2 | | Open | [mage.space/apps/outfit-swap](https://www.mage.space/apps/outfit-swap) | ## What Outfit Swap is for * Showing one garment on a consistent model * Building a set from a single strong composition * Fashion and retail work where the pose has to stay constant ## How to use Outfit Swap 1. Open Outfit Swap and upload the image of your subject. 2. Supply the outfit you want applied. 3. Run it. Check where the garment meets skin, which is where the join shows. 4. For an outfit you will reuse across many images, set it up as a Reference instead and call it by name in your prompts. ## Limitations * Complex garments, sheer fabric, and unusual layering are harder than a simple silhouette. * For a consistent outfit across a whole series, References work better than repeated swaps. # Apps on Mage for editing, swapping, and video Source: https://docs.mage.space/apps/overview The purpose-built apps on Mage for enhancing, editing, swapping, creating characters, and making video, each with what it does and where to open it. Apps are focused tools built on top of the models. Each one takes a specific input, such as an image, a video, or a Character, and does one job well. Open any of them from the [Apps page on mage.space](https://www.mage.space/apps). Each app opens as a studio with tabs for the result, your History, a gallery, and How it works, and shows what a run costs before you start it. ## Enhance | App | What it does | Open | | - | - | - | | [Image Enhancer](/apps/image-enhancer) | Upscale and refine any image to higher quality | [mage.space/apps/image-enhancer](https://www.mage.space/apps/image-enhancer) | | [Video Enhancer](/apps/video-enhancer) | Upscale and refine any video to higher quality | [mage.space/apps/video-enhancer](https://www.mage.space/apps/video-enhancer) | | [Skin Enhancer](/apps/skin-enhancer) | Enhance skin texture and detail in any portrait | [mage.space/apps/skin-enhancer](https://www.mage.space/apps/skin-enhancer) | ## Edit | App | What it does | Open | | - | - | - | | [Inpaint](/apps/inpaint) | Edit specific areas of any image with a mask and prompt | [mage.space/apps/inpaint](https://www.mage.space/apps/inpaint) | | [Relight](/apps/relight) | Change the lighting direction and mood of any image | [mage.space/apps/relight](https://www.mage.space/apps/relight) | | [Refine](/apps/refine) | Make focused improvements to any image with a prompt | [mage.space/apps/refine](https://www.mage.space/apps/refine) | | [Angles](/apps/angles) | View any image from a new camera angle | [mage.space/apps/angles](https://www.mage.space/apps/angles) | ## Swap | App | What it does | Open | | - | - | - | | [Video Face Swap](/apps/video-face-swap) | Swap a face into any video seamlessly | [mage.space/apps/video-face-swap](https://www.mage.space/apps/video-face-swap) | | [Video Character Swap](/apps/video-character-swap) | Swap an entire character into any video seamlessly | [mage.space/apps/video-character-swap](https://www.mage.space/apps/video-character-swap) | | [Face Swap](/apps/face-swap) | Swap faces between two images seamlessly | [mage.space/apps/face-swap](https://www.mage.space/apps/face-swap) | | [Character Swap](/apps/character-swap) | Replace an entire character while preserving the original scene | [mage.space/apps/character-swap](https://www.mage.space/apps/character-swap) | | [Outfit Swap](/apps/outfit-swap) | Swap an outfit onto a subject while preserving the person | [mage.space/apps/outfit-swap](https://www.mage.space/apps/outfit-swap) | ## Create | App | What it does | Open | | - | - | - | | [Character Builder: Attributes](/apps/character-builder-attributes) | Create unique AI characters from preset attributes | [mage.space/apps/character-builder-attributes](https://www.mage.space/apps/character-builder-attributes) | | [Character Builder: Muse](/apps/character-builder-muse) | Explore and refine unique AI characters from starter images | [mage.space/apps/character-builder-muse](https://www.mage.space/apps/character-builder-muse) | | [Character Sheet](/apps/character-sheet) | Turn one character image into a full reference sheet | [mage.space/apps/character-sheet](https://www.mage.space/apps/character-sheet) | | [Recreate](/apps/recreate) | Browse and recreate from a wide range of references | [mage.space/apps/recreate](https://www.mage.space/apps/recreate) | ## Video | App | What it does | Open | | - | - | - | | [Magejutsu](/apps/magejutsu) | Recast any video with your characters, places, and products | [mage.space/apps/magejutsu](https://www.mage.space/apps/magejutsu) | | [Video Editor](/apps/video-editor) | Edit any video with a prompt and reference images | [mage.space/apps/video-editor](https://www.mage.space/apps/video-editor) | | [Lipsync](/apps/lipsync) | Make any subject speak an audio clip from a single image | [mage.space/apps/lipsync](https://www.mage.space/apps/lipsync) | | [Music Video](/apps/music-video) | Make your characters perform a music video to any track | [mage.space/apps/music-video](https://www.mage.space/apps/music-video) | | [Scene Builder](/apps/scene-builder) | Easily build video scenes with two characters | [mage.space/apps/scene-builder](https://www.mage.space/apps/scene-builder) | To generate something from scratch, use the model picker instead. See [which model should I use](/models/which-model-should-i-use). # Recreate: generate from a library of references Source: https://docs.mage.space/apps/recreate Browse and recreate from a wide range of references. Browse and recreate from a wide range of references. ## Overview | Detail | | | - | - | | Category | Create | | Inputs | Nothing. It gives back a prompt. | | Accepts | No upload | | Output | A prompt to take into the model picker | | Open | [mage.space/apps/recreate](https://www.mage.space/apps/recreate) | ## Browse by Featured, People, Nature, Animals, Architecture, Food, Fashion, Abstract, Art, Cinematic, Surreal, Random. ## What Recreate is for * Starting from a look rather than a description * Learning what prompt produces a style you like * Producing variations on an established treatment ## How to use Recreate 1. Open Recreate and browse, or filter by category. 2. Find an image close to what you want. 3. Click Recreate. It generates a prompt from that image. 4. Take the prompt into the model picker and generate from there. ## Limitations * It gives you a prompt, so the generation still happens on whichever model you take it to. Results differ between models even from the same prompt. # Refine: make focused improvements to any image Source: https://docs.mage.space/apps/refine Make focused improvements to any image with preset prompts or your own refinement instructions. Make focused improvements to any image with preset prompts or your own refinement instructions. It runs on Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2. ## Overview | Detail | | | - | - | | Category | Edit | | Inputs | 1 image | | Accepts | image | | Runs on | Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2 | | Open | [mage.space/apps/refine](https://www.mage.space/apps/refine) | ## What Refine is for * Adding detail to a generation that came out flat * Small quality improvements without recomposing * A quick pass before enhancing ## How to use Refine 1. Open Refine and upload your image. 2. Pick a preset, or write your own instruction. 3. Run it and compare against the original. ## Limitations * Refine works across the whole image. For one specific area with everything else preserved, use Inpaint. * It improves execution. It will not reframe a shot or fix a subject that came out wrong. # Relight: change the lighting of any photo Source: https://docs.mage.space/apps/relight Change the lighting direction, intensity, and mood of any photo with AI. Cinematic lighting in one click. Change the lighting direction, intensity, and mood of any photo with AI. Cinematic lighting in one click. It runs on Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2. ## Overview | Detail | | | - | - | | Category | Edit | | Inputs | 1 image | | Accepts | image | | Runs on | Mango, Guava, Seedream, GPT Image 2, or Nano Banana 2 | | Open | [mage.space/apps/relight](https://www.mage.space/apps/relight) | ## What Relight is for * Matching a subject to a scene it was composited into * Turning a flat generation into something with direction and depth * Trying several looks from one good composition * Fixing lighting after Character Swap or Face Swap ## How to use Relight 1. Open Relight and upload your image. 2. Set the direction and mood you want. 3. Run it. Check that shadows on the subject agree with shadows in the background. ## Limitations * It relights what is there and cannot invent detail the original exposure lost. * Strong changes of direction can look wrong on a subject whose original shadows are still visible in reflections or on the ground. # Scene Builder: make a two-character video scene Source: https://docs.mage.space/apps/scene-builder Build a two-character video scene from character images, presets, and custom prompts. Build a two-character video scene from character images, presets, and custom prompts. It runs on the Cherry line, the Seedance line, Lemon, Wan 3.0, or Raspberry. ## Overview | Detail | | | - | - | | Category | Video | | Inputs | 2 character images plus a prompt | | Accepts | image | | Runs on | the Cherry line, the Seedance line, Lemon, Wan 3.0, or Raspberry | | Open | [mage.space/apps/scene-builder](https://www.mage.space/apps/scene-builder) | ## What Scene Builder is for * Dialogue and interaction between 2 characters * Any scene where both subjects must stay recognizable * Story work with a recurring pair ## How to use Scene Builder 1. Open Scene Builder. 2. Supply your 2 character images. 3. Choose a preset, or write your own prompt. 4. Generate. ## Limitations * 2 characters is the limit. For a single character, generate on a video model that supports Characters directly. * Physical interaction between 2 generated subjects is the hardest case in video generation. Expect more retries than a single-subject clip. # Skin Enhancer: natural skin detail in portraits Source: https://docs.mage.space/apps/skin-enhancer Enhance skin texture and detail in portraits with AI for natural, high-quality results. Enhance skin texture and detail in portraits with AI for natural, high-quality results. ## Overview | Detail | | | - | - | | Category | Enhance | | Inputs | 1 portrait | | Accepts | image | | Output | 2K or 4K | | Open | [mage.space/apps/skin-enhancer](https://www.mage.space/apps/skin-enhancer) | 2K runs unlimited from Pro and 4K from Pro Plus. Every setting also runs on Gems. ## Modes | Mode | Use it for | | - | - | | Realistic Skin | A natural default. Start here. | | Soft Skin | Beauty and fashion, where some smoothing is the intent. | | Imperfect Skin | Documentary and editorial looks, with visible pores and unevenness. | ## What Skin Enhancer is for * Fixing the smooth, plastic look photoreal models produce at high settings ## How to use Skin Enhancer 1. Open Skin Enhancer and upload your portrait. 2. Pick a mode. 3. Run it and compare against the original at 100%. 4. If you are also upscaling, run Skin Enhancer first and Image Enhancer second. ## Limitations * It is built for portraits, so on a wide shot where the face is small it has little to work with. * It changes texture only. A face that came out wrong stays wrong. # Video Character Swap: replace a character in video Source: https://docs.mage.space/apps/video-character-swap Swap an entire character — face, outfit, and body — into any video while preserving the original motion, camera, and background. Swap an entire character — face, outfit, and body — into any video while preserving the original motion, camera, and background. It runs on Berry, the Cherry line, the Seedance line, Lemon, Wan 3.0, Plum, Plum Max, or Plum Fast. ## Overview | Detail | | | - | - | | Category | Swap | | Inputs | 1 video plus a Character | | Accepts | video | | Runs on | Berry, the Cherry line, the Seedance line, Lemon, Wan 3.0, Plum, Plum Max, or Plum Fast | | Open | [mage.space/apps/video-character-swap](https://www.mage.space/apps/video-character-swap) | ## What Video Character Swap is for * Putting a character you have already built into footage that exists, body and styling included ## How to use Video Character Swap 1. Open the app and upload the video you want to change. 2. Pick the Character to swap in. Build one first with Character Builder if you do not have one. 3. Generate, and check the result at full size before you use it. ## Limitations * The swap follows the motion in the source clip, so it works best when the original subject is clearly visible. * You need permission for the footage and for any likeness in it. # Video Editor: edit any video with a prompt Source: https://docs.mage.space/apps/video-editor Edit any video with a prompt and reference images. Describe the change and it is applied across every frame while preserving the original motion and composition. Edit any video with a prompt and reference images. Describe the change and it is applied across every frame while preserving the original motion and composition. It runs on Berry, the Cherry line, the Seedance line, Grok Video, Lemon, Wan 3.0, Plum, Plum Max, or Plum Fast. ## Overview | Detail | | | - | - | | Category | Video | | Inputs | 1 video, a prompt, and optional reference images | | Accepts | video | | Runs on | Berry, the Cherry line, the Seedance line, Grok Video, Lemon, Wan 3.0, Plum, Plum Max, or Plum Fast | | Open | [mage.space/apps/video-editor](https://www.mage.space/apps/video-editor) | ## What Video Editor is for * Changing the look of a clip you already have * Applying a style or a subject across footage * Editing without a timeline ## How to use Video Editor 1. Open Video Editor and upload your video. 2. Attach reference images if the change involves a specific subject, object, or look. 3. Describe the change. 4. Generate. Watch the whole clip back rather than judging on a frame. ## Limitations * Grok Video is run by xAI and carries xAI's content filter, which Mage cannot override. * Prompt-based editing is not as precise as a timeline. For an exact cut or a specific frame range, generate the shot rather than editing it. # Video Enhancer: upscale any video up to 1080p Source: https://docs.mage.space/apps/video-enhancer Upscale and refine any video with AI. Supports up to 1080p resolution with enhanced detail. Upscale and refine any video with AI. Supports up to 1080p resolution with enhanced detail. ## Overview | Detail | | | - | - | | Category | Enhance | | Inputs | 1 video | | Accepts | video | | Output | 720p, 1080p, or 1440p | | Open | [mage.space/apps/video-enhancer](https://www.mage.space/apps/video-enhancer) | 720p runs unlimited from Pro Plus; 1080p and 1440p run unlimited on Max. Every setting also runs on Gems. ## What Video Enhancer is for * Finishing a clip generated at 480p * Social and client delivery, which expect 1080p * Cleaning up noise in a fast-generated clip ## How to use Video Enhancer 1. Open Video Enhancer and upload your clip. 2. Set the output resolution. 3. Run it. Video takes considerably longer than images. 4. Watch the whole clip back before delivering it. Upscaling can introduce flicker that a still frame will not show. ## Limitations * Enhancing does not fix motion problems. If limbs or faces distort during the clip, regenerate the shot. # Video Face Swap: put a new face into any video Source: https://docs.mage.space/apps/video-face-swap Swap a face into any video seamlessly. The new identity is applied to every frame while preserving the original pose, motion, expressions, and lip movements. Swap a face into any video seamlessly. The new identity is applied to every frame while preserving the original pose, motion, expressions, and lip movements. It runs on Berry, the Cherry line, the Seedance line, Lemon, Wan 3.0, Plum, Plum Max, or Plum Fast. ## Overview | Detail | | | - | - | | Category | Swap | | Inputs | 1 video plus the face to swap in | | Accepts | video | | Runs on | Berry, the Cherry line, the Seedance line, Lemon, Wan 3.0, Plum, Plum Max, or Plum Fast | | Open | [mage.space/apps/video-face-swap](https://www.mage.space/apps/video-face-swap) | ## What Video Face Swap is for * Putting a Character you built into a clip * Consistency across a sequence where the face drifted * Your own likeness in your own footage ## How to use Video Face Swap 1. Open Video Face Swap and upload your video. 2. Choose the face or Character you want swapped in. 3. Run it, then watch the full clip back. A swap that looks right in one frame can break during fast motion. ## Limitations * Generating a recognizable real person without their consent is not permitted. See the content rules. * Fast motion, profile turns, and partial occlusion are where video swaps fail. Shorter clips with a steadier subject hold up better. # Character Voices and audio references Source: https://docs.mage.space/features/character-voices Attach a voice to a Character and reuse it across video generations on Mage, or steer a clip's audio with an audio reference. Which models support each. Character Voices does for a voice what Characters does for a face. A Character can carry a voice, and the video models that support voices use it when the Character speaks. Audio references are the related feature: an audio file you attach to a generation to steer the sound. ## Which models support Character Voices | Model | Character Voices | Audio references | | - | - | - | | Cherry line | Yes | 3 | | Lemon | Yes | 5 | | MiniMax-H3 | Yes | 3 | | Plum, Plum Max, Plum Fast | Yes | 3 | | Raspberry | Yes | No | | Seedance line | Yes | 3 | | Wan 3.0 | Yes | 5 | ## Which models take audio references | Model | Audio references | Character Voices | | - | - | - | | Blueberry and Blueberry 2 | 1 | No | | Cherry line | 3 | Yes | | Lemon | 5 | Yes | | MiniMax-H3 | 3 | Yes | | Plum, Plum Max, Plum Fast | 3 | Yes | | Seed Audio | 3 | No | | Seedance line | 3 | Yes | | Wan 3.0 | 5 | Yes | On Cherry and Seedance, audio references and Character Voices share the same slots. ## Three different things | Feature | What it does | | - | - | | Character Voices | A voice attached to a Character, reused across clips on the models above | | Audio references | An audio file attached to one generation to steer its sound | | Audio generation | A separate generation on Seed Audio for voices, music, or sound effects, up to 120 seconds | ## Limitations * Consistency depends on the quality of what you upload. Clean samples produce a more stable voice than phone recordings with room noise. * Only use voices you have the right to use. Cloning someone's voice without their consent is not permitted. See [likeness, consent, and reported content](/policy/likeness-and-reports). # Characters: the same face across images and video Source: https://docs.mage.space/features/characters Build a character once from a reference image and reuse it across images and video on Mage with the same face every time. Which models support Characters. Characters keeps the same face across everything you generate. You build a character once from a reference image, and from then on you call it by name in a prompt with an @ handle and it comes back recognizable, in images and in video. Character creation is unlimited from Pro. ## Why there is a dedicated feature Image models have no memory of earlier generations. Run the same prompt twice and you get two different people, because nothing in the prompt pins the identity. Describing the face in exhausting detail does not fix it; the model generates a fresh person from the description each time. Characters replaces the description with a reference the model actually uses. ## Building a Character 1. Open Characters on mage.space and start a new one. 2. Upload a reference portrait. A clear, well-lit, front-facing image works best. 3. Name it. This name becomes the handle you type in prompts, so keep it short. 4. Save. The character is now available in every generation on a model that supports it. You can also build a character without a photo using the Character Builder apps, which generate one from attributes you pick or from starter images. See [Character Builder: Attributes](/apps/character-builder-attributes) and [Character Builder: Muse](/apps/character-builder-muse). ## Using a Character in a prompt ```text theme={null} @sasha standing at a kitchen counter, morning light through the window, 35mm ``` Several Characters can share a scene on the models that take more than one reference image. See [Multi-Characters](/features/multi-characters). ## Which models support Characters | Model | Type | Reference images, including Characters | | - | - | - | | Berry, Berry 2 | Video | 9 | | Cherry Mini, Cherry, Cherry Pro, Cherry 2 Pro | Video | 8, and 29 on Cherry 2 Pro | | GPT Image 2, GPT Image 2.5 Flare, GPT Image 2.5 Sunburst, GPT Image 2.6 Flare, GPT Image 2.6 Sunburst | Image | 15 | | Grok Image, Grok Image 2.0 | Image | 3 | | Grok Video | Video | 5 | | Guava, Guava Pro, Guava Pro 1.5, Guava 2, Guava 2 Pro | Image | 3 | | Lemon | Video | 10 | | Mango 2, Mango 3S, Mango 3, Mango 4 | Image | 10 | | Melon, Melon Pro | Video | 7 | | MiniMax-H3 Turbo, Pika H3 Flex, MiniMax-H3 | Video | 9 | | MiniMax H3 Image | Image | 16 | | Nano Banana 2, Nano Banana 2.1 | Image | 14 | | Plum, Plum Max, Plum Fast | Video | 9 | | Raspberry | Video | 5 | | Seedance 2.0 Mini, Seedance 2.0 Fast, Seedance 2.0, Seedance 2.5 | Video | 8, and 29 on Seedance 2.5 | | Seedream 4.5, Seedream 5.0 Lite, Seedream 5.0 Pro, Seedream 5.0 Flash, Seedream 5.5 | Image | 10 | | Wan 3.0 | Video | 10 | Pear also takes a Character, as the target for [Motion Control](/models/pear-motion-control). ## Carrying a Character into video In video, a Character rides in as a reference image and the model generates motion around it. On Berry, Lemon, Melon, MiniMax-H3, Plum, and Wan 3.0 this is a separate mode from First and Last Frames: one generation pins frames, or carries Characters and References, not both. See [First and Last Frames](/features/first-and-last-frames). ## Publishing a Character You can publish a Character with a description and tags, which gives it a page other people can find and makes it eligible for the leaderboard. Publishing is optional. Characters are private until you publish them, and publishing a Character does not publish your generations. ## Limitations * A character is built from its reference, so it inherits what the reference shows. A portrait gives a reliable face and less reliable full-body proportions. Add a full-body image as a Reference alongside the Character if you need both. * A Character holds the face. Outfit, pose, and location belong to [References](/features/references). # Enhance and upscaling Source: https://docs.mage.space/features/enhance Upscale images to 2K, 4K, or 6K and video to 720p, 1080p, or 1440p on Mage, and fix skin texture with Skin Enhancer. Which plan runs each setting unlimited. Upscaling happens after generation. It is how you get a print-ready or delivery-ready file out of a model whose native ceiling is 2K or 480p. Three apps cover it. ## What runs unlimited on each plan | App | Setting | Unlimited from | | - | - | - | | Image Enhancer | 2K | Pro | | Image Enhancer | 4K | Pro Plus | | Image Enhancer | 6K | Max | | Video Enhancer | 720p | Pro Plus | | Video Enhancer | 1080p | Max | | Video Enhancer | 1440p | Max | | Skin Enhancer | 2K | Pro | | Skin Enhancer | 4K | Pro Plus | Every setting also runs on Gems on any plan. ## Getting real resolution out of a 2K model 1. Generate at the model's native ceiling. For Guava 2 Pro and Mango 4 that is 2K. 2. Run Skin Enhancer if the subject is a person and the skin looks too smooth. 3. Run Image Enhancer to your target size. 6K needs Max to run unlimited. ## Limitations * Upscaling adds pixels without adding detail. A soft or badly composed image comes back larger and still soft. Fix it at generation time. * Enhancing does not fix motion problems in video. If limbs or faces distort during the clip, regenerate the shot. See [Image Enhancer](/apps/image-enhancer), [Video Enhancer](/apps/video-enhancer), and [Skin Enhancer](/apps/skin-enhancer). # Fast Mode and Gems mode Source: https://docs.mage.space/features/fast-mode Fast Mode runs a generation on Gems at the front of the queue on any model. How it relates to unlimited generation and your plan's speed. Every generation on Mage runs in one of two modes. Unlimited mode is what a membership buys: eligible models run without spending Gems, and the generation queues at your plan's speed. Gems mode, which the app also calls Fast Mode, spends Gems to run the same generation at the front of the queue. Everything else about the output, including quality, is the same. ## How the two modes relate * Unlimited generations run 2x faster on Basic and 4x faster on Pro and above, but they queue. * Gems work with every model, feature, and app on Mage, on any account including Free. * Going above your plan's resolution or duration ceiling is a separate use of Gems. You can do that and Fast Mode on one generation, or either on its own. ## When it is worth it * You are iterating and the queue wait is breaking your rhythm. * You need output now for a deadline. * You are on Free and have no unlimited allowance. ## When to skip it For volume work, unlimited is the point of the subscription. If you are generating hundreds of images on models your plan covers, queue them and let them run. ## Gems and plans Every paid plan includes monthly Gems: 500 on Basic, 1,500 on Pro, 3,500 on Pro Plus, and 15,000 on Max. New accounts get a one-time 300 Gem bonus. See [how Gems work](/plans/how-gems-work). # First and Last Frames Source: https://docs.mage.space/features/first-and-last-frames Pin the opening and closing image of a Mage video clip and let the model fill the motion between them. Which models take a first frame, a last frame, or both. First and Last Frames lets you supply the opening image of a clip, the closing image, or both, and have the model generate the motion that connects them. It is how you get a clip that starts and ends exactly where you want. ## Which models support frame controls | Model | First frame | Last frame | Also supports Characters | | - | - | - | - | | Berry and Berry 2 | Yes | No | Yes | | Blueberry and Blueberry 2 | Yes | Blueberry 2 only | No | | Cherry line | Yes | Yes | Yes | | Kiwi | Yes | No | No | | Lemon | Yes | Yes | Yes | | LTX Video | Yes | No | No | | Melon and Melon Pro | Yes | Yes | Yes | | MiniMax-H3 | Yes | Yes | Yes | | Plum, Plum Max, Plum Fast | Yes | Yes | Yes | | Raspberry | Yes | No | Yes | | Seedance line | Yes | Yes | Yes | | Wan 3.0 | Yes | Yes | Yes | | Wan Video v2.2 | Yes | No | No | On Cherry and Seedance, first and last frames are available in Advanced only, and a last frame needs a first frame. > [!NOTE] > > On Berry, Lemon, Melon, MiniMax-H3, Plum, and Wan 3.0, frame mode and > reference mode are separate. One generation pins frames, or carries Characters > and References, not both. ## How to use First and Last Frames 1. Generate or choose your first frame as an image. 2. Generate or choose your last frame, if you want the ending pinned too. 3. Switch to video and pick a model from the table above. 4. Attach the first frame, and the last frame if you have one. 5. Describe the motion between them in the prompt. This is the part the model is generating. 6. Generate. ## Chaining clips Frame control builds a sequence that connects. Use the last frame of one clip as the first frame of the next, and the cut is continuous. Storyboard then stitches the clips into one sequence. See [Storyboard, Story Studio, and Autocreate](/features/storyboard-story-studio-autocreate). ## Limitations * The two frames have to be plausibly connected. If they show different rooms, the model invents a transition, and it usually reads as a dissolve or a glitch. * Frame control is not character consistency. Pinning two frames of the same person does not guarantee the face stays right in between. # Importing custom models Source: https://docs.mage.space/features/importing-custom-models Import your own checkpoints, LoRAs, Textual Inversions, and Lycoris into Mage on Pro Plus and Max, from CivitAI, Hugging Face, or Google Drive. On Pro Plus and Max you can bring your own models to Mage. Import a checkpoint, LoRA, Textual Inversion, or Lycoris from a CivitAI or Hugging Face link, or from Google Drive, and run it on Mage's GPUs with no local setup. ## How to import a custom model 1. Confirm you are on Pro Plus or Max. 2. Copy the model's URL from CivitAI or Hugging Face, or get a shareable Google Drive link. 3. Open Import on mage.space and paste the link. 4. Pick the type and the base architecture. Getting this wrong is the most common reason an import fails to load. 5. Import. Progress shows under Jobs in Settings, and the model appears in your own model picker once processing finishes. ## Limitations * The architecture has to match: an SDXL LoRA against a Flux base fails or produces noise. Check the model card for what it was trained on. * You are running on Mage's hardware, so custom node graphs, extensions, and shell access do not come with it. # LoRAs on Mage: stack LoRAs with no local install Source: https://docs.mage.space/features/loras Stack LoRAs on Mage with no local install. Which base models take LoRAs and Textual Inversions, how many your plan allows, and how video LoRAs are gated. A Low-Rank Adaptation, or LoRA, is a small file that adjusts a base model toward a specific style, character, or concept. Mage carries a catalog of them and runs them in the browser, so you stack LoRAs without installing a model or owning a graphics card. ## Which base models take LoRAs | Model | Type | Textual Inversions | | - | - | - | | Anima | Image | No | | Chroma | Image | No | | Krea 2 Turbo | Image | No | | MiniMax-H3 | Video | No | | MiniMax H3 Image | Image | No | | MiniMax Music 3 | Audio | No | | MOSS-Image | Image | No | | SDXL Plus | Image | No | | Stable Diffusion v1.5 | Image | Yes | | Stable Diffusion XL | Image | Yes | | Wan Video v2.2 | Video | No | | Z-Image | Image | No | LoRAs are architecture-specific, so an SDXL LoRA will not load against Z-Image. Check what the LoRA was trained on before you look for it. ## How many you can stack On Stable Diffusion 1.5, SDXL, and the SDXL checkpoint families, one LoRA or Textual Inversion runs unlimited on Basic, two on Pro, and more on Pro Plus and Max. On MiniMax H3 Image, three or more LoRAs need Pro Plus. Video LoRAs are gated per model: on MiniMax-H3 two LoRAs need Max. Every combination also runs on Gems. ## How to use a LoRA 1. Pick your base model first. This determines which LoRAs are compatible. 2. Open the LoRA panel and search the catalog. 3. Add the LoRA and set its weight. 4. Add the LoRA's trigger words to your prompt if it has them. 5. Generate, then adjust the weight rather than the prompt if the effect is too strong or too weak. ## Importing your own Pro Plus and Max can import LoRAs along with checkpoints, Textual Inversions, and Lycoris. See [importing custom models](/features/importing-custom-models). ## Limitations * Stacking many LoRAs degrades output. Each one pulls the model in a different direction, and past two or three they average into mud. # Moodboards: guide a model with a set of images Source: https://docs.mage.space/features/moodboards Save a set of images as a Moodboard on Mage and let a model draw on it. Which models use Moodboards. A Moodboard is a saved set of images that steers the look of a generation. Build one under Moodboards on mage.space and attach it to a prompt on a model that supports it; the model samples up to 8 images from the board. ## Which models use Moodboards | Model | Type | | - | - | | Mango 2 | Image | | Nano Banana 2 | Image | | Nano Banana 2.1 | Image | | Seedream 4.5 | Image | ## Limitations * A Moodboard steers style and content; it does not hold an identity. For a consistent face use Characters, and for a specific object or place use References. # Multi-Characters: two or more Characters in a scene Source: https://docs.mage.space/features/multi-characters Put two or more of your Characters in the same image or clip on Mage, each staying recognizable. Which models take more than one Character. More than one of your Characters can share a generation on any model that takes several reference images. Reference them all by name in the prompt and describe the relationship between them. ```text theme={null} @sasha and @marcus sitting across a table from each other, arguing, warm interior light ``` ## Which models take more than one Character | Model | Type | Reference images, shared with References | | - | - | - | | Berry | Video | 9 | | Berry 2 | Video | 9 | | Cherry Mini | Video | 8 | | Cherry | Video | 8 | | Cherry Pro | Video | 8 | | Cherry 2 Pro | Video | 29 | | GPT Image 2 | Image | 15 | | GPT Image 2.5 Flare | Image | 15 | | GPT Image 2.5 Sunburst | Image | 15 | | GPT Image 2.6 Flare | Image | 15 | | GPT Image 2.6 Sunburst | Image | 15 | | Grok Image | Image | 3 | | Grok Image 2.0 | Image | 3 | | Grok Video | Video | 5 | | Guava | Image | 3 | | Guava Pro | Image | 3 | | Guava Pro 1.5 | Image | 3 | | Guava 2 | Image | 3 | | Guava 2 Pro | Image | 3 | | Lemon | Video | 10 | | Mango 2 | Image | 10 | | Mango 3S | Image | 10 | | Mango 3 | Image | 10 | | Mango 4 | Image | 10 | | Melon | Video | 7 | | Melon Pro | Video | 7 | | MiniMax-H3 Turbo | Video | 9 | | Pika H3 Flex | Video | 9 | | MiniMax-H3 | Video | 9 | | MiniMax H3 Image | Image | 16 | | Nano Banana 2 | Image | 14 | | Nano Banana 2.1 | Image | 14 | | Plum | Video | 9 | | Plum Max | Video | 9 | | Plum Fast | Video | 9 | | Raspberry | Video | 5 | | Seedance 2.0 Mini | Video | 8 | | Seedance 2.0 Fast | Video | 8 | | Seedance 2.0 | Video | 8 | | Seedance 2.5 | Video | 29 | | Seedream 4.5 | Image | 10 | | Seedream 5.0 Lite | Image | 10 | | Seedream 5.0 Pro | Image | 10 | | Seedream 5.0 Flash | Image | 10 | | Seedream 5.5 | Image | 10 | | Wan 3.0 | Video | 10 | Scene Builder is the app built for two-character video scenes. See [Scene Builder](/apps/scene-builder). ## Limitations * Two characters is reliable, and each one added after that is less so, because the model has more identities to hold at once and they start borrowing features from each other. * Describe the spatial relationship explicitly. Without it, the model tends to place both subjects facing the camera side by side. # Negative prompts: exclude what you do not want Source: https://docs.mage.space/features/negative-prompts Negative prompts exclude what you do not want from a generation. Which Mage models have a negative prompt field. A negative prompt lists what you do not want in the output. It is a separate field from the main prompt, and it is the most direct control you have over recurring artifacts. ## Which models have a negative prompt field | Negative prompts | Models | | - | - | | Yes | Anima, Blueberry and Blueberry 2, Chroma, Guava, HiDream, Kiwi, Krea 2 Turbo, LTX Video, MOSS-Image, Raspberry, SDXL Plus, Stable Diffusion v1.5, Stable Diffusion v3.5 Large, Stable Diffusion XL, Wan Video v2.2, Z-Image | | No | Berry and Berry 2, Cherry line, Flux 2, GPT Image 2, Grok Image, Grok Video, Lemon, Mango, Melon and Melon Pro, MiniMax-H3, MiniMax H3 Image, Nano Banana 2, Plum, Plum Max, Plum Fast, Seedance line, Seedream line, and Wan 3.0 | The Illustrious and Pony checkpoint families are SDXL-based and take negative prompts. ## How to write one List things. The field is not read as a sentence, so instructions do not work in it. ```text theme={null} blurry, extra fingers, watermark, text, oversaturated, distorted hands ``` Keep it short. A very long negative prompt constrains the image in ways you did not intend, since every term pushes the generation somewhere. ## Limitations * A negative prompt reduces the likelihood of something appearing without forbidding it. If an artifact keeps recurring, changing the base model or adding a LoRA usually works better than adding more negative terms. # References: reuse objects, places, poses, and outfits Source: https://docs.mage.space/features/references Upload a reference image once and reuse the object, location, pose, or outfit across generations on Mage, alongside your Characters. Reference limits per model. References does for objects, locations, poses, and outfits what Characters does for faces. You upload a reference image, name it, and call it by name in a prompt to keep that thing consistent across everything you generate. ## What you can reference * Objects: a specific product, prop, or item that should look the same each time * Locations: a room, a street, a set you keep returning to * Poses: a body position you want repeated * Outfits: clothing that has to stay the same across a series ## Setting a Reference up 1. Open References on mage.space and add a new one. 2. Upload the image. Crop it so the thing you want referenced is the main subject. 3. Pick the type: object, location, pose, or outfit. 4. Name it. This becomes the @ handle. 5. Save. ## Using References with Characters ```text theme={null} @sasha wearing @redcoat, holding @leatherbag, standing in @cafe, evening light ``` ## Reference limits by model References and Characters share one pool of reference images on each model. The models that support Characters support References, with these limits. | Model | Reference images | Also takes | | - | - | - | | Berry | 9 | | | Berry 2 | 9 | | | Cherry Mini | 8 | 3 audio, video references | | Cherry | 8 | 3 audio, video references | | Cherry Pro | 8 | 3 audio, video references | | Cherry 2 Pro | 29 | 3 audio, video references | | GPT Image 2 | 15 | | | GPT Image 2.5 Flare | 15 | | | GPT Image 2.5 Sunburst | 15 | | | GPT Image 2.6 Flare | 15 | | | GPT Image 2.6 Sunburst | 15 | | | Grok Image | 3 | | | Grok Image 2.0 | 3 | | | Grok Video | 5 | | | Guava | 3 | | | Guava Pro | 3 | | | Guava Pro 1.5 | 3 | | | Guava 2 | 3 | | | Guava 2 Pro | 3 | | | Lemon | 10 | 5 audio, video references | | Mango 2 | 10 | | | Mango 3S | 10 | | | Mango 3 | 10 | | | Mango 4 | 10 | | | Melon | 7 | | | Melon Pro | 7 | | | MiniMax-H3 Turbo | 9 | 3 audio, video references | | Pika H3 Flex | 9 | 3 audio, video references | | MiniMax-H3 | 9 | 3 audio, video references | | MiniMax H3 Image | 16 | | | Nano Banana 2 | 14 | | | Nano Banana 2.1 | 14 | | | Plum | 9 | 3 audio, video references | | Plum Max | 9 | 3 audio, video references | | Plum Fast | 9 | 3 audio, video references | | Raspberry | 5 | | | Seedance 2.0 Mini | 8 | 3 audio, video references | | Seedance 2.0 Fast | 8 | 3 audio, video references | | Seedance 2.0 | 8 | 3 audio, video references | | Seedance 2.5 | 29 | 3 audio, video references | | Seedream 4.5 | 10 | | | Seedream 5.0 Lite | 10 | | | Seedream 5.0 Pro | 10 | | | Seedream 5.0 Flash | 10 | | | Seedream 5.5 | 10 | | | Wan 3.0 | 10 | 5 audio, video references | Some models take input images without the named References feature: Flux 2 takes up to 3, and Seed Audio one image reference. ## Limitations * More references is not better. Past a handful the model starts averaging them and the result gets muddier. Add references one at a time and check what each one changes. * A reference constrains, it does not command. If the prompt asks for something the reference contradicts, you get a compromise between the two. # Sidekick: create whole productions by conversation Source: https://docs.mage.space/features/sidekick Sidekick is the creative agent on Mage: it plans, generates, edits, and checks whole productions with you. How sessions, approvals, and spending limits work, and what it costs. Sidekick is the creative agent on Mage. Describe a production, such as an ad, a campaign, a short film, or an edited video, and it plans the work, runs the generations, edits files and timelines, and checks the result before it hands it back. Open it at [mage.space/sidekick](https://www.mage.space/sidekick). ## Start a session Describe what you want, such as "a 20-second product video for these sneakers", or start from a template. Type `@` to mention your [Characters](/features/characters) and [References](/features/references), and attach images or videos as source material. **1. Describe it, or pick a template** Write the brief in the box, or choose a template and edit its text and files. **2. Approve the plan** For larger jobs Sidekick proposes a plan with its outputs and their price. Approve it, or decline and say what to change. **3. Steer while it works** Send a message at any time to change direction; Sidekick picks it up without starting over. Press Stop to end the turn. **4. Review the deliverables** Finished files land in the session, with a QA report on each. Open them, download them, or save them to your creations. ## Customize Sidekick Open **Customize Sidekick** under **New session** to tell Sidekick who to be and how to work for you. Your settings apply from your next message, in every session. * **Guided** takes a few choices: a name and standing instructions, a personality (tone, reply length, emoji), a working style (how much initiative it takes, whether to save Gems or go for quality, and a default aspect ratio), a default model for each job (images, image edits, video, video edits, Magejutsu, and audio), and a note about you. * **Custom** is one box where you write the full instructions yourself. **Start from my Guided settings** fills it with your Guided choices written out, to edit from there. Your instructions take priority over how Sidekick normally works, and what they spell out counts as asking: with "always make two takes" saved, a request for an image makes both takes without a card. What you say in a message wins over them, including a model you name. They don't change Mage's content rules or your spending limits, and a blanket line like "never ask me" doesn't turn approvals off. ## The workspace Each session has a workspace beside the chat: | Tab | What it shows | | - | - | | Plan | The steps Sidekick is working through and how many are done | | Media | Every generation it started, with its status and price | | Files | The files it published, and where they were saved | | Spend | Gems spent this session and this turn, split into generations, thinking and writing, computer time, tools, and web research | | QA | Checks on each deliverable, a critic score out of 10, and the trade-offs that remain | Once Sidekick assembles a cut, an **Edit timeline** button appears in the session header. It opens the timeline, where you can trim, move, or delete clips; Sidekick picks up your edits, and **Render draft** asks it for a draft of the current cut. ## Approvals and spending limits Sidekick asks before it spends, publishes, or deletes. Two settings under **Session spending** control how often it asks: * **Session limit** pauses the session once it spends a set number of Gems. Turned off, Sidekick can use your whole balance. * **Ask before spending more than** sets the step size that needs your click. A paid step at or below it runs on its own when Sidekick can match it to your request. When a step would leave too little of the limit to finish, the approval card says so; raise the limit to continue. ## What Sidekick costs Sidekick runs on Gems on every plan. Each reply shows what it cost, which covers the generations it ran and its own work: thinking and writing, computer time, tools, and web research. Generations are priced as they are anywhere else on Mage, and refunded the same way when they fail. If your balance runs out mid-session, the session shows Buy Gems. See [how Gems work](/plans/how-gems-work). ## Privacy Sessions and everything they generate stay private to your account, like the rest of your creations. See [why Mage is private by default](/privacy/private-by-default). # Storyboard, Story Studio, and Autocreate Source: https://docs.mage.space/features/storyboard-story-studio-autocreate Storyboard, Story Studio, and Autocreate on Mage: what each one builds, how many scenes or creations it produces, and when to use which. Three features cover producing at volume. Which one you want depends on whether you are building a sequence or a batch. ## Storyboard Combines video clips you generated into one sequence. You arrange them, preview the result, and export. Use First and Last Frames to make the cuts continuous. ## Story Studio Takes one story prompt and generates a connected sequence of video scenes from it, from 5 up to 20, with up to 3 Characters in the cast. Use it when you want a narrative across scenes instead of a single shot. ## Autocreate Takes one prompt and expands it into variations, up to 100 creations per campaign, with a minimum of 20 for images and 10 for video. Use it when you want coverage of an idea rather than one specific result. ## Running several generations at once Pro Plus and Max can queue up to 10 generations at once. ## Which of the three to use | What you want | Feature | | - | - | | A narrative across many scenes | Story Studio | | Clips you generated yourself, joined into one video | Storyboard | | Many variations of one idea | Autocreate | ## Limitations * Output consistency across a long sequence is less reliable than generating scenes individually. For anything you are delivering, generate the key scenes yourself and use Storyboard to assemble them. # Mage documentation: models, apps, plans, and Gems Source: https://docs.mage.space/index How Mage works: the image, video, and audio models you can run, the apps built on them, membership plans, Gems, and the rules for what you can create. Mage is an AI image, video, and audio generation platform. You pick a model, write a prompt, and generate in the browser. Membership plans unlock unlimited generation on eligible models, and Gems pay for everything else. [Open Mage](https://www.mage.space) [Your first generation](/start/first-generation) New on Mage > [card] [Magejutsu](/apps/magejutsu) > > Recast a video you already have with your characters, places, and products, > keeping its motion, camera, and sound. > [card] [Sidekick](/features/sidekick) > > A creative agent that plans, generates, edits, and checks whole productions > with you. Start here > [card] [Your first generation](/start/first-generation) > > From a new account to a finished image, and where to go next. > [card] [Models](/models/overview) > > Every model on Mage, the plan that runs it unlimited, and what it supports. > [card] [Apps](/apps/overview) > > Purpose-built tools for enhancing, swapping, editing, and animating. > [card] [Plans and Gems](/plans/comparing-plans) > > What each membership includes and how Gems work alongside it. > [card] [Characters](/features/characters) > > Build a character once and keep the same face across images and video. > [card] [Prompting](/prompting/basics) > > The prompt structure that works on every model, for images and for video. > [card] [API](/api/overview) > > Run the same models from your own code, with TypeScript and Python SDKs, or > from ComfyUI, paid in Gems. ## Where things live * [mage.space](https://www.mage.space) is the app. Generation, Characters, apps, and your account all live there. * [The Mage blog](https://www.mage.space/blog) carries release announcements and longer feature write-ups. * [api.mage.space](/api/overview) is the API: the same models from your own code. * [github.com/mage-space](https://github.com/mage-space) has the open-source [TypeScript](/api/sdks/typescript) and [Python](/api/sdks/python) SDKs and the [ComfyUI nodes](/api/integrations/comfyui). * [Discord](https://discord.gg/GT9bPgxyFP) is the community and the fastest place to get help. # Anima: anime image model with LoRAs on Mage Source: https://docs.mage.space/models/anima Anima is an anime image model on Mage, unlimited from Pro, with LoRAs and negative prompts. Anima is an anime-style image model. Mage runs it under a license from its creator, so every run carries a small licensing fee inside its Gem price, and it runs unlimited from Pro with LoRAs and negative prompts. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Open-weights model hosted on Mage's GPUs | | Models | Anima | | Unlimited from | Pro | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Anima | 1K | Gems | Unlimited | Unlimited | Unlimited | | Anima | 2K | Gems | Unlimited | Unlimited | Unlimited | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Image input | No | | LoRAs | Yes | | Negative prompts | Yes | | Edits an input image | No | | Resolutions | 1K, 2K | ## Best for * High-quality anime images * Anime work with custom LoRAs ## An example prompt to start from ```text theme={null} a girl in a school uniform on a rooftop at sunset, wind in her hair, detailed anime illustration ``` ## Limitations * Escape literal parentheses in the prompt as ( and ), because parentheses otherwise read as prompt weighting. * No image input, so no Characters or References. ## Use via API Anima is available through the [Mage API](/api/overview) as the `anima` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/anima). # Berry and Berry 2: reference-driven video on Mage Source: https://docs.mage.space/models/berry Berry 2 is Mage's reference-driven video model, unlimited from Pro. Up to 9 reference images, Characters and References, and a first frame. The original Berry stays available. Berry is Mage's reference-driven video model. Berry 2 is the current version: it takes up to 9 reference images, supports Characters and References, and runs unlimited from Pro at 480p. The original Berry stays available for prompts tuned against it. ## Overview | Detail | | | - | - | | Type | Video | | Origin | Mage model, available only on Mage | | Models | Berry, Berry 2 | | Unlimited from | Pro | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Berry | 720p | Gems | Gems | 3s | 4s | | Berry 2 | 480p | Gems | 3s | 7s | 9s | | Berry 2 | 720p | Gems | Gems | 3s | 4s | | Berry 2 | 1080p | Gems | Gems | Gems | 3s | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 9 | | Character Voices | No | | First frame | Yes | | Last frame | No | | Video references | No | | LoRAs | No | | Negative prompts | No | | Resolutions | Berry: 720p, 1080p; Berry 2: 480p, 720p, 1080p | | Durations | Berry: 3 to 15 seconds; Berry 2: 3 to 15 seconds | ## Best for * Video built from several reference images * Character video at volume * Work where the clip has to match existing material ## An example prompt to start from ```text theme={null} @sasha and @marcus sit across a cafe table, she laughs and looks away, slow push in ``` ## Limitations * There are no Character Voices. Berry 2 has no voice input, so dialogue in a consistent voice needs Plum, Lemon, or Cherry. * A start frame and reference images are separate modes; use one or the other in a generation. * Unlimited output on Pro is 480p. Run the Video Enhancer app on a clip you keep, or move up to Pro Plus for 720p. ## Use via API Berry is available through the [Mage API](/api/overview) as the `berry` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/berry). # Blueberry 2 and Raspberry Source: https://docs.mage.space/models/blueberry-and-raspberry Blueberry 2 offers First and Last Frames and an audio reference. Raspberry takes Characters, References, Character Voices, and a first frame. Both run unlimited from Pro Plus. Blueberry 2 and Raspberry both run unlimited from Pro Plus and do different jobs. Blueberry 2 pins a clip's first and last frame and takes one audio reference. Raspberry carries Characters and References into video, takes a Character Voice, and accepts a first frame. The original Blueberry stays available. ## Overview | Detail | | | - | - | | Type | Video | | Origin | Mage model, available only on Mage | | Models | Blueberry, Blueberry 2, Raspberry | | Unlimited from | Pro Plus | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Blueberry | 720p | Gems | Gems | 3s | 5s | | Blueberry | 1080p | Gems | Gems | 2s | 3s | | Blueberry 2 | 720p | Gems | Gems | 4s | 6s | | Blueberry 2 | 1080p | Gems | Gems | 2s | 4s | | Raspberry | 720p | Gems | Gems | 4s | 6s | | Raspberry | 1080p | Gems | Gems | 2s | 4s | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Raspberry | | Reference images | Up to 2, and 5 on Raspberry | | Audio references | Up to 1 on Blueberry | | Character Voices | Raspberry | | First frame | Blueberry and Blueberry 2, Raspberry | | Last frame | Blueberry 2 only | | Video references | No | | LoRAs | No | | Negative prompts | Blueberry and Blueberry 2, Raspberry | | Resolutions | Blueberry: 720p, 1080p; Blueberry 2: 720p, 1080p; Raspberry: 720p, 1080p | | Durations | Blueberry: 2 to 15 seconds; Blueberry 2: 2 to 15 seconds; Raspberry: 2 to 15 seconds | ## Best for * Blueberry 2: a shot where you know the opening and closing image * Raspberry: a Character carried into video on Pro Plus, with its own voice * Either: prompts already tuned against them ## An example prompt to start from ```text theme={null} the camera glides from the first frame to the last as the lanterns light one by one ``` ## Limitations * Blueberry has no Characters or References support. For a face that has to stay the same, use Raspberry or another model that supports Characters. * Raspberry has no last frame. * Both models output 720p or 1080p; there is no lower unlimited tier. ## Use via API These models are available through the [Mage API](/api/overview), each as its own architecture with its own reference page: * [Blueberry](/api/models/blueberry) as `blueberry`, with `model_id` selecting the model * [Raspberry](/api/models/raspberry) as `raspberry` # Cherry: Cherry Mini, Pro, and 2 Pro video models Source: https://docs.mage.space/models/cherry Cherry is Mage's video line: Cherry Mini, Cherry, Cherry Pro, and Cherry 2 Pro. Which plan runs each one unlimited, at what resolution and duration, and what each supports. Cherry is Mage's video line, with four models from Cherry Mini to Cherry 2 Pro. Every model in the line takes Characters, References, audio references, and Character Voices, and can edit an existing clip. Cherry 2 Pro is the most capable and the most expensive to run. ## Overview | Detail | | | - | - | | Type | Video | | Origin | Mage model, available only on Mage | | Models | Cherry Mini, Cherry, Cherry Pro, Cherry 2 Pro | | Unlimited from | Pro Plus | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Cherry Mini | 480p | Gems | Gems | 5s | 8s | | Cherry Mini | 720p | Gems | Gems | Gems | 4s | | Cherry | 480p | Gems | Gems | 4s | 5s | | Cherry Pro | 480p | Gems | Gems | Gems | 5s | | Cherry 2 Pro | 480p | Gems | Gems | Gems | 4s | Base settings. Editing an existing clip bills its input seconds too, so video edits always resolve through the price rather than the carve-outs above. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 8, and 29 on Cherry 2 Pro | | Audio references | Up to 3 | | Character Voices | Yes | | First frame | Yes | | Last frame | Yes, with a first frame | | Video references | Yes, up to 15 seconds of input on Cherry, Cherry Mini, and Cherry Pro, and up to 30 seconds on Cherry 2 Pro | | LoRAs | No | | Negative prompts | No | | Resolutions | Cherry Mini: 480p, 720p; Cherry: 480p, 720p; Cherry Pro: 480p, 720p, 1080p, 4K; Cherry 2 Pro: 480p, 720p, 1080p | | Durations | Cherry Mini: 4 to 15 seconds; Cherry: 4 to 15 seconds; Cherry Pro: 4 to 15 seconds; Cherry 2 Pro: 4 to 30 seconds | ## Best for * Final-quality video * Clips longer than 15 seconds, which only Cherry 2 Pro reaches * Work that needs many reference images: up to 8, and up to 29 on Cherry 2 Pro * Audio driven by a reference you supply ## An example prompt to start from ```text theme={null} @sasha walks along the harbour wall as gulls lift off, camera tracking from the side, late light ``` ## Limitations * Cherry 2 Pro's headline settings run on Gems. Unlimited on Max is 4 seconds at 480p; 1080p output and the 20, 25, and 30 second durations always cost Gems. * A first frame and a last frame are available in Advanced only, and a last frame needs a first frame. * Cherry Pro offers a 4K option that always runs on Gems. ## Use via API Cherry is available through the [Mage API](/api/overview) as the `cherry` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/cherry). # Chroma: open-weights image model on Mage Source: https://docs.mage.space/models/chroma Chroma is an open-weights general-purpose image model on Mage, unlimited from Basic, with LoRAs and negative prompts. Chroma is an open-weights general-purpose image model. Mage runs it unlimited from Basic, with LoRAs and negative prompts. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Open-weights model hosted on Mage's GPUs | | Models | Chroma | | Unlimited from | Basic | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Chroma | Base settings | Unlimited | Unlimited | Unlimited | Unlimited | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Image input | No | | LoRAs | Yes | | Negative prompts | Yes | | Edits an input image | No | ## Best for * General-purpose image work * Community LoRA stacking ## An example prompt to start from ```text theme={null} a quiet mountain village at dusk, lanterns lit, mist in the valley, painterly ``` ## Limitations * No image input, so no image-to-image, Characters, or References. ## Use via API Chroma is available through the [Mage API](/api/overview) as the `chroma` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/chroma). # Eleven Music: songs with vocals or instrumentals Source: https://docs.mage.space/models/eleven-music Compose songs with Eleven Music on Mage, with vocals or as instrumentals, from 10 seconds to 5 minutes. 10 second songs run unlimited from Basic; longer songs need Pro, Pro Plus, or Max. Eleven Music is ElevenLabs' music model on Mage. It composes a song from a description, with vocals or as an instrumental, at exactly the length you choose. Its current model is **Eleven Music v2.5**. ## Overview | Detail | | | - | - | | Type | Audio | | Origin | Run by ElevenLabs, reached via Mage | | Models | Eleven Music v2.5 | | Unlimited from | Basic | ## Unlimited generation by plan Eleven Music is priced by the length of the song. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Eleven Music v2.5 | 10 seconds | Unlimited | Unlimited | Unlimited | Unlimited | | Eleven Music v2.5 | 30 seconds | Gems | Unlimited | Unlimited | Unlimited | | Eleven Music v2.5 | 60 seconds | Gems | Gems | Unlimited | Unlimited | | Eleven Music v2.5 | 120 seconds | Gems | Gems | Gems | Unlimited | | Eleven Music v2.5 | 180 or 300 seconds | Gems | Gems | Gems | Gems | ## What it supports on Mage | Feature | Support | | - | - | | Image references | No | | Audio references | No | | Vocals | Yes, or Instrumental for none | | Durations | 10, 30, 60, 120, 180, or 300 seconds | ## Best for * Songs with vocals and lyrics * Jingles and intros * Instrumental beds for video ## An example prompt to start from ```text theme={null} an upbeat indie pop song about a summer road trip, bright guitars, female vocals, 110 bpm ``` ## Limitations * It refuses prompts that name an artist or quote copyrighted lyrics. Describe the style instead. * Music only. For voices, use [Eleven Speech](/models/eleven-speech). ## Use via API Eleven Music is available through the [Mage API](/api/overview) as the `eleven_music` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/eleven_music). # Eleven Speech: lifelike text to speech Source: https://docs.mage.space/models/eleven-speech Generate directable speech with Eleven Speech (Eleven v4) on Mage, in 16 voices and 90+ languages. Short scripts run unlimited from Basic; longer ones need Pro, Pro Plus, or Max. Eleven Speech is ElevenLabs' text-to-speech model on Mage. It reads your text in one of 16 voices, in more than 90 languages, and takes direction from audio tags written in square brackets. Its current model is **Eleven v4**. ## Overview | Detail | | | - | - | | Type | Audio | | Origin | Run by ElevenLabs, reached via Mage | | Models | Eleven v4 | | Unlimited from | Basic | ## Unlimited generation by plan Eleven Speech is priced by the length of the text it speaks, audio tags included: 30 Gems for each started block of 250 characters. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Eleven v4 | Up to 750 characters | Unlimited | Unlimited | Unlimited | Unlimited | | Eleven v4 | Up to 1,500 characters | Gems | Unlimited | Unlimited | Unlimited | | Eleven v4 | Up to 3,250 characters | Gems | Gems | Unlimited | Unlimited | | Eleven v4 | Up to 4,750 characters | Gems | Gems | Gems | Unlimited | | Eleven v4 | Longer | Gems | Gems | Gems | Gems | ## What it supports on Mage | Feature | Support | | - | - | | Image references | No | | Audio references | No | | Voices | 16 preset voices | | Text length | Up to 5,000 characters | ## Best for * Narration, voiceover, and character lines that need real acting * Speech in languages other than English * Sound cues placed inside the speech ## Directing it with audio tags Write a tag in square brackets before the line it should change. Tags can set emotion (`[excited]`, `[sarcastic]`), delivery (`[whispers]`, `[shouting]`), reactions (`[laughs]`, `[sighs]`), and sound cues (`[applause]`, `[door slams]`). Be specific: `[low, gravelly voice]` works better than a vague tag, which the model may read as a sound effect. ```text theme={null} [whispers] Did you hear that? [excited] It is them. They actually came back! ``` **Stability** controls how much the performance varies: lower values are more expressive, higher values keep the delivery steady. ## Limitations * It speaks in its preset voices only; it does not take a voice from an audio reference yet. For a voice that should recur across video clips, use a [Character Voice](/features/character-voices). * Speech only. For songs, use [Eleven Music](/models/eleven-music). ## Use via API Eleven Speech is available through the [Mage API](/api/overview) as the `eleven_speech` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/eleven_speech). # Flux 2 on Mage: image generation and edits Source: https://docs.mage.space/models/flux Flux 2 on Mage: image generation and edits from up to 3 input images. Unlimited from Basic at 1K and from Pro at 2K. Flux 2 is an open-weights image model that handles generation and edits from up to 3 input images. It is unlimited from Basic at 1K, with 2K starting on Pro. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Open-weights model hosted on Mage's GPUs | | Models | Flux 2 | | Unlimited from | Basic | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Flux 2 | 1K | Unlimited | Unlimited | Unlimited | Unlimited | | Flux 2 | 2K | Gems | Unlimited | Unlimited | Unlimited | Add-ons such as extra reference images may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Reference images | Up to 3 | | LoRAs | No | | Negative prompts | No | | Edits an input image | Yes | | Resolutions | 1K, 2K | ## Best for * Long prompts with several conditions * Edits from several reference images ## An example prompt to start from ```text theme={null} a weathered brass compass resting on a folded nautical chart, morning light through a porthole, shallow depth of field, editorial product photography ``` ## Limitations * Not connected to Characters or References. * Takes no LoRAs and has no negative prompt field. ## Use via API Flux 2 is available through the [Mage API](/api/overview) as the `flux2` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/flux2). # GPT Image 2, 2.5, and 2.6 on Mage, with animated GIFs Source: https://docs.mage.space/models/gpt-image-2 Run OpenAI's GPT Image 2, 2.5, and 2.6 through Mage, and make animated GIFs on 2.6. Low quality runs unlimited from Basic on 2 and 2.5 and from Pro on 2.6. OpenAI's safety filter applies. GPT Image 2 is OpenAI's image model, run by OpenAI and reached through Mage, in five versions: GPT Image 2, GPT Image 2.5 Flare and Sunburst, and GPT Image 2.6 Flare and Sunburst. Flare is the fast tier and Sunburst the premium one, and the 2.6 models also make animated GIFs. All five take up to 15 reference images plus Characters, edit an input image, and reach 2K. At the Low quality setting, GPT Image 2 and 2.5 run unlimited from Basic and GPT Image 2.6 from Pro. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Run by OpenAI, whose safety filter applies | | Models | GPT Image 2, GPT Image 2.5 Flare, GPT Image 2.5 Sunburst, GPT Image 2.6 Flare, GPT Image 2.6 Sunburst | | Unlimited from | Basic | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | GPT Image 2 | 1K, Low quality | Unlimited | Unlimited | Unlimited | Unlimited | | GPT Image 2 | 2K, Low quality | Unlimited | Unlimited | Unlimited | Unlimited | | GPT Image 2.5 Flare | 1K, Low quality | Unlimited | Unlimited | Unlimited | Unlimited | | GPT Image 2.5 Flare | 2K, Low quality | Unlimited | Unlimited | Unlimited | Unlimited | | GPT Image 2.5 Sunburst | 1K, Low quality | Unlimited | Unlimited | Unlimited | Unlimited | | GPT Image 2.5 Sunburst | 2K, Low quality | Unlimited | Unlimited | Unlimited | Unlimited | | GPT Image 2.6 Flare | 1K, Low quality | Gems | Unlimited | Unlimited | Unlimited | | GPT Image 2.6 Flare | 2K, Low quality | Gems | Unlimited | Unlimited | Unlimited | | GPT Image 2.6 Sunburst | 1K, Low quality | Gems | Unlimited | Unlimited | Unlimited | | GPT Image 2.6 Sunburst | 2K, Low quality | Gems | Unlimited | Unlimited | Unlimited | | GPT Image 2.6, GIF | Low, 2 to 12 frames | Gems | Unlimited | Unlimited | Unlimited | | GPT Image 2.6, GIF | Low, 13 to 16 frames | Gems | Gems | Unlimited | Unlimited | Only the Low quality setting ever runs unlimited; Medium and above always cost Gems, on stills and GIFs alike. GPT Image 2.6 costs more than 2.5 at Low and Medium, so it starts at Pro. Reference images add to a Low run's price: Low at 1K stays on Basic with one reference image, Low at 2K stays on Basic only with none, and Low with several references needs Pro or Pro Plus. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 15 | | LoRAs | No | | Negative prompts | No | | Edits an input image | Yes | | Resolutions | 1K and 2K on every version | | Animated GIFs | GPT Image 2.6 Flare and Sunburst | ## Best for * Prompts written as instructions rather than descriptions * Editing with a plain-language instruction, where Sunburst is strongest * Work that needs many reference images * Animated GIFs from a prompt or a reference image, on GPT Image 2.6 ## Animated GIFs GPT Image 2.6 Flare and Sunburst make real `.gif` files that loop. On the Advanced page, set **Output** to **GIF**, then choose: * **Frames:** 2 to 16, 9 by default. * **Frame Delay:** how long each frame shows, 20 to 2,000 milliseconds, 200 by default. A lower delay plays faster. Attach an image to animate it. The aspect ratio sets the frame size, near 640 pixels, so Resolution does not apply, and the image refinement pass is not available on a GIF. All the frames are drawn together as one sheet, so a GIF's price moves in steps of frames rather than with each frame. Each reference image adds 19 Gems, as it does on a still. | Quality | 2 to 8 frames | 9 frames | 10 to 12 frames | 13 to 16 frames | | - | - | - | - | - | | Low | 56 | 69 | 78 | 104 | | Medium | 99 | 122 | 141 | 183 | | High | 120 | 148 | 172 | 222 | | Extra High | 216 | 263 | 306 | 395 | | Max | 483 | 590 | 687 | 887 | A finished GIF plays, downloads, and posts like any image. Re-image, Animate, and Edit run on its first frame. Enhance, Refine, Inpaint, and Use Apps are not offered on a GIF, because they return a still. ## An example prompt to start from ```text theme={null} a matte black coffee bag on a concrete surface, label reading SINGLE ORIGIN in a clean sans-serif, morning light ``` ## Limitations * OpenAI's safety filter applies, and Mage cannot override it. * Only the Low quality setting runs unlimited; Medium, High, and above always cost Gems. Each reference image adds to the price, so Low at 2K stays on Basic only with no reference attached, and several references move a Low run to Pro or Pro Plus. * No negative prompt field. * A GIF has 2 to 16 frames near 640 pixels, and it has no transparent background. ## Use via API GPT Image 2 is available through the [Mage API](/api/overview) as the `gpt_image_2` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/gpt_image_2). # Grok Image and Grok Video on Mage Source: https://docs.mage.space/models/grok Run xAI's Grok Image and Grok Video through Mage. Two image models unlimited from Pro, video from 1 to 15 seconds unlimited from Pro Plus, Characters and References on both. xAI's safety filter applies. Grok Image and Grok Video are xAI's generation models, run by xAI and reached through Mage. Grok Image and Grok Image 2.0 are unlimited from Pro. Grok Video runs unlimited from Pro Plus. Both take Characters and References. ## Overview | Detail | | | - | - | | Type | Image and Video | | Origin | Run by xAI, whose safety filter applies | | Models | Grok Image, Grok Image 2.0, Grok Video | | Unlimited from | Pro | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Grok Image | 1K | Gems | Unlimited | Unlimited | Unlimited | | Grok Image | 2K | Gems | Unlimited | Unlimited | Unlimited | | Grok Image 2.0 | 1K | Gems | Unlimited | Unlimited | Unlimited | | Grok Image 2.0 | 2K | Gems | Unlimited | Unlimited | Unlimited | | Grok Video | 480p | Gems | Gems | 5s | 7s | | Grok Video | 720p | Gems | Gems | 3s | 5s | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 3, and 5 on Grok Video | | Character Voices | No | | First frame | No | | Last frame | No | | Video references | No | | LoRAs | No | | Negative prompts | No | | Resolutions | Grok Image: 1K, 2K; Grok Image 2.0: 1K, 2K; Grok Video: 480p, 720p | | Durations | Grok Video: 1 to 15 seconds | ## Best for * Character work on a model that is not Mage's own * Video from a Character reference on Pro Plus * Clips between 1 and 15 seconds ## An example prompt to start from ```text theme={null} @sasha walks through a night market, neon signs, handheld camera ``` ## Limitations * xAI's safety filter applies, and Mage cannot override it. * No negative prompt field. * Grok Video has no first or last frame; its images are references. ## Use via API These models are available through the [Mage API](/api/overview), each as its own architecture with its own reference page: * [Grok Image](/api/models/grok_image) as `grok_image`, with `model_id` selecting the model * [Grok Video](/api/models/grok_video) as `grok_video` # Guava: photorealistic image models on Mage Source: https://docs.mage.space/models/guava Guava is Mage's photorealism image family. Guava 2 and Guava 2 Pro are the current pair. Plan gating, resolutions, negative prompts, and Character support. Guava is Mage's photorealism image family. Guava 2 and Guava 2 Pro are the current pair: Guava 2 is the faster one for iterating on a prompt, and Guava 2 Pro is the higher-quality render for the image you keep. Every version runs unlimited from Pro. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Mage model, available only on Mage | | Models | Guava, Guava Pro, Guava Pro 1.5, Guava 2, Guava 2 Pro | | Unlimited from | Pro | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Guava | 1K | Gems | Unlimited | Unlimited | Unlimited | | Guava | 2K | Gems | Unlimited | Unlimited | Unlimited | | Guava Pro | 1K | Gems | Unlimited | Unlimited | Unlimited | | Guava Pro | 2K | Gems | Unlimited | Unlimited | Unlimited | | Guava Pro 1.5 | 1K | Gems | Unlimited | Unlimited | Unlimited | | Guava Pro 1.5 | 2K | Gems | Unlimited | Unlimited | Unlimited | | Guava 2 | 1K | Gems | Unlimited | Unlimited | Unlimited | | Guava 2 | 2K | Gems | Unlimited | Unlimited | Unlimited | | Guava 2 Pro | 1K | Gems | Unlimited | Unlimited | Unlimited | | Guava 2 Pro | 2K | Gems | Unlimited | Unlimited | Unlimited | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 3 | | LoRAs | No | | Negative prompts | Yes | | Edits an input image | Yes | | Resolutions | Guava: 1K, 2K; Guava Pro: 1K, 2K; Guava Pro 1.5: 1K, 2K; Guava 2: 1K, 2K; Guava 2 Pro: 1K, 2K | ## Best for * Photoreal portraits * Fashion and editorial imagery * Skin, fabric, and hair texture at close range * Work where a negative prompt matters ## An example prompt to start from ```text theme={null} editorial portrait of a woman in a charcoal wool coat, overcast window light, 85mm, shallow depth of field, visible fabric texture ``` ## Limitations * 2K is the ceiling on the model itself. The Image Enhancer app takes an output to 4K on Pro Plus and 6K on Max. * Photoreal models are unforgiving about vague prompts. Specify the lighting and the lens or you get a generic studio look. ## Use via API Guava is available through the [Mage API](/api/overview) as the `guava` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/guava). # HiDream: fast general image model on Mage Source: https://docs.mage.space/models/hidream HiDream is a fast general image model on Mage, unlimited from Pro, with negative prompts. HiDream is a fast general image model. Mage runs it unlimited from Pro, with negative prompts. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Open-weights model hosted on Mage's GPUs | | Models | HiDream | | Unlimited from | Pro | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | HiDream | Base settings | Gems | Unlimited | Unlimited | Unlimited | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Image input | No | | LoRAs | No | | Negative prompts | Yes | | Edits an input image | No | ## Best for * Quick general-purpose images ## An example prompt to start from ```text theme={null} a ceramic teapot on a linen cloth, soft daylight, product photograph ``` ## Limitations * No image input, no LoRAs, and no Characters or References. ## Use via API HiDream is available through the [Mage API](/api/overview) as the `hidream` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/hidream). # Illustrious: anime and illustration models on Mage Source: https://docs.mage.space/models/illustrious Run Illustrious fine-tunes in the browser on Mage: an SDXL-based anime and illustration family in the model catalog, unlimited from Basic. Illustrious is an open-weights image model built for anime and illustration, with a large ecosystem of fine-tunes and LoRAs. There is no single model on Mage called Illustrious. The model catalog carries Illustrious checkpoints, hosted on Mage's GPUs, so you pick the one that matches the look you want and generate in a browser tab. ## Overview | Detail | | | - | - | | Type | Image | | Origin | SDXL checkpoints in the model catalog, hosted on Mage's GPUs | | Unlimited from | Basic, like every SDXL checkpoint | ## Best for * Anime and manga illustration * Character art with a specific published style * Line art and cel shading * Prompts written as comma-separated tags ## An example prompt to start from ```text theme={null} a courier with silver hair in a red jacket, city street at night, neon reflections, detailed line art, cel shading ``` ## Limitations * These are SDXL checkpoints, so they take LoRAs, Textual Inversions, ControlNet, and negative prompts, and they are not connected to Characters or References. * Stacking many LoRAs degrades the result. Two or three is usually the practical ceiling regardless of your plan. # Kiwi: everyday text and image to video on Mage Source: https://docs.mage.space/models/kiwi Kiwi is an everyday video model on Mage: text or a single start image to video, 5 or 10 seconds, unlimited from Pro Plus. Kiwi is an everyday video model on Mage. It generates 5 or 10 second clips from a prompt or a single start image, supports negative prompts, and runs unlimited from Pro Plus. ## Overview | Detail | | | - | - | | Type | Video | | Origin | Mage model, available only on Mage | | Models | Kiwi | | Unlimited from | Pro Plus | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Kiwi | 480p | Gems | Gems | 5s | 10s | | Kiwi | 720p | Gems | Gems | Gems | 5s | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Reference images | Up to 1 | | Character Voices | No | | First frame | Yes | | Last frame | No | | Video references | No | | LoRAs | No | | Negative prompts | Yes | | Resolutions | 480p, 720p, 1080p | | Durations | 5 to 10 seconds | ## Best for * Short clips from a prompt or a start image * Work that benefits from a negative prompt in video ## An example prompt to start from ```text theme={null} a paper boat drifting down a rain-filled gutter, camera tracking alongside at water level ``` ## Limitations * No Characters or References, so a face you built does not carry into a Kiwi clip. * 1080p always runs on Gems. ## Use via API Kiwi is available through the [Mage API](/api/overview) as the `kiwi` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/kiwi). # Krea 2 Turbo: fast image model on Mage Source: https://docs.mage.space/models/krea-2 Krea 2 Turbo is a fast image model on Mage, unlimited from Basic at 1K and from Pro at 2K, with LoRAs and negative prompts. Krea 2 Turbo is a fast image model. It runs unlimited from Basic at 1K and from Pro at 2K, and takes LoRAs and negative prompts. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Open-weights model hosted on Mage's GPUs | | Models | Krea 2 Turbo | | Unlimited from | Basic | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Krea 2 Turbo | 1K | Unlimited | Unlimited | Unlimited | Unlimited | | Krea 2 Turbo | 2K | Gems | Unlimited | Unlimited | Unlimited | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Image input | No | | LoRAs | Yes | | Negative prompts | Yes | | Edits an input image | No | | Resolutions | 1K, 2K | ## Best for * Fast iteration on composition * Aesthetic-led images ## An example prompt to start from ```text theme={null} a woman in a gray wool coat waiting at a tram stop, overcast afternoon, 50mm ``` ## Limitations * No image input, so no Characters or References. ## Use via API Krea 2 is available through the [Mage API](/api/overview) as the `krea_2` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/krea_2). # Lemon: balanced video model with clips up to 30s Source: https://docs.mage.space/models/lemon Lemon is Mage's balanced video model, unlimited from Pro, with clips from 2 to 30 seconds, Characters, References, Character Voices, audio and video references, and First and Last Frames. Lemon is Mage's balanced video model, built to sit between the entry-level models and the top end on both quality and price. It runs unlimited from Pro, takes more reference material than any Mage video model except Cherry 2 Pro, and generates clips from 2 to 30 seconds. ## Overview | Detail | | | - | - | | Type | Video | | Origin | Mage model, available only on Mage | | Models | Lemon | | Unlimited from | Pro | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Lemon | 480p | Gems | 3s | 7s | 11s | | Lemon | 720p | Gems | Gems | 3s | 5s | | Lemon | 1080p | Gems | Gems | Gems | 2s | Base settings. Reference video seconds bill like output seconds and can move a run from unlimited to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 10 | | Audio references | Up to 5 | | Character Voices | Yes | | First frame | Yes | | Last frame | Yes | | Video references | Yes, up to 5 clips | | Audio on the output | Optional | | LoRAs | No | | Negative prompts | No | | Resolutions | 480p, 720p, 1080p | | Durations | 2 to 30 seconds | ## Best for * Dynamic video at a lower cost than the top-end models * Editing an existing clip, using up to 5 video references * Character video with a consistent voice * Long clips, up to 30 seconds on Gems ## An example prompt to start from ```text theme={null} @sasha turns from the window and walks to the door, handheld camera follows, warm evening light ``` ## Limitations * Frame mode and reference mode are separate on this model: one generation uses a first or last frame, or Characters and References, not both. * Unlimited duration and resolution are set by your plan, and the ceilings differ by resolution. Everything beyond them runs on Gems. * Reference video seconds count like output seconds. Attaching clips raises the price and can move a run from unlimited to Gems. * Audio on the output is optional and switched on per generation. ## Use via API Lemon is available through the [Mage API](/api/overview) as the `lemon` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/lemon). # LTX Video: fast open-weights video model on Mage Source: https://docs.mage.space/models/ltx-video LTX Video is a fast open-weights video model on Mage, in Distilled and Dev variants, unlimited from Pro up to 480p and from Pro Plus at 720p. LTX Video is a fast open-weights video model. Mage runs the Distilled and Dev variants unlimited from Pro up to 480p and from Pro Plus at 720p. ## Overview | Detail | | | - | - | | Type | Video | | Origin | Open-weights model hosted on Mage's GPUs | | Models | LTX Video Distilled, LTX Video Dev | | Unlimited from | Pro | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | LTX Video Distilled | 240p | Gems | Unlimited | Unlimited | Unlimited | | LTX Video Distilled | 360p | Gems | Unlimited | Unlimited | Unlimited | | LTX Video Distilled | 480p | Gems | Unlimited | Unlimited | Unlimited | | LTX Video Distilled | 720p | Gems | Gems | Unlimited | Unlimited | | LTX Video Dev | 240p | Gems | Unlimited | Unlimited | Unlimited | | LTX Video Dev | 360p | Gems | Unlimited | Unlimited | Unlimited | | LTX Video Dev | 480p | Gems | Unlimited | Unlimited | Unlimited | | LTX Video Dev | 720p | Gems | Gems | Unlimited | Unlimited | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Reference images | Up to 1 | | Character Voices | No | | First frame | Yes | | Last frame | No | | Video references | No | | LoRAs | No | | Negative prompts | Yes | | Resolutions | LTX Video Distilled: 240p, 360p, 480p, 720p; LTX Video Dev: 240p, 360p, 480p, 720p | ## Best for * Fast video drafts * Image to video from a single start image ## An example prompt to start from ```text theme={null} steam rises from a cup of coffee as a hand reaches in and lifts it out of frame ``` ## Limitations * No Characters or References. * No last frame. ## Use via API LTX Video is available through the [Mage API](/api/overview) as the `ltx_video` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/ltx_video). # Mage image models: Mango, Guava, and SDXL Plus Source: https://docs.mage.space/models/mage-image-models Mango, Guava, and SDXL Plus: what each family does, which plan runs it unlimited, and its resolution ceiling. Mango and Guava are Mage's image families, each built for a specific job. SDXL Plus is a Mage pipeline on top of Stable Diffusion XL. Every family keeps its older versions available after a new one ships. ## The families at a glance | Model | Unlimited from | Top resolution | Characters | Negative prompts | | - | - | - | - | - | | Mango | Pro | 4K | No | No | | Mango 2 | Pro | 4K | Yes | No | | Mango 3S | Pro | 3K | Yes | No | | Mango 3 | Pro | 2K | Yes | No | | Mango 4 | Pro | 2K | Yes | No | | Guava | Pro | 2K | Yes | Yes | | Guava Pro | Pro | 2K | Yes | Yes | | Guava Pro 1.5 | Pro | 2K | Yes | Yes | | Guava 2 | Pro | 2K | Yes | Yes | | Guava 2 Pro | Pro | 2K | Yes | Yes | | SDXL Plus | Pro Plus | Model default | No | Yes | ## Picking between them | Your job | Model | | - | - | | A photoreal portrait, final render | Guava 2 Pro | | A photoreal portrait, still iterating | Guava 2 | | The same character across a set | Mango 4 with Characters | | Editing an image you already have | Mango 4 | | You need a negative prompt | Guava 2 or Guava 2 Pro | | 3K or 4K out of a Mage image model | Mango 3S or Mango 2 on Pro Plus or Max | | SDXL-style work with clean hands and faces | SDXL Plus | # Magejutsu: recast any video on Mage Source: https://docs.mage.space/models/magejutsu Magejutsu recasts a video you already have: send the clip and photos of who or what replaces it, and the motion, camera, timing and sound stay as filmed. Magejutsu edits a video instead of generating one. Give it a clip you already have and photos of who or what should be in it, and it rebuilds the cast and the scene while the performances, camera moves and timing stay as filmed. A director model watches your clip first and writes the edit for you. Open it at [mage.space/apps/magejutsu](https://www.mage.space/apps/magejutsu), and see [the Magejutsu app](/apps/magejutsu) for a step-by-step guide. ## Overview | Detail | | | - | - | | Type | Video | | Origin | Mage model, available only on Mage | | Models | Magejutsu, Magejutsu Lite, Magejutsu Feather | | Availability | Gems on every plan | ## What it supports on Mage | Feature | Support | | - | - | | Source video | Required, 4 to 30 seconds (15 on Lite and Feather) | | Reference images | Yes, up to 30 | | Characters and References | Yes, from the reference picker | | Output length | Follows the source | | Output aspect ratio | Follows the source | | Audio on the output | The source's own audio, restored after the render | | Resolutions | 480p, 720p, 1080p (480p and 720p on Feather) | | Modes | Motion transfer or object swap | | Directions | Optional | ## Best for * Putting yourself, a character, or a client into an existing clip * Changing a location, outfit, or product without reshooting * Keeping a real performance, dance, or camera move intact * Restyling footage you already own ## An example prompt to start from ```text theme={null} Replace the dancer with image 1, keeping the choreography, the camera move and the timing exactly as filmed. ``` Map each reference to its subject by position: "image 1 is the person on the left". One clear, front-lit photo per person is enough, and you can send up to 30 references: characters, outfits, props and places. ## Models | Model | Best for | | - | - | | Magejutsu | The best recasts: sources up to 30 seconds, and the most references reach the render | | Magejutsu Lite | Faster and cheaper: sources up to 15 seconds, and up to 9 references reach the render | | Magejutsu Feather | The cheapest and fastest: motion transfer only, 480p or 720p, sources up to 15 seconds, and up to 8 references reach the render | ## Modes | Mode | What it does | | - | - | | Motion transfer | Keeps the motion, camera, cuts and timing, and rebuilds who performs it (and the place, if you send one) | | Object swap | Changes only what your references point at and keeps every other part of the shot as filmed | Magejutsu prepares the source for the mode itself; there is nothing else to set. Directions are optional: without them, the director maps your references to the clip on its own. ## Limitations * Sources run 4 to 30 seconds, and the result matches the source length and shape. * It edits footage rather than inventing it, so a source clip is required. * The result is billed in Gems on every plan. ## Use via API Magejutsu is available through the [Mage API](/api/overview) as the `magejutsu` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/magejutsu). # Mango: consistent characters and image editing Source: https://docs.mage.space/models/mango Mango is Mage's image model family for consistent characters and editing. Mango 4, the newest, is the default model, and Mango 3 Turbo drafts at one flat price. Plan gating, resolutions, and feature support for every version. Mango is Mage's image model family for character work, scene merging, and editing. Mango 4, the newest, is the default model: it renders the most lifelike light and skin and the sharpest small text, and keeps the rest of an image steady over many rounds of edits. Mango 3 Turbo is the draft model, at one flat price however many references a run takes. Older versions stay available, so a workflow tuned against one of them keeps working. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Mage model, available only on Mage | | Models | Mango, Mango 2, Mango 3S, Mango 3, Mango 3 Turbo, Mango 4 | | Unlimited from | Pro | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Mango | 1K | Gems | Unlimited | Unlimited | Unlimited | | Mango | 2K | Gems | Unlimited | Unlimited | Unlimited | | Mango | 3K | Gems | Gems | Unlimited | Unlimited | | Mango | 4K | Gems | Gems | Unlimited | Unlimited | | Mango 2 | 2K | Gems | Unlimited | Unlimited | Unlimited | | Mango 2 | 3K | Gems | Gems | Unlimited | Unlimited | | Mango 2 | 4K | Gems | Gems | Unlimited | Unlimited | | Mango 3S | 2K | Gems | Unlimited | Unlimited | Unlimited | | Mango 3S | 3K | Gems | Gems | Unlimited | Unlimited | | Mango 3 | 1K | Gems | Unlimited | Unlimited | Unlimited | | Mango 3 | 2K | Gems | Unlimited | Unlimited | Unlimited | | Mango 3 Turbo | 1K | Gems | Unlimited | Unlimited | Unlimited | | Mango 3 Turbo | 2K | Gems | Unlimited | Unlimited | Unlimited | | Mango 4 | 1K | Gems | Unlimited | Unlimited | Unlimited | | Mango 4 | 2K | Gems | Unlimited | Unlimited | Unlimited | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Mango 2, Mango 3S, Mango 3, Mango 3 Turbo, Mango 4 | | Reference images | Up to 10 | | Moodboards | Mango 2 | | LoRAs | No | | Negative prompts | No | | Edits an input image | Yes | | Resolutions | Mango: 1K, 2K, 3K, 4K; Mango 2: 2K, 3K, 4K; Mango 3S: 2K, 3K; Mango 3, Mango 3 Turbo, and Mango 4: 1K, 2K | ## Best for * The same face across a set of images, using Characters * Combining elements from several images into one scene * Editing part of an image while the rest stays put * Prompts with exact instructions that have to land * Fast drafts with Mango 3 Turbo, then a final pass on Mango 4 * Photoreal skin and light, dense small text, and long chains of edits on Mango 4 ## An example prompt to start from ```text theme={null} @sasha sitting at a window table in @cafe, reading, morning light, 35mm ``` ## Limitations * Mango has no negative prompt field. If you need to exclude something specific, use Guava, which does. * Mango 3, Mango 3 Turbo, and Mango 4 top out at 2K. Mango 3S reaches 3K and Mango 2 reaches 4K, both on Pro Plus and above, and the Image Enhancer app upscales any output afterwards. * Characters work on Mango 2, Mango 3S, Mango 3, Mango 3 Turbo, and Mango 4, not on the original Mango. Moodboards work on Mango 2. ## Use via API Mango is available through the [Mage API](/api/overview) as the `mango` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/mango). # Melon and Melon Pro: anime video models on Mage Source: https://docs.mage.space/models/melon Melon and Melon Pro are Mage's anime video models, unlimited from Pro, with Characters, References, and First and Last Frames. Melon is Mage's anime video model, shipped as Melon and the higher-quality Melon Pro. Both take Characters and References, or First and Last Frames, and both run unlimited from Pro. ## Overview | Detail | | | - | - | | Type | Video | | Origin | Mage model, available only on Mage | | Models | Melon, Melon Pro | | Unlimited from | Pro | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Melon | 540p | Gems | 5s | 10s | 16s | | Melon | 720p | Gems | 3s | 6s | 10s | | Melon | 1080p | Gems | Gems | 5s | 8s | | Melon Pro | 540p | Gems | 4s | 8s | 10s | | Melon Pro | 720p | Gems | Gems | 3s | 5s | | Melon Pro | 1080p | Gems | Gems | 3s | 4s | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 7 | | Character Voices | No | | First frame | Yes | | Last frame | Yes | | Video references | No | | LoRAs | No | | Negative prompts | No | | Resolutions | Melon: 540p, 720p, 1080p; Melon Pro: 540p, 720p, 1080p | | Durations | Melon: 3 to 16 seconds; Melon Pro: 3 to 16 seconds | ## Best for * Anime and illustrated motion * Character-driven anime scenes * Clips that connect frame to frame * Long unlimited clips: Melon reaches 16 seconds at 540p on Max ## An example prompt to start from ```text theme={null} @mika runs along the school rooftop and stops at the railing, wind in her hair, sunset behind her, anime ``` ## Limitations * There are no Character Voices or audio references. Generate dialogue on Seed Audio, or use Plum or Lemon. * Frame mode and reference mode are separate on this model: one generation uses a first or last frame, or Characters and References, not both. * It is tuned for anime, so photoreal subjects come out better on Cherry or Plum. ## Use via API Melon is available through the [Mage API](/api/overview) as the `melon` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/melon). # MiniMax-H3: video with stereo audio on Mage Source: https://docs.mage.space/models/minimax-h3 MiniMax-H3 is an open video model on Mage that generates video and stereo audio together. Unlimited from Pro, with Characters, References, Character Voices, and clips up to 15 seconds. MiniMax-H3 is an open video model that generates video and stereo audio together. Mage runs it three ways: Pika H3 Flex, the default, Pika Labs' six-step version for directing shots; MiniMax-H3 Turbo, which costs less; and the base MiniMax-H3, which goes to 8 seconds. Pika H3 Flex and Turbo run unlimited from Pro for clips up to 15 seconds. All three take Characters, References, Character Voices, audio and video references, and video LoRAs. ## Overview | Detail | | | - | - | | Type | Video | | Origin | Open-weights model hosted on Mage's GPUs | | Models | MiniMax-H3 Turbo, Pika H3 Flex, MiniMax-H3 | | Unlimited from | Pro | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | MiniMax-H3 Turbo | 480p | Gems | 15s | 15s | 15s | | MiniMax-H3 Turbo | 544p | Gems | 15s | 15s | 15s | | MiniMax-H3 Turbo | 720p | Gems | 12s | 15s | 15s | | MiniMax-H3 Turbo | 768p | Gems | 10s | 15s | 15s | | Pika H3 Flex | 480p | Gems | 15s | 15s | 15s | | Pika H3 Flex | 544p | Gems | 15s | 15s | 15s | | Pika H3 Flex | 720p | Gems | 8s | 15s | 15s | | Pika H3 Flex | 768p | Gems | 8s | 12s | 15s | | MiniMax-H3 | 480p | Gems | 8s | 8s | 8s | | MiniMax-H3 | 544p | Gems | 6s | 8s | 8s | | MiniMax-H3 | 720p | Gems | Gems | 6s | 8s | | MiniMax-H3 | 768p | Gems | Gems | 5s | 7s | Base settings. Two LoRAs move a run to Max, and reference clips add to the price. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 9 | | Audio references | Up to 3 | | Character Voices | Yes | | First frame | Yes | | Last frame | Yes | | Video references | Yes, sharing a 21 second budget with the output | | Audio on the output | Yes, stereo audio with the video | | LoRAs | Yes | | Negative prompts | No | | Resolutions | 480p, 544p, 720p, 768p | | Durations | MiniMax-H3 Turbo and Pika H3 Flex: 5 to 15 seconds; MiniMax-H3: 5 to 8 seconds | ## Best for * Long unlimited clips: 15 seconds at 480p on Pro with MiniMax-H3 Turbo * Video with sound generated alongside it * Character video with a consistent voice * Timed multi-shot scenes, camera moves, and reference-guided animation on Pika H3 Flex ## An example prompt to start from ```text theme={null} @sasha reads the letter aloud at the kitchen table, morning light, soft room tone ``` ## Limitations * Frame mode and reference mode are separate on this model: one generation uses a first or last frame, or Characters and References, not both. * References share a 21 second budget with the clip: each reference image counts as 2 seconds and each reference video as its own length. * Up to 2 LoRAs, and only 1 on longer clips. Two LoRAs move a run to Max. ## Use via API MiniMax-H3 is available through the [Mage API](/api/overview) as the `minimax_h3` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/minimax_h3). # MiniMax H3 Image: open-weights 4K images and edits on Mage Source: https://docs.mage.space/models/minimax-h3-image MiniMax H3 Image is MiniMax's open-weights image model on Mage: text-to-image and edits from up to 16 reference images, at 2K or native 4K, with Characters, References, and LoRAs. MiniMax H3 Image is MiniMax's open-weights image model, released on November 10, 2026 as part of the MiniMax-H3 family. One model makes images from text and edits or combines up to 16 reference images, at 2K (about 4 megapixels) or its native 4K (about 16 megapixels). It follows long, detailed instructions closely, renders text in the image well, and is strong at photorealism. Mage runs it on its own GPUs, so a 2K image takes a few seconds and a 4K image about 13. It takes Characters, References, and LoRAs. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Open-weights model hosted on Mage's GPUs | | Models | MiniMax H3 Image | | Unlimited from | Pro | ## Unlimited generation by plan Which plan runs each resolution unlimited at launch, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | MiniMax H3 Image | 2K | Gems | Unlimited | Unlimited | Unlimited | | MiniMax H3 Image | 4K | Gems | Gems | Unlimited | Unlimited | Three or more LoRAs move a run to Pro Plus. On Gems, a text-to-image run costs 15 Gems at 2K and 25 at 4K at launch, and each reference image adds a few Gems; the app shows the price before you generate. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 16 | | Edits an input image | Yes | | LoRAs | Yes | | Negative prompts | No | | Text in the image | Yes | | Resolutions | 2K, 4K | | Aspect ratios | All nine, from 21:9 to 9:21 | ## Best for * Photoreal images with fine detail at a native 16 megapixels * Long, detailed prompts and complex instructions * Posters, signs, labels, and other text in the image * Edits that change one thing, and composites that bring many images into one scene * Styles from MiniMax H3 Image LoRAs ## Writing prompts MiniMax H3 Image does best with a detailed English description of the whole image: the subject, the setting, the composition, the light, the style, and any text that should appear, in quotes. Short prompts work too, with less control over the result. Reference images are `image 1`, `image 2`, and so on, in order: your uploads first, then the Characters you mention, then the References you mention. Write `@image1` for an upload and `@handle` for a Character or Reference, as on other models. For an edit, say what to keep from each image, say what changes, then describe the image you want. ## Example prompts to start from ```text theme={null} An overhead photo of a farmhouse breakfast on a weathered oak table: a cast-iron skillet of fried eggs, a sourdough loaf with a cracked golden crust, a jar of honey with a wooden dipper, and a small card by the plate that reads "GOOD MORNING" in black capitals. Soft morning light from the upper left, long gentle shadows, natural colors. ``` ```text theme={null} Keep the face, hair, and expression of @sasha exactly as they are. Dress her in the red wool coat from @image1 and stand her on a rainy city street at dusk, under a lit shop sign that reads "OPEN LATE". A vertical street photo with wet pavement reflections and warm window light. ``` ## Using LoRAs Pick a MiniMax H3 Image LoRA under **Model → LoRA**, or bring your own on the [Import](https://www.mage.space/import) page by choosing MiniMax H3 Image as its model. Only LoRAs import for this model, not checkpoints. See [LoRAs](/features/loras) for how weights and stacking work. ## Limitations * No negative prompt, step count, or guidance scale: the model is distilled to six steps with its guidance built in. To leave something out, describe the image without it. * 2K is the smallest size; there is no 1K option. * Each reference image adds time and Gems, so an edit from many images takes longer than text-to-image. ## Use via API MiniMax H3 Image is available through the [Mage API](/api/overview) as the `minimax_h3_image` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/minimax_h3_image). # MiniMax Music 3: open-weights songs from your lyrics on Mage Source: https://docs.mage.space/models/minimax-music-3 MiniMax Music 3 is MiniMax's open-weights song model on Mage: complete songs up to 5 minutes that sing your own lyrics, or instrumentals, with LoRAs. MiniMax Music 3 is MiniMax's open-weights music model. You write the lyrics and describe the music, and it performs a complete song up to five minutes long: verses, choruses, a bridge, expressive vocals, and an arrangement that develops from the intro to the outro. It also makes instrumentals. Mage runs it on its own GPUs and returns a 44.1 kHz stereo MP3. It takes MiniMax Music 3 LoRAs. ## Overview | Detail | | | - | - | | Type | Audio | | Origin | Open-weights model hosted on Mage's GPUs | | Models | MiniMax Music 3 | | Unlimited from | Basic | ## Unlimited generation by plan MiniMax Music 3 is priced by the **Length** you pick, the longest the song may run. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | MiniMax Music 3 | 30 or 60 seconds | Unlimited | Unlimited | Unlimited | Unlimited | | MiniMax Music 3 | 120 or 180 seconds | Gems | Unlimited | Unlimited | Unlimited | | MiniMax Music 3 | 240 or 300 seconds | Gems | Gems | Unlimited | Unlimited | ## What it supports on Mage | Feature | Support | | - | - | | Your own lyrics | Yes, in the Lyrics setting | | Instrumentals | Yes: leave Lyrics empty or turn on Instrumental | | Lengths | Up to 30, 60, 120, 180, 240, or 300 seconds | | LoRAs | Yes | | Seed | Yes | | Audio references | No | | Characters and References | No | ## Best for * Full songs that sing your own lyrics, word for word * Song structure in the order you tag it: verses, choruses, bridges, solos, outros * Arrangements that build, with instruments entering and dropping out by section * Instrumental tracks and scores * Songs in English and Mandarin Chinese ## Writing prompts MiniMax Music 3 takes two inputs. The **prompt** describes the music: the genre and subgenre, the tempo in BPM, the key, the mood and how it builds, the singer, and what the instruments do in each section. **Lyrics**, on the Advanced page, holds the words to sing. Put each section tag (`[intro]`, `[verse]`, `[pre-chorus]`, `[chorus]`, `[bridge]`, `[instrumental]`, `[solo]`, `[outro]`) alone on its own line, with the sung lines below it. Words on the same line as a tag are dropped. Always describe the singer, such as "warm female lead, breathy in the verses, soaring in the chorus", or the song can come out instrumental. **Length** is a limit, not a target: the model ends the song when the lyrics and the arrangement are done, and stops at the limit even mid-line. A verse and a chorus fill about a minute. See the [prompting guide](https://www.mage.space/models/minimax-music-3/prompting-guide) for templates and examples. ## Example prompt and lyrics to start from The prompt: ```text theme={null} Indie folk pop ballad, 84 BPM, G major. Tender and hopeful, opening hushed and swelling into a wide, glowing final chorus. Vocals: warm female lead, close and breathy in the verses, opening up with soft stacked harmonies in the chorus. Arrangement: fingerpicked acoustic guitar and felt piano carry the verses; cello and brushed drums enter at the first chorus; a gentle string swell lifts the last chorus, then the song falls back to guitar alone. ``` The lyrics: ```text theme={null} [verse] We wrote our wishes on paper lanterns Down by the river when the night was new [chorus] So let them rise, let them rise Little fires in a velvet sky [outro] I will light the way ``` ## Using LoRAs Pick a MiniMax Music 3 LoRA under **Model → LoRA**, or bring your own on the [Import](https://www.mage.space/import) page by choosing MiniMax Music 3 as its model. LoRAs import from Hugging Face or CivitAI; checkpoints do not. See [LoRAs](/features/loras) for how weights and stacking work. ## Limitations * It sings the lyrics you write; it does not write lyrics for you. For a song whose lyrics the model writes, use [Eleven Music](/models/eleven-music). * No audio references: it cannot copy a voice, a melody, or a recording. * Tempo, key, and structure are followed as guidance, not exactly. * English and Mandarin Chinese are the languages MiniMax demonstrates; others are untested. ## Use via API MiniMax Music 3 is available through the [Mage API](/api/overview) as the `minimax_music` architecture, with the words to sing in `lyrics`. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/minimax_music). # MOSS-Image: open-weights image model on Mage Source: https://docs.mage.space/models/moss-image MOSS-Image is an open-weights image model on Mage for long, detailed prompts and English or Chinese text, unlimited from Basic at 1K and from Pro at 2K, with LoRAs and negative prompts. MOSS-Image is an open-source text-to-image model from the OpenMOSS team, released under the Apache 2.0 license. It follows long, detailed prompts and renders English and Chinese text, and Mage runs it on its own GPUs, so there is nothing to download. It runs unlimited from Basic at 1K and from Pro at 2K, and takes LoRAs and negative prompts. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Open-weights model hosted on Mage's GPUs | | Models | MOSS-Image | | Unlimited from | Basic | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | MOSS-Image | 1K | Unlimited | Unlimited | Unlimited | Unlimited | | MOSS-Image | 2K | Gems | Unlimited | Unlimited | Unlimited | Add-ons such as LoRAs may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Image input | No | | LoRAs | Yes | | Negative prompts | Yes | | Edits an input image | No | | Resolutions | 1K, 2K | ## Best for * Long, detailed prompts that describe a whole scene * Signs, posters, and menus with English or Chinese text * Styles from community MOSS-Image LoRAs ## Using LoRAs Pick a community MOSS-Image LoRA under **Model → LoRA**, or bring your own from CivitAI on the [Import](https://www.mage.space/import) page: paste the model's link and Mage recognizes the "MOSS Image" base model. LoRA, LoCon, LoKr, LoHa, and DoRA files all work. See [LoRAs](/features/loras) for how weights and stacking work. ## An example prompt to start from ```text theme={null} a cozy bookstore cafe at night, a chalkboard sign by the door reading "FRESH COFFEE $3", warm window light, rain on the street, photo ``` ## Limitations * No image input, so no Characters, References, or edits. * It runs 50 steps at full quality, so it is slower than few-step models. ## Use via API MOSS-Image is available through the [Mage API](/api/overview) as the `moss_image` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/moss_image). # Nano Banana 2 on Mage: references and edits Source: https://docs.mage.space/models/nano-banana-2 Run Google's Nano Banana 2.1 and Nano Banana 2 on Mage: up to 14 reference images, Characters, Moodboards, and edits. Unlimited from Pro Plus at 1K on Nano Banana 2.1. Google's safety filter applies. Nano Banana 2 is Google's image model family, run by Google and reached through Mage. Nano Banana 2.1 is the newer model and the default: it costs less and improves on Nano Banana 2's visual quality, prompt adherence, character consistency, and text. Both take up to 14 reference images, Characters, and Moodboards, edit an input image, and reach 4K. Nano Banana 2.1 runs unlimited from Pro Plus at 1K and on Max at 2K. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Run by Google, whose safety filter applies | | Models | Nano Banana 2.1, Nano Banana 2 | | Unlimited from | Pro Plus | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Nano Banana 2.1 | 1K | Gems | Gems | Unlimited | Unlimited | | Nano Banana 2.1 | 2K | Gems | Gems | Gems | Unlimited | | Nano Banana 2 | 512px | Gems | Gems | Unlimited | Unlimited | | Nano Banana 2 | 1K | Gems | Gems | Gems | Unlimited | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 14 | | Moodboards | Nano Banana 2.1, Nano Banana 2 | | LoRAs | No | | Negative prompts | No | | Edits an input image | Yes | | Resolutions | 1K, 2K, 4K; Nano Banana 2 also offers 512px | ## Best for * Work that needs many reference images * Moodboard-driven generation * Editing with a plain-language instruction ## An example prompt to start from ```text theme={null} a matte black coffee bag on a concrete surface, label reading SINGLE ORIGIN in a clean sans-serif, morning light ``` ## Limitations * Google's safety filter applies, and Mage cannot override it. * 4K always runs on Gems, and so does Nano Banana 2 at 2K. * Nano Banana 2.1 has no 512px setting. * No negative prompt field. ## Use via API Nano Banana 2 is available through the [Mage API](/api/overview) as the `nano_banana_v2` architecture, with Nano Banana 2.1 as `nano-banana-v2.1` (the default) and Nano Banana 2 as `nano-banana-v2`. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/nano_banana_v2). # Models on Mage: every image, video, and audio model Source: https://docs.mage.space/models/overview Every image, video, and audio model on Mage, grouped by where it comes from, with the plan that runs it unlimited and whether it takes Characters. Mage runs image, video, and audio models in the browser. Some are Mage's own models. Some are open-weights models hosted on Mage's GPUs. A few are run by the lab that built them and reached through Mage, and those carry that lab's safety filter. Every model accepts Gems. A model that a plan includes also runs unlimited on that plan at its base settings, within the resolution and duration ceilings on its page; add-ons such as LoRAs or extra references may raise a run's price and move it to a higher plan. See [comparing plans](/plans/comparing-plans) for the plan-by-plan view. Each model also has a page on Mage itself, where you can see what it makes and open it in the app: browse them at [mage.space/models](https://www.mage.space/models). To call a model from your own code, see [Models in the API](/api/models/overview). ## Mage models | Page | Models | Type | Unlimited from | Characters | | - | - | - | - | - | | [Mango](/models/mango) | Mango, Mango 2, Mango 3S, Mango 3, Mango 3 Turbo, Mango 4 | Image | Pro | Yes | | [Guava](/models/guava) | Guava, Guava Pro, Guava Pro 1.5, Guava 2, Guava 2 Pro | Image | Pro | Yes | | [Cherry](/models/cherry) | Cherry Mini, Cherry, Cherry Pro, Cherry 2 Pro | Video | Pro Plus | Yes | | [Plum, Plum Max, and Plum Fast](/models/plum) | Plum, Plum Max, Plum Fast | Video | Pro | Yes | | [Lemon](/models/lemon) | Lemon | Video | Pro | Yes | | [Magejutsu](/models/magejutsu) | Magejutsu, Magejutsu Lite, Magejutsu Feather | Video | Gems only | Yes | | [Melon and Melon Pro](/models/melon) | Melon, Melon Pro | Video | Pro | Yes | | [Berry and Berry 2](/models/berry) | Berry, Berry 2 | Video | Pro | Yes | | [Blueberry 2 and Raspberry](/models/blueberry-and-raspberry) | Blueberry, Blueberry 2, Raspberry | Video | Pro Plus | Yes | | [Kiwi](/models/kiwi) | Kiwi | Video | Pro Plus | No | | [Pear and Motion Control](/models/pear-motion-control) | Pear | Video | Max | No | | [SDXL Plus](/models/sdxl-plus) | SDXL Plus | Image | Pro Plus | No | ## Open-weights models | Page | Models | Type | Unlimited from | Characters | | - | - | - | - | - | | [Stable Diffusion](/models/stable-diffusion) | Stable Diffusion v1.5, Stable Diffusion XL, Stable Diffusion v3.5 Large | Image | Basic | No | | [The Illustrious family](/models/illustrious) | Catalog checkpoints | Image | Basic | No | | [The Pony family](/models/pony) | Catalog checkpoints | Image | Basic | No | | [Flux 2](/models/flux) | Flux 2 | Image | Basic | No | | [Chroma](/models/chroma) | Chroma | Image | Basic | No | | [Krea 2](/models/krea-2) | Krea 2 Turbo | Image | Basic | No | | [Z-Image](/models/z-image) | Z-Image | Image | Basic | No | | [MOSS-Image](/models/moss-image) | MOSS-Image | Image | Basic | No | | [HiDream](/models/hidream) | HiDream | Image | Pro | No | | [Anima](/models/anima) | Anima | Image | Pro | No | | [MiniMax H3 Image](/models/minimax-h3-image) | MiniMax H3 Image | Image | Pro | Yes | | [Wan Video](/models/wan-video) | Wan Video v2.2, Wan Video v2.2 Lightning | Video | Pro | No | | [LTX Video](/models/ltx-video) | LTX Video Distilled, LTX Video Dev | Video | Pro | No | | [MiniMax-H3](/models/minimax-h3) | MiniMax-H3 Turbo, Pika H3 Flex, MiniMax-H3 | Video | Pro | Yes | ## Models run by their lab | Page | Models | Type | Unlimited from | Characters | | - | - | - | - | - | | [GPT Image 2](/models/gpt-image-2) | GPT Image 2, GPT Image 2.5 Flare, GPT Image 2.5 Sunburst, GPT Image 2.6 Flare, GPT Image 2.6 Sunburst | Image, GIF | Basic | Yes | | [Grok Image and Grok Video](/models/grok) | Grok Image, Grok Image 2.0, Grok Video | Image and Video | Pro | Yes | | [Nano Banana 2](/models/nano-banana-2) | Nano Banana 2, Nano Banana 2.1 | Image | Pro Plus | Yes | | [Seedance](/models/seedance) | Seedance 2.0 Mini, Seedance 2.0 Fast, Seedance 2.0, Seedance 2.5 | Video | Pro Plus | Yes | | [Seedream](/models/seedream) | Seedream 4.0, Seedream 4.5, Seedream 5.0 Lite, Seedream 5.0 Pro, Seedream 5.0 Flash, Seedream 5.5 | Image | Pro | Yes | | [Wan 3.0](/models/wan-3) | Wan 3.0 | Video | Pro | Yes | ## Audio | Page | Models | Type | Unlimited from | Characters | | - | - | - | - | - | | [Seed Audio](/models/seed-audio) | Seed Audio | Audio | Basic | No | | [Eleven Speech](/models/eleven-speech) | Eleven v4 | Audio | Basic | No | | [Eleven Music](/models/eleven-music) | Eleven Music v2.5 | Audio | Basic | No | | [MiniMax Music 3](/models/minimax-music-3) | MiniMax Music 3 | Audio | Basic | No | ## Community checkpoints and LoRAs Alongside the base models, the model catalog carries community checkpoints and LoRAs, including the Illustrious and Pony families. You can import your own on Pro Plus and Max. See [LoRAs on Mage](/features/loras) and [importing custom models](/features/importing-custom-models). # Pear and Motion Control: move a Character on Mage Source: https://docs.mage.space/models/pear-motion-control Pear is the model behind Motion Control on Mage: it transfers the movement in a reference video onto one of your Characters. Unlimited on Max up to 8 seconds. > [!WARNING] > > Motion Control is being retired. [Magejutsu](/apps/magejutsu) replaces it: it > keeps the motion, camera, and timing of any clip and recasts every part with > your references, at higher quality. Pear is the model behind Motion Control. You supply a reference video and a Character, and the movement in the video is transferred onto the Character. It is reached from the Motion Control page on mage.space rather than the model picker. ## Overview | Detail | | | - | - | | Type | Video | | Origin | Mage model, available only on Mage | | Models | Pear | | Unlimited from | Max, up to 8 seconds | ## Unlimited generation by plan Pear runs unlimited on Max for clips up to 8 seconds. Longer clips run on Gems on every plan, and there is no unlimited tier below Max. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Reference images | Up to 1 | | Character Voices | No | | First frame | No | | Last frame | No | | Video references | No | | LoRAs | No | | Negative prompts | No | ## Best for * A specific movement you can film or find but not describe * Dance, gesture, and performance * Keeping the timing of a real performance ## Limitations * Unlimited on Max covers clips up to 8 seconds. Longer clips run on Gems on every plan. * The output is only as good as the reference video. Fast, cluttered, or partly hidden movement transfers badly. # Plum, Plum Max, and Plum Fast: video with generated audio Source: https://docs.mage.space/models/plum Plum is Mage's full-feature video model with generated audio on every clip. Plum Fast is the fastest, lowest-cost variant and starts unlimited on Pro. Plans, resolutions, durations, and feature support. Plum is Mage's full-feature video model. It takes Characters, References, Character Voices, audio and video references, and First and Last Frames, and it generates audio on every clip. Plum Max is the faster variant, and Plum Fast the fastest and lowest-cost one, which runs unlimited from Pro. ## Overview | Detail | | | - | - | | Type | Video | | Origin | Mage model, available only on Mage | | Models | Plum, Plum Max, Plum Fast | | Unlimited from | Pro | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Plum | 768p | Gems | Gems | Gems | 5s | | Plum | 2K | Gems | Gems | Gems | 4s | | Plum Max | 480p | Gems | Gems | 5s | 9s | | Plum Max | 768p | Gems | Gems | Gems | 5s | | Plum Fast | 480p | Gems | 5s | 11s | 15s | | Plum Fast | 768p | Gems | Gems | 6s | 10s | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 9 | | Audio references | Up to 3 | | Character Voices | Yes | | First frame | Yes | | Last frame | Yes | | Video references | Yes | | Audio on the output | Yes, on every clip | | LoRAs | No | | Negative prompts | No | | Resolutions | Plum: 768p, 2K; Plum Max and Plum Fast: 480p, 768p | | Durations | Plum and Plum Fast: 4 to 15 seconds; Plum Max: 5 to 15 seconds | ## Best for * A planned shot where the subject, the framing, and the sound are all specified * Character dialogue in video * Motion at 2K, which Plum reaches * Sequences that connect frame to frame ## An example prompt to start from ```text theme={null} @sasha walks from the doorway to the window and stops, camera holds still, late afternoon light ``` ## Limitations * Plum itself runs unlimited only on Max. Plum Fast is the route on Pro, at 480p, and Plum Fast and Plum Max on Pro Plus. * Frame mode and reference mode are separate on this model: one generation uses a first or last frame, or Characters and References, not both. * On Plum Max and Plum Fast a last frame must be paired with a first frame. * Anything up to 15 seconds runs on Gems once you pass your plan's ceiling. ## Use via API Plum is available through the [Mage API](/api/overview) as the `plum` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/plum). # The Pony family: SDXL community models on Mage Source: https://docs.mage.space/models/pony Generate with Pony fine-tunes in the browser on Mage: SDXL-based community checkpoints in the model catalog, unlimited from Basic. Pony is an image model family known for character work and a large community fine-tune catalog. There is no base model on Mage called Pony. The catalog holds Pony checkpoints, hosted on Mage's GPUs, so they work in a browser tab with no local install. ## Overview | Detail | | | - | - | | Type | Image | | Origin | SDXL checkpoints in the model catalog, hosted on Mage's GPUs | | Unlimited from | Basic, like every SDXL checkpoint | ## Best for * Character illustration * Stylized and semi-realistic art * Workflows that already depend on SDXL LoRAs * Score-tag prompting ## An example prompt to start from ```text theme={null} score_9, score_8_up, a woman with long dark hair in a leather jacket standing on a rooftop, dusk lighting ``` ## Limitations * Pony checkpoints are SDXL-based, so anything trained for SDXL generally loads against them, and they are not connected to Characters or References. * Prompt adherence is weaker than Flux 2 or Mango 4, and text inside an image usually comes out wrong. # SDXL Plus: high-detail SDXL pipeline on Mage Source: https://docs.mage.space/models/sdxl-plus SDXL Plus is Mage's high-detail SDXL pipeline with face and hand cleanup, unlimited from Pro Plus, with LoRAs and negative prompts. SDXL Plus is Mage's high-detail SDXL pipeline with face and hand cleanup built in. It is slower and costs more Gems than plain SDXL, takes LoRAs and negative prompts, and runs unlimited from Pro Plus. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Mage model, available only on Mage | | Models | SDXL Plus | | Unlimited from | Pro Plus | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | SDXL Plus | Base settings | Gems | Gems | Unlimited | Unlimited | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Reference images | Up to 1 | | LoRAs | Yes | | Negative prompts | Yes | | Edits an input image | No | ## Best for * SDXL-style work where hands and faces have to come out clean * LoRA workflows that need a stronger base than SDXL ## An example prompt to start from ```text theme={null} a courier with silver hair in a red jacket, city street at night, neon reflections, detailed ``` ## Limitations * No Characters or References. For a face held across a set, use Mango 4. ## Use via API SDXL Plus is available through the [Mage API](/api/overview) as the `sdxl_plus` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/sdxl_plus). # Seed Audio: voices, music, and sound effects Source: https://docs.mage.space/models/seed-audio Generate voices, music, and sound effects on Mage with Seed Audio: clips of 5 to 120 seconds with audio or image references. Short clips run unlimited from Basic; longer clips need Pro, Pro Plus, or Max. Mage generates audio as well as images and video. Audio generation runs on Seed Audio, which takes a text prompt plus up to 3 audio references or one image reference and produces clips of 5 to 120 seconds. The unlimited tier follows the clip length: 5 and 10 second clips from Basic, 30 seconds from Pro, 60 seconds from Pro Plus, and 120 seconds on Max. ## Overview | Detail | | | - | - | | Type | Audio | | Origin | Audio model reached through Mage | | Models | Seed Audio | | Unlimited from | Basic | ## Unlimited generation by plan Which plan runs each clip length unlimited. The price rises with the duration, and the unlimited tier rises with it. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Seed Audio | 5 seconds | Unlimited | Unlimited | Unlimited | Unlimited | | Seed Audio | 10 seconds | Unlimited | Unlimited | Unlimited | Unlimited | | Seed Audio | 30 seconds | Gems | Unlimited | Unlimited | Unlimited | | Seed Audio | 60 seconds | Gems | Gems | Unlimited | Unlimited | | Seed Audio | 120 seconds | Gems | Gems | Gems | Unlimited | Audio and image references do not change the price; only the duration does. ## What it supports on Mage | Feature | Support | | - | - | | Image references | Up to 1 | | Audio references | Up to 3 | | LoRAs | No | | Negative prompts | No | | Durations | 5, 10, 30, 60, or 120 seconds | ## Best for * Character dialogue and narration * Music beds up to 2 minutes * Sound effects and ambience * Audio matched to an image you generated ## An example prompt to start from ```text theme={null} a warm mid-range female narrator reading slowly, small room, no music ``` ## Limitations * 120 seconds is the ceiling for a single generation, and it runs unlimited only on Max. Longer pieces are generated in parts. * An image reference and audio references are exclusive; a generation uses one kind or the other. * Several video models generate their own audio, including Plum and MiniMax-H3. If the audio is for a clip on one of those, you may not need a separate generation. ## Use via API Seed Audio is available through the [Mage API](/api/overview) as the `seed_audio` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/seed_audio). # Seedance: Seedance 2.5 and 2.0 video models with Strict Filter Source: https://docs.mage.space/models/seedance Seedance is ByteDance's video line on Mage, with ByteDance's strict content filter: Seedance 2.0 Mini, 2.0 Fast, 2.0, and 2.5. Which plan runs each one unlimited, at what resolution and duration, and what each supports. Seedance is ByteDance's video line, with four models from Seedance 2.0 Mini to Seedance 2.5, run on Mage with ByteDance's content filter on (Strict Filter). Every model in the line takes Characters, References, audio references, and Character Voices, and can edit an existing clip. Seedance 2.5 is the most capable and the most expensive to run. ## Overview | Detail | | | - | - | | Type | Video | | Origin | ByteDance, run with ByteDance's content filter on | | Models | Seedance 2.0 Mini, Seedance 2.0 Fast, Seedance 2.0, Seedance 2.5 | | Unlimited from | Pro Plus | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Seedance 2.0 Mini | 480p | Gems | Gems | 5s | 8s | | Seedance 2.0 Mini | 720p | Gems | Gems | Gems | 4s | | Seedance 2.0 Fast | 480p | Gems | Gems | 4s | 5s | | Seedance 2.0 | 480p | Gems | Gems | Gems | 5s | | Seedance 2.5 | 480p | Gems | Gems | Gems | 4s | Base settings. Editing an existing clip bills its input seconds too, so video edits always resolve through the price rather than the carve-outs above. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 8, and 29 on Seedance 2.5 | | Audio references | Up to 3 | | Character Voices | Yes | | First frame | Yes | | Last frame | Yes, with a first frame | | Video references | Yes, up to 15 seconds of input on Seedance 2.0 Fast, Seedance 2.0 Mini, and Seedance 2.0, and up to 30 seconds on Seedance 2.5 | | LoRAs | No | | Negative prompts | No | | Resolutions | Seedance 2.0 Mini: 480p, 720p; Seedance 2.0 Fast: 480p, 720p; Seedance 2.0: 480p, 720p, 1080p, 4K; Seedance 2.5: 480p, 720p, 1080p | | Durations | Seedance 2.0 Mini: 4 to 15 seconds; Seedance 2.0 Fast: 4 to 15 seconds; Seedance 2.0: 4 to 15 seconds; Seedance 2.5: 4 to 30 seconds | ## Best for * Final-quality video * Clips longer than 15 seconds, which only Seedance 2.5 reaches * Work that needs many reference images: up to 8, and up to 29 on Seedance 2.5 * Audio driven by a reference you supply ## An example prompt to start from ```text theme={null} @sasha walks along the harbour wall as gulls lift off, camera tracking from the side, late light ``` ## Limitations * Strict Filter: ByteDance checks the prompt and inputs before generating and the clip afterwards. A request it refuses fails with a notice that says why and suggests other models to try, and any Gems it cost are refunded. Mage cannot override the filter. * Seedance 2.5's headline settings run on Gems. Unlimited on Max is 4 seconds at 480p; 1080p output and the 20, 25, and 30 second durations always cost Gems. * A first frame and a last frame are available in Advanced only, and a last frame needs a first frame. * Seedance 2.0 offers a 4K option that always runs on Gems. ## Use via API Seedance is available through the [Mage API](/api/overview) as the `seedance` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/seedance). # Seedream: Seedream 5.5, 5.0, and 4.5 image models with Strict Filter Source: https://docs.mage.space/models/seedream Seedream is ByteDance's image model family on Mage, with a strict content filter: Seedream 5.5, 5.0 Pro, 5.0 Flash, 5.0 Lite, 4.5, and 4.0. Which plan runs each one unlimited, at what resolution, and what each supports. Seedream is ByteDance's image model family, with six models from Seedream 4.0 to Seedream 5.5, run on Mage with a strict content filter (Strict Filter). Seedream 5.5, the newest and the default, renders the most realistic skin and light and the clearest small text, and holds untouched areas steady over many rounds of edits. Seedream 5.0 Pro is the previous flagship, Seedream 5.0 Flash is the fast, low-cost draft model, and Seedream 5.0 Lite and Seedream 4.5 render larger images. Every model makes images from text and edits an image you upload. ## Overview | Detail | | | - | - | | Type | Image | | Origin | ByteDance, run with a strict content filter on | | Models | Seedream 5.5, Seedream 5.0 Pro, Seedream 5.0 Flash, Seedream 5.0 Lite, Seedream 4.5, Seedream 4.0 | | Unlimited from | Pro | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Seedream 5.5 | 1K | Gems | Unlimited | Unlimited | Unlimited | | Seedream 5.5 | 2K | Gems | Unlimited | Unlimited | Unlimited | | Seedream 5.0 Pro | 1K | Gems | Unlimited | Unlimited | Unlimited | | Seedream 5.0 Pro | 2K | Gems | Unlimited | Unlimited | Unlimited | | Seedream 5.0 Flash | 1K | Gems | Unlimited | Unlimited | Unlimited | | Seedream 5.0 Flash | 2K | Gems | Unlimited | Unlimited | Unlimited | | Seedream 5.0 Lite | 2K | Gems | Unlimited | Unlimited | Unlimited | | Seedream 5.0 Lite | 3K | Gems | Gems | Unlimited | Unlimited | | Seedream 4.5 | 2K | Gems | Unlimited | Unlimited | Unlimited | | Seedream 4.5 | 3K | Gems | Gems | Unlimited | Unlimited | | Seedream 4.5 | 4K | Gems | Gems | Unlimited | Unlimited | | Seedream 4.0 | 1K | Gems | Unlimited | Unlimited | Unlimited | | Seedream 4.0 | 2K | Gems | Unlimited | Unlimited | Unlimited | | Seedream 4.0 | 3K | Gems | Gems | Unlimited | Unlimited | | Seedream 4.0 | 4K | Gems | Gems | Unlimited | Unlimited | Extra reference images on Seedream 5.5 and Seedream 5.0 Pro raise a run's price, which may move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Seedream 5.5, Seedream 5.0 Pro, Seedream 5.0 Flash, Seedream 5.0 Lite, Seedream 4.5 | | Reference images | Up to 10 | | Moodboards | Seedream 4.5 | | LoRAs | No | | Negative prompts | No | | Edits an input image | Yes | | Text in the image | Yes; Seedream 5.5, 5.0 Pro, and 5.0 Flash write 14 languages besides English and Chinese | | Resolutions | Seedream 5.5, Seedream 5.0 Pro, and Seedream 5.0 Flash: 1K, 2K; Seedream 5.0 Lite: 2K, 3K; Seedream 4.5: 2K, 3K, 4K; Seedream 4.0: 1K, 2K, 3K, 4K | ## Best for * Detailed scenes that keep every object you list * Posters, signs, packaging, and menus with readable text * Edits that change one thing and leave the rest of the image alone * Fast drafts on Seedream 5.0 Flash, then a final pass on Seedream 5.5 * Photoreal skin and light, dense small text, and long chains of edits on Seedream 5.5 * 4K output on Seedream 4.5 ## An example prompt to start from ```text theme={null} A retro food truck on a beach road at sunset, its side painted with "SALT & SUN TACOS" in hand-lettered red script, string lights and palm trees behind it, cinematic photo ``` The [Seedream prompting guide](https://www.mage.space/models/seedream/prompting-guide) covers text, references, edits, and pinpoint edits with coordinates. ## Limitations * Strict Filter: before a run starts, Mage checks the prompt and the first image you attach. A request it refuses fails with a notice that says why and suggests other models to try, and any Gems it cost are refunded. ByteDance's own content rules also apply. * Seedream 5.5, Seedream 5.0 Pro, and Seedream 5.0 Flash top out at 2K. Seedream 5.0 Lite reaches 3K and Seedream 4.5 reaches 4K, both unlimited from Pro Plus, and the Image Enhancer app upscales any output afterwards. * Seedream has no negative prompt field. If you need to exclude something specific, use Guava, which does. * Characters and References work on every model except Seedream 4.0. Moodboards work on Seedream 4.5. ## Use via API Seedream is available through the [Mage API](/api/overview) as the `seedream` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/seedream). # Stable Diffusion 1.5, SDXL, and 3.5 Large on Mage Source: https://docs.mage.space/models/stable-diffusion Run Stable Diffusion 1.5, SDXL, and Stable Diffusion 3.5 Large in the browser on Mage, unlimited from Basic, with LoRAs, Textual Inversions, ControlNet, and negative prompts. Stable Diffusion 1.5, SDXL, and Stable Diffusion 3.5 Large run on Mage's GPUs with nothing to install. All three are unlimited from Basic. The Illustrious and Pony families in the model catalog are SDXL checkpoints and run the same way. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Open-weights model hosted on Mage's GPUs | | Models | Stable Diffusion v1.5, Stable Diffusion XL, Stable Diffusion v3.5 Large | | Unlimited from | Basic | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Stable Diffusion v1.5 | Base settings | Unlimited | Unlimited | Unlimited | Unlimited | | Stable Diffusion XL | Base settings | Unlimited | Unlimited | Unlimited | Unlimited | | Stable Diffusion v3.5 Large | Base settings | Unlimited | Unlimited | Unlimited | Unlimited | These are the base settings. One LoRA or Textual Inversion runs unlimited on Basic; two LoRAs, two Textual Inversions, ControlNet, or a hires pass need Pro; more than two LoRAs or Textual Inversions need Pro Plus. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Reference images | Up to 1 | | LoRAs | Stable Diffusion v1.5, Stable Diffusion XL | | Textual Inversions | Stable Diffusion v1.5, Stable Diffusion XL | | ControlNet | Stable Diffusion v1.5, Stable Diffusion XL | | Negative prompts | Stable Diffusion v1.5, Stable Diffusion XL, Stable Diffusion v3.5 Large | | Edits an input image | No | ## Best for * Community LoRAs and checkpoints * ControlNet-guided composition on 1.5 and SDXL * Importing a checkpoint you already use locally * The cheapest unlimited images on Mage ## An example prompt to start from ```text theme={null} a lighthouse on a rocky headland at dawn, long exposure, cold blue light, wet rock in the foreground ``` ## Limitations * You are running Mage's build on Mage's hardware, so there is no shell access, custom node graph, or arbitrary extension. * LoRAs, Textual Inversions, and ControlNet run on 1.5 and SDXL. Stable Diffusion 3.5 takes a negative prompt but no LoRAs. * Stacking LoRAs moves a generation up the plans: one LoRA runs on Basic, two on Pro, and more on Pro Plus and Max. ## Use via API These models are available through the [Mage API](/api/overview), each as its own architecture with its own reference page: * [Stable Diffusion XL](/api/models/stable_diffusion_xl) as `stable_diffusion_xl` * [Stable Diffusion v1.5](/api/models/stable_diffusion_v15) as `stable_diffusion_v15` * [Stable Diffusion v3.5 Large](/api/models/stable_diffusion_v35_large) as `stable_diffusion_v35_large` # Video models compared: every Mage video model Source: https://docs.mage.space/models/video-models-compared Every video model on Mage side by side: Characters, reference limits, audio references, Character Voices, frame controls, video references, and the longest unlimited clip on each plan. Video models differ on things that matter more than a quality ranking: whether a Character can be carried into the clip, how many references they take, whether they take a voice, and whether you can pin the first and last frame. This page comes straight from the model definitions. ## Feature support | Model | Characters and References | Max reference images | Audio references | Character Voices | First frame | Last frame | Video references | | - | - | - | - | - | - | - | - | | Berry | Yes | 9 | No | No | Yes | No | No | | Berry 2 | Yes | 9 | No | No | Yes | No | No | | Blueberry | No | 2 | 1 | No | Yes | No | No | | Blueberry 2 | No | 2 | 1 | No | Yes | Yes | No | | Cherry Mini | Yes | 8 | 3 | Yes | Yes | Yes | Yes | | Cherry | Yes | 8 | 3 | Yes | Yes | Yes | Yes | | Cherry Pro | Yes | 8 | 3 | Yes | Yes | Yes | Yes | | Cherry 2 Pro | Yes | 29 | 3 | Yes | Yes | Yes | Yes | | Seedance 2.0 Mini | Yes | 8 | 3 | Yes | Yes | Yes | Yes | | Seedance 2.0 Fast | Yes | 8 | 3 | Yes | Yes | Yes | Yes | | Seedance 2.0 | Yes | 8 | 3 | Yes | Yes | Yes | Yes | | Seedance 2.5 | Yes | 29 | 3 | Yes | Yes | Yes | Yes | | Grok Video | Yes | 5 | No | No | No | No | No | | Kiwi | No | 1 | No | No | Yes | No | No | | Lemon | Yes | 10 | 5 | Yes | Yes | Yes | Yes | | Wan 3.0 | Yes | 10 | 5 | Yes | Yes | Yes | Yes | | LTX Video Distilled | No | 1 | No | No | Yes | No | No | | LTX Video Dev | No | 1 | No | No | Yes | No | No | | Melon | Yes | 7 | No | No | Yes | Yes | No | | Melon Pro | Yes | 7 | No | No | Yes | Yes | No | | MiniMax-H3 Turbo | Yes | 9 | 3 | Yes | Yes | Yes | Yes | | Pika H3 Flex | Yes | 9 | 3 | Yes | Yes | Yes | Yes | | MiniMax-H3 | Yes | 9 | 3 | Yes | Yes | Yes | Yes | | Plum | Yes | 9 | 3 | Yes | Yes | Yes | Yes | | Plum Max | Yes | 9 | 3 | Yes | Yes | Yes | Yes | | Plum Fast | Yes | 9 | 3 | Yes | Yes | Yes | Yes | | Raspberry | Yes | 5 | No | Yes | Yes | No | No | | Wan Video v2.2 | No | 1 | No | No | Yes | No | No | | Wan Video v2.2 Lightning | No | 1 | No | No | Yes | No | No | On Berry, Lemon, Melon, MiniMax-H3, Plum, and Wan 3.0, frame mode and reference mode are separate: a generation uses a first or last frame, or Characters and References, not both. Pear takes a Character as the motion target and is covered under [Motion Control](/models/pear-motion-control). To recast a video you already have, use [Magejutsu](/models/magejutsu), which edits a source clip rather than generating one. ## Longest unlimited clip by plan The longest clip each model runs unlimited on each plan, at the resolution that allows it and at the model's base settings. Add-ons such as video LoRAs or reference videos may raise a run's price and move it to Gems. Gems means the model has no unlimited setting on that plan. | Model | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | | Berry | Gems | Gems | 3s at 720p | 4s at 720p | | Berry 2 | Gems | 3s at 480p | 7s at 480p | 9s at 480p | | Blueberry | Gems | Gems | 3s at 720p | 5s at 720p | | Blueberry 2 | Gems | Gems | 4s at 720p | 6s at 720p | | Cherry Mini | Gems | Gems | 5s at 480p | 8s at 480p | | Cherry | Gems | Gems | 4s at 480p | 5s at 480p | | Cherry Pro | Gems | Gems | Gems | 5s at 480p | | Cherry 2 Pro | Gems | Gems | Gems | 4s at 480p | | Seedance 2.0 Mini | Gems | Gems | 5s at 480p | 8s at 480p | | Seedance 2.0 Fast | Gems | Gems | 4s at 480p | 5s at 480p | | Seedance 2.0 | Gems | Gems | Gems | 5s at 480p | | Seedance 2.5 | Gems | Gems | Gems | 4s at 480p | | Grok Video | Gems | Gems | 5s at 480p | 7s at 480p | | Kiwi | Gems | Gems | 5s at 480p | 10s at 480p | | Lemon | Gems | 3s at 480p | 7s at 480p | 11s at 480p | | Wan 3.0 | Gems | 3s at 480p | 7s at 480p | 11s at 480p | | LTX Video Distilled | Gems | Up to 480p | Up to 720p | Up to 720p | | LTX Video Dev | Gems | Up to 480p | Up to 720p | Up to 720p | | Melon | Gems | 5s at 540p | 10s at 540p | 16s at 540p | | Melon Pro | Gems | 4s at 540p | 8s at 540p | 10s at 540p | | MiniMax-H3 Turbo | Gems | 15s at 544p | 15s at 768p | 15s at 768p | | Pika H3 Flex | Gems | 15s at 544p | 15s at 720p | 15s at 768p | | MiniMax-H3 | Gems | 8s at 480p | 8s at 544p | 8s at 720p | | Plum | Gems | Gems | Gems | 5s at 768p | | Plum Max | Gems | Gems | 5s at 480p | 9s at 480p | | Plum Fast | Gems | 5s at 480p | 11s at 480p | 15s at 480p | | Raspberry | Gems | Gems | 4s at 720p | 6s at 720p | | Wan Video v2.2 | Gems | Up to 480p | Up to 720p | Up to 720p | | Wan Video v2.2 Lightning | Gems | Up to 480p | Up to 720p | Up to 720p | # Wan 3.0: all-in-one video model with Strict Filter Source: https://docs.mage.space/models/wan-3 Wan 3.0 is Alibaba's all-in-one video model on Mage, unlimited from Pro, with clips from 2 to 30 seconds, Characters, References, Character Voices, audio and video references, First and Last Frames, and Alibaba's strict content filter. Wan 3.0 is Alibaba's all-in-one video model: one model for text-to-video, first and last frames, and references, with generated audio. On Mage it runs unlimited from Pro, generates clips from 2 to 30 seconds, and runs with Alibaba's content filter on (Strict Filter). ## Overview | Detail | | | - | - | | Type | Video | | Origin | Alibaba, run with Alibaba's content filter on | | Models | Wan 3.0 | | Unlimited from | Pro | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Wan 3.0 | 480p | Gems | 3s | 7s | 11s | | Wan 3.0 | 720p | Gems | Gems | 3s | 5s | | Wan 3.0 | 1080p | Gems | Gems | Gems | 2s | Base settings. Reference video seconds bill like output seconds and can move a run from unlimited to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | Yes | | Reference images | Up to 10 | | Audio references | Up to 5 | | Character Voices | Yes | | First frame | Yes | | Last frame | Yes | | Video references | Yes, up to 5 clips | | Audio on the output | Optional | | LoRAs | No | | Negative prompts | No | | Resolutions | 480p, 720p, 1080p | | Durations | 2 to 30 seconds | ## Best for * One model for text, frames, and references, with audio * Editing an existing clip, using up to 5 video references * Character video with a consistent voice * Long clips, up to 30 seconds on Gems ## An example prompt to start from ```text theme={null} @sasha turns from the window and walks to the door, handheld camera follows, warm evening light ``` ## Limitations * Strict Filter: Alibaba checks the prompt and inputs before generating and the clip afterwards. A request it refuses fails with a notice that says why and suggests other models to try, and its Gems are refunded. Mage cannot override the filter. * Frame mode and reference mode are separate on this model: one generation uses a first or last frame, or Characters and References, not both. * Unlimited duration and resolution are set by your plan, and the ceilings differ by resolution. Everything beyond them runs on Gems. * Reference video seconds count like output seconds. Attaching clips raises the price and can move a run from unlimited to Gems. * Audio on the output is optional and switched on per generation. ## Use via API Wan 3.0 is available through the [Mage API](/api/overview) as the `wan_3` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/wan_3). # Wan Video 2.2: open-weights video model on Mage Source: https://docs.mage.space/models/wan-video Wan Video 2.2 is an open-weights video model Mage runs in the browser, unlimited from Pro up to 480p and from Pro Plus at 720p, with video LoRAs. Wan Video 2.2 is an open-weights video model that Mage hosts in a standard and a Lightning variant. Both run unlimited from Pro up to 480p and from Pro Plus at 720p, and they take video LoRAs. ## Overview | Detail | | | - | - | | Type | Video | | Origin | Open-weights model hosted on Mage's GPUs | | Models | Wan Video v2.2, Wan Video v2.2 Lightning | | Unlimited from | Pro | ## Unlimited generation by plan The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Wan Video v2.2 | 240p | Gems | Unlimited | Unlimited | Unlimited | | Wan Video v2.2 | 360p | Gems | Unlimited | Unlimited | Unlimited | | Wan Video v2.2 | 480p | Gems | Unlimited | Unlimited | Unlimited | | Wan Video v2.2 | 720p | Gems | Gems | Unlimited | Unlimited | | Wan Video v2.2 Lightning | 240p | Gems | Unlimited | Unlimited | Unlimited | | Wan Video v2.2 Lightning | 360p | Gems | Unlimited | Unlimited | Unlimited | | Wan Video v2.2 Lightning | 480p | Gems | Unlimited | Unlimited | Unlimited | | Wan Video v2.2 Lightning | 720p | Gems | Gems | Unlimited | Unlimited | ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Reference images | Up to 1 | | Character Voices | No | | First frame | Wan Video v2.2 | | Last frame | No | | Video references | No | | LoRAs | Wan Video v2.2 | | Negative prompts | Wan Video v2.2 | | Resolutions | Wan Video v2.2: 240p, 360p, 480p, 720p; Wan Video v2.2 Lightning: 240p, 360p, 480p, 720p | ## Best for * Open-weights video without a local GPU * Text to video and image to video * Video LoRA experiments ## An example prompt to start from ```text theme={null} a paper boat drifting down a rain-filled gutter, camera tracking alongside at water level ``` ## Limitations * No Characters or References, so a face does not carry into the clip. * Wan 2.2 takes a single start image, with no last frame. ## Use via API Wan Video v2.2 is available through the [Mage API](/api/overview) as the `wan_22` architecture, with `model_id` selecting the model. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/wan_22). # Which model should I use? Source: https://docs.mage.space/models/which-model-should-i-use Pick a Mage model by what you are making: photoreal portraits, anime, consistent characters, video with sound, the cheapest unlimited video, or the longest clip. Find your job below and start with the model named against it. Every pick reflects the model definitions, so plan gating and feature support match the app. ## For making images | What you want | Start with | Why | | - | - | - | | A photoreal portrait | Guava 2 Pro | Mage's photorealism line at its higher-quality setting. Guava 2 is the faster sibling for iterating. | | The same face across many images | Mango 4 with Characters | Built for character consistency, with Characters and References. | | Anime or illustration | Anima, or an Illustrious checkpoint | Anima is anime-tuned and takes LoRAs. Illustrious and Pony checkpoints bring the community fine-tune catalog. | | An edit to an image you already have | Mango 4 or Flux 2 | Mango 4 for precise edits with a Character; Flux 2 for edits from up to 3 input images. | | A prompt written as instructions | GPT Image 2 or Nano Banana 2 | Both follow instruction-style prompts and edit an input image. Their labs' safety filters apply. | | ByteDance's Seedream | Seedream 5.5 | Detailed scenes, realistic skin and light, and readable text and edits. Seedream 5.0 Flash drafts fast, and Seedream 4.5 reaches 4K. A strict filter applies. | | An animated GIF file | GPT Image 2.6 | Makes a real `.gif` of 2 to 16 frames from a prompt or a reference image. For longer clips, use a video model. | | 4K detail, or a scene from many images | MiniMax H3 Image | Open-weights from MiniMax, renders natively at about 16 megapixels, and edits or combines up to 16 reference images, with Characters, References, and LoRAs. | | Long, detailed prompts or Chinese text | MOSS-Image | Open-source, follows long prompts, renders English and Chinese text, and takes community LoRAs. Unlimited from Basic at 1K. | | Speed above everything | Z-Image or Krea 2 Turbo | The fast, lightweight models, both unlimited from Basic at 1K. | | Photoreal skin and tiny text | Mango 4 | The newest Mango: the most lifelike light and skin, the sharpest small text, and edits that stay clean over many rounds. Unlimited from Pro at 1K and 2K. | | Fast drafts of a Character | Mango 3 Turbo | The faster, cheaper Mango 3, with Characters and References. Unlimited from Pro at 1K and 2K. | | Unlimited images on the cheapest plan | Stable Diffusion, Flux 2, Chroma, Z-Image, MOSS-Image, or GPT Image 2 at Low quality | All run unlimited from Basic. | ## For making video | What you want | Start with | Why | | - | - | - | | The best quality available | Cherry 2 Pro | Up to 29 reference images, 1080p, and 30 seconds on Gems. Unlimited on Max is 4 seconds at 480p. | | Every feature at once, with sound | Plum | Characters, References, Character Voices, and frame control, with audio on every clip. Plum Max starts unlimited on Pro Plus. | | Quality and price balanced | Lemon | Every video input type, unlimited from Pro, and clips up to 30 seconds on Gems. | | The cheapest unlimited video | Melon, Lemon, Berry 2, or MiniMax-H3 Turbo | All run unlimited from Pro at 480p. | | The longest unlimited clip | MiniMax-H3 Turbo or Melon | MiniMax-H3 Turbo runs 15 seconds at 480p unlimited from Pro. Melon reaches 16 seconds at 540p on Max. | | Anime video | Melon or Melon Pro | Anime-tuned, unlimited from Pro. | | A character carried from image into video | Plum, Lemon, Melon, Berry 2, MiniMax-H3, Raspberry, the Cherry line, or Grok Video | All take Characters and References. Blueberry 2 and Kiwi do not. | | Control over the opening and closing frame | Plum, Lemon, Melon, MiniMax-H3, or Blueberry 2 | These take a first and last frame. On the Mage models it is a separate mode from Characters and References. | | A video you already have, recast | Magejutsu | Keeps the motion, camera, cuts, and sound of your clip and recasts it with up to 30 references. Gems on every plan. | | Movement copied from a video you supply | Magejutsu, in motion transfer mode | Replaces Motion Control, which is being retired. Magejutsu Feather is the cheapest way to run it. | | A cheaper way to Cherry quality | Cherry Mini | The same line at a lower Gem cost, unlimited from Pro Plus. | ## For making audio Audio generation runs on Seed Audio and covers voices, music, and sound effects in one model, in clips of 5 to 120 seconds. Clips up to 10 seconds run unlimited from Basic, 30 seconds from Pro, 60 seconds from Pro Plus, and 120 seconds on Max. For a voice that should recur across video clips, set it up as a Character Voice and use a model that supports voices. See [Seed Audio](/models/seed-audio) and [Character Voices](/features/character-voices). For the most natural speech, use [Eleven Speech](/models/eleven-speech), which reads your text in a preset voice and takes direction from tags like `[whispers]`. For full songs with vocals, up to 5 minutes, use [Eleven Music](/models/eleven-music), which writes its own lyrics from a description, or [MiniMax Music 3](/models/minimax-music-3), which sings the lyrics you write and takes LoRAs. ## Other factors Your plan sets which models run unlimited. Every model can also be run with Gems on any account, including Free, so a model above your tier does not lock you out. See [how Gems work](/plans/how-gems-work). Models run by their lab carry their own filters. GPT Image 2, Grok Image, Grok Video, Nano Banana 2, Wan 3.0, Seedance, and Seedream are run by OpenAI, xAI, Google, Alibaba, and ByteDance, and their content rules apply on Mage as they do elsewhere. # Z-Image: fast, lightweight image model on Mage Source: https://docs.mage.space/models/z-image Z-Image is a fast, lightweight image model on Mage with image-to-image, LoRAs, and negative prompts. Unlimited from Basic at 1K and from Pro at 2K. Z-Image is a fast, lightweight image model, and the one to iterate on. It takes an input image for image-to-image work, LoRAs, and negative prompts, and runs unlimited from Basic at 1K and from Pro at 2K. ## Overview | Detail | | | - | - | | Type | Image | | Origin | Open-weights model hosted on Mage's GPUs | | Models | Z-Image | | Unlimited from | Basic | ## Unlimited generation by plan Which plan runs each resolution unlimited, at the model's base settings. Gems means that setting always costs Gems on that plan. | Model | Setting | Basic | Pro | Pro Plus | Max | | - | - | - | - | - | - | | Z-Image | 1K | Unlimited | Unlimited | Unlimited | Unlimited | | Z-Image | 2K | Gems | Unlimited | Unlimited | Unlimited | Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems. ## What it supports on Mage | Feature | Support | | - | - | | Characters and References | No | | Reference images | Up to 1 | | LoRAs | Yes | | Negative prompts | Yes | | Edits an input image | No | | Resolutions | 1K, 2K | ## Best for * Fast iteration on composition and framing * Photoreal drafts * Image-to-image work ## An example prompt to start from ```text theme={null} a woman in a gray wool coat waiting at a tram stop, overcast afternoon, 50mm, photojournalistic ``` ## Limitations * Fine detail is softer than on Guava 2 Pro. Use Z-Image to find the shot, then finish it on a slower model. * No Characters or References. ## Use via API Z-Image is available through the [Mage API](/api/overview) as the `z_image` architecture. Its fields, tokens, defaults, and price are on [its API reference page](/api/models/z_image). # Comparing Mage plans Source: https://docs.mage.space/plans/comparing-plans Every Mage membership plan with its price, monthly Gems, and exactly which models and settings run unlimited on it, generated from the model definitions. Mage has four membership plans plus a free account. A plan unlocks unlimited generation on the models it includes and deposits Gems every month. Gems work on every model, feature, and app, including on a free account, so a plan is never required to try something. Unlimited generation starts on Basic at $10 per month, and unlimited video starts on Pro at $30. ## At a glance | Plan | Price per month | Monthly Gems | Generation speed | | - | - | - | - | | Free | \$0 | Sign-up bonus only | Gems only | | Basic | \$10 | 500 | 2x | | Pro | \$30 | 1,500 | 4x | | Pro Plus | \$60 | 3,500 | 4x | | Max | \$200 | 15,000 | 4x | ## What each plan includes The feature lists below match the membership page. The exact models and settings that run unlimited on each plan follow in the next section, generated from the model definitions. ### Free * **Limited access to features**: Limited to generation options that cost Gems. * **300 Gems Sign-up Bonus**: Gems expire 90 days after being credited. ### Basic * Unlimited Generations * Base Models * LoRAs and Textual Inversions * Inpainting, Refine * **500 Monthly Gems**: Monthly Gems expire 30 days after being deposited and are renewed monthly. ### Pro * Everything in Basic * Premium Base Models * Unlimited Video Generation * Unlimited Character Creation * Enhance (2K) * Multiple LoRAs and Textual Inversions (2x) * ControlNet, Animate * **1,500 Monthly Gems**: Monthly Gems expire 30 days after being deposited and are renewed monthly. ### Pro Plus * Everything in Pro * Premium Video Models * Enhance (4K) * Multiple LoRAs and Textual Inversions (5x) * Import Custom Models (Checkpoints, LoRAs, Textual Inversions, Lycoris) * Queue up to 10 generations at once * **3,500 Monthly Gems**: Monthly Gems expire 30 days after being deposited and are renewed monthly. ### Max * Everything in Pro Plus * Unlimited Motion Control Video Generation * More Premium Video Models * **HD Premium Video Models**: Unlimited Video Generation at 480p resolution with: Cherry, Cherry 2 Pro, Seedance 2.0 Fast, Seedance 2.5, Grok Video, Lemon, Plum Max, Plum Fast, Wan 3.0; 720p resolution with: Kiwi, Blueberry, Raspberry, Berry, Grok Video, Melon, Lemon, Wan 3.0; 768p with: Plum, Plum Max, Plum Fast, MiniMax-H3; 1080p with: Blueberry 2, Raspberry, Melon, Lemon, Wan 3.0; 2K with: Plum * **Longer Duration for Premium Video Models**: Unlimited Video Generation at 15s duration with: MiniMax-H3 Turbo (768p), Plum Fast (480p); 11s with: Lemon (480p), Wan 3.0 (480p); 10s with: Kiwi; 9s at 480p with: Plum Max; 7s at 480p with: Grok Video; 6s at 720p with: Blueberry 2, Raspberry, Melon; 5s with: Cherry, Grok Video (720p), Lemon (720p), Wan 3.0 (720p); 10s at 768p with: Plum Fast; 5s at 768p with: Plum, Plum Max; 4s at 2K with: Plum; 4s at 1080p with: Blueberry 2, Raspberry; 4s with: Berry; 4s at 480p with: Cherry 2 Pro * Multiple Video LoRAs (2x) * **15,000 Monthly Gems**: Monthly Gems expire 30 days after being deposited and are renewed monthly. ## Which settings run unlimited on each plan This is the part that decides the plan. The tables below come from the model definitions and describe each model at its base settings: for image models, the resolutions that run unlimited on the plan; for video models, the longest clip at each resolution. A model absent from a plan's table runs on Gems there. > [!NOTE] > > Add-ons may raise a run's price and move it to a higher plan or to Gems: > LoRAs, Textual Inversions, ControlNet, and hires passes on the Stable > Diffusion models, video LoRAs on Wan and MiniMax-H3, reference videos on Lemon > and the Cherry line, and reference images on GPT Image 2. On GPT Image 2 only > the Low quality setting ever runs unlimited; Low at 2K stays on Basic only > with no reference image attached, and Low with several reference images needs > Pro or Pro Plus. GPT Image 2.6 starts at Pro, and its Low GIFs need Pro Plus > above 12 frames. Each model page lists its own rules. ### Basic **Image models** | Model | Unlimited at base settings | | - | - | | Chroma | Base settings | | Flux 2 | 1K | | GPT Image 2 | 1K, 2K at Low quality | | GPT Image 2.5 Flare | 1K, 2K at Low quality | | GPT Image 2.5 Sunburst | 1K, 2K at Low quality | | Krea 2 Turbo | 1K | | MOSS-Image | 1K | | Stable Diffusion v1.5 | Base settings | | Stable Diffusion v3.5 Large | Base settings | | Stable Diffusion XL | Base settings | | Z-Image | 1K | No video model runs unlimited on this plan. ### Pro **Image models** | Model | Unlimited at base settings | | - | - | | Anima | 1K, 2K | | Chroma | Base settings | | Flux 2 | 1K, 2K | | GPT Image 2 | 1K, 2K at Low quality | | GPT Image 2.5 Flare | 1K, 2K at Low quality | | GPT Image 2.5 Sunburst | 1K, 2K at Low quality | | GPT Image 2.6 Flare | 1K, 2K at Low quality; GIFs at Low up to 12 frames | | GPT Image 2.6 Sunburst | 1K, 2K at Low quality; GIFs at Low up to 12 frames | | Grok Image | 1K, 2K | | Grok Image 2.0 | 1K, 2K | | Guava | 1K, 2K | | Guava Pro | 1K, 2K | | Guava Pro 1.5 | 1K, 2K | | Guava 2 | 1K, 2K | | Guava 2 Pro | 1K, 2K | | HiDream | Base settings | | Krea 2 Turbo | 1K, 2K | | Mango | 1K, 2K | | Mango 2 | 2K | | Mango 3S | 2K | | Mango 3 | 1K, 2K | | Mango 3 Turbo | 1K, 2K | | Mango 4 | 1K, 2K | | MiniMax H3 Image | 2K | | MOSS-Image | 1K, 2K | | Seedream 4.0 | 1K, 2K | | Seedream 4.5 | 2K | | Seedream 5.0 Lite | 2K | | Seedream 5.0 Pro | 1K, 2K | | Seedream 5.0 Flash | 1K, 2K | | Seedream 5.5 | 1K, 2K | | Stable Diffusion v1.5 | Base settings | | Stable Diffusion v3.5 Large | Base settings | | Stable Diffusion XL | Base settings | | Z-Image | 1K, 2K | **Video models** | Model | Unlimited at base settings | | - | - | | Berry 2 | 3s at 480p | | Lemon | 3s at 480p | | Wan 3.0 | 3s at 480p | | LTX Video Distilled | Up to 480p | | LTX Video Dev | Up to 480p | | Melon | 5s at 540p, 3s at 720p | | Melon Pro | 4s at 540p | | MiniMax-H3 Turbo | 15s at 480p, 15s at 544p, 12s at 720p, 10s at 768p | | Pika H3 Flex | 15s at 480p, 15s at 544p, 8s at 720p, 8s at 768p | | MiniMax-H3 | 8s at 480p, 6s at 544p | | Plum Fast | 5s at 480p | | Wan Video v2.2 | Up to 480p | | Wan Video v2.2 Lightning | Up to 480p | ### Pro Plus **Image models** | Model | Unlimited at base settings | | - | - | | Anima | 1K, 2K | | Chroma | Base settings | | Flux 2 | 1K, 2K | | GPT Image 2 | 1K, 2K at Low quality | | GPT Image 2.5 Flare | 1K, 2K at Low quality | | GPT Image 2.5 Sunburst | 1K, 2K at Low quality | | GPT Image 2.6 Flare | 1K, 2K at Low quality; GIFs at Low | | GPT Image 2.6 Sunburst | 1K, 2K at Low quality; GIFs at Low | | Grok Image | 1K, 2K | | Grok Image 2.0 | 1K, 2K | | Guava | 1K, 2K | | Guava Pro | 1K, 2K | | Guava Pro 1.5 | 1K, 2K | | Guava 2 | 1K, 2K | | Guava 2 Pro | 1K, 2K | | HiDream | Base settings | | Krea 2 Turbo | 1K, 2K | | Mango | 1K, 2K, 3K, 4K | | Mango 2 | 2K, 3K, 4K | | Mango 3S | 2K, 3K | | Mango 3 | 1K, 2K | | Mango 3 Turbo | 1K, 2K | | Mango 4 | 1K, 2K | | MiniMax H3 Image | 2K, 4K | | MOSS-Image | 1K, 2K | | Nano Banana 2 | 512px | | Nano Banana 2.1 | 1K | | SDXL Plus | Base settings | | Seedream 4.0 | 1K, 2K, 3K, 4K | | Seedream 4.5 | 2K, 3K, 4K | | Seedream 5.0 Lite | 2K, 3K | | Seedream 5.0 Pro | 1K, 2K | | Seedream 5.0 Flash | 1K, 2K | | Seedream 5.5 | 1K, 2K | | Stable Diffusion v1.5 | Base settings | | Stable Diffusion v3.5 Large | Base settings | | Stable Diffusion XL | Base settings | | Z-Image | 1K, 2K | **Video models** | Model | Unlimited at base settings | | - | - | | Berry | 3s at 720p | | Berry 2 | 7s at 480p, 3s at 720p | | Blueberry | 3s at 720p, 2s at 1080p | | Blueberry 2 | 4s at 720p, 2s at 1080p | | Cherry Mini | 5s at 480p | | Cherry | 4s at 480p | | Seedance 2.0 Mini | 5s at 480p | | Seedance 2.0 Fast | 4s at 480p | | Grok Video | 5s at 480p, 3s at 720p | | Kiwi | 5s at 480p | | Lemon | 7s at 480p, 3s at 720p | | Wan 3.0 | 7s at 480p, 3s at 720p | | LTX Video Distilled | Up to 720p | | LTX Video Dev | Up to 720p | | Melon | 10s at 540p, 6s at 720p, 5s at 1080p | | Melon Pro | 8s at 540p, 3s at 720p, 3s at 1080p | | MiniMax-H3 Turbo | 15s at 480p, 15s at 544p, 15s at 720p, 15s at 768p | | Pika H3 Flex | 15s at 480p, 15s at 544p, 15s at 720p, 12s at 768p | | MiniMax-H3 | 8s at 480p, 8s at 544p, 6s at 720p, 5s at 768p | | Plum Max | 5s at 480p | | Plum Fast | 11s at 480p, 6s at 768p | | Raspberry | 4s at 720p, 2s at 1080p | | Wan Video v2.2 | Up to 720p | | Wan Video v2.2 Lightning | Up to 720p | ### Max **Image models** | Model | Unlimited at base settings | | - | - | | Anima | 1K, 2K | | Chroma | Base settings | | Flux 2 | 1K, 2K | | GPT Image 2 | 1K, 2K at Low quality | | GPT Image 2.5 Flare | 1K, 2K at Low quality | | GPT Image 2.5 Sunburst | 1K, 2K at Low quality | | GPT Image 2.6 Flare | 1K, 2K at Low quality; GIFs at Low | | GPT Image 2.6 Sunburst | 1K, 2K at Low quality; GIFs at Low | | Grok Image | 1K, 2K | | Grok Image 2.0 | 1K, 2K | | Guava | 1K, 2K | | Guava Pro | 1K, 2K | | Guava Pro 1.5 | 1K, 2K | | Guava 2 | 1K, 2K | | Guava 2 Pro | 1K, 2K | | HiDream | Base settings | | Krea 2 Turbo | 1K, 2K | | Mango | 1K, 2K, 3K, 4K | | Mango 2 | 2K, 3K, 4K | | Mango 3S | 2K, 3K | | Mango 3 | 1K, 2K | | Mango 3 Turbo | 1K, 2K | | Mango 4 | 1K, 2K | | MiniMax H3 Image | 2K, 4K | | MOSS-Image | 1K, 2K | | Nano Banana 2 | 512px, 1K | | Nano Banana 2.1 | 1K, 2K | | SDXL Plus | Base settings | | Seedream 4.0 | 1K, 2K, 3K, 4K | | Seedream 4.5 | 2K, 3K, 4K | | Seedream 5.0 Lite | 2K, 3K | | Seedream 5.0 Pro | 1K, 2K | | Seedream 5.0 Flash | 1K, 2K | | Seedream 5.5 | 1K, 2K | | Stable Diffusion v1.5 | Base settings | | Stable Diffusion v3.5 Large | Base settings | | Stable Diffusion XL | Base settings | | Z-Image | 1K, 2K | **Video models** | Model | Unlimited at base settings | | - | - | | Berry | 4s at 720p | | Berry 2 | 9s at 480p, 4s at 720p, 3s at 1080p | | Blueberry | 5s at 720p, 3s at 1080p | | Blueberry 2 | 6s at 720p, 4s at 1080p | | Cherry Mini | 8s at 480p, 4s at 720p | | Cherry | 5s at 480p | | Cherry Pro | 5s at 480p | | Cherry 2 Pro | 4s at 480p | | Seedance 2.0 Mini | 8s at 480p, 4s at 720p | | Seedance 2.0 Fast | 5s at 480p | | Seedance 2.0 | 5s at 480p | | Seedance 2.5 | 4s at 480p | | Grok Video | 7s at 480p, 5s at 720p | | Kiwi | 10s at 480p, 5s at 720p | | Lemon | 11s at 480p, 5s at 720p, 2s at 1080p | | Wan 3.0 | 11s at 480p, 5s at 720p, 2s at 1080p | | LTX Video Distilled | Up to 720p | | LTX Video Dev | Up to 720p | | Melon | 16s at 540p, 10s at 720p, 8s at 1080p | | Melon Pro | 10s at 540p, 5s at 720p, 4s at 1080p | | MiniMax-H3 Turbo | 15s at 480p, 15s at 544p, 15s at 720p, 15s at 768p | | Pika H3 Flex | 15s at 480p, 15s at 544p, 15s at 720p, 15s at 768p | | MiniMax-H3 | 8s at 480p, 8s at 544p, 8s at 720p, 7s at 768p | | Plum | 5s at 768p, 4s at 2K | | Plum Max | 9s at 480p, 5s at 768p | | Plum Fast | 15s at 480p, 10s at 768p | | Raspberry | 6s at 720p, 4s at 1080p | | Wan Video v2.2 | Up to 720p | | Wan Video v2.2 Lightning | Up to 720p | Seed Audio runs unlimited by clip length: up to 10 seconds from Basic, 30 seconds from Pro, 60 seconds from Pro Plus, and 120 seconds on Max. Eleven Music follows the same lengths: 10-second songs from Basic, 30 seconds from Pro, 60 seconds from Pro Plus, and 120 seconds on Max. MiniMax Music 3 runs unlimited by its length cap: songs up to 60 seconds from Basic, 3 minutes from Pro, and the full 5 minutes from Pro Plus. Eleven Speech (ElevenLabs v4) runs unlimited by the length of the text: up to 750 characters from Basic, 1,500 from Pro, 3,250 from Pro Plus, and 4,750 on Max. Image Enhancer runs unlimited at 2K from Pro, 4K from Pro Plus, and 6K on Max; Video Enhancer at 720p from Pro Plus and 1080p or 1440p on Max; Motion Control on Max up to 8 seconds. [Magejutsu](/apps/magejutsu) and [Sidekick](/features/sidekick) run on Gems on every plan; neither has an unlimited tier. ## What changes between plans and what does not Capability changes between plans. Your rights in what you make do not: see [usage rights](/rights/commercial-use). Every plan's generations stay in your account unless you post them. # How Gems work: Mage pay-per-generation currency Source: https://docs.mage.space/plans/how-gems-work Gems are Mage's pay-per-generation currency. They work with every model, feature, and app, on any account including Free. Where they come from, what they cost, and when they expire. Gems are Mage's pay-per-generation currency. They work with every model, feature, and app on Mage, on any account including Free, with no subscription required. Unlimited generation is separate: Gems are the alternative you pick per generation. ## What Gems are for * Running a model above your plan. * Going above your plan's resolution or duration ceiling. * Fast Mode, which runs a generation at the front of the queue. * Generating at all, if you are on Free. ## Where Gems come from | Source | Amount | Expiry | | - | - | - | | Free sign-up bonus | 300, one time | 90 days after they are credited | | Basic membership | 500 per month | 30 days after deposit, renewed each cycle | | Pro membership | 1,500 per month | 30 days after deposit, renewed each cycle | | Pro Plus membership | 3,500 per month | 30 days after deposit, renewed each cycle | | Max membership | 15,000 per month | 30 days after deposit, renewed each cycle | | Purchased package | 10,000 Gems for \$10 | 90 days after purchase | | Purchased package | 20,000 Gems + 500 Bonus Gems for \$20 | 90 days after purchase | | Purchased package | 40,000 Gems + 2,000 Bonus Gems for \$40 | 90 days after purchase | | Purchased package | 100,000 Gems + 10,000 Bonus Gems for \$100 | 90 days after purchase | | Referral | 5,000 Gems to you and to the person you invited | When they buy Gems or start a membership within 7 days of signing up | A balance is capped at 300,000 Gems. ## Membership Gems versus purchased Gems Membership Gems come with your plan, renew monthly, and expire 30 days after deposit. Purchased Gems expire 90 days after purchase. If you have both, plan around the membership allowance first, since that is the one with the shorter deadline. ## When to use Gems and when not to | Situation | Use | | - | - | | Generating a lot on models your plan covers | Unlimited. This is what the subscription is for. | | Trying a model above your plan | Gems | | You need output now | Gems, through Fast Mode | | You need one clip longer than your plan's ceiling | Gems | ## Auto Top-Up Auto Top-Up keeps a balance without you watching it. Under the Gems tab in Settings you can set it to replenish your Gems when they run low. ## Referrals Share your referral link from the Refer page on mage.space. When someone signs up through it and buys Gems or starts a membership within 7 days, you both receive 5,000 Gems. # What you can and cannot create on Mage Source: https://docs.mage.space/policy/content-rules Creative freedom within clear, lawful boundaries. What the Terms and Conditions prohibit, how likeness and consent work, and where the full rules live. Mage supports creative freedom within clear, lawful boundaries. The rules below are the boundaries that apply regardless of model or plan. The Terms and Conditions on mage.space carry the full list, and they are the same for everyone. ## Prohibited on every model and plan * Any sexual content involving minors, real or generated, and any attempt to persuade or coerce a minor. * Non-consensual sexual content, including generated likenesses of real people, and sharing images of a person in a private space without their knowledge and consent. * Bullying and harassment of any kind. * Content that is illegal in the jurisdiction where it is created or distributed. Mage moderates content at several layers to enforce these rules. ## Real people and likeness Generating a recognizable real person without their consent is not permitted. Building a Character from a photograph of a real person who has not consented falls under the same rule, and so does a voice cloned without consent. This matters for commercial work too: a likeness you do not have rights to is not usable regardless of Mage's usage rights. See [usage rights](/rights/commercial-use). ## Models run by their lab GPT Image 2, Grok Image, Grok Video, Nano Banana 2, Wan 3.0, and the Seedance and Seedream models are run by OpenAI, xAI, Google, Alibaba, and ByteDance. Their content rules apply to your prompts on Mage as they do elsewhere, and Mage cannot override them. ## What you see and what you publish What you generate and what appears in the public feed are governed separately. Your generations stay in your account, and nothing reaches Mage Social unless you post it. Mature Mode in Settings sets what can be shown to you. See [Mage Social and what gets posted](/privacy/mage-social). ## Reporting See [likeness, consent, and reported content](/policy/likeness-and-reports). # Likeness, consent, and reported content Source: https://docs.mage.space/policy/likeness-and-reports How to report content on Mage, what to do about a likeness complaint, and how to contest a removal. Anything posted to Mage Social can be reported from the creation itself, and likeness complaints are handled with priority. ## Reporting something in the feed 1. Open the creation or message. 2. Use the report control. 3. Pick the reason. Non-consensual likeness and sexual content involving minors are handled with the highest priority. 4. Submit. You do not need to be the subject of the content to report it. ## If you find non-consensual content Contact [mage@mage.space](mailto:mage@mage.space) directly as well as using the in-feed report. If you are the person depicted, say so. ## What gets removed * Sexual content involving minors: removed and reported as legally required. * Non-consensual sexual content, including generated likenesses: removed. * Content illegal in the relevant jurisdiction: removed. * Content above the level permitted in the public feed: removed from the feed. ## Contesting a removal If your content or account was actioned and you think it was wrong, contact [mage@mage.space](mailto:mage@mage.space) with your account details and what was removed. # Mage Social and what gets posted Source: https://docs.mage.space/privacy/mage-social Mage Social is opt-in. What posting does, how Mature Mode filters what you see, and how published Characters differ from posted creations. Mage Social is the public side of Mage: a feed of creations people have chosen to post, plus Character pages, a leaderboard, and Messages. Nothing of yours appears there unless you post it. ## What posting does Posting a creation makes that creation, and its prompt, visible in the feed. It does not make your account's other work visible, and it does not change the default for future generations. ## What publishing a Character does You can publish a Character with a description and tags, which gives it a page and makes it eligible for the leaderboard. That publishes the character itself. Your generations with it stay in your account. ## Mature Mode The Mature Mode switch under Content in Settings sets what can be shown to you, in your own results and in the feed. It does not change what is permitted on Mage. The public feed carries its own standard, set in the Terms and Conditions. ## Other social features | Feature | What it does | | - | - | | Feed | Creations people have chosen to post | | Character pages | A shareable page per published Character | | Leaderboard | Top Character creators | | Messages | Private sharing with specific people | | Search | Search across creators, Concepts, and creations | ## Reporting Anything in the feed can be reported. See [likeness, consent, and reported content](/policy/likeness-and-reports). ## Staying entirely private Do not post, and do not publish Characters. There is no setting to change, because private is already the default. See [why Mage is private by default](/privacy/private-by-default). # Why Mage is private by default Source: https://docs.mage.space/privacy/private-by-default Generations on Mage stay in your account on every plan. What private covers, where it ends, and how to remove things. Who can see your generations on Mage? Nobody but you, unless you post one to Mage Social. Generations stay in your account on every plan including Free, and that is not a paid add-on or a setting you have to find. ## What private means here | | On Mage | | - | - | | Default visibility of a new generation | Your account only | | Appears in a public feed automatically | No | | Other users can browse your history | No | | Prompts visible to other users | No, unless you post the creation | | Privacy costs extra | No, it is the default on every plan including Free | | Usage rights in what you make | Yes, on every plan | ## What makes something public One thing: posting it to Mage Social. That is an action you take on a specific creation. Until you do, the creation stays in your account. Publishing a Character is a separate choice, and it publishes the character rather than your generations. See [Mage Social and what gets posted](/privacy/mage-social). ## What private does not mean * Private means other users cannot see it. It does not mean Mage cannot see it. Content is subject to moderation, which is how the content rules are enforced. * Models run by their lab pass your prompt to that lab. Generating on GPT Image 2, Grok, Nano Banana 2, Wan 3.0, or the Seedance or Seedream models means OpenAI, xAI, Google, Alibaba, or ByteDance sees the prompt and applies its own rules. * Anything you share yourself, by link or by file, is outside Mage's control from that point. * Messages, Mage's private sharing feature, shares with the people you send to. ## Deleting things You can delete individual creations, unpublish a Character, or delete the account and everything in it from the Account tab in Settings. # How to write a prompt on Mage Source: https://docs.mage.space/prompting/basics The prompt structure that works on every Mage model: subject, setting, light, and framing, plus how to call Characters and References with @ handles. A prompt is the text description you generate from. One clear sentence beats a paragraph of adjectives, and the structure below works on every model Mage runs. ## What a prompt needs | Element | What it decides | Example | | - | - | - | | Subject | Who or what the image is of | a mountain climber in her 40s | | Setting | Where they are | on a ridge above the cloud line | | Light | The mood, and most of the realism | warm backlight at dawn | | Framing | How close, and through what lens | waist-up portrait, 35mm | ```text theme={null} a mountain climber in her 40s on a ridge above the cloud line, warm backlight at dawn, waist-up portrait, 35mm ``` That is a complete prompt. Light and framing are the two people skip, and they are the two that separate a generated-looking image from a photographic one. ## Calling a Character or a Reference If you have built a Character or a Reference, call it with an @ and its name. The rest of the prompt works normally around it. ```text theme={null} @sasha wearing @redcoat, standing in @cafe, evening light, 50mm ``` That is how you hold the same face, outfit, or location across a whole series. See [Characters](/features/characters) and [References](/features/references). ## Tag-style prompts Anime models such as Anima and the Illustrious and Pony checkpoints also take comma-separated tags. On Anima, escape literal parentheses as ( and ), because parentheses otherwise read as prompt weighting. Pony checkpoints respond to score tags at the front of the prompt. ## Making a result repeatable When a generation works, save the prompt and the seed together. Those two plus the model and its settings are what let you return to a look weeks later, or produce the variation a client asked for. ## Changing one thing at a time The fastest way to lose a good result is to rewrite the whole prompt at once. Change the light, or the lens, or the model, and regenerate. If the base model is the problem, more words will not fix it; switch models. See [which model should I use](/models/which-model-should-i-use). ## What prompting cannot fix Resolution is set by the model and your plan. Asking for 8K in the prompt does not raise the output resolution; the Image Enhancer app does. Hands, text, and fine repeated detail remain the common failure points across every model, so check those at 100% before you use an image commercially. # Prompting for video: describe motion, not a still Source: https://docs.mage.space/prompting/video Video prompts describe motion, not a still image. What to include, how to carry a Character into a clip, and which controls pin the first and last frame. The most common mistake in video prompting is describing a photograph. A still prompt gives you a still image that happens to move slightly, because nothing in it told the model what should change over time. ## Describe the motion, not the still | Reads as a still | Reads as a clip | | - | - | | a woman in a red coat at a train platform | a woman in a red coat turns to look down the platform as a train pulls in behind her | | a cup of coffee on a table, steam | steam rises from a cup of coffee as a hand reaches in and lifts it out of frame | ## What belongs in a video prompt * The subject, same as an image prompt. * What the subject does, as an action with a direction to it. * What the camera does, if anything. Say when it holds still, because otherwise the model may decide for you. * The pacing, when it matters. A slow drift and a quick turn are different clips. Keep it to one or two actions. A clip of a few seconds cannot deliver a sequence of five events. ## Carrying a Character into a clip Call a Character with its @ handle the same way you would in an image prompt. Character support is per model: Berry, Cherry, Grok Video, Lemon, Melon, MiniMax-H3, Plum, Raspberry, Seedance, and Wan 3.0 all take Characters. See [Characters](/features/characters). ## Pinning the start and the end Where the opening and closing image matter more than the description, pin them directly. A first and last frame is supported on Blueberry 2, Cherry, Lemon, Melon, MiniMax-H3, Plum, Seedance, and Wan 3.0. The prompt then describes only the motion between the two frames. On Lemon, Melon, MiniMax-H3, Plum, and Wan 3.0 this is a separate mode from Characters and References. See [First and Last Frames](/features/first-and-last-frames). ## Prompting sound Some video models generate audio alongside the clip. Where they do, describe the sound you want the way you describe the picture, and keep it to what would be audible in the shot. For a Character who should sound the same across clips, use a Character Voice rather than describing the voice each time. See [Character Voices](/features/character-voices). ## Limits Duration and resolution ceilings are set by plan and model. Asking for a longer clip does not extend it. See [video models compared](/models/video-models-compared). Video costs more Gems than images, so test the composition as a still on a cheap image model first, then carry the result into video as a reference. # Release notes: Mage models and feature changes Source: https://docs.mage.space/release-notes Every Mage model release and feature change since May 2026, newest first, each linking to its announcement on the Mage blog. Every model release and feature change on Mage since May 2026, newest first. Each row links to the full announcement on the Mage blog. | Date | Release | Type | | - | - | - | | November 12, 2026 | [MiniMax Music 3 is live](/models/minimax-music-3) | Model | | November 10, 2026 | [MiniMax H3 Image is live](/models/minimax-h3-image) | Model | | October 31, 2026 | [Magejutsu is live](https://www.mage.space/blog/magejutsu-sidekick) | Model | | October 31, 2026 | [Sidekick, a creative agent for whole productions](https://www.mage.space/blog/magejutsu-sidekick) | Feature | | October 31, 2026 | [Grok Image Quality and Motion Control are retiring](https://www.mage.space/blog/magejutsu-sidekick) | Change | | October 24, 2026 | [The new Mage design is live](https://www.mage.space/blog/new-mage-design-moss-image-eleven-v4-eleven-music-v25-plum-video-fast) | Feature | | October 24, 2026 | [MOSS-Image is unlimited on premium plans](https://www.mage.space/blog/new-mage-design-moss-image-eleven-v4-eleven-music-v25-plum-video-fast) | Model | | October 24, 2026 | [Plum Fast is live](https://www.mage.space/blog/new-mage-design-moss-image-eleven-v4-eleven-music-v25-plum-video-fast) | Model | | October 24, 2026 | [Eleven v4 and Eleven Music v2.5](https://www.mage.space/blog/new-mage-design-moss-image-eleven-v4-eleven-music-v25-plum-video-fast) | Model | | October 17, 2026 | [The new Mage design in beta](https://www.mage.space/blog/new-mage-design-beta-03505259) | Feature | | October 9, 2026 | [Nano Banana 2.1 is unlimited on Pro Plus and Max](https://www.mage.space/blog/unlimited-nano-banana-21-more-mcp-skills-other-improvements) | Model | | October 9, 2026 | [Character Sheet app, languages, and Light mode](https://www.mage.space/blog/unlimited-nano-banana-21-more-mcp-skills-other-improvements) | Feature | | October 2, 2026 | [Mango 3 Turbo is live](https://www.mage.space/blog/mango-3-turbo-mage-api-sdks-mage-mcp-skils) | Model | | October 2, 2026 | [TypeScript and Python SDKs, ComfyUI nodes, and MCP Skills](https://www.mage.space/blog/mango-3-turbo-mage-api-sdks-mage-mcp-skils) | Feature | | September 26, 2026 | [The Mage API and MCP server (beta)](https://www.mage.space/blog/mage-api-mcp-projects) | Feature | | September 9, 2026 | [GPT Image 2.5 is unlimited on premium plans](https://www.mage.space/blog/gpt-image-25-plum-max-video) | Model | | September 9, 2026 | [Plum Max is live](https://www.mage.space/blog/gpt-image-25-plum-max-video) | Model | | September 5, 2026 | [MiniMax-H3 and MiniMax-H3 Turbo are live](https://www.mage.space/blog/minimax-h3-mage-agent-beta) | Model | | August 28, 2026 | [Lemon is live](https://www.mage.space/blog/lemon-video-auto-top-up-gems-character-video-swap-app) | Model | | August 28, 2026 | [Auto Top-Up for Gems](https://www.mage.space/blog/lemon-video-auto-top-up-gems-character-video-swap-app) | Feature | | August 28, 2026 | [Video Character Swap app](https://www.mage.space/blog/lemon-video-auto-top-up-gems-character-video-swap-app) | Feature | | August 18, 2026 | [Cherry 2 Pro reaches 1080p](https://www.mage.space/blog/cherry-2-pro-1080p-video-face-swap-app) | Model | | August 18, 2026 | [Video Face Swap app](https://www.mage.space/blog/cherry-2-pro-1080p-video-face-swap-app) | Feature | | August 14, 2026 | [Grok Image 2 is unlimited on premium plans](https://www.mage.space/blog/unlimited-grok-image-2-more-video-apps-mage-assistant-improvements) | Model | | August 12, 2026 | [Cherry 2 Pro is live](https://www.mage.space/blog/cherry-2-pro-video) | Model | | August 7, 2026 | [Guava 2 and Guava 2 Pro are live](https://www.mage.space/blog/guava-2-video-editor-app-upgrade) | Model | | August 7, 2026 | [Video Editor supports Plum and Grok Video](https://www.mage.space/blog/guava-2-video-editor-app-upgrade) | Feature | | August 5, 2026 | [Plum is live](https://www.mage.space/blog/plum-video-berry-2-480p) | Model | | August 5, 2026 | [Berry 2 adds a 480p option](https://www.mage.space/blog/plum-video-berry-2-480p) | Model | | July 31, 2026 | [Krea 2 is available on every plan](https://www.mage.space/blog/krea-2-video-editor-app-mage-referral-program) | Model | | July 31, 2026 | [Referral program is live](https://www.mage.space/blog/krea-2-video-editor-app-mage-referral-program) | Feature | | July 23, 2026 | [Gems now work with every model](https://www.mage.space/blog/gems-now-work-everywhere-berry-2-video) | Change | | July 23, 2026 | [Berry 2 is live](https://www.mage.space/blog/gems-now-work-everywhere-berry-2-video) | Model | | July 9, 2026 | [Mango 3 is live](https://www.mage.space/blog/mango-3-audio-generation) | Model | | July 9, 2026 | [Audio generation is live](https://www.mage.space/blog/mango-3-audio-generation) | Modality | | July 4, 2026 | [Anima improvements and private messages](https://www.mage.space/blog/private-messages-anima-improvements) | Model | | June 27, 2026 | [Cherry Mini is live](https://www.mage.space/blog/cherry-mini-video-4k-video-and-private-messages) | Model | | June 19, 2026 | [Melon brings anime video to Pro](https://www.mage.space/blog/melon-video-story-studio-improvements) | Model | | June 12, 2026 | [Autocreate and Story Studio](https://www.mage.space/blog/autocreate-story-studio) | Feature | | May 29, 2026 | [Guava Pro 1.5, Grok Image, and Grok Video](https://www.mage.space/blog/unlimited-grok-imagine-anima-loras-guava-pro-15) | Model | | May 23, 2026 | [Anima and Berry are live](https://www.mage.space/blog/berry-video-anima-character-stories) | Model | | May 15, 2026 | [Character Voice and Scene Builder](https://www.mage.space/blog/character-voice-scene-builder) | Feature | | May 8, 2026 | [Audio References](https://www.mage.space/blog/audio-references-mage-app-updates) | Feature | # Usage rights on Mage Source: https://docs.mage.space/rights/commercial-use You own what you create on Mage and can use it commercially on every plan, including Free. What that covers, the exceptions to know, and what is not permitted. You own the content you create on Mage, and Mage's Terms and Conditions say you are free to use images from Mage for anything, including commercial purposes. That applies on every plan, including Free, with no revenue threshold above which the terms change. > [!NOTE] > > This page describes the rights Mage grants you. It is not legal advice, and it > does not override the rules of whatever platform you sell on. ## What commercial use covers * Selling images or video you generated, as digital files or physical prints * Client and freelance work * Your own marketing, product pages, ads, and social content * Print-on-demand products, book covers, and illustration * Paid commissions * Content you monetize on a platform that allows AI-generated media ## The exceptions worth knowing * Models run by their lab. GPT Image 2, Grok, Nano Banana 2, Wan 3.0, and the Seedance and Seedream models are run by OpenAI, xAI, Google, Alibaba, and ByteDance, and their terms apply to the output alongside Mage's. * Models you import yourself, which arrive with whatever license their author attached. * Audio you supply. Mage's grant covers what you generate, not a music track you did not license. ## What is not permitted Usage rights do not extend past Mage's content rules. Generating a real person's likeness without their consent, or anything covered on [what you can and cannot create](/policy/content-rules), is not permitted commercially or otherwise. The Terms and Conditions on mage.space are the full statement of the rules. ## Selling on a specific platform Mage grants you the rights. The platform you sell on sets its own rules about AI-generated media, usually about disclosure. Check the terms of the marketplace, storefront, or stock library before you list AI-generated work. # Your first generation on Mage Source: https://docs.mage.space/start/first-generation Create an account, pick a model, write a one-sentence prompt, and generate your first image on Mage in a few minutes. You can go from a new account to a finished image in a few minutes. This page walks the shortest path. Everything it mentions has its own reference page. **1. Create an account** Signing up is free and comes with a 300 Gem sign-up bonus. Gems work with every model on Mage, so the bonus lets you try any of them. Bonus Gems expire 90 days after they are credited. **2. Pick a model** The model decides more about your result than anything you type. Two good first picks: Z-Image is fast and unlimited from Basic, and Mango 4 is Mage's own image model for characters and editing, unlimited from Pro. For anime, start on Anima. The [models overview](/models/overview) lists every option, and [which model should I use](/models/which-model-should-i-use) routes by what you are making. **3. Write the prompt** One sentence is enough to start: a subject, a setting, and a lighting cue. Specifics steer the model, filler does not. See [how to write a prompt](/prompting/basics). ```text theme={null} a portrait of a mountain climber at dawn, warm backlight, 35mm ``` **4. Generate** The result lands in your account. Nothing is posted anywhere unless you post it yourself. See [why Mage is private by default](/privacy/private-by-default). ## Where to go next * **Out of bonus Gems?** Unlimited generation on eligible models starts with Basic at \$10 per month. See [comparing plans](/plans/comparing-plans). * **Want the same face across images?** Build a Character once and reference it in every prompt. See [Characters](/features/characters). * **Need a bigger file?** The Image Enhancer app upscales any image. See [Enhance and upscaling](/features/enhance). * **Want video?** Unlimited video starts on Pro. See [video models compared](/models/video-models-compared). # Your settings: Mature Mode, Gems, and Auto Top-Up Source: https://docs.mage.space/start/settings What is in Mage's settings and what each section controls: appearance, Mature Mode, your plan, Gem balances and Auto Top-Up, API keys, imports, and how to reach Mage. Settings holds two decisions worth making early: whether Mature Mode is on, and whether Auto Top-Up is on. The rest of this page is a tour of the other sections. ## What is in Settings Settings is one page, in sections: | Section | What it holds | | - | - | | Account | Your display name, `@handle`, sign-in email, and account ID. Log out and account deletion live here too. | | Appearance | Theme (System, Dark, or Light, saved on this device), video autoplay, page banners, which pages are pinned to the sidebar, and the prompt bar's effects. | | Downloads | A name prefix and timestamp for downloaded files, and an option to write the prompt, model, and seed into downloaded images. | | Content | Mature Mode and the content rating notice. | | Plan & billing | Your membership, what it includes, and billing management. | | Gems | Your Gem balances, Auto Top-Up, and your transaction history. | | Developers | Keys for the [API](/api/overview) and [MCP](/api/mcp). | | Imports | Models you imported to use in Advanced, and their import jobs. | | Help | How to reach Mage, and the Discord link. | To change the language Mage is shown in, open the profile menu and choose **Language**. ## Mature Mode Under Content there is a Mature Mode switch. It controls what can be shown to you and applies everywhere until you change it. It does not change what is permitted on Mage, which the Terms and Conditions set for everyone, and it does not make anything you generate public. See [what you can and cannot create](/policy/content-rules) and [Mage Social and what gets posted](/privacy/mage-social). ## Your Gem balances Gems arrive from three places and Mage tracks them separately, because they do not all behave the same way. | Balance | Where it comes from | Expiry | | - | - | - | | Membership Gems | Your plan, deposited each month | 30 days after deposit | | Purchased Gems | Gem packages, on any account including Free | 90 days after purchase | | Referral Gems | The referral program | See [how Gems work](/plans/how-gems-work) | Auto Top-Up lives in the Gems section and buys more Gems when you run low. It is worth turning on before a long video batch and unnecessary if you generate inside your plan's unlimited ceiling. ## Privacy, which needs no setup Everything you generate stays in your account. A creation becomes visible to other people only when you post it. See [why Mage is private by default](/privacy/private-by-default). ## Getting help The Help section carries both routes. Account and billing questions go to [mage@mage.space](mailto:mage@mage.space). Community help is on [Discord](https://discord.gg/GT9bPgxyFP). # My generation failed or was blocked Source: https://docs.mage.space/troubleshooting/failed-or-blocked A failed generation and a refused one are different problems. How to tell which you hit, what happens to your Gems, and whether the refusal came from Mage or the model's lab. A generation that fails and a generation that is refused are two different problems with two different fixes. Start by reading which one you got. ## Which one happened | What you saw | What it means | | - | - | | An error, or the job ended with no output | The generation failed. Something on the infrastructure side went wrong. | | A message saying the prompt or image cannot be generated | The generation was refused. This is about content, and the next question is who refused it. | | The job finished but the output is blank or corrupted | Treat it as a failure. Run it again before anything else. | ## If it failed Gems spent on a generation that fails are refunded. Run it again first; most failures are transient. If it fails twice on the same settings, change one thing at a time: drop the resolution a step, shorten the duration, or remove an attached reference. Then try a different model on the same prompt. A failure that repeats across models is worth reporting: send the prompt, the model, the settings, and roughly when it happened to [mage@mage.space](mailto:mage@mage.space). ## If it was refused ### Mage's rules The content rules apply on every model and plan, and no amount of rephrasing gets around them. See [what you can and cannot create](/policy/content-rules). ### A lab's filter GPT Image 2, Grok Image, Grok Video, Nano Banana 2, Wan 3.0, and the Seedance and Seedream models are run by their labs, and each lab's content rules apply to your prompts before Mage sees the result. A refusal from one of these comes from that lab's filter, and Mage cannot change or override it. The same prompt may run on a Mage model. ## Refusals that are neither * An imported custom model that will not load is a compatibility problem, not a content one. See [importing custom models](/features/importing-custom-models). * A model above your plan's unlimited tier does not leave the picker. It switches from unlimited to Gems and keeps running, which is also what happens after a downgrade. ## What not to do Do not retry a refused prompt repeatedly with small variations. If you think a refusal was wrong, say so once, with the prompt and the model, at [mage@mage.space](mailto:mage@mage.space). # Why is my generation slow? Source: https://docs.mage.space/troubleshooting/slow-generations Unlimited generations queue. What sets your place in it, why generation time depends on the model, and three ways to get output sooner. Unlimited generations queue, because unlimited bounds what you spend and not how fast it arrives. Two things decide when your output lands. ## The two delays | Delay | Set by | What changes it | | - | - | - | | Queue wait, before the job starts | Your plan | Upgrading, or Fast Mode on a single job | | Generation time, once it is running | The model | Picking a cheaper or smaller model | ## What your plan sets Unlimited generations run 2x faster on Basic and 4x faster on Pro, Pro Plus, and Max. Pro Plus and Max can also queue up to 10 generations at once. What the plan does not set is how long the model itself takes, so a high-quality video model still takes minutes on every tier. ## Generation time is set by the model The spread across models is wide. A light image model finishes in seconds; a top-end video model takes minutes before a queue is involved at all. If you are still iterating, iterate on something cheap and move up for the final render. ## Three ways to get output sooner 1. Fast Mode. Spends Gems to run one job at the front of the queue, on any model. See [Fast Mode](/features/fast-mode). 2. A lighter model. The gap between the heaviest video models and the lighter ones is large, in time and in Gems. 3. A lower resolution or a shorter clip. Both reduce the work, and both keep you inside your plan's unlimited ceiling. ## When it is actually a problem A job that sits without starting for far longer than usual, on a model you run regularly, is worth reporting instead of waiting out. Send the model, the settings, and the time to [mage@mage.space](mailto:mage@mage.space).