Text-to-image and editing, up to 16 reference images, at 1K, 2K, or 4K, up to about 20 megapixels. Stronger photographic texture. Billed by tokens, about $0.023 for a 2K text-to-image.
Text-to-image and editing, up to 16 reference images, at 1K, 2K, or 4K, up to about 20 megapixels. Stronger photographic texture. Billed by tokens, about $0.023 for a 2K text-to-image.
| Billed item | Price |
|---|---|
| Input tokens | $3.68 / M input tokens |
| Output image tokens | $6.08 / M output image tokens |
| Parameter | Allowed values | Default |
|---|---|---|
generation_config.resolution Resolution | 1K · 2K · 4K | 2K |
generation_config.aspect_ratio Aspect ratio | auto · 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 21:9 | auto |
Same as the OpenAI Images API; platform-specific options go in generation_config. Read the guide →
curl https://api.geekidea.ai/v1/images/generations \
-H "Authorization: Bearer $GEEKIDEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/minimax-h3-image",
"prompt": "A paper boat drifting on a rainy street, cinematic lighting",
"generation_config": {
"aspect_ratio": "auto",
"resolution": "2K"
}
}'