计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
minimax-text-to-image【效率与协作】Minimax | Text to Image. Generate images from text prompts using Minimax | Text to Image. Triggers: image generation, minimax, text to image
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.
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"
}
}'
| 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 |
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"
}
}'