Skip to main content
POST
Ming Image Text to Image
Ming Image — an image generation model family. ming-image-0.1-design supports text-to-image generation using the OpenAI Image generations protocol.
  • ming-image-0.1-design: Supports text-to-image, using the OpenAI Image generations protocol.
  • ming-image-0.1-design-layer: Only supports layer decoupling, using the OpenAI Image edits protocol (see the Ming Image Layer Decoupling API).

Request Headers

string
required
Supports: application/json
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

enum
required
The model name. Available values: ming-image-0.1-design
string
required
The text description of the image.
string
default:"png"
The output image format. Must be one of png or jpeg.
string
default:"b64_json"
The form in which the image is returned, default is b64_json. Available values: url, b64_json. Note: url is valid for 24 hours.
string
default:"auto"
The output image size, default auto selects automatically based on the model. Format "{w}x{h}", e.g. "1024x1024".ming-image-0.1-design size only supports 1k and above, e.g. "1024x1024", "2048x2048".
boolean
default:false
Controls whether a watermark is added to the AI-generated image. true: enables the explicit watermark and implicit digital watermark on AI-generated images, complying with policy requirements. false: disables all watermarks.

Response

integer
required
The Unix timestamp (seconds) when the response was created.
array
required
The array of returned images, each element contains the information of one generated image.
string
required
The actual output image format, e.g. png, jpeg.
string
null
object
required
Token usage statistics.
string
required
The name of the model that actually processed the request.
string
required
The unique identifier ID of this request.

Example

Request:
Response:
Last modified on September 21, 2026