Minimax text to image

From awesome-genmedia/skills · View interactive version

Minimax text to image is an AI agent skill from the GitHub repository awesome-genmedia/skills. Minimax | Text to Image. Generate images from text prompts using Minimax | Text to Image. Triggers: image generation, minimax, text to image

How to use this skill

Skill file

Minimax | Text to Image

Generate images from text prompts using Minimax | Text to Image. Supports multiple aspect ratios (1:1, 16:9, 4:3, 3:2, 2:3, 3:4, 9:16, 21:9), optional prompt optimization.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "minimax-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A majestic snow-capped mountain reflected in a crystal clear lake at sunrise"
    }
  }'

Parameters

| Parameter | Type | Default | Description |

|-----------|------|---------|-------------|

| aspect_ratio | string | 1:1 | Image aspect ratio. Options: 1:1, 16:9, 4:3, 3:2, 2:3, 3:4, 9:16, 21:9 |

| num_images | integer | 1 | Number of images to generate |

| prompt | string | | Text prompt for generation |

| prompt_optimizer | boolean | | Use prompt optimizer |

Examples

Generate a landscape:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "minimax-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A majestic snow-capped mountain reflected in a crystal clear lake at sunrise"
    }
  }'

Detailed scene with style:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "minimax-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A cyberpunk street market at night with holographic signs and rain-slicked roads, ultra detailed",
      "aspect_ratio": "9:16"
    }
  }'

Related Models

Documentation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.