MiniMax Image 01

按实际用量计费
ae_minimax_image_01

根据文本描述生成一张或多张图片,并可选择所需的宽高比。

图像
按实际用量计费

价格说明

单次费用为(较大值(12 × 成功生成图片数量, 0))AE积分。各项条件同时适用,按所选条件计算合计费用。

宽高比和自动提示词优化选项不另设价格档位。

API 调用

通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。

cURL
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_minimax_image_01' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "prompt": "Man dressed in white t shirt, full-body stand front view image, outdoor, Venice beach sign, full-body image, Los Angeles, Fashion photography of 90s, documentary, Film grain, photorealistic"
    }
  }
}'
请求方式
POST
接口地址
/agent-api/v1/tool/execute
鉴权方式
X-Api-Key
超时时间
60 秒
响应示例
{
  "error_no": 0,
  "error_msg": "",
  "result": [
    {
      "type": "text",
      "text": "xxx"
    }
  ],
  "platform_annotations": {
    "source": "AgentEarth",
    "platform_note": "xxx",
    "platform_suggestion": "xxx"
  }
}

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
request_bodyobject是暂无参数说明。—
request_body.promptstring是Text prompt for image generation (max 1500 characters)—
request_body.num_imagesinteger否Number of images to generate (1-9)1
request_body.aspect_ratioenum (1:1 | 16:9 | 4:3 | 3:2 | 2:3 | 3:4 | 9:16 | 21:9)否Aspect ratio of the generated image1:1
request_body.prompt_optimizerboolean否Whether to enable automatic prompt optimizationfalse