Pricing
Compare models →Each image generated is billed at the same rate, so the cost of a request grows with the number of images you ask for (num_images, 1-9).
Images per request (num_images) | Price |
|---|---|
| Default settings (per run) | $0.0035 |
1 image (num_images=1) | $0.0035 |
2 images (num_images=2) | $0.007 |
3 images (num_images=3) | $0.0105 |
4 images (num_images=4) | $0.014 |
5 images (num_images=5) | $0.0175 |
9 images (num_images=9, the maximum) | $0.0315 |
- Price per single image (
num_images=1): $0.0035 - Generate multiple images in one request for efficient batch processing
- Example: generating 9 variations (
num_images=9) in one request costs $0.0315
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Text description of the image, max length 1500 characters.JSON schema{
"x-rows": 3
} |
size | string | The size of the generated image in pixels (width*height). Width and height must be divisible by 8.Default: "1024*1024"Minimum: 512 · Maximum: 2048 |
num_images | integer | The number of images to generate.Default: 1Minimum: 1 · Maximum: 9 |
seed | integer | Random seed. Using the same seed and parameters produces reproducible images. If not provided, a random seed is generated for each image. |
prompt_optimizer | boolean | Enable automatic optimization of prompt. Default: false |
README
MiniMax Image-01 Text-to-Image
MiniMax Image-01 Text-to-Image is a powerful AI image generation model that creates high-quality images from text descriptions. Part of the MiniMax image-01 family, this model excels at understanding natural language prompts and generating diverse, creative visuals across multiple styles and scenarios. Perfect for content creators, designers, marketers, and developers building AI-powered applications.
Key Features
- Natural Language Understanding
Simply describe what you want to see in plain text (up to 1500 characters), and the model generates corresponding images with impressive accuracy and creativity.
- Flexible Image Dimensions
Specify exact pixel dimensions from 512×512 to 2048×2048 pixels (must be divisible by 8) for precise control over output size. Common sizes include 1024×1024, 1280×720, 1152×864, and more.
- Prompt Optimization
Built-in prompt optimizer automatically enhances your text descriptions for better generation results, making it easier to achieve professional-quality outputs even with simple prompts.
- Batch Generation
Generate up to 9 images in a single request, perfect for exploring creative variations and selecting the best result for your needs.
- Reproducible Results
Use seed values to generate consistent results across multiple runs, essential for iterative refinement and maintaining consistency in production workflows.
- Multiple Output Formats
Receive generated images as direct URLs (24-hour expiration) or Base64-encoded data for immediate embedding in your applications.
Use Cases
- Content Creation: Generate unique visuals for blogs, articles, social media posts, and marketing materials
- Concept Art: Quickly visualize ideas, characters, scenes, and environments for creative projects
- Product Mockups: Create product visualizations, packaging designs, and promotional imagery
- Marketing & Advertising: Generate eye-catching visuals for campaigns, ads, and promotional content
- Game Development: Create concept art, textures, backgrounds, and character designs
- E-commerce: Generate product lifestyle images, backgrounds, and contextual scenes
- Education: Create custom illustrations for educational materials, presentations, and courses
- Prototyping: Rapidly generate visual concepts for UI/UX design and app development
Supported Formats & Dimensions
Output Dimensions:
- Width/Height range: 512 to 2048 pixels
- Must be divisible by 8
- Common sizes: 1024×1024 (square), 1280×720 (widescreen), 1152×864 (standard), 1248×832 (photo), 832×1248 (portrait photo), 864×1152 (portrait), 720×1280 (mobile/vertical), 1344×576 (ultra-wide)
Output Formats:
- URL (default): Direct links to generated images, valid for 24 hours
- Base64: Encoded image data for direct embedding
How to Use
Basic Text-to-Image Generation
- Write Your Prompt
- Describe the image you want in the
promptfield (max 1500 characters)
- Be specific about subjects, style, composition, lighting, and mood
- Example: "A serene mountain landscape at sunset with purple and orange skies, snow-capped peaks, and a crystal-clear lake reflecting the colors"
- Select Image Size
- Specify dimensions using the
sizeparameter like "1024 * 1024" or "1280 * 720"
- Choose dimensions that match your use case (square for social media, widescreen for presentations, etc.)
- Configure Options
num_images: Set 1-9 to generate multiple variations (default: 1)
prompt_optimizer: Enable for automatic prompt enhancement (recommended for beginners)
seed: Use a specific number for reproducible results
- Generate
- Submit your request and receive generated images as URLs or Base64 strings
- Images are typically ready within seconds
Advanced Tips
Prompt Writing Best Practices:
- Start with the main subject, then add details about style, lighting, composition
- Use descriptive adjectives: "vibrant", "moody", "minimalist", "photorealistic"
- Specify artistic styles: "oil painting", "digital art", "watercolor", "3D render"
- Include lighting details: "golden hour", "studio lighting", "dramatic shadows"
- Mention camera angles: "aerial view", "close-up", "wide angle"
Using Seeds for Consistency:
- Generate an image you like and note its seed value
- Use the same seed with modified prompts to create variations
- Perfect for maintaining consistent style across multiple images
Batch Generation Strategy:
- Generate 4-9 variations in one request to explore different interpretations
- Compare results and select the best output
- More cost-effective than multiple single-image requests
API Parameters
- prompt (required): Text description of desired image (max 1500 chars)
- size: Image dimensions (e.g., "1024*1024", "1280*720")
- num_images: Number of images to generate (1-9, default: 1)
- seed: Random seed for reproducible results (integer)
- prompt_optimizer: Enable automatic prompt enhancement (boolean)
- enable_base64_output: Return Base64 instead of URLs (boolean)
- enable_sync_mode: Wait for generation to complete before returning (boolean)
Pricing
Each image generated is billed at the same rate, so the cost of a request grows with the number of images you ask for (num_images, 1-9).
Images per request (num_images) | Price |
|---|---|
| Default settings (per run) | $0.0035 |
1 image (num_images=1) | $0.0035 |
2 images (num_images=2) | $0.007 |
3 images (num_images=3) | $0.0105 |
4 images (num_images=4) | $0.014 |
5 images (num_images=5) | $0.0175 |
9 images (num_images=9, the maximum) | $0.0315 |
- Price per single image (
num_images=1): $0.0035
- Generate multiple images in one request for efficient batch processing
- Example: generating 9 variations (
num_images=9) in one request costs $0.0315
Output Format
Generations return as:
- URLs (default): Direct links to generated images hosted on OpenSIAI (valid for 24 hours)
- Base64 (optional): Encoded image data for direct embedding in applications
Response includes:
- Unique request ID for tracking
- Generation status (created, processing, completed, failed)
- Output array with generated image URLs or Base64 data
- NSFW content detection flags for each image
- Creation timestamp
- Success/failure counts
Best Practices
- Be Descriptive: More detailed prompts generally produce better results
- Use Prompt Optimizer: Enable it if you're new to AI image generation
- Generate Multiple Variations: Use num_images > 1 to explore different interpretations
- Iterate with Seeds: Find a good result, then use its seed to create variations
- Choose Appropriate Dimensions: Select dimensions that match your use case
- Test Different Styles: Experiment with artistic styles in your prompts
- Save Successful Prompts: Keep a library of prompts that work well for future use
Example Prompts
Photorealistic:
"A professional product photo of a luxury watch on a marble surface, studio lighting, shallow depth of field, commercial photography style"
Artistic:
"An impressionist oil painting of a Parisian café in autumn, warm colors, loose brushstrokes, golden afternoon light"
Conceptual:
"A futuristic cityscape at night with neon lights, flying vehicles, cyberpunk aesthetic, rain-slicked streets, dramatic perspective"
Character:
"A friendly robot character with a round body, expressive LED eyes, metallic blue finish, standing in a modern laboratory, 3D render style"
Related Models
Also available on OpenSIAI:
- minimax/image-01/image-to-image - Transform existing images with text prompts
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Image 01 Text to Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/minimax/image-01/text-to-image for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"size": "1024*1024",
"num_images": 1,
"seed": 0,
"prompt_optimizer": false
}Image 01 Text to Image API — Frequently asked questions
What is the Image 01 Text To Image API?
Image 01 Text To Image is a MiniMax model for image generation, exposed as a REST API on OpenSIAI. MiniMax Image-01 text-to-image model generates high-quality images from text descriptions. Create diverse visuals across multiple styles and scenarios with natural language prompts. Supports multiple aspect ratios and custom dimensions. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Image 01 Text To Image API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/minimax/image-01/text-to-image.
How much does Image 01 Text To Image cost per run or per second?
Image 01 Text To Image starts at $0.0035 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Image 01 Text To Image accept?
Key inputs: prompt, size, num_images, prompt_optimizer. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/minimax/image-01/text-to-image.
How long does Image 01 Text To Image take to generate?
Reported generation time on OpenSIAI is around 40 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Image 01 Text To Image outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (MiniMax). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
