# MiniMax Image-01 API via PiAPI > MiniMax Image-01 is a pure text-to-image generation API on PiAPI. It accepts a prompt and optional output count, size, aspect ratio, seed, and prompt optimizer settings. Landing page: https://piapi.ai/minimax-image-01 Base URL: https://api.piapi.ai Authentication: use the API key from your PiAPI workspace. Documentation: https://piapi.ai/docs/minimax-api/image ## Product details - Category: image - Vendor: minimax ## Runtime targets ### MiniMax Image-01 / Text to Image POST https://api.piapi.ai/api/v1/task ```json { "model": "minimax", "task_type": "image-01", "input": { "prompt": "A red ceramic teapot on a white table, soft light.", "n": 1, "response_format": "url", "prompt_optimizer": false, "aspect_ratio": "1:1" } } ``` GET https://api.piapi.ai/api/v1/task/{task_id} Output fields: image_urls, images, image_url Workspace: https://piapi.ai/workspace/minimax-image-01?operation=txt2img Documentation: https://piapi.ai/docs/minimax-api/image - default: USD 0.01 / image ### Facts - Pure text-to-image: The public contract accepts a text prompt and does not expose reference-image editing. - One to nine outputs: Request n from 1 to 9; billing follows the number of successful images returned. - Workspace History: Completed image results remain available through the existing task history view. ### Related entities - MiniMax Image-01 API - MiniMax image generation - PiAPI ## FAQ ### What is MiniMax Image-01? It is PiAPI's asynchronous MiniMax Image-01 text-to-image task. ### Does Image-01 support image editing? No. This public contract is pure text-to-image and does not accept reference images. ### How many images can one task request? Set n from 1 through 9. The actual successful image count determines the charge. ### How much does Image-01 cost? The standard price is $0.01 per successful image.