
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "minimax-08853f",
"path": "/v1/image_generation",
"method": "POST",
"body": {
"prompt": ""
}
}'
The final charge depends on what comes back. It shows after Run.
$0.0042per result
Response-basedYou pay for the results the call uses, read from the response, never more than $0.0378 per call.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Generate 1-9 images from a text prompt, optionally guided by a subject reference image (image-to-image). Model fixed to image-01. URLs expire after 24h.
Body parameters
promptrequiredstringImage description, max 1500 chars.aspect_ratiostring1:1, 16:9, 4:3, 3:2, 2:3, 3:4, 9:16, 21:9. Default 1:1.widthintegerWidth px [512,2048], divisible by 8 (with height).heightintegerHeight px [512,2048], divisible by 8 (with width).nintegerNumber of images [1,9], default 1.response_formatstringurl (default) or base64.seedintegerRandom seed for reproducibility.prompt_optimizerbooleanAuto-optimize the prompt.subject_referencearrayImage-to-image: [{type:"character", image_file:"<public URL or data URI>"}].More from MiniMax
- Text to Speech (speech-2.8-hd)POST/v1/t2a/speech-2.8-hd$0.00012 per characterResponse-based · up to $1.20
- Chat Completions (MiniMax-M2.7)POST/v1/chat/completions/minimax-m2.7From $0.36 per 1M tokensResponse-based · up to $0.30
- Chat Completions (MiniMax-M2.7-highspeed)POST/v1/chat/completions/minimax-m2.7-highspeedFrom $0.72 per 1M tokensResponse-based · up to $0.60
- Text to Speech (speech-2.8-turbo)POST/v1/t2a/speech-2.8-turbo$0.072 per 1K charactersResponse-based · up to $0.72
- Chat Completions (MiniMax-M3)POST/v1/chat/completions/minimax-m3From $0.72 per 1M tokensResponse-based · up to $1.80