MiniMax H3 Image Prompt Enhancement
Text-to-image, image editing and independent prompt enhancement.
Platform safety check, enabled by default. Disabling requires account permission; otherwise it stays enabled.
Up to 32,000 Unicode characters. Built-in prompt enhancement is billed as input text tokens.
Upload 1–16 references for editing, or optional references for standalone prompt enhancement.
Custom dimensions use 655,360–20,000,000 pixels and ratios from 1:3 to 3:1. Custom size replaces area and aspect_ratio.
Rates per 1 million tokens, in CNY:
No pre-charge. Submit with a positive balance; successful work is billed once using actual usage. The final debit may make your balance negative. Top up before starting another task.
Credits use 6.67 CNY/USD and USD 0.005/credit, rounded to two decimal places.
Prompt enhancement returns text only. It has no 4K discount. Editing an image with the revised prompt runs and bills enhancement again.
Configure parameters and click Run to test the API.
curl -X POST https://aivideoapi.ai/v1/images/prompt-enhancements \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-h3-image-context-ir",
"input": {
"nsfw_checker": true,
"size": "auto",
"aspect_ratio": "auto",
"area": "4K"
}
}'