Support
How to get help with Magi2 AI: opening a ticket, what details to send, fixes for common API errors, webhooks that do not arrive, failed renders and refunds.
Last updated: 2026-11-25
Most problems with the API can be fixed from the error message and the video id. If they cannot, send us a ticket with the details below and a person will look into it.
How to reach us
- Ticket: when signed in, open one at /settings/tickets. Tickets keep the whole conversation in one place, and replies appear there.
- Email: support@magi2ai.dev. Write from the address on your account so we can find it.
What to include
- The video id returned by
POST /api/v1/videos(or shown in /settings/creations). - The HTTP status and the
error.messagefrom the response. - When it happened, with a time zone, or a Unix timestamp from your logs.
- The request body you sent, with the prompt if it matters.
- For webhooks: your
webhook_urland whether your server logged any request from us. - For billing: the order number from /settings/payments.
Never paste an API key or your webhook secret into a ticket or email. We do not need them. If you shared one by mistake, revoke it at /settings/apikeys and create a new one.
Common API errors
401 Unauthorized. The key is missing, mistyped or revoked. Send it as Authorization: Bearer sk_..., with no quotes or extra spaces, and check at /settings/apikeys that it is still active.
402 Payment Required. Your balance does not cover the video you asked for. Check the cost for that model, resolution and length with GET /api/v1/models, and your balance with GET /api/v1/account. Top up on /pricing.
400 Bad Request. The body is not valid JSON, or the options do not fit the model: a resolution or length it does not render, a text-only request to Hailuo 2.3 (it needs a first-frame image), or magi-2, which cannot be run yet. The message says which option to change. GET /api/v1/models lists what each model accepts.
422 Unprocessable. The prompt or image was refused by safety screening. Nothing was charged. Rewrite the request so it fits the Acceptable Use Policy.
429 Too Many Requests. You sent requests faster than the API allows. Wait a moment and retry with the same Idempotency-Key, so a retry never creates a second video.
A webhook did not arrive
We send each webhook once, with a short timeout and no retries. If it did not reach you:
- Check that
webhook_urlis a publichttpsURL. Plainhttp, localhost and bare IP addresses are rejected when you create the video. - Make sure your endpoint answers quickly. Do the slow work after you reply with a 2xx.
- Verify the
Magi2-Signatureheader with the exact raw body you received. Parsing and re-serialising the JSON before checking changes the bytes and breaks the signature. - Poll
GET /api/v1/videos/{id}as a fallback. It returns the same JSON the webhook carries, so the result is never lost.
The webhooks guide has verification code for Node and Python.
A render failed
When a video fails, its credits are returned to your balance automatically, and the video's status is failed with an error message. You do not need to ask for those credits. Try again, perhaps with a different model or a simpler prompt. If the same request keeps failing, send us the video ids.
Refunds and billing
Refunds of a first payment for a plan or a pack follow the refund policy. To stop a plan from renewing, cancel it in /settings/billing.
Docs and tools
- API docs: endpoints, fields, models and errors.
- Webhooks: payload, signature and retries.
- MCP server: use Magi2 AI from an AI assistant.
- Pricing: plans, packs and credit costs per model.