Image and video tasks

POST /v1/tasks/minimax-image

API Key · POST /v1/tasks/minimax-image

Uses the registered generic task route and an administrator-configured public model ID; source plugin declarations do not prove production enablement or pricing. Preserve the returned gateway task ID; use task status and protected artifacts, never automatically repeat generation after an uncertain result. Exact model constraints and billing evidence are described in the gateway guide.

POST/v1/tasks/minimax-image

Authorizations

Authorizationstringrequired

Use a OneAster inference API Key (Bearer sk-…).

Authorization: Bearer $ONEASTER_API_KEY

Body · application/json

modelstringrequired

Administrator-configured public callable model ID

promptstringrequired

Nonblank; at most 32000 Unicode characters

ninteger
resolutionstring
areastring

Alias of resolution; when both are supplied they must agree

aspect_ratiostring
response_formatstring

The plugin requests URL upstream; base64 output is not guaranteed

streamobject
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "model",
    "prompt"
  ],
  "properties": {
    "model": {
      "type": "string",
      "description": "Administrator-configured public callable model ID"
    },
    "prompt": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32000,
      "description": "Nonblank; at most 32000 Unicode characters"
    },
    "n": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "default": 1
    },
    "resolution": {
      "type": "string",
      "enum": [
        "1K",
        "2K",
        "4K"
      ],
      "default": "1K"
    },
    "area": {
      "type": "string",
      "enum": [
        "1K",
        "2K",
        "4K"
      ],
      "description": "Alias of resolution; when both are supplied they must agree"
    },
    "aspect_ratio": {
      "type": "string",
      "enum": [
        "1:1",
        "4:3",
        "3:4",
        "16:9",
        "9:16",
        "21:9",
        "9:21",
        "3:2",
        "2:3"
      ],
      "default": "1:1"
    },
    "response_format": {
      "type": "string",
      "enum": [
        "url",
        "b64_json"
      ],
      "description": "The plugin requests URL upstream; base64 output is not guaranteed"
    },
    "stream": {
      "const": false
    }
  }
}