Design & media

mimo

Try it

Call the MiMo API (mimo-v2.5-pro and mimo-v2.5) through RunAPI using OpenAI-compatible Chat Completions. Use for MiMo text generation, the verified MiMo image subset, streaming, or an existing compatibility client that needs the conditional reference.

What it does

Call the MiMo API (mimo-v2.5-pro and mimo-v2.5) through RunAPI using OpenAI-compatible Chat Completions. Use for MiMo text generation, the verified MiMo image subset, streaming, or an existing compatibility client that needs the conditional reference.

The skill document

MiMo on RunAPI

Use OpenAI-compatible Chat Completions at https://runapi.ai/v1 as the primary protocol. Keep the exact public model identity throughout the request.

Primary protocol recipe

Authenticate

Set OPENAI_API_KEY to a RunAPI API key and OPENAI_BASE_URL to https://runapi.ai/v1. Keep the key in the environment or a secret manager.

Send request

from openai import OpenAI

client = OpenAI(api_key="YOUR_RUNAPI_TOKEN", base_url="https://runapi.ai/v1")
response = client.chat.completions.create(
    model="mimo-v2.5-pro",
    messages=[{"role": "user", "content": "Summarize this decision."}],
)
print(response.choices[0].message.content)

For longer output, request terminal usage while streaming:

stream = client.chat.completions.create(
    model="mimo-v2.5",
    messages=[{"role": "user", "content": "Write a status update."}],
    stream=True,
    stream_options={"include_usage": True},
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
    if chunk.usage:
        print(chunk.usage)

Verify result

For a synchronous call, require one response choice with a final assistant message and read usage from that response. For SSE, consume through [DONE] and require the terminal usage chunk requested by include_usage. An HTTP 2xx without the expected final content and Usage is incomplete.

Stop boundaries

Correct a rejected request shape at most once, using the structured error and this verified allowlist. Retry a transport failure once only when no response or Usage was returned and replay is safe. On a terminal RunAPI failure, retain the request ID and error, then stop without changing model or protocol.

Positive verified request allowlist

Start with only this verified request shape:

  • mimo-v2.5-pro: a text-only messages history with system, user, and assistant roles.
  • mimo-v2.5: the same text shape, plus synchronous Chat Completions content parts containing text and public HTTP(S) image_url.url values.
  • Both models: synchronous calls or SSE with stream_options.include_usage.

Add an optional control only when the current RunAPI contract or a successful validation result explicitly verifies it for the selected model and mode.

Compatibility protocols

Load compatibility protocols only when an existing client requires Responses or Anthropic Messages. Keep the primary recipe in this file for new integrations.

Supported models

Model IDUse when
mimo-v2.5-proHigher-quality verified text generation
mimo-v2.5Verified text and synchronous Chat image requests

References

  • Model overview and pricing:
  • Provider page:
  • Catalog:

Related skills

Call the MiniMax text API (MiniMax-M3 through MiniMax-M2) through RunAPI using OpenAI-compatible Chat Completions. Use for MiniMax text chat, streaming, or an existing compatibility client that needs the conditional reference.

2 installs

Use when the user asks to generate an image, create a video, make music, create audio, synthesize speech, submit a media task, poll a task, or produce genera...

14 installs

Get independent perspectives from multiple AI models on high-regret decisions.

19 installs

Use when the user asks what RunAPI models are available, compares models, needs pricing, asks for required fields, searches by modality, or wants a recommend...

12 installs

Use this skill when the user wants to generate raster images through the imini image generation API, including text-to-image and image-guided generation with...

17 installs1 stars

Generate video from text, reference media, or first and last frames with MiniMax H3 through RunAPI. Use the RunAPI CLI for one-off generation and an SDK for application integration.