Minimax subject reference

From awesome-genmedia/skills · View interactive version

Minimax subject reference is an AI agent skill from the GitHub repository awesome-genmedia/skills. Generate images with consistent subject appearance using Minimax. Trigger: Use when the user wants to generate images with a consistent character, or requests 'minimax subject reference', 'consistent character image', or 'subject reference generation'.

How to use this skill

Skill file

Minimax | Subject Reference

Generate images with consistent subject appearance by providing a reference image. Create new scenes with the same character maintaining visual consistency.

Quick Start

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "minimax-subject-reference",
    "version": "0.0.1",
    "input": {
      "prompt": "The character standing on a mountain top at sunrise",
      "image_url": "https://example.com/character-reference.jpg",
      "aspect_ratio": "16:9",
      "num_images": 1
    }
  }'

Parameters

| Parameter | Type | Default | Description |

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

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

| image_url | string | false | URL of the subject reference image for consistent character appearance |

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

| prompt | string | false | Text prompt for image generation |

| prompt_optimizer | boolean | false | Enable automatic prompt optimization |

Output

Examples

Character in New Scene

{
  "model": "minimax-subject-reference",
  "version": "0.0.1",
  "input": {
    "prompt": "The character sitting at a cafe in Paris with the Eiffel Tower in the background",
    "image_url": "https://example.com/my-character.jpg",
    "aspect_ratio": "16:9",
    "num_images": 2,
    "prompt_optimizer": true
  }
}

Portrait with Reference

{
  "model": "minimax-subject-reference",
  "version": "0.0.1",
  "input": {
    "prompt": "Professional headshot in a modern office, warm lighting",
    "image_url": "https://example.com/person-photo.jpg",
    "aspect_ratio": "3:4",
    "num_images": 1
  }
}

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.