Skip to content

How do I create a MiniMax H3 text-to-video job through AISwapLab?

Send minimax-h3, a non-empty prompt, an integer seconds value from 4 to 15, a supported size and max_credits to POST /api/v1/videos. Authenticate with your AISwapLab key and include a unique persisted Idempotency-Key. Quote the same payload first, then poll the returned job and download only after completed.

BUILD WITH MINIMAX H3AISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Describe one coherent scene; Approve the quote; Follow the durable job.
Workflow diagram: Describe one coherent scene → Approve the quote → Follow the durable job. Read the article for evidence and limits.

Start with the smallest complete contract

A text-only request needs no uploaded image or reference video. The default video size is 864x480, but selecting a documented value explicitly makes the task easier to audit. The public example uses five seconds and a twenty-credit ceiling; that ceiling is an illustration, not approval for every resolution or reference task.

What to do next

  1. 01

    Describe one coherent scene

    Write the subject, visible action, setting and camera behavior in a prompt within 4,000 characters. Keep the intended action feasible for the selected short duration.

  2. 02

    Approve the quote

    Check model availability and send the exact body to /quotes. Compare the estimate with the account balance and the user's approved ceiling before creating anything.

  3. 03

    Follow the durable job

    Persist the creation response, poll_url and internal user association. After completed, fetch content_url with authentication and inspect the MP4 before offering it as a successful creative result.

A concrete example

Illustrative payload: model minimax-h3, prompt describing an orange cat resting by a window, seconds 5, size 864x480 and max_credits 20. This is a request example, not a new recorded generation or a guaranteed cost for other settings.

Illustrative H3 JSON body

Illustrative integration code. No paid generation was executed for this guide. Review live availability, quotes and your own approval before running creation requests.

json
{
  "model": "minimax-h3",
  "prompt": "An orange cat rests by a sunny window. Slow camera push in.",
  "seconds": 5,
  "size": "864x480",
  "max_credits": 20
}

Before you call it ready

  • Seconds is an integer in the supported range.
  • The quoted body matches creation.
  • The output is reviewed after private download.

When to stop or choose another method

If the task requires a duration, parameter or guarantee outside the published contract, redesign the request instead of forwarding arbitrary provider options.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation